Send feedback
Class QueryExtensionResponse (3.53.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.53.0 keyboard_arrow_down
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 )
Returns
Type
Description
Object
Overrides
public QueryExtensionResponse . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]