public final class ZoneMetadata extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int CONFIG_DATA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int QUOTA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int RACK_TYPES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static ZoneMetadata getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static ZoneMetadata.Builder newBuilder()
public static ZoneMetadata.Builder newBuilder(ZoneMetadata prototype)
public static ZoneMetadata parseDelimitedFrom(InputStream input)
public static ZoneMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ZoneMetadata parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static ZoneMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ZoneMetadata parseFrom(ByteString data)
public static ZoneMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ZoneMetadata parseFrom(CodedInputStream input)
public static ZoneMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ZoneMetadata parseFrom(InputStream input)
public static ZoneMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ZoneMetadata parseFrom(ByteBuffer data)
public static ZoneMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<ZoneMetadata> parser()
Methods
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 boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public ConfigData getConfigData()
Config data for the zone.
.google.cloud.edgecontainer.v1.ConfigData config_data = 3;
Returns |
Type |
Description |
ConfigData |
The configData.
|
public ConfigDataOrBuilder getConfigDataOrBuilder()
Config data for the zone.
.google.cloud.edgecontainer.v1.ConfigData config_data = 3;
public ZoneMetadata getDefaultInstanceForType()
public Parser<ZoneMetadata> getParserForType()
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 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 int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
Returns |
Type |
Description |
int |
|
Overrides
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.internalGetMapFieldReflection(int)
public final boolean isInitialized()
Overrides
public ZoneMetadata.Builder newBuilderForType()
protected ZoneMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public ZoneMetadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides