public static final class ListEnvironmentsResponse.Builder extends GeneratedMessageV3.Builder<ListEnvironmentsResponse.Builder> implements ListEnvironmentsResponseOrBuilder
The response message for Environments.ListEnvironments.
Protobuf type google.cloud.dialogflow.v2.ListEnvironmentsResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllEnvironments(Iterable<? extends Environment> values)
public ListEnvironmentsResponse.Builder addAllEnvironments(Iterable<? extends Environment> values)
The list of agent environments. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Environment environments = 1;
Parameter
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2.Environment>
|
Returns
addEnvironments(Environment value)
public ListEnvironmentsResponse.Builder addEnvironments(Environment value)
The list of agent environments. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Environment environments = 1;
Parameter
Returns
addEnvironments(Environment.Builder builderForValue)
public ListEnvironmentsResponse.Builder addEnvironments(Environment.Builder builderForValue)
The list of agent environments. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Environment environments = 1;
Parameter
Returns
addEnvironments(int index, Environment value)
public ListEnvironmentsResponse.Builder addEnvironments(int index, Environment value)
The list of agent environments. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Environment environments = 1;
Parameters
Returns
addEnvironments(int index, Environment.Builder builderForValue)
public ListEnvironmentsResponse.Builder addEnvironments(int index, Environment.Builder builderForValue)
The list of agent environments. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Environment environments = 1;
Parameters
Returns
addEnvironmentsBuilder()
public Environment.Builder addEnvironmentsBuilder()
The list of agent environments. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Environment environments = 1;
Returns
addEnvironmentsBuilder(int index)
public Environment.Builder addEnvironmentsBuilder(int index)
The list of agent environments. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Environment environments = 1;
Parameter
Name |
Description |
index |
int
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListEnvironmentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListEnvironmentsResponse build()
Returns
buildPartial()
public ListEnvironmentsResponse buildPartial()
Returns
clear()
public ListEnvironmentsResponse.Builder clear()
Returns
Overrides
clearEnvironments()
public ListEnvironmentsResponse.Builder clearEnvironments()
The list of agent environments. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Environment environments = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListEnvironmentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListEnvironmentsResponse.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 ListEnvironmentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListEnvironmentsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListEnvironmentsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEnvironments(int index)
public Environment getEnvironments(int index)
The list of agent environments. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Environment environments = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getEnvironmentsBuilder(int index)
public Environment.Builder getEnvironmentsBuilder(int index)
The list of agent environments. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Environment environments = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getEnvironmentsBuilderList()
public List<Environment.Builder> getEnvironmentsBuilderList()
The list of agent environments. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Environment environments = 1;
Returns
getEnvironmentsCount()
public int getEnvironmentsCount()
The list of agent environments. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Environment environments = 1;
Returns
getEnvironmentsList()
public List<Environment> getEnvironmentsList()
The list of agent environments. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Environment environments = 1;
Returns
getEnvironmentsOrBuilder(int index)
public EnvironmentOrBuilder getEnvironmentsOrBuilder(int index)
The list of agent environments. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Environment environments = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getEnvironmentsOrBuilderList()
public List<? extends EnvironmentOrBuilder> getEnvironmentsOrBuilderList()
The list of agent environments. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Environment environments = 1;
Returns
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2.EnvironmentOrBuilder> |
|
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListEnvironmentsResponse other)
public ListEnvironmentsResponse.Builder mergeFrom(ListEnvironmentsResponse other)
Parameter
Returns
public ListEnvironmentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListEnvironmentsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListEnvironmentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeEnvironments(int index)
public ListEnvironmentsResponse.Builder removeEnvironments(int index)
The list of agent environments. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Environment environments = 1;
Parameter
Name |
Description |
index |
int
|
Returns
setEnvironments(int index, Environment value)
public ListEnvironmentsResponse.Builder setEnvironments(int index, Environment value)
The list of agent environments. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Environment environments = 1;
Parameters
Returns
setEnvironments(int index, Environment.Builder builderForValue)
public ListEnvironmentsResponse.Builder setEnvironments(int index, Environment.Builder builderForValue)
The list of agent environments. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Environment environments = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListEnvironmentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListEnvironmentsResponse.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 ListEnvironmentsResponse.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 ListEnvironmentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListEnvironmentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides