Class SkuConfig.Builder (0.1.0)

public static final class SkuConfig.Builder extends GeneratedMessageV3.Builder<SkuConfig.Builder> implements SkuConfigOrBuilder

Configuration for a SKU.

Protobuf type google.cloud.gdchardwaremanagement.v1alpha.SkuConfig

Implements

SkuConfigOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SkuConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SkuConfig.Builder
Overrides

build()

public SkuConfig build()
Returns
Type Description
SkuConfig

buildPartial()

public SkuConfig buildPartial()
Returns
Type Description
SkuConfig

clear()

public SkuConfig.Builder clear()
Returns
Type Description
SkuConfig.Builder
Overrides

clearCpu()

public SkuConfig.Builder clearCpu()

Information about CPU configuration.

string cpu = 1;

Returns
Type Description
SkuConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SkuConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SkuConfig.Builder
Overrides

clearGpu()

public SkuConfig.Builder clearGpu()

Information about GPU configuration.

string gpu = 2;

Returns
Type Description
SkuConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SkuConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SkuConfig.Builder
Overrides

clearRam()

public SkuConfig.Builder clearRam()

Information about RAM configuration.

string ram = 3;

Returns
Type Description
SkuConfig.Builder

This builder for chaining.

clearStorage()

public SkuConfig.Builder clearStorage()

Information about storage configuration.

string storage = 4;

Returns
Type Description
SkuConfig.Builder

This builder for chaining.

clone()

public SkuConfig.Builder clone()
Returns
Type Description
SkuConfig.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SkuConfig other)

public SkuConfig.Builder mergeFrom(SkuConfig other)
Parameter
Name Description
other SkuConfig
Returns
Type Description
SkuConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SkuConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SkuConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SkuConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SkuConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SkuConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SkuConfig.Builder
Overrides

setCpu(String value)

public SkuConfig.Builder setCpu(String value)

Information about CPU configuration.

string cpu = 1;

Parameter
Name Description
value String

The cpu to set.

Returns
Type Description
SkuConfig.Builder

This builder for chaining.

setCpuBytes(ByteString value)

public SkuConfig.Builder setCpuBytes(ByteString value)

Information about CPU configuration.

string cpu = 1;

Parameter
Name Description
value ByteString

The bytes for cpu to set.

Returns
Type Description
SkuConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SkuConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SkuConfig.Builder
Overrides

setGpu(String value)

public SkuConfig.Builder setGpu(String value)

Information about GPU configuration.

string gpu = 2;

Parameter
Name Description
value String

The gpu to set.

Returns
Type Description
SkuConfig.Builder

This builder for chaining.

setGpuBytes(ByteString value)

public SkuConfig.Builder setGpuBytes(ByteString value)

Information about GPU configuration.

string gpu = 2;

Parameter
Name Description
value ByteString

The bytes for gpu to set.

Returns
Type Description
SkuConfig.Builder

This builder for chaining.

setRam(String value)

public SkuConfig.Builder setRam(String value)

Information about RAM configuration.

string ram = 3;

Parameter
Name Description
value String

The ram to set.

Returns
Type Description
SkuConfig.Builder

This builder for chaining.

setRamBytes(ByteString value)

public SkuConfig.Builder setRamBytes(ByteString value)

Information about RAM configuration.

string ram = 3;

Parameter
Name Description
value ByteString

The bytes for ram to set.

Returns
Type Description
SkuConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SkuConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SkuConfig.Builder
Overrides

setStorage(String value)

public SkuConfig.Builder setStorage(String value)

Information about storage configuration.

string storage = 4;

Parameter
Name Description
value String

The storage to set.

Returns
Type Description
SkuConfig.Builder

This builder for chaining.

setStorageBytes(ByteString value)

public SkuConfig.Builder setStorageBytes(ByteString value)

Information about storage configuration.

string storage = 4;

Parameter
Name Description
value ByteString

The bytes for storage to set.

Returns
Type Description
SkuConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SkuConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SkuConfig.Builder
Overrides