- 0.50.0 (latest)
- 0.49.0
- 0.48.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ZoneMetadataImplements
ZoneMetadataOrBuilderStatic Fields
QUOTA_FIELD_NUMBER
public static final int QUOTA_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
RACK_TYPES_FIELD_NUMBER
public static final int RACK_TYPES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ZoneMetadata getDefaultInstance()
Returns | |
---|---|
Type | Description |
ZoneMetadata |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static ZoneMetadata.Builder newBuilder()
Returns | |
---|---|
Type | Description |
ZoneMetadata.Builder |
newBuilder(ZoneMetadata prototype)
public static ZoneMetadata.Builder newBuilder(ZoneMetadata prototype)
Parameter | |
---|---|
Name | Description |
prototype |
ZoneMetadata |
Returns | |
---|---|
Type | Description |
ZoneMetadata.Builder |
parseDelimitedFrom(InputStream input)
public static ZoneMetadata parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
ZoneMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ZoneMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ZoneMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static ZoneMetadata parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
ZoneMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ZoneMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ZoneMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ZoneMetadata parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
ZoneMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ZoneMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ZoneMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ZoneMetadata parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
ZoneMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ZoneMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ZoneMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static ZoneMetadata parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
ZoneMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ZoneMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ZoneMetadata |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ZoneMetadata parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
ZoneMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ZoneMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ZoneMetadata |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ZoneMetadata> parser()
Returns | |
---|---|
Type | Description |
Parser<ZoneMetadata> |
Methods
containsRackTypes(String key)
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 |
Returns | |
---|---|
Type | Description |
boolean |
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public ZoneMetadata getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ZoneMetadata |
getParserForType()
public Parser<ZoneMetadata> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<ZoneMetadata> |
getQuota(int index)
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 |
getQuotaCount()
public int getQuotaCount()
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
Returns | |
---|---|
Type | Description |
int |
getQuotaList()
public List<Quota> getQuotaList()
Quota for resources in this zone.
repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
QuotaOrBuilder |
getQuotaOrBuilderList()
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> |
getRackTypes() (deprecated)
public Map<String,ZoneMetadata.RackType> getRackTypes()
Use #getRackTypesMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,RackType> |
getRackTypesCount()
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 |
getRackTypesMap()
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;
Returns | |
---|---|
Type | Description |
Map<String,RackType> |
getRackTypesOrDefault(String key, ZoneMetadata.RackType defaultValue)
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;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
ZoneMetadata.RackType |
Returns | |
---|---|
Type | Description |
ZoneMetadata.RackType |
getRackTypesOrThrow(String key)
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 |
Returns | |
---|---|
Type | Description |
ZoneMetadata.RackType |
getRackTypesValue() (deprecated)
public Map<String,Integer> getRackTypesValue()
Use #getRackTypesValueMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,java.lang.Integer> |
getRackTypesValueMap()
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> |
getRackTypesValueOrDefault(String key, int defaultValue)
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 |
getRackTypesValueOrThrow(String key)
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 |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public ZoneMetadata.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
ZoneMetadata.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ZoneMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
ZoneMetadata.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public ZoneMetadata.Builder toBuilder()
Returns | |
---|---|
Type | Description |
ZoneMetadata.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |