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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
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>
|
public ListToolsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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
|
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;
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
|
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;
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;
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
|
public ListToolsResponse build()
public ListToolsResponse buildPartial()
public ListToolsResponse.Builder clear()
Overrides
public ListToolsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
public ListToolsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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;
public ListToolsResponse.Builder clone()
Overrides
public ListToolsResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
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 |
|
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
|
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;
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 |
|
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;
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
|
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> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ListToolsResponse.Builder mergeFrom(ListToolsResponse other)
public ListToolsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListToolsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final ListToolsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
public ListToolsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public ListToolsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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
|
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;
public final ListToolsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides