Class ListZonesResponse.Builder (0.3.0)

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

Message for response to listing Zones

Protobuf type google.cloud.edgenetwork.v1.ListZonesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllUnreachable(Iterable<String> values)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.edgenetwork.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

addUnreachable(String value)

public ListZonesResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

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

The bytes of the unreachable to add.

Returns
TypeDescription
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
NameDescription
valueZone
Returns
TypeDescription
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
NameDescription
builderForValueZone.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueZone
Returns
TypeDescription
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
NameDescription
indexint
builderForValueZone.Builder
Returns
TypeDescription
ListZonesResponse.Builder

addZonesBuilder()

public Zone.Builder addZonesBuilder()

The list of Zone

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

Returns
TypeDescription
Zone.Builder

addZonesBuilder(int index)

public Zone.Builder addZonesBuilder(int index)

The list of Zone

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

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

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

clearUnreachable()

public ListZonesResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListZonesResponse.Builder

This builder for chaining.

clearZones()

public ListZonesResponse.Builder clearZones()

The list of Zone

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

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

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

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

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

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

getZonesBuilder(int index)

public Zone.Builder getZonesBuilder(int index)

The list of Zone

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Zone.Builder

getZonesBuilderList()

public List<Zone.Builder> getZonesBuilderList()

The list of Zone

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

Returns
TypeDescription
List<Builder>

getZonesCount()

public int getZonesCount()

The list of Zone

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

Returns
TypeDescription
int

getZonesList()

public List<Zone> getZonesList()

The list of Zone

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

Returns
TypeDescription
List<Zone>

getZonesOrBuilder(int index)

public ZoneOrBuilder getZonesOrBuilder(int index)

The list of Zone

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ZoneOrBuilder

getZonesOrBuilderList()

public List<? extends ZoneOrBuilder> getZonesOrBuilderList()

The list of Zone

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

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

The list of Zone

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

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

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)

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

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

setUnreachable(int index, String value)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
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
NameDescription
indexint
valueZone
Returns
TypeDescription
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
NameDescription
indexint
builderForValueZone.Builder
Returns
TypeDescription
ListZonesResponse.Builder