Class ZoneMetadata.Builder (0.8.0)

public static final class ZoneMetadata.Builder extends GeneratedMessageV3.Builder<ZoneMetadata.Builder> implements ZoneMetadataOrBuilder

A Google Distributed Cloud Edge zone where edge machines are located.

Protobuf type google.cloud.edgecontainer.v1.ZoneMetadata

Static Methods

getDescriptor()

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

Methods

addAllQuota(Iterable<? extends Quota> values)

public ZoneMetadata.Builder addAllQuota(Iterable<? extends Quota> values)

Quota for resources in this zone.

repeated .google.cloud.edgecontainer.v1.Quota quota = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.edgecontainer.v1.Quota>
Returns
TypeDescription
ZoneMetadata.Builder

addQuota(Quota value)

public ZoneMetadata.Builder addQuota(Quota value)

Quota for resources in this zone.

repeated .google.cloud.edgecontainer.v1.Quota quota = 1;

Parameter
NameDescription
valueQuota
Returns
TypeDescription
ZoneMetadata.Builder

addQuota(Quota.Builder builderForValue)

public ZoneMetadata.Builder addQuota(Quota.Builder builderForValue)

Quota for resources in this zone.

repeated .google.cloud.edgecontainer.v1.Quota quota = 1;

Parameter
NameDescription
builderForValueQuota.Builder
Returns
TypeDescription
ZoneMetadata.Builder

addQuota(int index, Quota value)

public ZoneMetadata.Builder addQuota(int index, Quota value)

Quota for resources in this zone.

repeated .google.cloud.edgecontainer.v1.Quota quota = 1;

Parameters
NameDescription
indexint
valueQuota
Returns
TypeDescription
ZoneMetadata.Builder

addQuota(int index, Quota.Builder builderForValue)

public ZoneMetadata.Builder addQuota(int index, Quota.Builder builderForValue)

Quota for resources in this zone.

repeated .google.cloud.edgecontainer.v1.Quota quota = 1;

Parameters
NameDescription
indexint
builderForValueQuota.Builder
Returns
TypeDescription
ZoneMetadata.Builder

addQuotaBuilder()

public Quota.Builder addQuotaBuilder()

Quota for resources in this zone.

repeated .google.cloud.edgecontainer.v1.Quota quota = 1;

Returns
TypeDescription
Quota.Builder

addQuotaBuilder(int index)

public Quota.Builder addQuotaBuilder(int index)

Quota for resources in this zone.

repeated .google.cloud.edgecontainer.v1.Quota quota = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Quota.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ZoneMetadata build()
Returns
TypeDescription
ZoneMetadata

buildPartial()

public ZoneMetadata buildPartial()
Returns
TypeDescription
ZoneMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearQuota()

public ZoneMetadata.Builder clearQuota()

Quota for resources in this zone.

repeated .google.cloud.edgecontainer.v1.Quota quota = 1;

Returns
TypeDescription
ZoneMetadata.Builder

clone()

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

getDefaultInstanceForType()

public ZoneMetadata getDefaultInstanceForType()
Returns
TypeDescription
ZoneMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getQuota(int index)

public Quota getQuota(int index)

Quota for resources in this zone.

repeated .google.cloud.edgecontainer.v1.Quota quota = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Quota

getQuotaBuilder(int index)

public Quota.Builder getQuotaBuilder(int index)

Quota for resources in this zone.

repeated .google.cloud.edgecontainer.v1.Quota quota = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Quota.Builder

getQuotaBuilderList()

public List<Quota.Builder> getQuotaBuilderList()

Quota for resources in this zone.

repeated .google.cloud.edgecontainer.v1.Quota quota = 1;

Returns
TypeDescription
List<Builder>

getQuotaCount()

public int getQuotaCount()

Quota for resources in this zone.

repeated .google.cloud.edgecontainer.v1.Quota quota = 1;

Returns
TypeDescription
int

getQuotaList()

public List<Quota> getQuotaList()

Quota for resources in this zone.

repeated .google.cloud.edgecontainer.v1.Quota quota = 1;

Returns
TypeDescription
List<Quota>

getQuotaOrBuilder(int index)

public QuotaOrBuilder getQuotaOrBuilder(int index)

Quota for resources in this zone.

repeated .google.cloud.edgecontainer.v1.Quota quota = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
QuotaOrBuilder

getQuotaOrBuilderList()

public List<? extends QuotaOrBuilder> getQuotaOrBuilderList()

Quota for resources in this zone.

repeated .google.cloud.edgecontainer.v1.Quota quota = 1;

Returns
TypeDescription
List<? extends com.google.cloud.edgecontainer.v1.QuotaOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ZoneMetadata other)

public ZoneMetadata.Builder mergeFrom(ZoneMetadata other)
Parameter
NameDescription
otherZoneMetadata
Returns
TypeDescription
ZoneMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ZoneMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ZoneMetadata.Builder
Overrides

removeQuota(int index)

public ZoneMetadata.Builder removeQuota(int index)

Quota for resources in this zone.

repeated .google.cloud.edgecontainer.v1.Quota quota = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ZoneMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setQuota(int index, Quota value)

public ZoneMetadata.Builder setQuota(int index, Quota value)

Quota for resources in this zone.

repeated .google.cloud.edgecontainer.v1.Quota quota = 1;

Parameters
NameDescription
indexint
valueQuota
Returns
TypeDescription
ZoneMetadata.Builder

setQuota(int index, Quota.Builder builderForValue)

public ZoneMetadata.Builder setQuota(int index, Quota.Builder builderForValue)

Quota for resources in this zone.

repeated .google.cloud.edgecontainer.v1.Quota quota = 1;

Parameters
NameDescription
indexint
builderForValueQuota.Builder
Returns
TypeDescription
ZoneMetadata.Builder

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

public ZoneMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ZoneMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ZoneMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ZoneMetadata.Builder
Overrides