Class ListToolsResponse.Builder (0.55.0)

public static final class ListToolsResponse.Builder extends GeneratedMessageV3.Builder<ListToolsResponse.Builder> implements ListToolsResponseOrBuilder

The response message for Tools.ListTools.

Protobuf type google.cloud.dialogflow.cx.v3beta1.ListToolsResponse

Static Methods

getDescriptor()

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

Methods

addAllTools(Iterable<? extends Tool> values)

public ListToolsResponse.Builder addAllTools(Iterable<? extends Tool> values)

The list of Tools. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Tool tools = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.Tool>
Returns
Type Description
ListToolsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListToolsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListToolsResponse.Builder
Overrides

addTools(Tool value)

public ListToolsResponse.Builder addTools(Tool value)

The list of Tools. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Tool tools = 1;

Parameter
Name Description
value Tool
Returns
Type Description
ListToolsResponse.Builder

addTools(Tool.Builder builderForValue)

public ListToolsResponse.Builder addTools(Tool.Builder builderForValue)

The list of Tools. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Tool tools = 1;

Parameter
Name Description
builderForValue Tool.Builder
Returns
Type Description
ListToolsResponse.Builder

addTools(int index, Tool value)

public ListToolsResponse.Builder addTools(int index, Tool value)

The list of Tools. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Tool tools = 1;

Parameters
Name Description
index int
value Tool
Returns
Type Description
ListToolsResponse.Builder

addTools(int index, Tool.Builder builderForValue)

public ListToolsResponse.Builder addTools(int index, Tool.Builder builderForValue)

The list of Tools. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Tool tools = 1;

Parameters
Name Description
index int
builderForValue Tool.Builder
Returns
Type Description
ListToolsResponse.Builder

addToolsBuilder()

public Tool.Builder addToolsBuilder()

The list of Tools. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Tool tools = 1;

Returns
Type Description
Tool.Builder

addToolsBuilder(int index)

public Tool.Builder addToolsBuilder(int index)

The list of Tools. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Tool tools = 1;

Parameter
Name Description
index int
Returns
Type Description
Tool.Builder

build()

public ListToolsResponse build()
Returns
Type Description
ListToolsResponse

buildPartial()

public ListToolsResponse buildPartial()
Returns
Type Description
ListToolsResponse

clear()

public ListToolsResponse.Builder clear()
Returns
Type Description
ListToolsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListToolsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListToolsResponse.Builder
Overrides

clearNextPageToken()

public ListToolsResponse.Builder clearNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ListToolsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListToolsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListToolsResponse.Builder
Overrides

clearTools()

public ListToolsResponse.Builder clearTools()

The list of Tools. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Tool tools = 1;

Returns
Type Description
ListToolsResponse.Builder

clone()

public ListToolsResponse.Builder clone()
Returns
Type Description
ListToolsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListToolsResponse getDefaultInstanceForType()
Returns
Type Description
ListToolsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getTools(int index)

public Tool getTools(int index)

The list of Tools. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Tool tools = 1;

Parameter
Name Description
index int
Returns
Type Description
Tool

getToolsBuilder(int index)

public Tool.Builder getToolsBuilder(int index)

The list of Tools. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Tool tools = 1;

Parameter
Name Description
index int
Returns
Type Description
Tool.Builder

getToolsBuilderList()

public List<Tool.Builder> getToolsBuilderList()

The list of Tools. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Tool tools = 1;

Returns
Type Description
List<Builder>

getToolsCount()

public int getToolsCount()

The list of Tools. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Tool tools = 1;

Returns
Type Description
int

getToolsList()

public List<Tool> getToolsList()

The list of Tools. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Tool tools = 1;

Returns
Type Description
List<Tool>

getToolsOrBuilder(int index)

public ToolOrBuilder getToolsOrBuilder(int index)

The list of Tools. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Tool tools = 1;

Parameter
Name Description
index int
Returns
Type Description
ToolOrBuilder

getToolsOrBuilderList()

public List<? extends ToolOrBuilder> getToolsOrBuilderList()

The list of Tools. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Tool tools = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.ToolOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListToolsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListToolsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListToolsResponse.Builder
Overrides

removeTools(int index)

public ListToolsResponse.Builder removeTools(int index)

The list of Tools. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Tool tools = 1;

Parameter
Name Description
index int
Returns
Type Description
ListToolsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListToolsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListToolsResponse.Builder
Overrides

setNextPageToken(String value)

public ListToolsResponse.Builder setNextPageToken(String value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListToolsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListToolsResponse.Builder setNextPageTokenBytes(ByteString value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListToolsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListToolsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListToolsResponse.Builder
Overrides

setTools(int index, Tool value)

public ListToolsResponse.Builder setTools(int index, Tool value)

The list of Tools. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Tool tools = 1;

Parameters
Name Description
index int
value Tool
Returns
Type Description
ListToolsResponse.Builder

setTools(int index, Tool.Builder builderForValue)

public ListToolsResponse.Builder setTools(int index, Tool.Builder builderForValue)

The list of Tools. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.cx.v3beta1.Tool tools = 1;

Parameters
Name Description
index int
builderForValue Tool.Builder
Returns
Type Description
ListToolsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListToolsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListToolsResponse.Builder
Overrides