- 1.62.0 (latest)
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class ScratchDisks.Builder extends GeneratedMessageV3.Builder<ScratchDisks.Builder> implements ScratchDisksOrBuilder
Protobuf type google.cloud.compute.v1.ScratchDisks
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ScratchDisks.BuilderImplements
ScratchDisksOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ScratchDisks.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ScratchDisks.Builder |
build()
public ScratchDisks build()
Type | Description |
ScratchDisks |
buildPartial()
public ScratchDisks buildPartial()
Type | Description |
ScratchDisks |
clear()
public ScratchDisks.Builder clear()
Type | Description |
ScratchDisks.Builder |
clearDiskGb()
public ScratchDisks.Builder clearDiskGb()
Size of the scratch disk, defined in GB.
optional int32 disk_gb = 60990141;
Type | Description |
ScratchDisks.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ScratchDisks.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ScratchDisks.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ScratchDisks.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ScratchDisks.Builder |
clone()
public ScratchDisks.Builder clone()
Type | Description |
ScratchDisks.Builder |
getDefaultInstanceForType()
public ScratchDisks getDefaultInstanceForType()
Type | Description |
ScratchDisks |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDiskGb()
public int getDiskGb()
Size of the scratch disk, defined in GB.
optional int32 disk_gb = 60990141;
Type | Description |
int | The diskGb. |
hasDiskGb()
public boolean hasDiskGb()
Size of the scratch disk, defined in GB.
optional int32 disk_gb = 60990141;
Type | Description |
boolean | Whether the diskGb field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ScratchDisks other)
public ScratchDisks.Builder mergeFrom(ScratchDisks other)
Name | Description |
other | ScratchDisks |
Type | Description |
ScratchDisks.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ScratchDisks.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ScratchDisks.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ScratchDisks.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ScratchDisks.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ScratchDisks.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ScratchDisks.Builder |
setDiskGb(int value)
public ScratchDisks.Builder setDiskGb(int value)
Size of the scratch disk, defined in GB.
optional int32 disk_gb = 60990141;
Name | Description |
value | int The diskGb to set. |
Type | Description |
ScratchDisks.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ScratchDisks.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ScratchDisks.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ScratchDisks.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ScratchDisks.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ScratchDisks.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ScratchDisks.Builder |