Class ListEnvironmentsResponse.Builder (1.22.0)

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

List environments response.

Protobuf type google.cloud.dataplex.v1.ListEnvironmentsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllEnvironments(Iterable<? extends Environment> values)

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

Environments under the given parent lake.

repeated .google.cloud.dataplex.v1.Environment environments = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dataplex.v1.Environment>
Returns
TypeDescription
ListEnvironmentsResponse.Builder

addEnvironments(Environment value)

public ListEnvironmentsResponse.Builder addEnvironments(Environment value)

Environments under the given parent lake.

repeated .google.cloud.dataplex.v1.Environment environments = 1;

Parameter
NameDescription
valueEnvironment
Returns
TypeDescription
ListEnvironmentsResponse.Builder

addEnvironments(Environment.Builder builderForValue)

public ListEnvironmentsResponse.Builder addEnvironments(Environment.Builder builderForValue)

Environments under the given parent lake.

repeated .google.cloud.dataplex.v1.Environment environments = 1;

Parameter
NameDescription
builderForValueEnvironment.Builder
Returns
TypeDescription
ListEnvironmentsResponse.Builder

addEnvironments(int index, Environment value)

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

Environments under the given parent lake.

repeated .google.cloud.dataplex.v1.Environment environments = 1;

Parameters
NameDescription
indexint
valueEnvironment
Returns
TypeDescription
ListEnvironmentsResponse.Builder

addEnvironments(int index, Environment.Builder builderForValue)

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

Environments under the given parent lake.

repeated .google.cloud.dataplex.v1.Environment environments = 1;

Parameters
NameDescription
indexint
builderForValueEnvironment.Builder
Returns
TypeDescription
ListEnvironmentsResponse.Builder

addEnvironmentsBuilder()

public Environment.Builder addEnvironmentsBuilder()

Environments under the given parent lake.

repeated .google.cloud.dataplex.v1.Environment environments = 1;

Returns
TypeDescription
Environment.Builder

addEnvironmentsBuilder(int index)

public Environment.Builder addEnvironmentsBuilder(int index)

Environments under the given parent lake.

repeated .google.cloud.dataplex.v1.Environment environments = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Environment.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListEnvironmentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListEnvironmentsResponse.Builder
Overrides

build()

public ListEnvironmentsResponse build()
Returns
TypeDescription
ListEnvironmentsResponse

buildPartial()

public ListEnvironmentsResponse buildPartial()
Returns
TypeDescription
ListEnvironmentsResponse

clear()

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

clearEnvironments()

public ListEnvironmentsResponse.Builder clearEnvironments()

Environments under the given parent lake.

repeated .google.cloud.dataplex.v1.Environment environments = 1;

Returns
TypeDescription
ListEnvironmentsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListEnvironmentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListEnvironmentsResponse.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public ListEnvironmentsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListEnvironmentsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnvironments(int index)

public Environment getEnvironments(int index)

Environments under the given parent lake.

repeated .google.cloud.dataplex.v1.Environment environments = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Environment

getEnvironmentsBuilder(int index)

public Environment.Builder getEnvironmentsBuilder(int index)

Environments under the given parent lake.

repeated .google.cloud.dataplex.v1.Environment environments = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Environment.Builder

getEnvironmentsBuilderList()

public List<Environment.Builder> getEnvironmentsBuilderList()

Environments under the given parent lake.

repeated .google.cloud.dataplex.v1.Environment environments = 1;

Returns
TypeDescription
List<Builder>

getEnvironmentsCount()

public int getEnvironmentsCount()

Environments under the given parent lake.

repeated .google.cloud.dataplex.v1.Environment environments = 1;

Returns
TypeDescription
int

getEnvironmentsList()

public List<Environment> getEnvironmentsList()

Environments under the given parent lake.

repeated .google.cloud.dataplex.v1.Environment environments = 1;

Returns
TypeDescription
List<Environment>

getEnvironmentsOrBuilder(int index)

public EnvironmentOrBuilder getEnvironmentsOrBuilder(int index)

Environments under the given parent lake.

repeated .google.cloud.dataplex.v1.Environment environments = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
EnvironmentOrBuilder

getEnvironmentsOrBuilderList()

public List<? extends EnvironmentOrBuilder> getEnvironmentsOrBuilderList()

Environments under the given parent lake.

repeated .google.cloud.dataplex.v1.Environment environments = 1;

Returns
TypeDescription
List<? extends com.google.cloud.dataplex.v1.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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListEnvironmentsResponse other)

public ListEnvironmentsResponse.Builder mergeFrom(ListEnvironmentsResponse other)
Parameter
NameDescription
otherListEnvironmentsResponse
Returns
TypeDescription
ListEnvironmentsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListEnvironmentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListEnvironmentsResponse.Builder
Overrides

removeEnvironments(int index)

public ListEnvironmentsResponse.Builder removeEnvironments(int index)

Environments under the given parent lake.

repeated .google.cloud.dataplex.v1.Environment environments = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListEnvironmentsResponse.Builder

setEnvironments(int index, Environment value)

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

Environments under the given parent lake.

repeated .google.cloud.dataplex.v1.Environment environments = 1;

Parameters
NameDescription
indexint
valueEnvironment
Returns
TypeDescription
ListEnvironmentsResponse.Builder

setEnvironments(int index, Environment.Builder builderForValue)

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

Environments under the given parent lake.

repeated .google.cloud.dataplex.v1.Environment environments = 1;

Parameters
NameDescription
indexint
builderForValueEnvironment.Builder
Returns
TypeDescription
ListEnvironmentsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

Returns
TypeDescription
ListEnvironmentsResponse.Builder

This builder for chaining.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListEnvironmentsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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