Class ListIntentsResponse.Builder (0.14.2)

public static final class ListIntentsResponse.Builder extends GeneratedMessageV3.Builder<ListIntentsResponse.Builder> implements ListIntentsResponseOrBuilder

The response message for Intents.ListIntents.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllIntents(Iterable<? extends Intent> values)

public ListIntentsResponse.Builder addAllIntents(Iterable<? extends Intent> values)

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

repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.cx.v3beta1.Intent>
Returns
TypeDescription
ListIntentsResponse.Builder

addIntents(Intent value)

public ListIntentsResponse.Builder addIntents(Intent value)

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

repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;

Parameter
NameDescription
valueIntent
Returns
TypeDescription
ListIntentsResponse.Builder

addIntents(Intent.Builder builderForValue)

public ListIntentsResponse.Builder addIntents(Intent.Builder builderForValue)

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

repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;

Parameter
NameDescription
builderForValueIntent.Builder
Returns
TypeDescription
ListIntentsResponse.Builder

addIntents(int index, Intent value)

public ListIntentsResponse.Builder addIntents(int index, Intent value)

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

repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;

Parameters
NameDescription
indexint
valueIntent
Returns
TypeDescription
ListIntentsResponse.Builder

addIntents(int index, Intent.Builder builderForValue)

public ListIntentsResponse.Builder addIntents(int index, Intent.Builder builderForValue)

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

repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;

Parameters
NameDescription
indexint
builderForValueIntent.Builder
Returns
TypeDescription
ListIntentsResponse.Builder

addIntentsBuilder()

public Intent.Builder addIntentsBuilder()

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

repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;

Returns
TypeDescription
Intent.Builder

addIntentsBuilder(int index)

public Intent.Builder addIntentsBuilder(int index)

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

repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Intent.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListIntentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListIntentsResponse.Builder
Overrides

build()

public ListIntentsResponse build()
Returns
TypeDescription
ListIntentsResponse

buildPartial()

public ListIntentsResponse buildPartial()
Returns
TypeDescription
ListIntentsResponse

clear()

public ListIntentsResponse.Builder clear()
Returns
TypeDescription
ListIntentsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListIntentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListIntentsResponse.Builder
Overrides

clearIntents()

public ListIntentsResponse.Builder clearIntents()

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

repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListIntentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListIntentsResponse.Builder
Overrides

clone()

public ListIntentsResponse.Builder clone()
Returns
TypeDescription
ListIntentsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListIntentsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListIntentsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIntents(int index)

public Intent getIntents(int index)

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

repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Intent

getIntentsBuilder(int index)

public Intent.Builder getIntentsBuilder(int index)

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

repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Intent.Builder

getIntentsBuilderList()

public List<Intent.Builder> getIntentsBuilderList()

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

repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;

Returns
TypeDescription
List<Builder>

getIntentsCount()

public int getIntentsCount()

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

repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;

Returns
TypeDescription
int

getIntentsList()

public List<Intent> getIntentsList()

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

repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;

Returns
TypeDescription
List<Intent>

getIntentsOrBuilder(int index)

public IntentOrBuilder getIntentsOrBuilder(int index)

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

repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
IntentOrBuilder

getIntentsOrBuilderList()

public List<? extends IntentOrBuilder> getIntentsOrBuilderList()

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

repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3beta1.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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListIntentsResponse other)

public ListIntentsResponse.Builder mergeFrom(ListIntentsResponse other)
Parameter
NameDescription
otherListIntentsResponse
Returns
TypeDescription
ListIntentsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListIntentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListIntentsResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListIntentsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListIntentsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListIntentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListIntentsResponse.Builder
Overrides

removeIntents(int index)

public ListIntentsResponse.Builder removeIntents(int index)

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

repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListIntentsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListIntentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListIntentsResponse.Builder
Overrides

setIntents(int index, Intent value)

public ListIntentsResponse.Builder setIntents(int index, Intent value)

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

repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;

Parameters
NameDescription
indexint
valueIntent
Returns
TypeDescription
ListIntentsResponse.Builder

setIntents(int index, Intent.Builder builderForValue)

public ListIntentsResponse.Builder setIntents(int index, Intent.Builder builderForValue)

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

repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;

Parameters
NameDescription
indexint
builderForValueIntent.Builder
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListIntentsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListIntentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListIntentsResponse.Builder
Overrides