public static final class ExistingDisk.Builder extends GeneratedMessage.Builder<ExistingDisk.Builder> implements ExistingDiskOrBuilderConfiguration for an existing disk to be attached to the VM.
Protobuf type google.cloud.lifesciences.v2beta.ExistingDisk
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ExistingDisk.BuilderImplements
ExistingDiskOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ExistingDisk build()| Returns | |
|---|---|
| Type | Description |
ExistingDisk |
|
buildPartial()
public ExistingDisk buildPartial()| Returns | |
|---|---|
| Type | Description |
ExistingDisk |
|
clear()
public ExistingDisk.Builder clear()| Returns | |
|---|---|
| Type | Description |
ExistingDisk.Builder |
|
clearDisk()
public ExistingDisk.Builder clearDisk() If disk contains slashes, the Cloud Life Sciences API assumes that it is
a complete URL for the disk. If disk does not contain slashes, the Cloud
Life Sciences API assumes that the disk is a zonal disk and a URL will be
generated of the form zones/<zone>/disks/<disk>, where <zone> is the
zone in which the instance is allocated. The disk must be ext4 formatted.
If all Mount references to this disk have the read_only flag set to
true, the disk will be attached in read-only mode and can be shared with
other instances. Otherwise, the disk will be available for writing but
cannot be shared.
string disk = 1;
| Returns | |
|---|---|
| Type | Description |
ExistingDisk.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ExistingDisk getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ExistingDisk |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisk()
public String getDisk() If disk contains slashes, the Cloud Life Sciences API assumes that it is
a complete URL for the disk. If disk does not contain slashes, the Cloud
Life Sciences API assumes that the disk is a zonal disk and a URL will be
generated of the form zones/<zone>/disks/<disk>, where <zone> is the
zone in which the instance is allocated. The disk must be ext4 formatted.
If all Mount references to this disk have the read_only flag set to
true, the disk will be attached in read-only mode and can be shared with
other instances. Otherwise, the disk will be available for writing but
cannot be shared.
string disk = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The disk. |
getDiskBytes()
public ByteString getDiskBytes() If disk contains slashes, the Cloud Life Sciences API assumes that it is
a complete URL for the disk. If disk does not contain slashes, the Cloud
Life Sciences API assumes that the disk is a zonal disk and a URL will be
generated of the form zones/<zone>/disks/<disk>, where <zone> is the
zone in which the instance is allocated. The disk must be ext4 formatted.
If all Mount references to this disk have the read_only flag set to
true, the disk will be attached in read-only mode and can be shared with
other instances. Otherwise, the disk will be available for writing but
cannot be shared.
string disk = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for disk. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ExistingDisk other)
public ExistingDisk.Builder mergeFrom(ExistingDisk other)| Parameter | |
|---|---|
| Name | Description |
other |
ExistingDisk |
| Returns | |
|---|---|
| Type | Description |
ExistingDisk.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExistingDisk.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExistingDisk.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ExistingDisk.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ExistingDisk.Builder |
|
setDisk(String value)
public ExistingDisk.Builder setDisk(String value) If disk contains slashes, the Cloud Life Sciences API assumes that it is
a complete URL for the disk. If disk does not contain slashes, the Cloud
Life Sciences API assumes that the disk is a zonal disk and a URL will be
generated of the form zones/<zone>/disks/<disk>, where <zone> is the
zone in which the instance is allocated. The disk must be ext4 formatted.
If all Mount references to this disk have the read_only flag set to
true, the disk will be attached in read-only mode and can be shared with
other instances. Otherwise, the disk will be available for writing but
cannot be shared.
string disk = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe disk to set. |
| Returns | |
|---|---|
| Type | Description |
ExistingDisk.Builder |
This builder for chaining. |
setDiskBytes(ByteString value)
public ExistingDisk.Builder setDiskBytes(ByteString value) If disk contains slashes, the Cloud Life Sciences API assumes that it is
a complete URL for the disk. If disk does not contain slashes, the Cloud
Life Sciences API assumes that the disk is a zonal disk and a URL will be
generated of the form zones/<zone>/disks/<disk>, where <zone> is the
zone in which the instance is allocated. The disk must be ext4 formatted.
If all Mount references to this disk have the read_only flag set to
true, the disk will be attached in read-only mode and can be shared with
other instances. Otherwise, the disk will be available for writing but
cannot be shared.
string disk = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for disk to set. |
| Returns | |
|---|---|
| Type | Description |
ExistingDisk.Builder |
This builder for chaining. |