public static final class ListIntentsResponse.Builder extends GeneratedMessageV3.Builder<ListIntentsResponse.Builder> implements ListIntentsResponseOrBuilder
The response message for
Intents.ListIntents.
Protobuf type google.cloud.dialogflow.v2.ListIntentsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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.v2.Intent intents = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2.Intent>
|
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.v2.Intent intents = 1;
Parameter |
Name |
Description |
value |
Intent
|
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.v2.Intent intents = 1;
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.v2.Intent intents = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Intent
|
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.v2.Intent intents = 1;
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.v2.Intent intents = 1;
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.v2.Intent intents = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListIntentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListIntentsResponse build()
buildPartial()
public ListIntentsResponse buildPartial()
clear()
public ListIntentsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListIntentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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.v2.Intent intents = 1;
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListIntentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListIntentsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListIntentsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.v2.Intent intents = 1;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
Intent |
|
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.v2.Intent intents = 1;
Parameter |
Name |
Description |
index |
int
|
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.v2.Intent intents = 1;
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.v2.Intent intents = 1;
Returns |
Type |
Description |
int |
|
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.v2.Intent intents = 1;
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.v2.Intent intents = 1;
Parameter |
Name |
Description |
index |
int
|
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.v2.Intent intents = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2.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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListIntentsResponse other)
public ListIntentsResponse.Builder mergeFrom(ListIntentsResponse other)
public ListIntentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListIntentsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListIntentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.v2.Intent intents = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListIntentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.v2.Intent intents = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Intent
|
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.v2.Intent intents = 1;
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListIntentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListIntentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides