From 1b047263b3b77afdb0ee4f7c3072aaeef6070af1 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 27 Feb 2025 03:13:52 +0000 Subject: [PATCH] feat: add EnterpriseWebSearch tool option PiperOrigin-RevId: 731486257 Source-Link: https://github.com/googleapis/googleapis/commit/2862c1e2d80e392423b87bad6203fe41482e4937 Source-Link: https://github.com/googleapis/googleapis-gen/commit/1cf5c64d0d9b60d77e51f74fa2d6bc9f1709c6df Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuQUlQbGF0Zm9ybS5WMS8uT3dsQm90LnlhbWwiLCJoIjoiMWNmNWM2NGQwZDliNjBkNzdlNTFmNzRmYTJkNmJjOWYxNzA5YzZkZiJ9 --- .../Google.Cloud.AIPlatform.V1/Tool.g.cs | 592 +++++++++++++++--- 1 file changed, 506 insertions(+), 86 deletions(-) diff --git a/apis/Google.Cloud.AIPlatform.V1/Google.Cloud.AIPlatform.V1/Tool.g.cs b/apis/Google.Cloud.AIPlatform.V1/Google.Cloud.AIPlatform.V1/Tool.g.cs index bce63ba52cd5..adfe4cc7e0fa 100644 --- a/apis/Google.Cloud.AIPlatform.V1/Google.Cloud.AIPlatform.V1/Tool.g.cs +++ b/apis/Google.Cloud.AIPlatform.V1/Google.Cloud.AIPlatform.V1/Tool.g.cs @@ -29,79 +29,84 @@ static ToolReflection() { "dmlvci5wcm90bxoZZ29vZ2xlL2FwaS9yZXNvdXJjZS5wcm90bxooZ29vZ2xl", "L2Nsb3VkL2FpcGxhdGZvcm0vdjEvb3BlbmFwaS5wcm90bxocZ29vZ2xlL3By", "b3RvYnVmL3N0cnVjdC5wcm90bxoYZ29vZ2xlL3R5cGUvbGF0bG5nLnByb3Rv", - "ItECCgRUb29sElMKFWZ1bmN0aW9uX2RlY2xhcmF0aW9ucxgBIAMoCzIvLmdv", + "IoEECgRUb29sElMKFWZ1bmN0aW9uX2RlY2xhcmF0aW9ucxgBIAMoCzIvLmdv", "b2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"b3JtcGI7YWlwbGF0Zm9ybXBiqgIaR29vZ2xlLkNsb3VkLkFJUGxhdGZvcm0u", + "VjHKAhpHb29nbGVcQ2xvdWRcQUlQbGF0Zm9ybVxWMeoCHUdvb2dsZTo6Q2xv", + "dWQ6OkFJUGxhdGZvcm06OlYxYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.AIPlatform.V1.OpenapiReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.StructReflection.Descriptor, global::Google.Type.LatlngReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.AIPlatform.V1.Tool), global::Google.Cloud.AIPlatform.V1.Tool.Parser, new[]{ "FunctionDeclarations", "Retrieval", "GoogleSearchRetrieval", "CodeExecution" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.AIPlatform.V1.Tool.Types.CodeExecution), global::Google.Cloud.AIPlatform.V1.Tool.Types.CodeExecution.Parser, null, null, null, null, null)}), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.AIPlatform.V1.Tool), global::Google.Cloud.AIPlatform.V1.Tool.Parser, new[]{ "FunctionDeclarations", "Retrieval", "GoogleSearch", "GoogleSearchRetrieval", "EnterpriseWebSearch", "CodeExecution" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.AIPlatform.V1.Tool.Types.GoogleSearch), global::Google.Cloud.AIPlatform.V1.Tool.Types.GoogleSearch.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.AIPlatform.V1.Tool.Types.CodeExecution), global::Google.Cloud.AIPlatform.V1.Tool.Types.CodeExecution.Parser, null, null, null, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.AIPlatform.V1.FunctionDeclaration), global::Google.Cloud.AIPlatform.V1.FunctionDeclaration.Parser, new[]{ "Name", "Description", "Parameters", "Response" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.AIPlatform.V1.FunctionCall), global::Google.Cloud.AIPlatform.V1.FunctionCall.Parser, new[]{ "Name", "Args" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.AIPlatform.V1.FunctionResponse), global::Google.Cloud.AIPlatform.V1.FunctionResponse.Parser, new[]{ "Name", "Response" }, null, null, null, null), @@ -111,6 +116,7 @@ static ToolReflection() { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.AIPlatform.V1.VertexRagStore), global::Google.Cloud.AIPlatform.V1.VertexRagStore.Parser, new[]{ "RagResources", "SimilarityTopK", "VectorDistanceThreshold", "RagRetrievalConfig" }, new[]{ "SimilarityTopK", "VectorDistanceThreshold" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.AIPlatform.V1.VertexRagStore.Types.RagResource), global::Google.Cloud.AIPlatform.V1.VertexRagStore.Types.RagResource.Parser, new[]{ "RagCorpus", "RagFileIds" }, null, null, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.AIPlatform.V1.VertexAISearch), global::Google.Cloud.AIPlatform.V1.VertexAISearch.Parser, new[]{ "Datastore" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.AIPlatform.V1.GoogleSearchRetrieval), global::Google.Cloud.AIPlatform.V1.GoogleSearchRetrieval.Parser, new[]{ "DynamicRetrievalConfig" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.AIPlatform.V1.EnterpriseWebSearch), global::Google.Cloud.AIPlatform.V1.EnterpriseWebSearch.Parser, null, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.AIPlatform.V1.DynamicRetrievalConfig), global::Google.Cloud.AIPlatform.V1.DynamicRetrievalConfig.Parser, new[]{ "Mode", "DynamicThreshold" }, new[]{ "DynamicThreshold" }, new[]{ typeof(global::Google.Cloud.AIPlatform.V1.DynamicRetrievalConfig.Types.Mode) }, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.AIPlatform.V1.ToolConfig), global::Google.Cloud.AIPlatform.V1.ToolConfig.Parser, new[]{ "FunctionCallingConfig", "RetrievalConfig" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.AIPlatform.V1.FunctionCallingConfig), global::Google.Cloud.AIPlatform.V1.FunctionCallingConfig.Parser, new[]{ "Mode", "AllowedFunctionNames" }, null, new[]{ typeof(global::Google.Cloud.AIPlatform.V1.FunctionCallingConfig.Types.Mode) }, null, null), @@ -168,7 +174,9 @@ public Tool() { public Tool(Tool other) : this() { functionDeclarations_ = other.functionDeclarations_.Clone(); retrieval_ = other.retrieval_ != null ? other.retrieval_.Clone() : null; + googleSearch_ = other.googleSearch_ != null ? other.googleSearch_.Clone() : null; googleSearchRetrieval_ = other.googleSearchRetrieval_ != null ? other.googleSearchRetrieval_.Clone() : null; + enterpriseWebSearch_ = other.enterpriseWebSearch_ != null ? other.enterpriseWebSearch_.Clone() : null; codeExecution_ = other.codeExecution_ != null ? other.codeExecution_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -188,11 +196,12 @@ public Tool Clone() { /// Optional. Function tool type. /// One or more function declarations to be passed to the model along with the /// current user query. Model may decide to call a subset of these functions - /// by populating [FunctionCall][content.part.function_call] in the response. - /// User should provide a [FunctionResponse][content.part.function_response] - /// for each function call in the next turn. Based on the function responses, - /// Model will generate the final response back to the user. - /// Maximum 128 function declarations can be provided. + /// by populating [FunctionCall][google.cloud.aiplatform.v1.Part.function_call] + /// in the response. User should provide a + /// [FunctionResponse][google.cloud.aiplatform.v1.Part.function_response] for + /// each function call in the next turn. Based on the function responses, Model + /// will generate the final response back to the user. Maximum 128 function + /// declarations can be provided. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -218,6 +227,22 @@ public Tool Clone() { } } + /// Field number for the "google_search" field. + public const int GoogleSearchFieldNumber = 7; + private global::Google.Cloud.AIPlatform.V1.Tool.Types.GoogleSearch googleSearch_; + /// + /// Optional. GoogleSearch tool type. + /// Tool to support Google Search in Model. Powered by Google. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.AIPlatform.V1.Tool.Types.GoogleSearch GoogleSearch { + get { return googleSearch_; } + set { + googleSearch_ = value; + } + } + /// Field number for the "google_search_retrieval" field. public const int GoogleSearchRetrievalFieldNumber = 3; private global::Google.Cloud.AIPlatform.V1.GoogleSearchRetrieval googleSearchRetrieval_; @@ -234,13 +259,28 @@ public Tool Clone() { } } + /// Field number for the "enterprise_web_search" field. + public const int EnterpriseWebSearchFieldNumber = 6; + private global::Google.Cloud.AIPlatform.V1.EnterpriseWebSearch enterpriseWebSearch_; + /// + /// Optional. Tool to support searching public web data, powered by Vertex AI + /// Search and Sec4 compliance. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.AIPlatform.V1.EnterpriseWebSearch EnterpriseWebSearch { + get { return enterpriseWebSearch_; } + set { + enterpriseWebSearch_ = value; + } + } + /// Field number for the "code_execution" field. public const int CodeExecutionFieldNumber = 4; private global::Google.Cloud.AIPlatform.V1.Tool.Types.CodeExecution codeExecution_; /// /// Optional. CodeExecution tool type. /// Enables the model to execute code as part of generation. - /// This field is only used by the Gemini Developer API services. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -268,7 +308,9 @@ public bool Equals(Tool other) { } if(!functionDeclarations_.Equals(other.functionDeclarations_)) return false; if (!object.Equals(Retrieval, other.Retrieval)) return false; + if (!object.Equals(GoogleSearch, other.GoogleSearch)) return false; if (!object.Equals(GoogleSearchRetrieval, other.GoogleSearchRetrieval)) return false; + if (!object.Equals(EnterpriseWebSearch, other.EnterpriseWebSearch)) return false; if (!object.Equals(CodeExecution, other.CodeExecution)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -279,7 +321,9 @@ public override int GetHashCode() { int hash = 1; hash ^= functionDeclarations_.GetHashCode(); if (retrieval_ != null) hash ^= Retrieval.GetHashCode(); + if (googleSearch_ != null) hash ^= GoogleSearch.GetHashCode(); if (googleSearchRetrieval_ != null) hash ^= GoogleSearchRetrieval.GetHashCode(); + if (enterpriseWebSearch_ != null) hash ^= EnterpriseWebSearch.GetHashCode(); if (codeExecution_ != null) hash ^= CodeExecution.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -312,6 +356,14 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(34); output.WriteMessage(CodeExecution); } + if (enterpriseWebSearch_ != null) { + output.WriteRawTag(50); + output.WriteMessage(EnterpriseWebSearch); + } + if (googleSearch_ != null) { + output.WriteRawTag(58); + output.WriteMessage(GoogleSearch); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -335,6 +387,14 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(34); output.WriteMessage(CodeExecution); } + if (enterpriseWebSearch_ != null) { + output.WriteRawTag(50); + output.WriteMessage(EnterpriseWebSearch); + } + if (googleSearch_ != null) { + output.WriteRawTag(58); + output.WriteMessage(GoogleSearch); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -349,9 +409,15 @@ public int CalculateSize() { if (retrieval_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Retrieval); } + if (googleSearch_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GoogleSearch); + } if (googleSearchRetrieval_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(GoogleSearchRetrieval); } + if (enterpriseWebSearch_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(EnterpriseWebSearch); + } if (codeExecution_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(CodeExecution); } @@ -374,12 +440,24 @@ public void MergeFrom(Tool other) { } Retrieval.MergeFrom(other.Retrieval); } + if (other.googleSearch_ != null) { + if (googleSearch_ == null) { + GoogleSearch = new global::Google.Cloud.AIPlatform.V1.Tool.Types.GoogleSearch(); + } + GoogleSearch.MergeFrom(other.GoogleSearch); + } if (other.googleSearchRetrieval_ != null) { if (googleSearchRetrieval_ == null) { GoogleSearchRetrieval = new global::Google.Cloud.AIPlatform.V1.GoogleSearchRetrieval(); } GoogleSearchRetrieval.MergeFrom(other.GoogleSearchRetrieval); } + if (other.enterpriseWebSearch_ != null) { + if (enterpriseWebSearch_ == null) { + EnterpriseWebSearch = new global::Google.Cloud.AIPlatform.V1.EnterpriseWebSearch(); + } + EnterpriseWebSearch.MergeFrom(other.EnterpriseWebSearch); + } if (other.codeExecution_ != null) { if (codeExecution_ == null) { CodeExecution = new global::Google.Cloud.AIPlatform.V1.Tool.Types.CodeExecution(); @@ -426,6 +504,20 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(CodeExecution); break; } + case 50: { + if (enterpriseWebSearch_ == null) { + EnterpriseWebSearch = new global::Google.Cloud.AIPlatform.V1.EnterpriseWebSearch(); + } + input.ReadMessage(EnterpriseWebSearch); + break; + } + case 58: { + if (googleSearch_ == null) { + GoogleSearch = new global::Google.Cloud.AIPlatform.V1.Tool.Types.GoogleSearch(); + } + input.ReadMessage(GoogleSearch); + break; + } } } #endif @@ -466,6 +558,20 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(CodeExecution); break; } + case 50: { + if (enterpriseWebSearch_ == null) { + EnterpriseWebSearch = new global::Google.Cloud.AIPlatform.V1.EnterpriseWebSearch(); + } + input.ReadMessage(EnterpriseWebSearch); + break; + } + case 58: { + if (googleSearch_ == null) { + GoogleSearch = new global::Google.Cloud.AIPlatform.V1.Tool.Types.GoogleSearch(); + } + input.ReadMessage(GoogleSearch); + break; + } } } } @@ -476,6 +582,163 @@ public void MergeFrom(pb::CodedInputStream input) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { + /// + /// GoogleSearch tool type. + /// Tool to support Google Search in Model. Powered by Google. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GoogleSearch : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GoogleSearch()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.AIPlatform.V1.Tool.Descriptor.NestedTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GoogleSearch() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GoogleSearch(GoogleSearch other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GoogleSearch Clone() { + return new GoogleSearch(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GoogleSearch); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GoogleSearch other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GoogleSearch other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + /// /// Tool that executes code generated by the model, and automatically returns /// the result to the model. @@ -498,7 +761,7 @@ public sealed partial class CodeExecution : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.AIPlatform.V1.Tool.Descriptor.NestedTypes[0]; } + get { return global::Google.Cloud.AIPlatform.V1.Tool.Descriptor.NestedTypes[1]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -3365,6 +3628,163 @@ public void MergeFrom(pb::CodedInputStream input) { } + /// + /// Tool to search public web data, powered by Vertex AI Search and Sec4 + /// compliance. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class EnterpriseWebSearch : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EnterpriseWebSearch()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.AIPlatform.V1.ToolReflection.Descriptor.MessageTypes[10]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EnterpriseWebSearch() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EnterpriseWebSearch(EnterpriseWebSearch other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EnterpriseWebSearch Clone() { + return new EnterpriseWebSearch(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EnterpriseWebSearch); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EnterpriseWebSearch other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EnterpriseWebSearch other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + /// /// Describes the options to customize dynamic retrieval. /// @@ -3384,7 +3804,7 @@ public sealed partial class DynamicRetrievalConfig : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.AIPlatform.V1.ToolReflection.Descriptor.MessageTypes[11]; } + get { return global::Google.Cloud.AIPlatform.V1.ToolReflection.Descriptor.MessageTypes[12]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -3913,7 +4333,7 @@ public sealed partial class FunctionCallingConfig : pb::IMessage [pbr::OriginalName("MODE_UNSPECIFIED")] Unspecified = 0, /// - /// Default model behavior, model decides to predict either a function call - /// or a natural language response. + /// Default model behavior, model decides to predict either function calls + /// or natural language response. /// [pbr::OriginalName("AUTO")] Auto = 1, /// - /// Model is constrained to always predicting a function call only. - /// If "allowed_function_names" are set, the predicted function call will be + /// Model is constrained to always predicting function calls only. + /// If "allowed_function_names" are set, the predicted function calls will be /// limited to any one of "allowed_function_names", else the predicted - /// function call will be any one of the provided "function_declarations". + /// function calls will be any one of the provided "function_declarations". /// [pbr::OriginalName("ANY")] Any = 2, /// - /// Model will not predict any function call. Model behavior is same as when + /// Model will not predict any function calls. Model behavior is same as when /// not passing any function declarations. /// [pbr::OriginalName("NONE")] None = 3, @@ -4175,7 +4595,7 @@ public sealed partial class RetrievalConfig : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Google.Cloud.AIPlatform.V1.ToolReflection.Descriptor.MessageTypes[13]; } + get { return global::Google.Cloud.AIPlatform.V1.ToolReflection.Descriptor.MessageTypes[14]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -4434,7 +4854,7 @@ public sealed partial class RagRetrievalConfig : pb::IMessage