public final class QueryExtensionResponse extends GeneratedMessageV3 implements QueryExtensionResponseOrBuilder
Response message for
ExtensionExecutionService.QueryExtension.
Protobuf type google.cloud.aiplatform.v1beta1.QueryExtensionResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int FAILURE_MESSAGE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int STEPS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static QueryExtensionResponse getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static QueryExtensionResponse.Builder newBuilder()
public static QueryExtensionResponse.Builder newBuilder(QueryExtensionResponse prototype)
public static QueryExtensionResponse parseDelimitedFrom(InputStream input)
public static QueryExtensionResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static QueryExtensionResponse parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static QueryExtensionResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static QueryExtensionResponse parseFrom(ByteString data)
public static QueryExtensionResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static QueryExtensionResponse parseFrom(CodedInputStream input)
public static QueryExtensionResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static QueryExtensionResponse parseFrom(InputStream input)
public static QueryExtensionResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static QueryExtensionResponse parseFrom(ByteBuffer data)
public static QueryExtensionResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<QueryExtensionResponse> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public QueryExtensionResponse getDefaultInstanceForType()
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 Parser<QueryExtensionResponse> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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 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> | |
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public QueryExtensionResponse.Builder newBuilderForType()
protected QueryExtensionResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public QueryExtensionResponse.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides