public final class SkuInstance extends GeneratedMessageV3 implements SkuInstanceOrBuilder
A specific instance of the SKU.
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.SkuInstance
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
BILLING_SKU_FIELD_NUMBER
public static final int BILLING_SKU_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
BILLING_SKU_PER_VCPU_FIELD_NUMBER
public static final int BILLING_SKU_PER_VCPU_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
POWER_SUPPLY_FIELD_NUMBER
public static final int POWER_SUPPLY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REGION_CODE_FIELD_NUMBER
public static final int REGION_CODE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SUBSCRIPTION_DURATION_MONTHS_FIELD_NUMBER
public static final int SUBSCRIPTION_DURATION_MONTHS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static SkuInstance getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SkuInstance.Builder newBuilder()
newBuilder(SkuInstance prototype)
public static SkuInstance.Builder newBuilder(SkuInstance prototype)
public static SkuInstance parseDelimitedFrom(InputStream input)
public static SkuInstance parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SkuInstance parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SkuInstance parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SkuInstance parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SkuInstance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SkuInstance parseFrom(CodedInputStream input)
public static SkuInstance parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SkuInstance parseFrom(InputStream input)
public static SkuInstance parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SkuInstance parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SkuInstance parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SkuInstance> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getBillingSku()
public String getBillingSku()
Reference to the corresponding SKU in the Cloud Billing API.
The estimated price information can be retrieved using that API.
Format: services/{service}/skus/{sku}
string billing_sku = 3;
Returns |
Type |
Description |
String |
The billingSku.
|
getBillingSkuBytes()
public ByteString getBillingSkuBytes()
Reference to the corresponding SKU in the Cloud Billing API.
The estimated price information can be retrieved using that API.
Format: services/{service}/skus/{sku}
string billing_sku = 3;
Returns |
Type |
Description |
ByteString |
The bytes for billingSku.
|
getBillingSkuPerVcpu()
public String getBillingSkuPerVcpu()
Reference to the corresponding SKU per vCPU in the Cloud Billing API.
The estimated price information can be retrieved using that API.
Format: services/{service}/skus/{sku}
string billing_sku_per_vcpu = 4;
Returns |
Type |
Description |
String |
The billingSkuPerVcpu.
|
getBillingSkuPerVcpuBytes()
public ByteString getBillingSkuPerVcpuBytes()
Reference to the corresponding SKU per vCPU in the Cloud Billing API.
The estimated price information can be retrieved using that API.
Format: services/{service}/skus/{sku}
string billing_sku_per_vcpu = 4;
Returns |
Type |
Description |
ByteString |
The bytes for billingSkuPerVcpu.
|
getDefaultInstanceForType()
public SkuInstance getDefaultInstanceForType()
getParserForType()
public Parser<SkuInstance> getParserForType()
Overrides
getPowerSupply()
public PowerSupply getPowerSupply()
Power supply type for this instance.
.google.cloud.gdchardwaremanagement.v1alpha.PowerSupply power_supply = 2;
getPowerSupplyValue()
public int getPowerSupplyValue()
Power supply type for this instance.
.google.cloud.gdchardwaremanagement.v1alpha.PowerSupply power_supply = 2;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for powerSupply.
|
getRegionCode()
public String getRegionCode()
The Unicode CLDR region code where this
instance is available.
string region_code = 1;
Returns |
Type |
Description |
String |
The regionCode.
|
getRegionCodeBytes()
public ByteString getRegionCodeBytes()
The Unicode CLDR region code where this
instance is available.
string region_code = 1;
Returns |
Type |
Description |
ByteString |
The bytes for regionCode.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSubscriptionDurationMonths()
public int getSubscriptionDurationMonths()
Subscription duration for the hardware in months.
int32 subscription_duration_months = 5;
Returns |
Type |
Description |
int |
The subscriptionDurationMonths.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SkuInstance.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SkuInstance.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public SkuInstance.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides