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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ZoneMetadata.Builder addAllQuota(Iterable<? extends Quota> values)
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.edgecontainer.v1.Quota>
|
Returns
public ZoneMetadata.Builder addQuota(Quota value)
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
Parameter
Name | Description |
value | Quota
|
Returns
public ZoneMetadata.Builder addQuota(Quota.Builder builderForValue)
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
Parameter
Returns
public ZoneMetadata.Builder addQuota(int index, Quota value)
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
Parameters
Returns
public ZoneMetadata.Builder addQuota(int index, Quota.Builder builderForValue)
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
Parameters
Returns
public Quota.Builder addQuotaBuilder()
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
Returns
public Quota.Builder addQuotaBuilder(int index)
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
Parameter
Returns
public ZoneMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ZoneMetadata build()
Returns
public ZoneMetadata buildPartial()
Returns
public ZoneMetadata.Builder clear()
Returns
Overrides
public ZoneMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ZoneMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ZoneMetadata.Builder clearQuota()
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
Returns
public ZoneMetadata.Builder clone()
Returns
Overrides
public ZoneMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Quota getQuota(int index)
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
Parameter
Returns
public Quota.Builder getQuotaBuilder(int index)
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
Parameter
Returns
public List<Quota.Builder> getQuotaBuilderList()
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
Returns
public int getQuotaCount()
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
Returns
public List<Quota> getQuotaList()
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
Returns
public QuotaOrBuilder getQuotaOrBuilder(int index)
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
Parameter
Returns
public List<? extends QuotaOrBuilder> getQuotaOrBuilderList()
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
Returns
Type | Description |
List<? extends com.google.cloud.edgecontainer.v1.QuotaOrBuilder> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ZoneMetadata.Builder mergeFrom(ZoneMetadata other)
Parameter
Returns
public ZoneMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ZoneMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ZoneMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ZoneMetadata.Builder removeQuota(int index)
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
Parameter
Returns
public ZoneMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ZoneMetadata.Builder setQuota(int index, Quota value)
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
Parameters
Returns
public ZoneMetadata.Builder setQuota(int index, Quota.Builder builderForValue)
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
Parameters
Returns
public ZoneMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ZoneMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides