Class MountedDataDisk.Builder (0.56.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MountedDataDisk.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MountedDataDisk.Builder
Overrides

build()

public MountedDataDisk build()
Returns
Type Description
MountedDataDisk

buildPartial()

public MountedDataDisk buildPartial()
Returns
Type Description
MountedDataDisk

clear()

public MountedDataDisk.Builder clear()
Returns
Type Description
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
Type Description
MountedDataDisk.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public MountedDataDisk.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MountedDataDisk.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public MountedDataDisk.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MountedDataDisk.Builder
Overrides

clone()

public MountedDataDisk.Builder clone()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for dataDisk.

getDefaultInstanceForType()

public MountedDataDisk getDefaultInstanceForType()
Returns
Type Description
MountedDataDisk

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MountedDataDisk other)

public MountedDataDisk.Builder mergeFrom(MountedDataDisk other)
Parameter
Name Description
other MountedDataDisk
Returns
Type Description
MountedDataDisk.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MountedDataDisk.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MountedDataDisk.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public MountedDataDisk.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MountedDataDisk.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MountedDataDisk.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value String

The dataDisk to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for dataDisk to set.

Returns
Type Description
MountedDataDisk.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public MountedDataDisk.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MountedDataDisk.Builder
Overrides

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

public MountedDataDisk.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MountedDataDisk.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MountedDataDisk.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MountedDataDisk.Builder
Overrides