public final class ToolUseExample extends com.google.protobuf.GeneratedMessageV3 implements ToolUseExampleOrBuilder
A single example of the tool usage.Protobuf type
google.cloud.aiplatform.v1beta1.ToolUseExample| Modifier and Type | Class and Description |
|---|---|
static class |
ToolUseExample.Builder
A single example of the tool usage.
|
static class |
ToolUseExample.ExtensionOperation
Identifies one operation of the extension.
|
static interface |
ToolUseExample.ExtensionOperationOrBuilder |
static class |
ToolUseExample.TargetCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
EXTENSION_OPERATION_FIELD_NUMBER |
static int |
FUNCTION_NAME_FIELD_NUMBER |
static int |
QUERY_FIELD_NUMBER |
static int |
REQUEST_PARAMS_FIELD_NUMBER |
static int |
RESPONSE_PARAMS_FIELD_NUMBER |
static int |
RESPONSE_SUMMARY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ToolUseExample |
getDefaultInstance() |
ToolUseExample |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
ToolUseExample.ExtensionOperation |
getExtensionOperation()
Extension operation to call.
|
ToolUseExample.ExtensionOperationOrBuilder |
getExtensionOperationOrBuilder()
Extension operation to call.
|
String |
getFunctionName()
Function name to call.
|
com.google.protobuf.ByteString |
getFunctionNameBytes()
Function name to call.
|
com.google.protobuf.Parser<ToolUseExample> |
getParserForType() |
String |
getQuery()
Required.
|
com.google.protobuf.ByteString |
getQueryBytes()
Required.
|
com.google.protobuf.Struct |
getRequestParams()
Request parameters used for executing this tool.
|
com.google.protobuf.StructOrBuilder |
getRequestParamsOrBuilder()
Request parameters used for executing this tool.
|
com.google.protobuf.Struct |
getResponseParams()
Response parameters generated by this tool.
|
com.google.protobuf.StructOrBuilder |
getResponseParamsOrBuilder()
Response parameters generated by this tool.
|
String |
getResponseSummary()
Summary of the tool response to the user query.
|
com.google.protobuf.ByteString |
getResponseSummaryBytes()
Summary of the tool response to the user query.
|
int |
getSerializedSize() |
ToolUseExample.TargetCase |
getTargetCase() |
boolean |
hasExtensionOperation()
Extension operation to call.
|
boolean |
hasFunctionName()
Function name to call.
|
int |
hashCode() |
boolean |
hasRequestParams()
Request parameters used for executing this tool.
|
boolean |
hasResponseParams()
Response parameters generated by this tool.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ToolUseExample.Builder |
newBuilder() |
static ToolUseExample.Builder |
newBuilder(ToolUseExample prototype) |
ToolUseExample.Builder |
newBuilderForType() |
protected ToolUseExample.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ToolUseExample |
parseDelimitedFrom(InputStream input) |
static ToolUseExample |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ToolUseExample |
parseFrom(byte[] data) |
static ToolUseExample |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ToolUseExample |
parseFrom(ByteBuffer data) |
static ToolUseExample |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ToolUseExample |
parseFrom(com.google.protobuf.ByteString data) |
static ToolUseExample |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ToolUseExample |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ToolUseExample |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ToolUseExample |
parseFrom(InputStream input) |
static ToolUseExample |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ToolUseExample> |
parser() |
ToolUseExample.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int EXTENSION_OPERATION_FIELD_NUMBER
public static final int FUNCTION_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int QUERY_FIELD_NUMBER
public static final int REQUEST_PARAMS_FIELD_NUMBER
public static final int RESPONSE_PARAMS_FIELD_NUMBER
public static final int RESPONSE_SUMMARY_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public ToolUseExample.TargetCase getTargetCase()
getTargetCase in interface ToolUseExampleOrBuilderpublic boolean hasExtensionOperation()
Extension operation to call.
.google.cloud.aiplatform.v1beta1.ToolUseExample.ExtensionOperation extension_operation = 10;
hasExtensionOperation in interface ToolUseExampleOrBuilderpublic ToolUseExample.ExtensionOperation getExtensionOperation()
Extension operation to call.
.google.cloud.aiplatform.v1beta1.ToolUseExample.ExtensionOperation extension_operation = 10;
getExtensionOperation in interface ToolUseExampleOrBuilderpublic ToolUseExample.ExtensionOperationOrBuilder getExtensionOperationOrBuilder()
Extension operation to call.
.google.cloud.aiplatform.v1beta1.ToolUseExample.ExtensionOperation extension_operation = 10;
getExtensionOperationOrBuilder in interface ToolUseExampleOrBuilderpublic boolean hasFunctionName()
Function name to call.
string function_name = 11;hasFunctionName in interface ToolUseExampleOrBuilderpublic String getFunctionName()
Function name to call.
string function_name = 11;getFunctionName in interface ToolUseExampleOrBuilderpublic com.google.protobuf.ByteString getFunctionNameBytes()
Function name to call.
string function_name = 11;getFunctionNameBytes in interface ToolUseExampleOrBuilderpublic String getDisplayName()
Required. The display name for example.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];getDisplayName in interface ToolUseExampleOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Required. The display name for example.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];getDisplayNameBytes in interface ToolUseExampleOrBuilderpublic String getQuery()
Required. Query that should be routed to this tool.
string query = 2 [(.google.api.field_behavior) = REQUIRED];getQuery in interface ToolUseExampleOrBuilderpublic com.google.protobuf.ByteString getQueryBytes()
Required. Query that should be routed to this tool.
string query = 2 [(.google.api.field_behavior) = REQUIRED];getQueryBytes in interface ToolUseExampleOrBuilderpublic boolean hasRequestParams()
Request parameters used for executing this tool.
.google.protobuf.Struct request_params = 3;hasRequestParams in interface ToolUseExampleOrBuilderpublic com.google.protobuf.Struct getRequestParams()
Request parameters used for executing this tool.
.google.protobuf.Struct request_params = 3;getRequestParams in interface ToolUseExampleOrBuilderpublic com.google.protobuf.StructOrBuilder getRequestParamsOrBuilder()
Request parameters used for executing this tool.
.google.protobuf.Struct request_params = 3;getRequestParamsOrBuilder in interface ToolUseExampleOrBuilderpublic boolean hasResponseParams()
Response parameters generated by this tool.
.google.protobuf.Struct response_params = 4;hasResponseParams in interface ToolUseExampleOrBuilderpublic com.google.protobuf.Struct getResponseParams()
Response parameters generated by this tool.
.google.protobuf.Struct response_params = 4;getResponseParams in interface ToolUseExampleOrBuilderpublic com.google.protobuf.StructOrBuilder getResponseParamsOrBuilder()
Response parameters generated by this tool.
.google.protobuf.Struct response_params = 4;getResponseParamsOrBuilder in interface ToolUseExampleOrBuilderpublic String getResponseSummary()
Summary of the tool response to the user query.
string response_summary = 5;getResponseSummary in interface ToolUseExampleOrBuilderpublic com.google.protobuf.ByteString getResponseSummaryBytes()
Summary of the tool response to the user query.
string response_summary = 5;getResponseSummaryBytes in interface ToolUseExampleOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ToolUseExample parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ToolUseExample parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ToolUseExample parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ToolUseExample parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ToolUseExample parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ToolUseExample parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ToolUseExample parseFrom(InputStream input) throws IOException
IOExceptionpublic static ToolUseExample parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ToolUseExample parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ToolUseExample parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ToolUseExample parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ToolUseExample parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ToolUseExample.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ToolUseExample.Builder newBuilder()
public static ToolUseExample.Builder newBuilder(ToolUseExample prototype)
public ToolUseExample.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ToolUseExample.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ToolUseExample getDefaultInstance()
public static com.google.protobuf.Parser<ToolUseExample> parser()
public com.google.protobuf.Parser<ToolUseExample> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ToolUseExample getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.