public static final class ListIntentsResponse.Builder extends GeneratedMessageV3.Builder<ListIntentsResponse.Builder> implements ListIntentsResponseOrBuilder
The response message for Intents.ListIntents.
Protobuf type google.cloud.dialogflow.v2beta1.ListIntentsResponse
Methods
addAllIntents(Iterable<? extends Intent> values)
public ListIntentsResponse.Builder addAllIntents(Iterable<? extends Intent> values)
The list of agent intents. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.v2beta1.Intent>
|
Returns
addIntents(Intent value)
public ListIntentsResponse.Builder addIntents(Intent value)
The list of agent intents. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Parameter
Returns
addIntents(Intent.Builder builderForValue)
public ListIntentsResponse.Builder addIntents(Intent.Builder builderForValue)
The list of agent intents. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Parameter
Returns
addIntents(int index, Intent value)
public ListIntentsResponse.Builder addIntents(int index, Intent value)
The list of agent intents. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Parameters
Returns
addIntents(int index, Intent.Builder builderForValue)
public ListIntentsResponse.Builder addIntents(int index, Intent.Builder builderForValue)
The list of agent intents. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Parameters
Returns
addIntentsBuilder()
public Intent.Builder addIntentsBuilder()
The list of agent intents. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Returns
addIntentsBuilder(int index)
public Intent.Builder addIntentsBuilder(int index)
The list of agent intents. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListIntentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListIntentsResponse build()
Returns
buildPartial()
public ListIntentsResponse buildPartial()
Returns
clear()
public ListIntentsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListIntentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearIntents()
public ListIntentsResponse.Builder clearIntents()
The list of agent intents. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Returns
clearNextPageToken()
public ListIntentsResponse.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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListIntentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListIntentsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListIntentsResponse getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getIntents(int index)
public Intent getIntents(int index)
The list of agent intents. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Parameter
Returns
getIntentsBuilder(int index)
public Intent.Builder getIntentsBuilder(int index)
The list of agent intents. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Parameter
Returns
getIntentsBuilderList()
public List<Intent.Builder> getIntentsBuilderList()
The list of agent intents. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Returns
getIntentsCount()
public int getIntentsCount()
The list of agent intents. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Returns
getIntentsList()
public List<Intent> getIntentsList()
The list of agent intents. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Returns
getIntentsOrBuilder(int index)
public IntentOrBuilder getIntentsOrBuilder(int index)
The list of agent intents. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Parameter
Returns
getIntentsOrBuilderList()
public List<? extends IntentOrBuilder> getIntentsOrBuilderList()
The list of agent intents. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Returns
Type | Description |
List<? extends com.google.cloud.dialogflow.v2beta1.IntentOrBuilder> | |
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListIntentsResponse other)
public ListIntentsResponse.Builder mergeFrom(ListIntentsResponse other)
Parameter
Returns
public ListIntentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListIntentsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListIntentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeIntents(int index)
public ListIntentsResponse.Builder removeIntents(int index)
The list of agent intents. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListIntentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setIntents(int index, Intent value)
public ListIntentsResponse.Builder setIntents(int index, Intent value)
The list of agent intents. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Parameters
Returns
setIntents(int index, Intent.Builder builderForValue)
public ListIntentsResponse.Builder setIntents(int index, Intent.Builder builderForValue)
The list of agent intents. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Parameters
Returns
setNextPageToken(String value)
public ListIntentsResponse.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
setNextPageTokenBytes(ByteString value)
public ListIntentsResponse.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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListIntentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListIntentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides