public static final class SkuConfig.Builder extends GeneratedMessageV3.Builder<SkuConfig.Builder> implements SkuConfigOrBuilder
Configuration for a SKU.
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.SkuConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SkuConfig.BuilderImplements
SkuConfigOrBuilderStatic 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 |
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 |
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 |
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 |
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 |
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 |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SkuConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SkuConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SkuConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SkuConfig.Builder |
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 |
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 |
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 |