public static final class Assistant.ToolInfo extends GeneratedMessage implements Assistant.ToolInfoOrBuilderInformation to identify a tool.
Protobuf type google.cloud.discoveryengine.v1beta.Assistant.ToolInfo
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > Assistant.ToolInfoImplements
Assistant.ToolInfoOrBuilderStatic Fields
TOOL_DISPLAY_NAME_FIELD_NUMBER
public static final int TOOL_DISPLAY_NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
TOOL_NAME_FIELD_NUMBER
public static final int TOOL_NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static Assistant.ToolInfo getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
Assistant.ToolInfo |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static Assistant.ToolInfo.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
Assistant.ToolInfo.Builder |
|
newBuilder(Assistant.ToolInfo prototype)
public static Assistant.ToolInfo.Builder newBuilder(Assistant.ToolInfo prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
Assistant.ToolInfo |
| Returns | |
|---|---|
| Type | Description |
Assistant.ToolInfo.Builder |
|
parseDelimitedFrom(InputStream input)
public static Assistant.ToolInfo parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Assistant.ToolInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Assistant.ToolInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Assistant.ToolInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static Assistant.ToolInfo parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
Assistant.ToolInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Assistant.ToolInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Assistant.ToolInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static Assistant.ToolInfo parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
Assistant.ToolInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Assistant.ToolInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Assistant.ToolInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static Assistant.ToolInfo parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
Assistant.ToolInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Assistant.ToolInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Assistant.ToolInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static Assistant.ToolInfo parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Assistant.ToolInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Assistant.ToolInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Assistant.ToolInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static Assistant.ToolInfo parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
Assistant.ToolInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Assistant.ToolInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Assistant.ToolInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<Assistant.ToolInfo> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ToolInfo> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public Assistant.ToolInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Assistant.ToolInfo |
|
getParserForType()
public Parser<Assistant.ToolInfo> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ToolInfo> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getToolDisplayName()
public String getToolDisplayName()The display name of the tool.
string tool_display_name = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The toolDisplayName. |
getToolDisplayNameBytes()
public ByteString getToolDisplayNameBytes()The display name of the tool.
string tool_display_name = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for toolDisplayName. |
getToolName()
public String getToolName() The name of the tool as defined by
DataConnectorService.QueryAvailableActions.
Note: it's using action in the DataConnectorService apis, but they are
the same as the tool here.
string tool_name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The toolName. |
getToolNameBytes()
public ByteString getToolNameBytes() The name of the tool as defined by
DataConnectorService.QueryAvailableActions.
Note: it's using action in the DataConnectorService apis, but they are
the same as the tool here.
string tool_name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for toolName. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public Assistant.ToolInfo.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
Assistant.ToolInfo.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Assistant.ToolInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
Assistant.ToolInfo.Builder |
|
toBuilder()
public Assistant.ToolInfo.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
Assistant.ToolInfo.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|