Class ListSessionEntityTypesResponse.Builder (4.47.0)

public static final class ListSessionEntityTypesResponse.Builder extends GeneratedMessageV3.Builder<ListSessionEntityTypesResponse.Builder> implements ListSessionEntityTypesResponseOrBuilder

The response message for SessionEntityTypes.ListSessionEntityTypes.

Protobuf type google.cloud.dialogflow.v2beta1.ListSessionEntityTypesResponse

Static Methods

getDescriptor()

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

Methods

addAllSessionEntityTypes(Iterable<? extends SessionEntityType> values)

public ListSessionEntityTypesResponse.Builder addAllSessionEntityTypes(Iterable<? extends SessionEntityType> values)

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

repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.v2beta1.SessionEntityType>
Returns
Type Description
ListSessionEntityTypesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSessionEntityTypes(SessionEntityType value)

public ListSessionEntityTypesResponse.Builder addSessionEntityTypes(SessionEntityType value)

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

repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 1;

Parameter
Name Description
value SessionEntityType
Returns
Type Description
ListSessionEntityTypesResponse.Builder

addSessionEntityTypes(SessionEntityType.Builder builderForValue)

public ListSessionEntityTypesResponse.Builder addSessionEntityTypes(SessionEntityType.Builder builderForValue)

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

repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 1;

Parameter
Name Description
builderForValue SessionEntityType.Builder
Returns
Type Description
ListSessionEntityTypesResponse.Builder

addSessionEntityTypes(int index, SessionEntityType value)

public ListSessionEntityTypesResponse.Builder addSessionEntityTypes(int index, SessionEntityType value)

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

repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 1;

Parameters
Name Description
index int
value SessionEntityType
Returns
Type Description
ListSessionEntityTypesResponse.Builder

addSessionEntityTypes(int index, SessionEntityType.Builder builderForValue)

public ListSessionEntityTypesResponse.Builder addSessionEntityTypes(int index, SessionEntityType.Builder builderForValue)

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

repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 1;

Parameters
Name Description
index int
builderForValue SessionEntityType.Builder
Returns
Type Description
ListSessionEntityTypesResponse.Builder

addSessionEntityTypesBuilder()

public SessionEntityType.Builder addSessionEntityTypesBuilder()

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

repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 1;

Returns
Type Description
SessionEntityType.Builder

addSessionEntityTypesBuilder(int index)

public SessionEntityType.Builder addSessionEntityTypesBuilder(int index)

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

repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 1;

Parameter
Name Description
index int
Returns
Type Description
SessionEntityType.Builder

build()

public ListSessionEntityTypesResponse build()
Returns
Type Description
ListSessionEntityTypesResponse

buildPartial()

public ListSessionEntityTypesResponse buildPartial()
Returns
Type Description
ListSessionEntityTypesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListSessionEntityTypesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListSessionEntityTypesResponse.Builder
Overrides

clearNextPageToken()

public ListSessionEntityTypesResponse.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
ListSessionEntityTypesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSessionEntityTypes()

public ListSessionEntityTypesResponse.Builder clearSessionEntityTypes()

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

repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 1;

Returns
Type Description
ListSessionEntityTypesResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListSessionEntityTypesResponse getDefaultInstanceForType()
Returns
Type Description
ListSessionEntityTypesResponse

getDescriptorForType()

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

getSessionEntityTypes(int index)

public SessionEntityType getSessionEntityTypes(int index)

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

repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 1;

Parameter
Name Description
index int
Returns
Type Description
SessionEntityType

getSessionEntityTypesBuilder(int index)

public SessionEntityType.Builder getSessionEntityTypesBuilder(int index)

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

repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 1;

Parameter
Name Description
index int
Returns
Type Description
SessionEntityType.Builder

getSessionEntityTypesBuilderList()

public List<SessionEntityType.Builder> getSessionEntityTypesBuilderList()

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

repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 1;

Returns
Type Description
List<Builder>

getSessionEntityTypesCount()

public int getSessionEntityTypesCount()

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

repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 1;

Returns
Type Description
int

getSessionEntityTypesList()

public List<SessionEntityType> getSessionEntityTypesList()

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

repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 1;

Returns
Type Description
List<SessionEntityType>

getSessionEntityTypesOrBuilder(int index)

public SessionEntityTypeOrBuilder getSessionEntityTypesOrBuilder(int index)

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

repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 1;

Parameter
Name Description
index int
Returns
Type Description
SessionEntityTypeOrBuilder

getSessionEntityTypesOrBuilderList()

public List<? extends SessionEntityTypeOrBuilder> getSessionEntityTypesOrBuilderList()

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

repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2beta1.SessionEntityTypeOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListSessionEntityTypesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSessionEntityTypesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListSessionEntityTypesResponse.Builder
Overrides

removeSessionEntityTypes(int index)

public ListSessionEntityTypesResponse.Builder removeSessionEntityTypes(int index)

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

repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 1;

Parameter
Name Description
index int
Returns
Type Description
ListSessionEntityTypesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListSessionEntityTypesResponse.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
ListSessionEntityTypesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListSessionEntityTypesResponse.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
ListSessionEntityTypesResponse.Builder

This builder for chaining.

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

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

setSessionEntityTypes(int index, SessionEntityType value)

public ListSessionEntityTypesResponse.Builder setSessionEntityTypes(int index, SessionEntityType value)

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

repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 1;

Parameters
Name Description
index int
value SessionEntityType
Returns
Type Description
ListSessionEntityTypesResponse.Builder

setSessionEntityTypes(int index, SessionEntityType.Builder builderForValue)

public ListSessionEntityTypesResponse.Builder setSessionEntityTypes(int index, SessionEntityType.Builder builderForValue)

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

repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 1;

Parameters
Name Description
index int
builderForValue SessionEntityType.Builder
Returns
Type Description
ListSessionEntityTypesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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