Class ListLakesResponse.Builder (1.40.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

addLakes(int index, Lake value)

public ListLakesResponse.Builder addLakes(int index, Lake value)

Lakes under the given parent location.

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

Parameters
Name Description
index int
value Lake
Returns
Type Description
ListLakesResponse.Builder

addLakes(int index, Lake.Builder builderForValue)

public ListLakesResponse.Builder addLakes(int index, Lake.Builder builderForValue)

Lakes under the given parent location.

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

Parameters
Name Description
index int
builderForValue Lake.Builder
Returns
Type Description
ListLakesResponse.Builder

addLakesBuilder()

public Lake.Builder addLakesBuilder()

Lakes under the given parent location.

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

Returns
Type Description
Lake.Builder

addLakesBuilder(int index)

public Lake.Builder addLakesBuilder(int index)

Lakes under the given parent location.

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

Parameter
Name Description
index int
Returns
Type Description
Lake.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachableLocations(String value)

public ListLakesResponse.Builder addUnreachableLocations(String value)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
Name Description
value String

The unreachableLocations to add.

Returns
Type Description
ListLakesResponse.Builder

This builder for chaining.

addUnreachableLocationsBytes(ByteString value)

public ListLakesResponse.Builder addUnreachableLocationsBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachableLocations to add.

Returns
Type Description
ListLakesResponse.Builder

This builder for chaining.

build()

public ListLakesResponse build()
Returns
Type Description
ListLakesResponse

buildPartial()

public ListLakesResponse buildPartial()
Returns
Type Description
ListLakesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLakes()

public ListLakesResponse.Builder clearLakes()

Lakes under the given parent location.

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

Returns
Type Description
ListLakesResponse.Builder

clearNextPageToken()

public ListLakesResponse.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
Type Description
ListLakesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachableLocations()

public ListLakesResponse.Builder clearUnreachableLocations()

Locations that could not be reached.

repeated string unreachable_locations = 3;

Returns
Type Description
ListLakesResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListLakesResponse getDefaultInstanceForType()
Returns
Type Description
ListLakesResponse

getDescriptorForType()

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

getLakes(int index)

public Lake getLakes(int index)

Lakes under the given parent location.

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

Parameter
Name Description
index int
Returns
Type Description
Lake

getLakesBuilder(int index)

public Lake.Builder getLakesBuilder(int index)

Lakes under the given parent location.

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

Parameter
Name Description
index int
Returns
Type Description
Lake.Builder

getLakesBuilderList()

public List<Lake.Builder> getLakesBuilderList()

Lakes under the given parent location.

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

Returns
Type Description
List<Builder>

getLakesCount()

public int getLakesCount()

Lakes under the given parent location.

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

Returns
Type Description
int

getLakesList()

public List<Lake> getLakesList()

Lakes under the given parent location.

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

Returns
Type Description
List<Lake>

getLakesOrBuilder(int index)

public LakeOrBuilder getLakesOrBuilder(int index)

Lakes under the given parent location.

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

Parameter
Name Description
index int
Returns
Type Description
LakeOrBuilder

getLakesOrBuilderList()

public List<? extends LakeOrBuilder> getLakesOrBuilderList()

Lakes under the given parent location.

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

Returns
Type Description
List<? extends com.google.cloud.dataplex.v1.LakeOrBuilder>

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.

getUnreachableLocations(int index)

public String getUnreachableLocations(int index)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachableLocations at the given index.

getUnreachableLocationsBytes(int index)

public ByteString getUnreachableLocationsBytes(int index)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachableLocations at the given index.

getUnreachableLocationsCount()

public int getUnreachableLocationsCount()

Locations that could not be reached.

repeated string unreachable_locations = 3;

Returns
Type Description
int

The count of unreachableLocations.

getUnreachableLocationsList()

public ProtocolStringList getUnreachableLocationsList()

Locations that could not be reached.

repeated string unreachable_locations = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachableLocations.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListLakesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeLakes(int index)

public ListLakesResponse.Builder removeLakes(int index)

Lakes under the given parent location.

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

Parameter
Name Description
index int
Returns
Type Description
ListLakesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setLakes(int index, Lake value)

public ListLakesResponse.Builder setLakes(int index, Lake value)

Lakes under the given parent location.

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

Parameters
Name Description
index int
value Lake
Returns
Type Description
ListLakesResponse.Builder

setLakes(int index, Lake.Builder builderForValue)

public ListLakesResponse.Builder setLakes(int index, Lake.Builder builderForValue)

Lakes under the given parent location.

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

Parameters
Name Description
index int
builderForValue Lake.Builder
Returns
Type Description
ListLakesResponse.Builder

setNextPageToken(String value)

public ListLakesResponse.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.

Returns
Type Description
ListLakesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListLakesResponse.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.

Returns
Type Description
ListLakesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachableLocations(int index, String value)

public ListLakesResponse.Builder setUnreachableLocations(int index, String value)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachableLocations to set.

Returns
Type Description
ListLakesResponse.Builder

This builder for chaining.