Class Assistant.ToolInfo.Builder (0.90.0)

public static final class Assistant.ToolInfo.Builder extends GeneratedMessage.Builder<Assistant.ToolInfo.Builder> implements Assistant.ToolInfoOrBuilder

Information to identify a tool.

Protobuf type google.cloud.discoveryengine.v1beta.Assistant.ToolInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public Assistant.ToolInfo build()
Returns
Type Description
Assistant.ToolInfo

buildPartial()

public Assistant.ToolInfo buildPartial()
Returns
Type Description
Assistant.ToolInfo

clear()

public Assistant.ToolInfo.Builder clear()
Returns
Type Description
Assistant.ToolInfo.Builder
Overrides

clearToolDisplayName()

public Assistant.ToolInfo.Builder clearToolDisplayName()

The display name of the tool.

string tool_display_name = 2;

Returns
Type Description
Assistant.ToolInfo.Builder

This builder for chaining.

clearToolName()

public Assistant.ToolInfo.Builder clearToolName()

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
Assistant.ToolInfo.Builder

This builder for chaining.

getDefaultInstanceForType()

public Assistant.ToolInfo getDefaultInstanceForType()
Returns
Type Description
Assistant.ToolInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Assistant.ToolInfo other)

public Assistant.ToolInfo.Builder mergeFrom(Assistant.ToolInfo other)
Parameter
Name Description
other Assistant.ToolInfo
Returns
Type Description
Assistant.ToolInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Assistant.ToolInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Assistant.ToolInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Assistant.ToolInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Assistant.ToolInfo.Builder
Overrides

setToolDisplayName(String value)

public Assistant.ToolInfo.Builder setToolDisplayName(String value)

The display name of the tool.

string tool_display_name = 2;

Parameter
Name Description
value String

The toolDisplayName to set.

Returns
Type Description
Assistant.ToolInfo.Builder

This builder for chaining.

setToolDisplayNameBytes(ByteString value)

public Assistant.ToolInfo.Builder setToolDisplayNameBytes(ByteString value)

The display name of the tool.

string tool_display_name = 2;

Parameter
Name Description
value ByteString

The bytes for toolDisplayName to set.

Returns
Type Description
Assistant.ToolInfo.Builder

This builder for chaining.

setToolName(String value)

public Assistant.ToolInfo.Builder setToolName(String value)

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;

Parameter
Name Description
value String

The toolName to set.

Returns
Type Description
Assistant.ToolInfo.Builder

This builder for chaining.

setToolNameBytes(ByteString value)

public Assistant.ToolInfo.Builder setToolNameBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for toolName to set.

Returns
Type Description
Assistant.ToolInfo.Builder

This builder for chaining.