Class ListSessionEntityTypesResponse.Builder (4.7.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.v2.ListSessionEntityTypesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v2.SessionEntityType session_entity_types = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.v2.SessionEntityType>
Returns
TypeDescription
ListSessionEntityTypesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListSessionEntityTypesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v2.SessionEntityType session_entity_types = 1;

Parameter
NameDescription
valueSessionEntityType
Returns
TypeDescription
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.v2.SessionEntityType session_entity_types = 1;

Parameter
NameDescription
builderForValueSessionEntityType.Builder
Returns
TypeDescription
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.v2.SessionEntityType session_entity_types = 1;

Parameters
NameDescription
indexint
valueSessionEntityType
Returns
TypeDescription
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.v2.SessionEntityType session_entity_types = 1;

Parameters
NameDescription
indexint
builderForValueSessionEntityType.Builder
Returns
TypeDescription
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.v2.SessionEntityType session_entity_types = 1;

Returns
TypeDescription
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.v2.SessionEntityType session_entity_types = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SessionEntityType.Builder

build()

public ListSessionEntityTypesResponse build()
Returns
TypeDescription
ListSessionEntityTypesResponse

buildPartial()

public ListSessionEntityTypesResponse buildPartial()
Returns
TypeDescription
ListSessionEntityTypesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListSessionEntityTypesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListSessionEntityTypesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListSessionEntityTypesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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.v2.SessionEntityType session_entity_types = 1;

Returns
TypeDescription
ListSessionEntityTypesResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListSessionEntityTypesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSessionEntityTypesResponse

getDescriptorForType()

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

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.v2.SessionEntityType session_entity_types = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v2.SessionEntityType session_entity_types = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v2.SessionEntityType session_entity_types = 1;

Returns
TypeDescription
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.v2.SessionEntityType session_entity_types = 1;

Returns
TypeDescription
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.v2.SessionEntityType session_entity_types = 1;

Returns
TypeDescription
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.v2.SessionEntityType session_entity_types = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v2.SessionEntityType session_entity_types = 1;

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.v2.SessionEntityTypeOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListSessionEntityTypesResponse other)

public ListSessionEntityTypesResponse.Builder mergeFrom(ListSessionEntityTypesResponse other)
Parameter
NameDescription
otherListSessionEntityTypesResponse
Returns
TypeDescription
ListSessionEntityTypesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSessionEntityTypesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v2.SessionEntityType session_entity_types = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListSessionEntityTypesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListSessionEntityTypesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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.v2.SessionEntityType session_entity_types = 1;

Parameters
NameDescription
indexint
valueSessionEntityType
Returns
TypeDescription
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.v2.SessionEntityType session_entity_types = 1;

Parameters
NameDescription
indexint
builderForValueSessionEntityType.Builder
Returns
TypeDescription
ListSessionEntityTypesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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