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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 clearConfigData()
Config data for the zone.
.google.cloud.edgecontainer.v1.ConfigData config_data = 3;
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 clearRackTypes()
public ZoneMetadata.Builder clone()
Overrides
public boolean containsRackTypes(String key)
The map keyed by rack name and has value of RackType.
map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2;
Parameter |
Name |
Description |
key |
String
|
public ConfigData getConfigData()
Config data for the zone.
.google.cloud.edgecontainer.v1.ConfigData config_data = 3;
Returns |
Type |
Description |
ConfigData |
The configData.
|
public ConfigData.Builder getConfigDataBuilder()
Config data for the zone.
.google.cloud.edgecontainer.v1.ConfigData config_data = 3;
public ConfigDataOrBuilder getConfigDataOrBuilder()
Config data for the zone.
.google.cloud.edgecontainer.v1.ConfigData config_data = 3;
public ZoneMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Map<String,ZoneMetadata.RackType> getMutableRackTypes()
Use alternate mutation accessors instead.
public Map<String,Integer> getMutableRackTypesValue()
Use alternate mutation accessors instead.
Returns |
Type |
Description |
Map<String,java.lang.Integer> |
|
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> |
|
public Map<String,ZoneMetadata.RackType> getRackTypes()
public int getRackTypesCount()
The map keyed by rack name and has value of RackType.
map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2;
Returns |
Type |
Description |
int |
|
public Map<String,ZoneMetadata.RackType> getRackTypesMap()
The map keyed by rack name and has value of RackType.
map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2;
public ZoneMetadata.RackType getRackTypesOrDefault(String key, ZoneMetadata.RackType defaultValue)
The map keyed by rack name and has value of RackType.
map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2;
public ZoneMetadata.RackType getRackTypesOrThrow(String key)
The map keyed by rack name and has value of RackType.
map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2;
Parameter |
Name |
Description |
key |
String
|
public Map<String,Integer> getRackTypesValue()
Returns |
Type |
Description |
Map<String,java.lang.Integer> |
|
public Map<String,Integer> getRackTypesValueMap()
The map keyed by rack name and has value of RackType.
map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2;
Returns |
Type |
Description |
Map<String,java.lang.Integer> |
|
public int getRackTypesValueOrDefault(String key, int defaultValue)
The map keyed by rack name and has value of RackType.
map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2;
Parameters |
Name |
Description |
key |
String
|
defaultValue |
int
|
Returns |
Type |
Description |
int |
|
public int getRackTypesValueOrThrow(String key)
The map keyed by rack name and has value of RackType.
map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2;
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
int |
|
public boolean hasConfigData()
Config data for the zone.
.google.cloud.edgecontainer.v1.ConfigData config_data = 3;
Returns |
Type |
Description |
boolean |
Whether the configData field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
public final boolean isInitialized()
Overrides
public ZoneMetadata.Builder mergeConfigData(ConfigData value)
Config data for the zone.
.google.cloud.edgecontainer.v1.ConfigData config_data = 3;
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 putAllRackTypes(Map<String,ZoneMetadata.RackType> values)
The map keyed by rack name and has value of RackType.
map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2;
public ZoneMetadata.Builder putAllRackTypesValue(Map<String,Integer> values)
The map keyed by rack name and has value of RackType.
map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2;
Parameter |
Name |
Description |
values |
Map<String,java.lang.Integer>
|
public ZoneMetadata.Builder putRackTypes(String key, ZoneMetadata.RackType value)
The map keyed by rack name and has value of RackType.
map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2;
public ZoneMetadata.Builder putRackTypesValue(String key, int value)
The map keyed by rack name and has value of RackType.
map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2;
Parameters |
Name |
Description |
key |
String
|
value |
int
|
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 removeRackTypes(String key)
The map keyed by rack name and has value of RackType.
map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2;
Parameter |
Name |
Description |
key |
String
|
public ZoneMetadata.Builder setConfigData(ConfigData value)
Config data for the zone.
.google.cloud.edgecontainer.v1.ConfigData config_data = 3;
public ZoneMetadata.Builder setConfigData(ConfigData.Builder builderForValue)
Config data for the zone.
.google.cloud.edgecontainer.v1.ConfigData config_data = 3;
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