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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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;
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;
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;
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;
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;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListEnvironmentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListEnvironmentsResponse build()
buildPartial()
public ListEnvironmentsResponse buildPartial()
clear()
public ListEnvironmentsResponse.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public ListEnvironmentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListEnvironmentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListEnvironmentsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListEnvironmentsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
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;
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 |
Type |
Description |
int |
|
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListEnvironmentsResponse other)
public ListEnvironmentsResponse.Builder mergeFrom(ListEnvironmentsResponse other)
public ListEnvironmentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListEnvironmentsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListEnvironmentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListEnvironmentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListEnvironmentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListEnvironmentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides