Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: [dialogflow-cx] Fix Ruby namespaces for generative AI classes #9813

Merged
merged 4 commits into from
Sep 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -47,11 +47,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "flow.cx.v3.DataStoreType\022\022\n\ndata_store\030\002"
+ " \001(\t*b\n\rDataStoreType\022\037\n\033DATA_STORE_TYPE"
+ "_UNSPECIFIED\020\000\022\016\n\nPUBLIC_WEB\020\001\022\020\n\014UNSTRU"
+ "CTURED\020\002\022\016\n\nSTRUCTURED\020\003B\232\001\n!com.google."
+ "CTURED\020\002\022\016\n\nSTRUCTURED\020\003B\276\001\n!com.google."
+ "cloud.dialogflow.cx.v3B\030DataStoreConnect"
+ "ionProtoP\001Z1cloud.google.com/go/dialogfl"
+ "ow/cx/apiv3/cxpb;cxpb\370\001\001\242\002\002DF\252\002\035Google.C"
+ "loud.Dialogflow.Cx.V3b\006proto3"
+ "loud.Dialogflow.Cx.V3\352\002!Google::Cloud::D"
+ "ialogflow::CX::V3b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Original file line number Diff line number Diff line change
@@ -77,11 +77,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "t_scope\030\005 \001(\t:\201\001\352A~\n1dialogflow.googleap"
+ "is.com/AgentGenerativeSettings\022Iprojects"
+ "/{project}/locations/{location}/agents/{"
+ "agent}/generativeSettingsB\231\001\n!com.google"
+ "agent}/generativeSettingsB\275\001\n!com.google"
+ ".cloud.dialogflow.cx.v3B\027GenerativeSetti"
+ "ngsProtoP\001Z1cloud.google.com/go/dialogfl"
+ "ow/cx/apiv3/cxpb;cxpb\370\001\001\242\002\002DF\252\002\035Google.C"
+ "loud.Dialogflow.Cx.V3b\006proto3"
+ "loud.Dialogflow.Cx.V3\352\002!Google::Cloud::D"
+ "ialogflow::CX::V3b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Original file line number Diff line number Diff line change
@@ -42,11 +42,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "TE_NEW\020\001\022\033\n\027IMPORT_STRATEGY_REPLACE\020\002\022\030\n"
+ "\024IMPORT_STRATEGY_KEEP\020\003\022\031\n\025IMPORT_STRATE"
+ "GY_MERGE\020\004\022\037\n\033IMPORT_STRATEGY_THROW_ERRO"
+ "R\020\005B\225\001\n!com.google.cloud.dialogflow.cx.v"
+ "R\020\005B\271\001\n!com.google.cloud.dialogflow.cx.v"
+ "3B\023ImportStrategyProtoP\001Z1cloud.google.c"
+ "om/go/dialogflow/cx/apiv3/cxpb;cxpb\370\001\001\242\002"
+ "\002DF\252\002\035Google.Cloud.Dialogflow.Cx.V3b\006pro"
+ "to3"
+ "\002DF\252\002\035Google.Cloud.Dialogflow.Cx.V3\352\002!Go"
+ "ogle::Cloud::Dialogflow::CX::V3b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Original file line number Diff line number Diff line change
@@ -50,11 +50,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\n\016SafetySettings\022L\n\016banned_phrases\030\001 \003(\013"
+ "24.google.cloud.dialogflow.cx.v3.SafetyS"
+ "ettings.Phrase\0329\n\006Phrase\022\022\n\004text\030\001 \001(\tB\004"
+ "\342A\001\002\022\033\n\rlanguage_code\030\002 \001(\tB\004\342A\001\002B\225\001\n!co"
+ "\342A\001\002\022\033\n\rlanguage_code\030\002 \001(\tB\004\342A\001\002B\271\001\n!co"
+ "m.google.cloud.dialogflow.cx.v3B\023SafetyS"
+ "ettingsProtoP\001Z1cloud.google.com/go/dial"
+ "ogflow/cx/apiv3/cxpb;cxpb\370\001\001\242\002\002DF\252\002\035Goog"
+ "le.Cloud.Dialogflow.Cx.V3b\006proto3"
+ "le.Cloud.Dialogflow.Cx.V3\352\002!Google::Clou"
+ "d::Dialogflow::CX::V3b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Original file line number Diff line number Diff line change
@@ -23,6 +23,7 @@ option java_multiple_files = true;
option java_outer_classname = "DataStoreConnectionProto";
option java_package = "com.google.cloud.dialogflow.cx.v3";
option objc_class_prefix = "DF";
option ruby_package = "Google::Cloud::Dialogflow::CX::V3";

// A data store connection. It represents a data store in Discovery Engine and
// the type of the contents it contains.
Original file line number Diff line number Diff line change
@@ -26,6 +26,7 @@ option java_multiple_files = true;
option java_outer_classname = "GenerativeSettingsProto";
option java_package = "com.google.cloud.dialogflow.cx.v3";
option objc_class_prefix = "DF";
option ruby_package = "Google::Cloud::Dialogflow::CX::V3";

// Settings for Generative AI.
message GenerativeSettings {
Original file line number Diff line number Diff line change
@@ -23,6 +23,7 @@ option java_multiple_files = true;
option java_outer_classname = "ImportStrategyProto";
option java_package = "com.google.cloud.dialogflow.cx.v3";
option objc_class_prefix = "DF";
option ruby_package = "Google::Cloud::Dialogflow::CX::V3";

// Import strategies for the conflict resolution of resources (i.e. intents,
// entities, and webhooks) with identical display names during import
Original file line number Diff line number Diff line change
@@ -25,6 +25,7 @@ option java_multiple_files = true;
option java_outer_classname = "SafetySettingsProto";
option java_package = "com.google.cloud.dialogflow.cx.v3";
option objc_class_prefix = "DF";
option ruby_package = "Google::Cloud::Dialogflow::CX::V3";

// Settings for Generative Safety.
message SafetySettings {
Original file line number Diff line number Diff line change
@@ -48,11 +48,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\022\n\ndata_store\030\002 \001(\t*b\n\rDataStoreType\022\037\n\033"
+ "DATA_STORE_TYPE_UNSPECIFIED\020\000\022\016\n\nPUBLIC_"
+ "WEB\020\001\022\020\n\014UNSTRUCTURED\020\002\022\016\n\nSTRUCTURED\020\003B"
+ "\251\001\n&com.google.cloud.dialogflow.cx.v3bet"
+ "\322\001\n&com.google.cloud.dialogflow.cx.v3bet"
+ "a1B\030DataStoreConnectionProtoP\001Z6cloud.go"
+ "ogle.com/go/dialogflow/cx/apiv3beta1/cxp"
+ "b;cxpb\370\001\001\242\002\002DF\252\002\"Google.Cloud.Dialogflow"
+ ".Cx.V3Beta1b\006proto3"
+ ".Cx.V3Beta1\352\002&Google::Cloud::Dialogflow:"
+ ":CX::V3beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Original file line number Diff line number Diff line change
@@ -78,11 +78,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "pe\030\005 \001(\t:\201\001\352A~\n1dialogflow.googleapis.co"
+ "m/AgentGenerativeSettings\022Iprojects/{pro"
+ "ject}/locations/{location}/agents/{agent"
+ "}/generativeSettingsB\250\001\n&com.google.clou"
+ "}/generativeSettingsB\321\001\n&com.google.clou"
+ "d.dialogflow.cx.v3beta1B\027GenerativeSetti"
+ "ngsProtoP\001Z6cloud.google.com/go/dialogfl"
+ "ow/cx/apiv3beta1/cxpb;cxpb\370\001\001\242\002\002DF\252\002\"Goo"
+ "gle.Cloud.Dialogflow.Cx.V3Beta1b\006proto3"
+ "gle.Cloud.Dialogflow.Cx.V3Beta1\352\002&Google"
+ "::Cloud::Dialogflow::CX::V3beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Original file line number Diff line number Diff line change
@@ -42,11 +42,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ATEGY_CREATE_NEW\020\001\022\033\n\027IMPORT_STRATEGY_RE"
+ "PLACE\020\002\022\030\n\024IMPORT_STRATEGY_KEEP\020\003\022\031\n\025IMP"
+ "ORT_STRATEGY_MERGE\020\004\022\037\n\033IMPORT_STRATEGY_"
+ "THROW_ERROR\020\005B\244\001\n&com.google.cloud.dialo"
+ "THROW_ERROR\020\005B\315\001\n&com.google.cloud.dialo"
+ "gflow.cx.v3beta1B\023ImportStrategyProtoP\001Z"
+ "6cloud.google.com/go/dialogflow/cx/apiv3"
+ "beta1/cxpb;cxpb\370\001\001\242\002\002DF\252\002\"Google.Cloud.D"
+ "ialogflow.Cx.V3Beta1b\006proto3"
+ "ialogflow.Cx.V3Beta1\352\002&Google::Cloud::Di"
+ "alogflow::CX::V3beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Original file line number Diff line number Diff line change
@@ -51,11 +51,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ases\030\001 \003(\01329.google.cloud.dialogflow.cx."
+ "v3beta1.SafetySettings.Phrase\0329\n\006Phrase\022"
+ "\022\n\004text\030\001 \001(\tB\004\342A\001\002\022\033\n\rlanguage_code\030\002 \001"
+ "(\tB\004\342A\001\002B\244\001\n&com.google.cloud.dialogflow"
+ "(\tB\004\342A\001\002B\315\001\n&com.google.cloud.dialogflow"
+ ".cx.v3beta1B\023SafetySettingsProtoP\001Z6clou"
+ "d.google.com/go/dialogflow/cx/apiv3beta1"
+ "/cxpb;cxpb\370\001\001\242\002\002DF\252\002\"Google.Cloud.Dialog"
+ "flow.Cx.V3Beta1b\006proto3"
+ "flow.Cx.V3Beta1\352\002&Google::Cloud::Dialogf"
+ "low::CX::V3beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Original file line number Diff line number Diff line change
@@ -23,6 +23,7 @@ option java_multiple_files = true;
option java_outer_classname = "DataStoreConnectionProto";
option java_package = "com.google.cloud.dialogflow.cx.v3beta1";
option objc_class_prefix = "DF";
option ruby_package = "Google::Cloud::Dialogflow::CX::V3beta1";

// A data store connection. It represents a data store in Discovery Engine and
// the type of the contents it contains.
Original file line number Diff line number Diff line change
@@ -26,6 +26,7 @@ option java_multiple_files = true;
option java_outer_classname = "GenerativeSettingsProto";
option java_package = "com.google.cloud.dialogflow.cx.v3beta1";
option objc_class_prefix = "DF";
option ruby_package = "Google::Cloud::Dialogflow::CX::V3beta1";

// Settings for Generative AI.
message GenerativeSettings {
Original file line number Diff line number Diff line change
@@ -23,6 +23,7 @@ option java_multiple_files = true;
option java_outer_classname = "ImportStrategyProto";
option java_package = "com.google.cloud.dialogflow.cx.v3beta1";
option objc_class_prefix = "DF";
option ruby_package = "Google::Cloud::Dialogflow::CX::V3beta1";

// Import strategies for the conflict resolution of resources (i.e. intents,
// entities, and webhooks) with identical display names during import
Original file line number Diff line number Diff line change
@@ -25,6 +25,7 @@ option java_multiple_files = true;
option java_outer_classname = "SafetySettingsProto";
option java_package = "com.google.cloud.dialogflow.cx.v3beta1";
option objc_class_prefix = "DF";
option ruby_package = "Google::Cloud::Dialogflow::CX::V3beta1";

// Settings for Generative Safety.
message SafetySettings {