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

getDefaultInstanceForType()

public ZoneMetadata getDefaultInstanceForType()
Returns
Type Description
ZoneMetadata

getParserForType()

public Parser<ZoneMetadata> getParserForType()
Returns
Type Description
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
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()
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
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ZoneMetadata.Builder toBuilder()
Returns
Type Description
ZoneMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException