Class ListZonesResponse.Builder (1.53.0)

public static final class ListZonesResponse.Builder extends GeneratedMessageV3.Builder<ListZonesResponse.Builder> implements ListZonesResponseOrBuilder

List zones response.

Protobuf type google.cloud.dataplex.v1.ListZonesResponse

Static Methods

getDescriptor()

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

Methods

addAllZones(Iterable<? extends Zone> values)

public ListZonesResponse.Builder addAllZones(Iterable<? extends Zone> values)

Zones under the given parent lake.

repeated .google.cloud.dataplex.v1.Zone zones = 1;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addZones(Zone value)

public ListZonesResponse.Builder addZones(Zone value)

Zones under the given parent lake.

repeated .google.cloud.dataplex.v1.Zone zones = 1;

Parameter
Name Description
value Zone
Returns
Type Description
ListZonesResponse.Builder

addZones(Zone.Builder builderForValue)

public ListZonesResponse.Builder addZones(Zone.Builder builderForValue)

Zones under the given parent lake.

repeated .google.cloud.dataplex.v1.Zone zones = 1;

Parameter
Name Description
builderForValue Zone.Builder
Returns
Type Description
ListZonesResponse.Builder

addZones(int index, Zone value)

public ListZonesResponse.Builder addZones(int index, Zone value)

Zones under the given parent lake.

repeated .google.cloud.dataplex.v1.Zone zones = 1;

Parameters
Name Description
index int
value Zone
Returns
Type Description
ListZonesResponse.Builder

addZones(int index, Zone.Builder builderForValue)

public ListZonesResponse.Builder addZones(int index, Zone.Builder builderForValue)

Zones under the given parent lake.

repeated .google.cloud.dataplex.v1.Zone zones = 1;

Parameters
Name Description
index int
builderForValue Zone.Builder
Returns
Type Description
ListZonesResponse.Builder

addZonesBuilder()

public Zone.Builder addZonesBuilder()

Zones under the given parent lake.

repeated .google.cloud.dataplex.v1.Zone zones = 1;

Returns
Type Description
Zone.Builder

addZonesBuilder(int index)

public Zone.Builder addZonesBuilder(int index)

Zones under the given parent lake.

repeated .google.cloud.dataplex.v1.Zone zones = 1;

Parameter
Name Description
index int
Returns
Type Description
Zone.Builder

build()

public ListZonesResponse build()
Returns
Type Description
ListZonesResponse

buildPartial()

public ListZonesResponse buildPartial()
Returns
Type Description
ListZonesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListZonesResponse.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
ListZonesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearZones()

public ListZonesResponse.Builder clearZones()

Zones under the given parent lake.

repeated .google.cloud.dataplex.v1.Zone zones = 1;

Returns
Type Description
ListZonesResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListZonesResponse getDefaultInstanceForType()
Returns
Type Description
ListZonesResponse

getDescriptorForType()

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

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.

getZones(int index)

public Zone getZones(int index)

Zones under the given parent lake.

repeated .google.cloud.dataplex.v1.Zone zones = 1;

Parameter
Name Description
index int
Returns
Type Description
Zone

getZonesBuilder(int index)

public Zone.Builder getZonesBuilder(int index)

Zones under the given parent lake.

repeated .google.cloud.dataplex.v1.Zone zones = 1;

Parameter
Name Description
index int
Returns
Type Description
Zone.Builder

getZonesBuilderList()

public List<Zone.Builder> getZonesBuilderList()

Zones under the given parent lake.

repeated .google.cloud.dataplex.v1.Zone zones = 1;

Returns
Type Description
List<Builder>

getZonesCount()

public int getZonesCount()

Zones under the given parent lake.

repeated .google.cloud.dataplex.v1.Zone zones = 1;

Returns
Type Description
int

getZonesList()

public List<Zone> getZonesList()

Zones under the given parent lake.

repeated .google.cloud.dataplex.v1.Zone zones = 1;

Returns
Type Description
List<Zone>

getZonesOrBuilder(int index)

public ZoneOrBuilder getZonesOrBuilder(int index)

Zones under the given parent lake.

repeated .google.cloud.dataplex.v1.Zone zones = 1;

Parameter
Name Description
index int
Returns
Type Description
ZoneOrBuilder

getZonesOrBuilderList()

public List<? extends ZoneOrBuilder> getZonesOrBuilderList()

Zones under the given parent lake.

repeated .google.cloud.dataplex.v1.Zone zones = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListZonesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeZones(int index)

public ListZonesResponse.Builder removeZones(int index)

Zones under the given parent lake.

repeated .google.cloud.dataplex.v1.Zone zones = 1;

Parameter
Name Description
index int
Returns
Type Description
ListZonesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListZonesResponse.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
ListZonesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListZonesResponse.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
ListZonesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setZones(int index, Zone value)

public ListZonesResponse.Builder setZones(int index, Zone value)

Zones under the given parent lake.

repeated .google.cloud.dataplex.v1.Zone zones = 1;

Parameters
Name Description
index int
value Zone
Returns
Type Description
ListZonesResponse.Builder

setZones(int index, Zone.Builder builderForValue)

public ListZonesResponse.Builder setZones(int index, Zone.Builder builderForValue)

Zones under the given parent lake.

repeated .google.cloud.dataplex.v1.Zone zones = 1;

Parameters
Name Description
index int
builderForValue Zone.Builder
Returns
Type Description
ListZonesResponse.Builder