Class MountedDataDisk.Builder (0.20.0)

public static final class MountedDataDisk.Builder extends GeneratedMessageV3.Builder<MountedDataDisk.Builder> implements MountedDataDiskOrBuilder

Describes mounted data disk.

Protobuf type google.dataflow.v1beta3.MountedDataDisk

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MountedDataDisk.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MountedDataDisk.Builder
Overrides

build()

public MountedDataDisk build()
Returns
TypeDescription
MountedDataDisk

buildPartial()

public MountedDataDisk buildPartial()
Returns
TypeDescription
MountedDataDisk

clear()

public MountedDataDisk.Builder clear()
Returns
TypeDescription
MountedDataDisk.Builder
Overrides

clearDataDisk()

public MountedDataDisk.Builder clearDataDisk()

The name of the data disk. This name is local to the Google Cloud Platform project and uniquely identifies the disk within that project, for example "myproject-1014-104817-4c2-harness-0-disk-1".

string data_disk = 1;

Returns
TypeDescription
MountedDataDisk.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public MountedDataDisk.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
MountedDataDisk.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public MountedDataDisk.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
MountedDataDisk.Builder
Overrides

clone()

public MountedDataDisk.Builder clone()
Returns
TypeDescription
MountedDataDisk.Builder
Overrides

getDataDisk()

public String getDataDisk()

The name of the data disk. This name is local to the Google Cloud Platform project and uniquely identifies the disk within that project, for example "myproject-1014-104817-4c2-harness-0-disk-1".

string data_disk = 1;

Returns
TypeDescription
String

The dataDisk.

getDataDiskBytes()

public ByteString getDataDiskBytes()

The name of the data disk. This name is local to the Google Cloud Platform project and uniquely identifies the disk within that project, for example "myproject-1014-104817-4c2-harness-0-disk-1".

string data_disk = 1;

Returns
TypeDescription
ByteString

The bytes for dataDisk.

getDefaultInstanceForType()

public MountedDataDisk getDefaultInstanceForType()
Returns
TypeDescription
MountedDataDisk

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(MountedDataDisk other)

public MountedDataDisk.Builder mergeFrom(MountedDataDisk other)
Parameter
NameDescription
otherMountedDataDisk
Returns
TypeDescription
MountedDataDisk.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MountedDataDisk.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MountedDataDisk.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public MountedDataDisk.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
MountedDataDisk.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MountedDataDisk.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MountedDataDisk.Builder
Overrides

setDataDisk(String value)

public MountedDataDisk.Builder setDataDisk(String value)

The name of the data disk. This name is local to the Google Cloud Platform project and uniquely identifies the disk within that project, for example "myproject-1014-104817-4c2-harness-0-disk-1".

string data_disk = 1;

Parameter
NameDescription
valueString

The dataDisk to set.

Returns
TypeDescription
MountedDataDisk.Builder

This builder for chaining.

setDataDiskBytes(ByteString value)

public MountedDataDisk.Builder setDataDiskBytes(ByteString value)

The name of the data disk. This name is local to the Google Cloud Platform project and uniquely identifies the disk within that project, for example "myproject-1014-104817-4c2-harness-0-disk-1".

string data_disk = 1;

Parameter
NameDescription
valueByteString

The bytes for dataDisk to set.

Returns
TypeDescription
MountedDataDisk.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public MountedDataDisk.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MountedDataDisk.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public MountedDataDisk.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
MountedDataDisk.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MountedDataDisk.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MountedDataDisk.Builder
Overrides