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
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
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.v2.SessionEntityType>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListSessionEntityTypesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
build()
public ListSessionEntityTypesResponse build()
Returns
buildPartial()
public ListSessionEntityTypesResponse buildPartial()
Returns
clear()
public ListSessionEntityTypesResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListSessionEntityTypesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListSessionEntityTypesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public ListSessionEntityTypesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListSessionEntityTypesResponse getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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.v2.SessionEntityType session_entity_types = 1;
Parameter
Returns
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
Returns
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
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
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
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
Returns
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
Type | Description |
List<? extends com.google.cloud.dialogflow.v2.SessionEntityTypeOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListSessionEntityTypesResponse other)
public ListSessionEntityTypesResponse.Builder mergeFrom(ListSessionEntityTypesResponse other)
Parameter
Returns
public ListSessionEntityTypesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListSessionEntityTypesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListSessionEntityTypesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListSessionEntityTypesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListSessionEntityTypesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSessionEntityTypesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides