Class ListIntentsResponse.Builder (4.34.0)

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

Static Methods

getDescriptor()

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

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>
Returns
Type Description
ListIntentsResponse.Builder

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
Returns
Type Description
ListIntentsResponse.Builder

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;

Parameter
Name Description
builderForValue Intent.Builder
Returns
Type Description
ListIntentsResponse.Builder

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
Returns
Type Description
ListIntentsResponse.Builder

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;

Parameters
Name Description
index int
builderForValue Intent.Builder
Returns
Type Description
ListIntentsResponse.Builder

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;

Returns
Type Description
Intent.Builder

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
Returns
Type Description
Intent.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListIntentsResponse build()
Returns
Type Description
ListIntentsResponse

buildPartial()

public ListIntentsResponse buildPartial()
Returns
Type Description
ListIntentsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListIntentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListIntentsResponse.Builder
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;

Returns
Type Description
ListIntentsResponse.Builder

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
Type Description
ListIntentsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListIntentsResponse getDefaultInstanceForType()
Returns
Type Description
ListIntentsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Returns
Type Description
Intent.Builder

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;

Returns
Type Description
List<Builder>

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;

Returns
Type Description
List<Intent>

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
Returns
Type Description
IntentOrBuilder

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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListIntentsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListIntentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListIntentsResponse.Builder
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
Returns
Type Description
ListIntentsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListIntentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListIntentsResponse.Builder
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
Returns
Type Description
ListIntentsResponse.Builder

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;

Parameters
Name Description
index int
builderForValue Intent.Builder
Returns
Type Description
ListIntentsResponse.Builder

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
Type Description
ListIntentsResponse.Builder

This builder for chaining.

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
Type Description
ListIntentsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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