Class ZoneMetadata (0.37.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

Static Fields

QUOTA_FIELD_NUMBER

public static final int QUOTA_FIELD_NUMBER
Field Value
TypeDescription
int

RACK_TYPES_FIELD_NUMBER

public static final int RACK_TYPES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ZoneMetadata getDefaultInstance()
Returns
TypeDescription
ZoneMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ZoneMetadata.Builder newBuilder()
Returns
TypeDescription
ZoneMetadata.Builder

newBuilder(ZoneMetadata prototype)

public static ZoneMetadata.Builder newBuilder(ZoneMetadata prototype)
Parameter
NameDescription
prototypeZoneMetadata
Returns
TypeDescription
ZoneMetadata.Builder

parseDelimitedFrom(InputStream input)

public static ZoneMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ZoneMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ZoneMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ZoneMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ZoneMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ZoneMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ZoneMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ZoneMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ZoneMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ZoneMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ZoneMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ZoneMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ZoneMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ZoneMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ZoneMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ZoneMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ZoneMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ZoneMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ZoneMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ZoneMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ZoneMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ZoneMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ZoneMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ZoneMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ZoneMetadata> parser()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ZoneMetadata getDefaultInstanceForType()
Returns
TypeDescription
ZoneMetadata

getParserForType()

public Parser<ZoneMetadata> getParserForType()
Returns
TypeDescription
Parser<ZoneMetadata>
Overrides

getQuota(int index)

public Quota getQuota(int index)

Quota for resources in this zone.

repeated .google.cloud.edgecontainer.v1.Quota quota = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Quota

getQuotaCount()

public int getQuotaCount()

Quota for resources in this zone.

repeated .google.cloud.edgecontainer.v1.Quota quota = 1;

Returns
TypeDescription
int

getQuotaList()

public List<Quota> getQuotaList()

Quota for resources in this zone.

repeated .google.cloud.edgecontainer.v1.Quota quota = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
QuotaOrBuilder

getQuotaOrBuilderList()

public List<? extends QuotaOrBuilder> getQuotaOrBuilderList()

Quota for resources in this zone.

repeated .google.cloud.edgecontainer.v1.Quota quota = 1;

Returns
TypeDescription
List<? extends com.google.cloud.edgecontainer.v1.QuotaOrBuilder>

getRackTypes() (deprecated)

public Map<String,ZoneMetadata.RackType> getRackTypes()

Use #getRackTypesMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueZoneMetadata.RackType
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
ZoneMetadata.RackType

getRackTypesValue() (deprecated)

public Map<String,Integer> getRackTypesValue()
Returns
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueint
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
int

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ZoneMetadata.Builder newBuilderForType()
Returns
TypeDescription
ZoneMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ZoneMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ZoneMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ZoneMetadata.Builder toBuilder()
Returns
TypeDescription
ZoneMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException