Class ListEnvironmentsResponse.Builder (1.4.0)

Stay organized with collections Save and categorize content based on your preferences.
public static final class ListEnvironmentsResponse.Builder extends GeneratedMessageV3.Builder<ListEnvironmentsResponse.Builder> implements ListEnvironmentsResponseOrBuilder

Response for listing environments.

Protobuf type google.cloud.notebooks.v1beta1.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)

A list of returned environments.

repeated .google.cloud.notebooks.v1beta1.Environment environments = 1;

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

addAllUnreachable(Iterable<String> values)

public ListEnvironmentsResponse.Builder addAllUnreachable(Iterable<String> values)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
ListEnvironmentsResponse.Builder

This builder for chaining.

addEnvironments(Environment value)

public ListEnvironmentsResponse.Builder addEnvironments(Environment value)

A list of returned environments.

repeated .google.cloud.notebooks.v1beta1.Environment environments = 1;

Parameter
NameDescription
valueEnvironment
Returns
TypeDescription
ListEnvironmentsResponse.Builder

addEnvironments(Environment.Builder builderForValue)

public ListEnvironmentsResponse.Builder addEnvironments(Environment.Builder builderForValue)

A list of returned environments.

repeated .google.cloud.notebooks.v1beta1.Environment environments = 1;

Parameter
NameDescription
builderForValueEnvironment.Builder
Returns
TypeDescription
ListEnvironmentsResponse.Builder

addEnvironments(int index, Environment value)

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

A list of returned environments.

repeated .google.cloud.notebooks.v1beta1.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)

A list of returned environments.

repeated .google.cloud.notebooks.v1beta1.Environment environments = 1;

Parameters
NameDescription
indexint
builderForValueEnvironment.Builder
Returns
TypeDescription
ListEnvironmentsResponse.Builder

addEnvironmentsBuilder()

public Environment.Builder addEnvironmentsBuilder()

A list of returned environments.

repeated .google.cloud.notebooks.v1beta1.Environment environments = 1;

Returns
TypeDescription
Environment.Builder

addEnvironmentsBuilder(int index)

public Environment.Builder addEnvironmentsBuilder(int index)

A list of returned environments.

repeated .google.cloud.notebooks.v1beta1.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

addUnreachable(String value)

public ListEnvironmentsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListEnvironmentsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListEnvironmentsResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListEnvironmentsResponse.Builder

This builder for chaining.

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()

A list of returned environments.

repeated .google.cloud.notebooks.v1beta1.Environment environments = 1;

Returns <
Type