Class ListLakesResponse.Builder (1.41.0)

public static final class ListLakesResponse.Builder extends GeneratedMessageV3.Builder<ListLakesResponse.Builder> implements ListLakesResponseOrBuilder

List lakes response.

Protobuf type google.cloud.dataplex.v1.ListLakesResponse

Static Methods

getDescriptor()

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

Methods

addAllLakes(Iterable<? extends Lake> values)

public ListLakesResponse.Builder addAllLakes(Iterable<? extends Lake> values)

Lakes under the given parent location.

repeated .google.cloud.dataplex.v1.Lake lakes = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dataplex.v1.Lake>
Returns
Type Description
ListLakesResponse.Builder

addAllUnreachableLocations(Iterable<String> values)

public ListLakesResponse.Builder addAllUnreachableLocations(Iterable<String> values)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
Name Description
values Iterable<String>

The unreachableLocations to add.

Returns
Type Description
ListLakesResponse.Builder

This builder for chaining.

addLakes(Lake value)

public ListLakesResponse.Builder addLakes(Lake value)

Lakes under the given parent location.

repeated .google.cloud.dataplex.v1.Lake lakes = 1;

Parameter
Name Description
value Lake
Returns
Type Description
ListLakesResponse.Builder

addLakes(Lake.Builder builderForValue)

public ListLakesResponse.Builder addLakes(Lake.Builder builderForValue)

Lakes under the given parent location.

repeated .google.cloud.dataplex.v1.Lake lakes = 1;

Parameter
Name Description
builderForValue Lake.Builder
Returns
Type Description
ListLakesResponse.Builder