Class ListZonesResponse.Builder (1.10.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.dataplex.v1.Zone>
Returns
TypeDescription
ListZonesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListZonesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueZone
Returns
TypeDescription
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
NameDescription
builderForValueZone.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueZone
Returns
TypeDescription
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
NameDescription
indexint
builderForValueZone.Builder
Returns
TypeDescription
ListZonesResponse.Builder

addZonesBuilder()

public Zone.Builder addZonesBuilder()

Zones under the given parent lake.

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

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

build()

public ListZonesResponse build()
Returns
TypeDescription
ListZonesResponse

buildPartial()

public ListZonesResponse buildPartial()
Returns
TypeDescription
ListZonesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListZonesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListZonesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearZones()

public ListZonesResponse.Builder clearZones()

Zones under the given parent lake.

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

Returns
TypeDescription
ListZonesResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListZonesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListZonesResponse

getDescriptorForType()

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

getZones(int index)

public Zone getZones(int index)

Zones under the given parent lake.

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

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

getZonesBuilderList()

public List<Zone.Builder> getZonesBuilderList()

Zones under the given parent lake.

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

Returns
TypeDescription
List<Builder>

getZonesCount()

public int getZonesCount()

Zones under the given parent lake.

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

Returns
TypeDescription
int

getZonesList()

public List<Zone> getZonesList()

Zones under the given parent lake.

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

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

getZonesOrBuilderList()

public List<? extends ZoneOrBuilder> getZonesOrBuilderList()

Zones under the given parent lake.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListZonesResponse other)

public ListZonesResponse.Builder mergeFrom(ListZonesResponse other)
Parameter
NameDescription
otherListZonesResponse
Returns
TypeDescription
ListZonesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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