Class ListLakesResponse.Builder (1.0.1)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.dataplex.v1.Lake>
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The unreachableLocations to add.

Returns
TypeDescription
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
NameDescription
valueLake
Returns
TypeDescription
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
NameDescription
builderForValueLake.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueLake
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLake.Builder
Returns
TypeDescription
ListLakesResponse.Builder

addLakesBuilder()

public Lake.Builder addLakesBuilder()

Lakes under the given parent location.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Lake.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachableLocations(String value)

public ListLakesResponse.Builder addUnreachableLocations(String value)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
NameDescription
valueString

The unreachableLocations to add.

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

The bytes of the unreachableLocations to add.

Returns
TypeDescription
ListLakesResponse.Builder

This builder for chaining.

build()

public ListLakesResponse build()
Returns
TypeDescription
ListLakesResponse

buildPartial()

public ListLakesResponse buildPartial()
Returns
TypeDescription
ListLakesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListLakesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListLakesResponse.Builder
Overrides

clearLakes()

public ListLakesResponse.Builder clearLakes()

Lakes under the given parent location.

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

Returns
TypeDescription
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
TypeDescription
ListLakesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachableLocations()

public ListLakesResponse.Builder clearUnreachableLocations()

Locations that could not be reached.

repeated string unreachable_locations = 3;

Returns
TypeDescription
ListLakesResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListLakesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListLakesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Lake.Builder

getLakesBuilderList()

public List<Lake.Builder> getLakesBuilderList()

Lakes under the given parent location.

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

Returns
TypeDescription
List<Builder>

getLakesCount()

public int getLakesCount()

Lakes under the given parent location.

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

Returns
TypeDescription
int

getLakesList()

public List<Lake> getLakesList()

Lakes under the given parent location.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
LakeOrBuilder

getLakesOrBuilderList()

public List<? extends LakeOrBuilder> getLakesOrBuilderList()

Lakes under the given parent location.

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

Returns
TypeDescription
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
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.

getUnreachableLocations(int index)

public String getUnreachableLocations(int index)

Locations that could not be reached.

repeated string unreachable_locations = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of unreachableLocations.

getUnreachableLocationsList()

public ProtocolStringList getUnreachableLocationsList()

Locations that could not be reached.

repeated string unreachable_locations = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the unreachableLocations.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListLakesResponse other)

public ListLakesResponse.Builder mergeFrom(ListLakesResponse other)
Parameter
NameDescription
otherListLakesResponse
Returns
TypeDescription
ListLakesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListLakesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListLakesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ListLakesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The unreachableLocations to set.

Returns
TypeDescription
ListLakesResponse.Builder

This builder for chaining.