public static final class QueryExtensionResponse.Builder extends GeneratedMessageV3.Builder<QueryExtensionResponse.Builder> implements QueryExtensionResponseOrBuilder
Response message for
ExtensionExecutionService.QueryExtension.
Protobuf type google.cloud.aiplatform.v1beta1.QueryExtensionResponse
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
addAllSteps(Iterable<? extends Content> values)
public QueryExtensionResponse.Builder addAllSteps(Iterable<? extends Content> values)
Steps of extension or LLM interaction, can contain function call,
function response, or text response. The last step contains the final
response to the query.
repeated .google.cloud.aiplatform.v1beta1.Content steps = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.aiplatform.v1beta1.Content>
|
public QueryExtensionResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addSteps(Content value)
public QueryExtensionResponse.Builder addSteps(Content value)
Steps of extension or LLM interaction, can contain function call,
function response, or text response. The last step contains the final
response to the query.
repeated .google.cloud.aiplatform.v1beta1.Content steps = 1;
Parameter |
---|
Name | Description |
value | Content
|
addSteps(Content.Builder builderForValue)
public QueryExtensionResponse.Builder addSteps(Content.Builder builderForValue)
Steps of extension or LLM interaction, can contain function call,
function response, or text response. The last step contains the final
response to the query.
repeated .google.cloud.aiplatform.v1beta1.Content steps = 1;
addSteps(int index, Content value)
public QueryExtensionResponse.Builder addSteps(int index, Content value)
Steps of extension or LLM interaction, can contain function call,
function response, or text response. The last step contains the final
response to the query.
repeated .google.cloud.aiplatform.v1beta1.Content steps = 1;
addSteps(int index, Content.Builder builderForValue)
public QueryExtensionResponse.Builder addSteps(int index, Content.Builder builderForValue)
Steps of extension or LLM interaction, can contain function call,
function response, or text response. The last step contains the final
response to the query.
repeated .google.cloud.aiplatform.v1beta1.Content steps = 1;
public Content.Builder addStepsBuilder()
Steps of extension or LLM interaction, can contain function call,
function response, or text response. The last step contains the final
response to the query.
repeated .google.cloud.aiplatform.v1beta1.Content steps = 1;
public Content.Builder addStepsBuilder(int index)
Steps of extension or LLM interaction, can contain function call,
function response, or text response. The last step contains the final
response to the query.
repeated .google.cloud.aiplatform.v1beta1.Content steps = 1;
Parameter |
---|
Name | Description |
index | int
|
public QueryExtensionResponse build()
public QueryExtensionResponse buildPartial()
public QueryExtensionResponse.Builder clear()
Overrides
public QueryExtensionResponse.Builder clearFailureMessage()
Failure message if any.
string failure_message = 2;
public QueryExtensionResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public QueryExtensionResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public QueryExtensionResponse.Builder clearSteps()
Steps of extension or LLM interaction, can contain function call,
function response, or text response. The last step contains the final
response to the query.
repeated .google.cloud.aiplatform.v1beta1.Content steps = 1;
public QueryExtensionResponse.Builder clone()
Overrides
public QueryExtensionResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getFailureMessage()
Failure message if any.
string failure_message = 2;
Returns |
---|
Type | Description |
String | The failureMessage.
|
public ByteString getFailureMessageBytes()
Failure message if any.
string failure_message = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for failureMessage.
|
public Content getSteps(int index)
Steps of extension or LLM interaction, can contain function call,
function response, or text response. The last step contains the final
response to the query.
repeated .google.cloud.aiplatform.v1beta1.Content steps = 1;
Parameter |
---|
Name | Description |
index | int
|
public Content.Builder getStepsBuilder(int index)
Steps of extension or LLM interaction, can contain function call,
function response, or text response. The last step contains the final
response to the query.
repeated .google.cloud.aiplatform.v1beta1.Content steps = 1;
Parameter |
---|
Name | Description |
index | int
|
public List<Content.Builder> getStepsBuilderList()
Steps of extension or LLM interaction, can contain function call,
function response, or text response. The last step contains the final
response to the query.
repeated .google.cloud.aiplatform.v1beta1.Content steps = 1;
public int getStepsCount()
Steps of extension or LLM interaction, can contain function call,
function response, or text response. The last step contains the final
response to the query.
repeated .google.cloud.aiplatform.v1beta1.Content steps = 1;
Returns |
---|
Type | Description |
int | |
public List<Content> getStepsList()
Steps of extension or LLM interaction, can contain function call,
function response, or text response. The last step contains the final
response to the query.
repeated .google.cloud.aiplatform.v1beta1.Content steps = 1;
public ContentOrBuilder getStepsOrBuilder(int index)
Steps of extension or LLM interaction, can contain function call,
function response, or text response. The last step contains the final
response to the query.
repeated .google.cloud.aiplatform.v1beta1.Content steps = 1;
Parameter |
---|
Name | Description |
index | int
|
public List<? extends ContentOrBuilder> getStepsOrBuilderList()
Steps of extension or LLM interaction, can contain function call,
function response, or text response. The last step contains the final
response to the query.
repeated .google.cloud.aiplatform.v1beta1.Content steps = 1;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.aiplatform.v1beta1.ContentOrBuilder> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public QueryExtensionResponse.Builder mergeFrom(QueryExtensionResponse other)
public QueryExtensionResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public QueryExtensionResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final QueryExtensionResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public QueryExtensionResponse.Builder removeSteps(int index)
Steps of extension or LLM interaction, can contain function call,
function response, or text response. The last step contains the final
response to the query.
repeated .google.cloud.aiplatform.v1beta1.Content steps = 1;
Parameter |
---|
Name | Description |
index | int
|
public QueryExtensionResponse.Builder setFailureMessage(String value)
Failure message if any.
string failure_message = 2;
Parameter |
---|
Name | Description |
value | String
The failureMessage to set.
|
public QueryExtensionResponse.Builder setFailureMessageBytes(ByteString value)
Failure message if any.
string failure_message = 2;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for failureMessage to set.
|
public QueryExtensionResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public QueryExtensionResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSteps(int index, Content value)
public QueryExtensionResponse.Builder setSteps(int index, Content value)
Steps of extension or LLM interaction, can contain function call,
function response, or text response. The last step contains the final
response to the query.
repeated .google.cloud.aiplatform.v1beta1.Content steps = 1;
setSteps(int index, Content.Builder builderForValue)
public QueryExtensionResponse.Builder setSteps(int index, Content.Builder builderForValue)
Steps of extension or LLM interaction, can contain function call,
function response, or text response. The last step contains the final
response to the query.
repeated .google.cloud.aiplatform.v1beta1.Content steps = 1;
public final QueryExtensionResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides