public static final class ScratchDisks.Builder extends GeneratedMessageV3.Builder<ScratchDisks.Builder> implements ScratchDisksOrBuilder
Protobuf type google.cloud.compute.v1.ScratchDisks
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ScratchDisks.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ScratchDisks build()
buildPartial()
public ScratchDisks buildPartial()
clear()
public ScratchDisks.Builder clear()
Overrides
clearDiskGb()
public ScratchDisks.Builder clearDiskGb()
Size of the scratch disk, defined in GB.
optional int32 disk_gb = 60990141;
clearField(Descriptors.FieldDescriptor field)
public ScratchDisks.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ScratchDisks.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ScratchDisks.Builder clone()
Overrides
getDefaultInstanceForType()
public ScratchDisks getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDiskGb()
Size of the scratch disk, defined in GB.
optional int32 disk_gb = 60990141;
Returns |
Type |
Description |
int |
The diskGb.
|
hasDiskGb()
public boolean hasDiskGb()
Size of the scratch disk, defined in GB.
optional int32 disk_gb = 60990141;
Returns |
Type |
Description |
boolean |
Whether the diskGb field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ScratchDisks other)
public ScratchDisks.Builder mergeFrom(ScratchDisks other)
public ScratchDisks.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ScratchDisks.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ScratchDisks.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDiskGb(int value)
public ScratchDisks.Builder setDiskGb(int value)
Size of the scratch disk, defined in GB.
optional int32 disk_gb = 60990141;
Parameter |
Name |
Description |
value |
int
The diskGb to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ScratchDisks.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ScratchDisks.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ScratchDisks.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides