Class SkuConfig (0.7.0)

public final class SkuConfig extends GeneratedMessageV3 implements SkuConfigOrBuilder

Configuration for a SKU.

Protobuf type google.cloud.gdchardwaremanagement.v1alpha.SkuConfig

Implements

SkuConfigOrBuilder

Static Fields

CPU_FIELD_NUMBER

public static final int CPU_FIELD_NUMBER
Field Value
Type Description
int

GPU_FIELD_NUMBER

public static final int GPU_FIELD_NUMBER
Field Value
Type Description
int

RAM_FIELD_NUMBER

public static final int RAM_FIELD_NUMBER
Field Value
Type Description
int

STORAGE_FIELD_NUMBER

public static final int STORAGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SkuConfig getDefaultInstance()
Returns
Type Description
SkuConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SkuConfig.Builder newBuilder()
Returns
Type Description
SkuConfig.Builder

newBuilder(SkuConfig prototype)

public static SkuConfig.Builder newBuilder(SkuConfig prototype)
Parameter
Name Description
prototype SkuConfig
Returns
Type Description
SkuConfig.Builder

parseDelimitedFrom(InputStream input)

public static SkuConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SkuConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SkuConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SkuConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SkuConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SkuConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SkuConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SkuConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SkuConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SkuConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SkuConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SkuConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SkuConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SkuConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SkuConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SkuConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SkuConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SkuConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SkuConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SkuConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SkuConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SkuConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SkuConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SkuConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SkuConfig> parser()
Returns
Type Description
Parser<SkuConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCpu()

public String getCpu()

Information about CPU configuration.

string cpu = 1;

Returns
Type Description
String

The cpu.

getCpuBytes()

public ByteString getCpuBytes()

Information about CPU configuration.

string cpu = 1;

Returns
Type Description
ByteString

The bytes for cpu.

getDefaultInstanceForType()

public SkuConfig getDefaultInstanceForType()
Returns
Type Description
SkuConfig

getGpu()

public String getGpu()

Information about GPU configuration.

string gpu = 2;

Returns
Type Description
String

The gpu.

getGpuBytes()

public ByteString getGpuBytes()

Information about GPU configuration.

string gpu = 2;

Returns
Type Description
ByteString

The bytes for gpu.

getParserForType()

public Parser<SkuConfig> getParserForType()
Returns
Type Description
Parser<SkuConfig>
Overrides

getRam()

public String getRam()

Information about RAM configuration.

string ram = 3;

Returns
Type Description
String

The ram.

getRamBytes()

public ByteString getRamBytes()

Information about RAM configuration.

string ram = 3;

Returns
Type Description
ByteString

The bytes for ram.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStorage()

public String getStorage()

Information about storage configuration.

string storage = 4;

Returns
Type Description
String

The storage.

getStorageBytes()

public ByteString getStorageBytes()

Information about storage configuration.

string storage = 4;

Returns
Type Description
ByteString

The bytes for storage.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SkuConfig.Builder newBuilderForType()
Returns
Type Description
SkuConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SkuConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SkuConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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