public static final class QueryReasoningEngineRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<QueryReasoningEngineRequest.Builder> implements QueryReasoningEngineRequestOrBuilder
Request message for [ReasoningEngineExecutionService.Query][].Protobuf type
google.cloud.aiplatform.v1.QueryReasoningEngineRequestaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<QueryReasoningEngineRequest.Builder>public QueryReasoningEngineRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<QueryReasoningEngineRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<QueryReasoningEngineRequest.Builder>public QueryReasoningEngineRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic QueryReasoningEngineRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic QueryReasoningEngineRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic QueryReasoningEngineRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<QueryReasoningEngineRequest.Builder>public QueryReasoningEngineRequest.Builder mergeFrom(QueryReasoningEngineRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<QueryReasoningEngineRequest.Builder>public QueryReasoningEngineRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<QueryReasoningEngineRequest.Builder>IOExceptionpublic String getName()
Required. The name of the ReasoningEngine resource to use.
Format:
`projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName in interface QueryReasoningEngineRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. The name of the ReasoningEngine resource to use.
Format:
`projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNameBytes in interface QueryReasoningEngineRequestOrBuilderpublic QueryReasoningEngineRequest.Builder setName(String value)
Required. The name of the ReasoningEngine resource to use.
Format:
`projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The name to set.public QueryReasoningEngineRequest.Builder clearName()
Required. The name of the ReasoningEngine resource to use.
Format:
`projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public QueryReasoningEngineRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The name of the ReasoningEngine resource to use.
Format:
`projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for name to set.public boolean hasInput()
Optional. Input content provided by users in JSON object format. Examples include text query, function calling parameters, media bytes, etc.
.google.protobuf.Struct input = 2 [(.google.api.field_behavior) = OPTIONAL];hasInput in interface QueryReasoningEngineRequestOrBuilderpublic com.google.protobuf.Struct getInput()
Optional. Input content provided by users in JSON object format. Examples include text query, function calling parameters, media bytes, etc.
.google.protobuf.Struct input = 2 [(.google.api.field_behavior) = OPTIONAL];getInput in interface QueryReasoningEngineRequestOrBuilderpublic QueryReasoningEngineRequest.Builder setInput(com.google.protobuf.Struct value)
Optional. Input content provided by users in JSON object format. Examples include text query, function calling parameters, media bytes, etc.
.google.protobuf.Struct input = 2 [(.google.api.field_behavior) = OPTIONAL];public QueryReasoningEngineRequest.Builder setInput(com.google.protobuf.Struct.Builder builderForValue)
Optional. Input content provided by users in JSON object format. Examples include text query, function calling parameters, media bytes, etc.
.google.protobuf.Struct input = 2 [(.google.api.field_behavior) = OPTIONAL];public QueryReasoningEngineRequest.Builder mergeInput(com.google.protobuf.Struct value)
Optional. Input content provided by users in JSON object format. Examples include text query, function calling parameters, media bytes, etc.
.google.protobuf.Struct input = 2 [(.google.api.field_behavior) = OPTIONAL];public QueryReasoningEngineRequest.Builder clearInput()
Optional. Input content provided by users in JSON object format. Examples include text query, function calling parameters, media bytes, etc.
.google.protobuf.Struct input = 2 [(.google.api.field_behavior) = OPTIONAL];public com.google.protobuf.Struct.Builder getInputBuilder()
Optional. Input content provided by users in JSON object format. Examples include text query, function calling parameters, media bytes, etc.
.google.protobuf.Struct input = 2 [(.google.api.field_behavior) = OPTIONAL];public com.google.protobuf.StructOrBuilder getInputOrBuilder()
Optional. Input content provided by users in JSON object format. Examples include text query, function calling parameters, media bytes, etc.
.google.protobuf.Struct input = 2 [(.google.api.field_behavior) = OPTIONAL];getInputOrBuilder in interface QueryReasoningEngineRequestOrBuilderpublic String getClassMethod()
Optional. Class method to be used for the query. It is optional and defaults to "query" if unspecified.
string class_method = 3 [(.google.api.field_behavior) = OPTIONAL];getClassMethod in interface QueryReasoningEngineRequestOrBuilderpublic com.google.protobuf.ByteString getClassMethodBytes()
Optional. Class method to be used for the query. It is optional and defaults to "query" if unspecified.
string class_method = 3 [(.google.api.field_behavior) = OPTIONAL];getClassMethodBytes in interface QueryReasoningEngineRequestOrBuilderpublic QueryReasoningEngineRequest.Builder setClassMethod(String value)
Optional. Class method to be used for the query. It is optional and defaults to "query" if unspecified.
string class_method = 3 [(.google.api.field_behavior) = OPTIONAL];value - The classMethod to set.public QueryReasoningEngineRequest.Builder clearClassMethod()
Optional. Class method to be used for the query. It is optional and defaults to "query" if unspecified.
string class_method = 3 [(.google.api.field_behavior) = OPTIONAL];public QueryReasoningEngineRequest.Builder setClassMethodBytes(com.google.protobuf.ByteString value)
Optional. Class method to be used for the query. It is optional and defaults to "query" if unspecified.
string class_method = 3 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for classMethod to set.Copyright © 2026 Google LLC. All rights reserved.