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()
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>
|
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
|
public ZoneMetadata.Builder addQuota(Quota.Builder builderForValue)
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
public ZoneMetadata.Builder addQuota(int index, Quota value)
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
Parameters |
---|
Name | Description |
index | int
|
value | Quota
|
public ZoneMetadata.Builder addQuota(int index, Quota.Builder builderForValue)
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
public Quota.Builder addQuotaBuilder()
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
public Quota.Builder addQuotaBuilder(int index)
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
Parameter |
---|
Name | Description |
index | int
|
public ZoneMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ZoneMetadata build()
public ZoneMetadata buildPartial()
public ZoneMetadata.Builder clear()
Overrides
public ZoneMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ZoneMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ZoneMetadata.Builder clearQuota()
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
public ZoneMetadata.Builder clone()
Overrides
public ZoneMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Quota getQuota(int index)
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
Parameter |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
Quota | |
public Quota.Builder getQuotaBuilder(int index)
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
Parameter |
---|
Name | Description |
index | int
|
public List<Quota.Builder> getQuotaBuilderList()
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
public int getQuotaCount()
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
Returns |
---|
Type | Description |
int | |
public List<Quota> getQuotaList()
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
public QuotaOrBuilder getQuotaOrBuilder(int index)
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
Parameter |
---|
Name | Description |
index | int
|
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()
Overrides
public final boolean isInitialized()
Overrides
public ZoneMetadata.Builder mergeFrom(ZoneMetadata other)
public ZoneMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ZoneMetadata.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final ZoneMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ZoneMetadata.Builder removeQuota(int index)
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
Parameter |
---|
Name | Description |
index | int
|
public ZoneMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ZoneMetadata.Builder setQuota(int index, Quota value)
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
Parameters |
---|
Name | Description |
index | int
|
value | Quota
|
public ZoneMetadata.Builder setQuota(int index, Quota.Builder builderForValue)
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
public ZoneMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ZoneMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides