- 0.56.0 (latest)
- 0.55.0
- 0.54.0
- 0.53.0
- 0.51.0
- 0.50.0
- 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.39.0
- 0.38.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.26.0
- 0.25.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.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.3.8
public static final class ExistingDisk.Builder extends GeneratedMessageV3.Builder<ExistingDisk.Builder> implements ExistingDiskOrBuilder
Configuration for an existing disk to be attached to the VM.
Protobuf type google.cloud.lifesciences.v2beta.ExistingDisk
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ExistingDisk.BuilderImplements
ExistingDiskOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExistingDisk.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ExistingDisk.Builder |
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. |
clearField(Descriptors.FieldDescriptor field)
public ExistingDisk.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ExistingDisk.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ExistingDisk.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ExistingDisk.Builder |
clone()
public ExistingDisk.Builder clone()
Returns | |
---|---|
Type | Description |
ExistingDisk.Builder |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExistingDisk.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
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 | String The 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 | ByteString The bytes for disk to set. |
Returns | |
---|---|
Type | Description |
ExistingDisk.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ExistingDisk.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ExistingDisk.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExistingDisk.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ExistingDisk.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ExistingDisk.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExistingDisk.Builder |