- 0.51.0 (latest)
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.2
- 0.2.2
- 0.1.1
public static final class AllocationPolicy.AttachedDisk.Builder extends GeneratedMessageV3.Builder<AllocationPolicy.AttachedDisk.Builder> implements AllocationPolicy.AttachedDiskOrBuilder
A new or an existing persistent disk attached to a VM instance.
Protobuf type google.cloud.batch.v1.AllocationPolicy.AttachedDisk
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AllocationPolicy.AttachedDisk.BuilderImplements
AllocationPolicy.AttachedDiskOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AllocationPolicy.AttachedDisk.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AllocationPolicy.AttachedDisk.Builder |
build()
public AllocationPolicy.AttachedDisk build()
Type | Description |
AllocationPolicy.AttachedDisk |
buildPartial()
public AllocationPolicy.AttachedDisk buildPartial()
Type | Description |
AllocationPolicy.AttachedDisk |
clear()
public AllocationPolicy.AttachedDisk.Builder clear()
Type | Description |
AllocationPolicy.AttachedDisk.Builder |
clearAttached()
public AllocationPolicy.AttachedDisk.Builder clearAttached()
Type | Description |
AllocationPolicy.AttachedDisk.Builder |
clearDeviceName()
public AllocationPolicy.AttachedDisk.Builder clearDeviceName()
Device name that the guest operating system will see. If not specified, this is default to the disk name.
string device_name = 3;
Type | Description |
AllocationPolicy.AttachedDisk.Builder | This builder for chaining. |
clearExistingDisk()
public AllocationPolicy.AttachedDisk.Builder clearExistingDisk()
Name of an existing PD.
string existing_disk = 2;
Type | Description |
AllocationPolicy.AttachedDisk.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AllocationPolicy.AttachedDisk.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
AllocationPolicy.AttachedDisk.Builder |
clearNewDisk()
public AllocationPolicy.AttachedDisk.Builder clearNewDisk()
.google.cloud.batch.v1.AllocationPolicy.Disk new_disk = 1;
Type | Description |
AllocationPolicy.AttachedDisk.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AllocationPolicy.AttachedDisk.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
AllocationPolicy.AttachedDisk.Builder |
clone()
public AllocationPolicy.AttachedDisk.Builder clone()
Type | Description |
AllocationPolicy.AttachedDisk.Builder |
getAttachedCase()
public AllocationPolicy.AttachedDisk.AttachedCase getAttachedCase()
Type | Description |
AllocationPolicy.AttachedDisk.AttachedCase |
getDefaultInstanceForType()
public AllocationPolicy.AttachedDisk getDefaultInstanceForType()
Type | Description |
AllocationPolicy.AttachedDisk |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDeviceName()
public String getDeviceName()
Device name that the guest operating system will see. If not specified, this is default to the disk name.
string device_name = 3;
Type | Description |
String | The deviceName. |
getDeviceNameBytes()
public ByteString getDeviceNameBytes()
Device name that the guest operating system will see. If not specified, this is default to the disk name.
string device_name = 3;
Type | Description |
ByteString | The bytes for deviceName. |
getExistingDisk()
public String getExistingDisk()
Name of an existing PD.
string existing_disk = 2;
Type | Description |
String | The existingDisk. |
getExistingDiskBytes()
public ByteString getExistingDiskBytes()
Name of an existing PD.
string existing_disk = 2;
Type | Description |
ByteString | The bytes for existingDisk. |
getNewDisk()
public AllocationPolicy.Disk getNewDisk()
.google.cloud.batch.v1.AllocationPolicy.Disk new_disk = 1;
Type | Description |
AllocationPolicy.Disk | The newDisk. |
getNewDiskBuilder()
public AllocationPolicy.Disk.Builder getNewDiskBuilder()
.google.cloud.batch.v1.AllocationPolicy.Disk new_disk = 1;
Type | Description |
AllocationPolicy.Disk.Builder |
getNewDiskOrBuilder()
public AllocationPolicy.DiskOrBuilder getNewDiskOrBuilder()
.google.cloud.batch.v1.AllocationPolicy.Disk new_disk = 1;
Type | Description |
AllocationPolicy.DiskOrBuilder |
hasExistingDisk()
public boolean hasExistingDisk()
Name of an existing PD.
string existing_disk = 2;
Type | Description |
boolean | Whether the existingDisk field is set. |
hasNewDisk()
public boolean hasNewDisk()
.google.cloud.batch.v1.AllocationPolicy.Disk new_disk = 1;
Type | Description |
boolean | Whether the newDisk field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(AllocationPolicy.AttachedDisk other)
public AllocationPolicy.AttachedDisk.Builder mergeFrom(AllocationPolicy.AttachedDisk other)
Name | Description |
other | AllocationPolicy.AttachedDisk |
Type | Description |
AllocationPolicy.AttachedDisk.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AllocationPolicy.AttachedDisk.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AllocationPolicy.AttachedDisk.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AllocationPolicy.AttachedDisk.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
AllocationPolicy.AttachedDisk.Builder |
mergeNewDisk(AllocationPolicy.Disk value)
public AllocationPolicy.AttachedDisk.Builder mergeNewDisk(AllocationPolicy.Disk value)
.google.cloud.batch.v1.AllocationPolicy.Disk new_disk = 1;
Name | Description |
value | AllocationPolicy.Disk |
Type | Description |
AllocationPolicy.AttachedDisk.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AllocationPolicy.AttachedDisk.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AllocationPolicy.AttachedDisk.Builder |
setDeviceName(String value)
public AllocationPolicy.AttachedDisk.Builder setDeviceName(String value)
Device name that the guest operating system will see. If not specified, this is default to the disk name.
string device_name = 3;
Name | Description |
value | String The deviceName to set. |
Type | Description |
AllocationPolicy.AttachedDisk.Builder | This builder for chaining. |
setDeviceNameBytes(ByteString value)
public AllocationPolicy.AttachedDisk.Builder setDeviceNameBytes(ByteString value)
Device name that the guest operating system will see. If not specified, this is default to the disk name.
string device_name = 3;
Name | Description |
value | ByteString The bytes for deviceName to set. |
Type | Description |
AllocationPolicy.AttachedDisk.Builder | This builder for chaining. |
setExistingDisk(String value)
public AllocationPolicy.AttachedDisk.Builder setExistingDisk(String value)
Name of an existing PD.
string existing_disk = 2;
Name | Description |
value | String The existingDisk to set. |
Type | Description |
AllocationPolicy.AttachedDisk.Builder | This builder for chaining. |
setExistingDiskBytes(ByteString value)
public AllocationPolicy.AttachedDisk.Builder setExistingDiskBytes(ByteString value)
Name of an existing PD.
string existing_disk = 2;
Name | Description |
value | ByteString The bytes for existingDisk to set. |
Type | Description |
AllocationPolicy.AttachedDisk.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AllocationPolicy.AttachedDisk.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AllocationPolicy.AttachedDisk.Builder |
setNewDisk(AllocationPolicy.Disk value)
public AllocationPolicy.AttachedDisk.Builder setNewDisk(AllocationPolicy.Disk value)
.google.cloud.batch.v1.AllocationPolicy.Disk new_disk = 1;
Name | Description |
value | AllocationPolicy.Disk |
Type | Description |
AllocationPolicy.AttachedDisk.Builder |
setNewDisk(AllocationPolicy.Disk.Builder builderForValue)
public AllocationPolicy.AttachedDisk.Builder setNewDisk(AllocationPolicy.Disk.Builder builderForValue)
.google.cloud.batch.v1.AllocationPolicy.Disk new_disk = 1;
Name | Description |
builderForValue | AllocationPolicy.Disk.Builder |
Type | Description |
AllocationPolicy.AttachedDisk.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AllocationPolicy.AttachedDisk.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
AllocationPolicy.AttachedDisk.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AllocationPolicy.AttachedDisk.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AllocationPolicy.AttachedDisk.Builder |