public final class Tier extends GeneratedMessage implements TierOrBuilder
A Google Cloud SQL service tier resource.
Protobuf type google.cloud.sql.v1.Tier
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
DISK_QUOTA_FIELD_NUMBER
public static final int DISK_QUOTA_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RAM_FIELD_NUMBER
public static final int RAM_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TIER_FIELD_NUMBER
public static final int TIER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Tier getDefaultInstance()
| Returns |
| Type |
Description |
Tier |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Tier.Builder newBuilder()
newBuilder(Tier prototype)
public static Tier.Builder newBuilder(Tier prototype)
| Parameter |
| Name |
Description |
prototype |
Tier
|
public static Tier parseDelimitedFrom(InputStream input)
| Returns |
| Type |
Description |
Tier |
|
public static Tier parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Tier |
|
parseFrom(byte[] data)
public static Tier parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
| Returns |
| Type |
Description |
Tier |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Tier parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Tier |
|
parseFrom(ByteString data)
public static Tier parseFrom(ByteString data)
| Returns |
| Type |
Description |
Tier |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Tier parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Tier |
|
public static Tier parseFrom(CodedInputStream input)
| Returns |
| Type |
Description |
Tier |
|
public static Tier parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Tier |
|
public static Tier parseFrom(InputStream input)
| Returns |
| Type |
Description |
Tier |
|
public static Tier parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Tier |
|
parseFrom(ByteBuffer data)
public static Tier parseFrom(ByteBuffer data)
| Returns |
| Type |
Description |
Tier |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Tier parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Tier |
|
parser()
public static Parser<Tier> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Tier getDefaultInstanceForType()
| Returns |
| Type |
Description |
Tier |
|
getDiskQuota()
public long getDiskQuota()
The maximum disk size of this tier in bytes.
int64 Disk_Quota = 4 [json_name = "DiskQuota"];
| Returns |
| Type |
Description |
long |
The diskQuota.
|
getKind()
This is always sql#tier.
string kind = 3;
| Returns |
| Type |
Description |
String |
The kind.
|
getKindBytes()
public ByteString getKindBytes()
This is always sql#tier.
string kind = 3;
| Returns |
| Type |
Description |
ByteString |
The bytes for kind.
|
getParserForType()
public Parser<Tier> getParserForType()
Overrides
getRAM()
The maximum RAM usage of this tier in bytes.
int64 RAM = 2 [json_name = "RAM"];
| Returns |
| Type |
Description |
long |
The rAM.
|
getRegion(int index)
public String getRegion(int index)
The applicable regions for this tier.
repeated string region = 5;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The region at the given index.
|
getRegionBytes(int index)
public ByteString getRegionBytes(int index)
The applicable regions for this tier.
repeated string region = 5;
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the region at the given index.
|
getRegionCount()
public int getRegionCount()
The applicable regions for this tier.
repeated string region = 5;
| Returns |
| Type |
Description |
int |
The count of region.
|
getRegionList()
public ProtocolStringList getRegionList()
The applicable regions for this tier.
repeated string region = 5;
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getTier()
An identifier for the machine type, for example, db-custom-1-3840. For
related information, see Pricing.
string tier = 1;
| Returns |
| Type |
Description |
String |
The tier.
|
getTierBytes()
public ByteString getTierBytes()
An identifier for the machine type, for example, db-custom-1-3840. For
related information, see Pricing.
string tier = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for tier.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Tier.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Tier.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Tier.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides