Class ListEnvironmentsResponse.Builder (1.13.0)

public static final class ListEnvironmentsResponse.Builder extends GeneratedMessageV3.Builder<ListEnvironmentsResponse.Builder> implements ListEnvironmentsResponseOrBuilder

The environments in a project and location.

Protobuf type google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse

Static Methods

getDescriptor()

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

Methods

addAllEnvironments(Iterable<? extends Environment> values)

public ListEnvironmentsResponse.Builder addAllEnvironments(Iterable<? extends Environment> values)

The list of environments returned by a ListEnvironmentsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.orchestration.airflow.service.v1.Environment>
Returns
Type Description
ListEnvironmentsResponse.Builder

addEnvironments(Environment value)

public ListEnvironmentsResponse.Builder addEnvironments(Environment value)

The list of environments returned by a ListEnvironmentsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1;

Parameter
Name Description
value Environment
Returns
Type Description
ListEnvironmentsResponse.Builder

addEnvironments(Environment.Builder builderForValue)

public ListEnvironmentsResponse.Builder addEnvironments(Environment.Builder builderForValue)

The list of environments returned by a ListEnvironmentsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1;

Parameter
Name Description
builderForValue Environment.Builder
Returns
Type Description
ListEnvironmentsResponse.Builder

addEnvironments(int index, Environment value)

public ListEnvironmentsResponse.Builder addEnvironments(int index, Environment value)

The list of environments returned by a ListEnvironmentsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1;

Parameters
Name Description
index int
value Environment
Returns
Type Description
ListEnvironmentsResponse.Builder

addEnvironments(int index, Environment.Builder builderForValue)

public ListEnvironmentsResponse.Builder addEnvironments(int index, Environment.Builder builderForValue)

The list of environments returned by a ListEnvironmentsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1;

Parameters
Name Description
index int
builderForValue Environment.Builder
Returns
Type Description
ListEnvironmentsResponse.Builder

addEnvironmentsBuilder()

public Environment.Builder addEnvironmentsBuilder()

The list of environments returned by a ListEnvironmentsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1;

Returns
Type Description
Environment.Builder

addEnvironmentsBuilder(int index)

public Environment.Builder addEnvironmentsBuilder(int index)

The list of environments returned by a ListEnvironmentsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1;

Parameter
Name Description
index int
Returns
Type Description
Environment.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListEnvironmentsResponse build()
Returns
Type Description
ListEnvironmentsResponse

buildPartial()

public ListEnvironmentsResponse buildPartial()
Returns
Type Description
ListEnvironmentsResponse

clear()

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

clearEnvironments()

public ListEnvironmentsResponse.Builder clearEnvironments()

The list of environments returned by a ListEnvironmentsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1;

Returns
Type Description
ListEnvironmentsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListEnvironmentsResponse.Builder clearNextPageToken()

The page token used to query for the next page if one exists.

string next_page_token = 2;

Returns
Type Description
ListEnvironmentsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListEnvironmentsResponse getDefaultInstanceForType()
Returns
Type Description
ListEnvironmentsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnvironments(int index)

public Environment getEnvironments(int index)

The list of environments returned by a ListEnvironmentsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1;

Parameter
Name Description
index int
Returns
Type Description
Environment

getEnvironmentsBuilder(int index)

public Environment.Builder getEnvironmentsBuilder(int index)

The list of environments returned by a ListEnvironmentsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1;

Parameter
Name Description
index int
Returns
Type Description
Environment.Builder

getEnvironmentsBuilderList()

public List<Environment.Builder> getEnvironmentsBuilderList()

The list of environments returned by a ListEnvironmentsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1;

Returns
Type Description
List<Builder>

getEnvironmentsCount()

public int getEnvironmentsCount()

The list of environments returned by a ListEnvironmentsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1;

Returns
Type Description
int

getEnvironmentsList()

public List<Environment> getEnvironmentsList()

The list of environments returned by a ListEnvironmentsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1;

Returns
Type Description
List<Environment>

getEnvironmentsOrBuilder(int index)

public EnvironmentOrBuilder getEnvironmentsOrBuilder(int index)

The list of environments returned by a ListEnvironmentsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1;

Parameter
Name Description
index int
Returns
Type Description
EnvironmentOrBuilder

getEnvironmentsOrBuilderList()

public List<? extends EnvironmentOrBuilder> getEnvironmentsOrBuilderList()

The list of environments returned by a ListEnvironmentsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1;

Returns
Type Description
List<? extends com.google.cloud.orchestration.airflow.service.v1.EnvironmentOrBuilder>

getNextPageToken()

public String getNextPageToken()

The page token used to query for the next page if one exists.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The page token used to query for the next page if one exists.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListEnvironmentsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeEnvironments(int index)

public ListEnvironmentsResponse.Builder removeEnvironments(int index)

The list of environments returned by a ListEnvironmentsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1;

Parameter
Name Description
index int
Returns
Type Description
ListEnvironmentsResponse.Builder

setEnvironments(int index, Environment value)

public ListEnvironmentsResponse.Builder setEnvironments(int index, Environment value)

The list of environments returned by a ListEnvironmentsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1;

Parameters
Name Description
index int
value Environment
Returns
Type Description
ListEnvironmentsResponse.Builder

setEnvironments(int index, Environment.Builder builderForValue)

public ListEnvironmentsResponse.Builder setEnvironments(int index, Environment.Builder builderForValue)

The list of environments returned by a ListEnvironmentsRequest.

repeated .google.cloud.orchestration.airflow.service.v1.Environment environments = 1;

Parameters
Name Description
index int
builderForValue Environment.Builder
Returns
Type Description
ListEnvironmentsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListEnvironmentsResponse.Builder setNextPageToken(String value)

The page token used to query for the next page if one exists.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListEnvironmentsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListEnvironmentsResponse.Builder setNextPageTokenBytes(ByteString value)

The page token used to query for the next page if one exists.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListEnvironmentsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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