public static final class QueryReasoningEngineRequest.Builder extends GeneratedMessageV3.Builder<QueryReasoningEngineRequest.Builder> implements QueryReasoningEngineRequestOrBuilder
Request message for [ReasoningEngineExecutionService.Query][].
Protobuf type google.cloud.aiplatform.v1beta1.QueryReasoningEngineRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public QueryReasoningEngineRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public QueryReasoningEngineRequest build()
public QueryReasoningEngineRequest buildPartial()
public QueryReasoningEngineRequest.Builder clear()
Overrides
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 clearField(Descriptors.FieldDescriptor field)
Overrides
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 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 clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public QueryReasoningEngineRequest.Builder clone()
Overrides
public 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];
Returns |
Type |
Description |
String |
The classMethod.
|
public 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];
Returns |
Type |
Description |
ByteString |
The bytes for classMethod.
|
public QueryReasoningEngineRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
Returns |
Type |
Description |
Struct |
The input.
|
public 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 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];
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) = { ... }
Returns |
Type |
Description |
String |
The name.
|
public 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) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
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];
Returns |
Type |
Description |
boolean |
Whether the input field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public QueryReasoningEngineRequest.Builder mergeFrom(QueryReasoningEngineRequest other)
public QueryReasoningEngineRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public QueryReasoningEngineRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public QueryReasoningEngineRequest.Builder mergeInput(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];
Parameter |
Name |
Description |
value |
Struct
|
public final QueryReasoningEngineRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public 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];
Parameter |
Name |
Description |
value |
String
The classMethod to set.
|
public QueryReasoningEngineRequest.Builder setClassMethodBytes(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];
Parameter |
Name |
Description |
value |
ByteString
The bytes for classMethod to set.
|
public QueryReasoningEngineRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public QueryReasoningEngineRequest.Builder setInput(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];
Parameter |
Name |
Description |
value |
Struct
|
public QueryReasoningEngineRequest.Builder setInput(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];
Parameter |
Name |
Description |
builderForValue |
Builder
|
public 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) = { ... }
Parameter |
Name |
Description |
value |
String
The name to set.
|
public QueryReasoningEngineRequest.Builder setNameBytes(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) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for name to set.
|
public QueryReasoningEngineRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final QueryReasoningEngineRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides