Class ListZonesResponse.Builder (0.14.0)

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

Deprecated: not implemented. Message for response to listing Zones

Protobuf type google.cloud.edgenetwork.v1.ListZonesResponse

Static Methods

getDescriptor()

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

Methods

addAllUnreachable(Iterable<String> values)

public ListZonesResponse.Builder addAllUnreachable(Iterable<String> values)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListZonesResponse.Builder

This builder for chaining.

addAllZones(Iterable<? extends Zone> values)

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

The list of Zone

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.edgenetwork.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

addUnreachable(String value)

public ListZonesResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListZonesResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListZonesResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListZonesResponse.Builder

This builder for chaining.

addZones(Zone value)

public ListZonesResponse.Builder addZones(Zone value)

The list of Zone

repeated .google.cloud.edgenetwork.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)

The list of Zone

repeated .google.cloud.edgenetwork.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)

The list of Zone

repeated .google.cloud.edgenetwork.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)

The list of Zone

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

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

addZonesBuilder()

public Zone.Builder addZonesBuilder()

The list of Zone

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

Returns
Type Description
Zone.Builder

addZonesBuilder(int index)

public Zone.Builder addZonesBuilder(int index)

The list of Zone

repeated .google.cloud.edgenetwork.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()

A token identifying a page of results the server should return.

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

clearUnreachable()

public ListZonesResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListZonesResponse.Builder

This builder for chaining.

clearZones()

public ListZonesResponse.Builder clearZones()

The list of Zone

repeated .google.cloud.edgenetwork.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()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

getZones(int index)

public Zone getZones(int index)

The list of Zone

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

Parameter
Name Description
index int
Returns
Type Description
Zone

getZonesBuilder(int index)

public Zone.Builder getZonesBuilder(int index)

The list of Zone

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

Parameter
Name Description
index int
Returns
Type Description
Zone.Builder

getZonesBuilderList()

public List<Zone.Builder> getZonesBuilderList()

The list of Zone

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

Returns
Type Description
List<Builder>

getZonesCount()

public int getZonesCount()

The list of Zone

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

Returns
Type Description
int

getZonesList()

public List<Zone> getZonesList()

The list of Zone

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

Returns
Type Description
List<Zone>

getZonesOrBuilder(int index)

public ZoneOrBuilder getZonesOrBuilder(int index)

The list of Zone

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

Parameter
Name Description
index int
Returns
Type Description
ZoneOrBuilder

getZonesOrBuilderList()

public List<? extends ZoneOrBuilder> getZonesOrBuilderList()

The list of Zone

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

Returns
Type Description
List<? extends com.google.cloud.edgenetwork.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)

The list of Zone

repeated .google.cloud.edgenetwork.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)

A token identifying a page of results the server should return.

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)

A token identifying a page of results the server should return.

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

setUnreachable(int index, String value)

public ListZonesResponse.Builder setUnreachable(int index, String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListZonesResponse.Builder

This builder for chaining.

setZones(int index, Zone value)

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

The list of Zone

repeated .google.cloud.edgenetwork.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)

The list of Zone

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

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