Class KeyRangeDataDiskAssignment.Builder (0.87.0)

public static final class KeyRangeDataDiskAssignment.Builder extends GeneratedMessage.Builder<KeyRangeDataDiskAssignment.Builder> implements KeyRangeDataDiskAssignmentOrBuilder

Data disk assignment information for a specific key-range of a sharded computation. Currently we only support UTF-8 character splits to simplify encoding into JSON.

Protobuf type google.dataflow.v1beta3.KeyRangeDataDiskAssignment

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public KeyRangeDataDiskAssignment build()
Returns
Type Description
KeyRangeDataDiskAssignment

buildPartial()

public KeyRangeDataDiskAssignment buildPartial()
Returns
Type Description
KeyRangeDataDiskAssignment

clear()

public KeyRangeDataDiskAssignment.Builder clear()
Returns
Type Description
KeyRangeDataDiskAssignment.Builder
Overrides

clearDataDisk()

public KeyRangeDataDiskAssignment.Builder clearDataDisk()

The name of the data disk where data for this range is stored. 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 = 3;

Returns
Type Description
KeyRangeDataDiskAssignment.Builder

This builder for chaining.

clearEnd()

public KeyRangeDataDiskAssignment.Builder clearEnd()

The end (exclusive) of the key range.

string end = 2;

Returns
Type Description
KeyRangeDataDiskAssignment.Builder

This builder for chaining.

clearStart()

public KeyRangeDataDiskAssignment.Builder clearStart()

The start (inclusive) of the key range.

string start = 1;

Returns
Type Description
KeyRangeDataDiskAssignment.Builder

This builder for chaining.

getDataDisk()

public String getDataDisk()

The name of the data disk where data for this range is stored. 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 = 3;

Returns
Type Description
String

The dataDisk.

getDataDiskBytes()

public ByteString getDataDiskBytes()

The name of the data disk where data for this range is stored. 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 = 3;

Returns
Type Description
ByteString

The bytes for dataDisk.

getDefaultInstanceForType()

public KeyRangeDataDiskAssignment getDefaultInstanceForType()
Returns
Type Description
KeyRangeDataDiskAssignment

getDescriptorForType()

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

getEnd()

public String getEnd()

The end (exclusive) of the key range.

string end = 2;

Returns
Type Description
String

The end.

getEndBytes()

public ByteString getEndBytes()

The end (exclusive) of the key range.

string end = 2;

Returns
Type Description
ByteString

The bytes for end.

getStart()

public String getStart()

The start (inclusive) of the key range.

string start = 1;

Returns
Type Description
String

The start.

getStartBytes()

public ByteString getStartBytes()

The start (inclusive) of the key range.

string start = 1;

Returns
Type Description
ByteString

The bytes for start.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(KeyRangeDataDiskAssignment other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDataDisk(String value)

public KeyRangeDataDiskAssignment.Builder setDataDisk(String value)

The name of the data disk where data for this range is stored. 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 = 3;

Parameter
Name Description
value String

The dataDisk to set.

Returns
Type Description
KeyRangeDataDiskAssignment.Builder

This builder for chaining.

setDataDiskBytes(ByteString value)

public KeyRangeDataDiskAssignment.Builder setDataDiskBytes(ByteString value)

The name of the data disk where data for this range is stored. 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 = 3;

Parameter
Name Description
value ByteString

The bytes for dataDisk to set.

Returns
Type Description
KeyRangeDataDiskAssignment.Builder

This builder for chaining.

setEnd(String value)

public KeyRangeDataDiskAssignment.Builder setEnd(String value)

The end (exclusive) of the key range.

string end = 2;

Parameter
Name Description
value String

The end to set.

Returns
Type Description
KeyRangeDataDiskAssignment.Builder

This builder for chaining.

setEndBytes(ByteString value)

public KeyRangeDataDiskAssignment.Builder setEndBytes(ByteString value)

The end (exclusive) of the key range.

string end = 2;

Parameter
Name Description
value ByteString

The bytes for end to set.

Returns
Type Description
KeyRangeDataDiskAssignment.Builder

This builder for chaining.

setStart(String value)

public KeyRangeDataDiskAssignment.Builder setStart(String value)

The start (inclusive) of the key range.

string start = 1;

Parameter
Name Description
value String

The start to set.

Returns
Type Description
KeyRangeDataDiskAssignment.Builder

This builder for chaining.

setStartBytes(ByteString value)

public KeyRangeDataDiskAssignment.Builder setStartBytes(ByteString value)

The start (inclusive) of the key range.

string start = 1;

Parameter
Name Description
value ByteString

The bytes for start to set.

Returns
Type Description
KeyRangeDataDiskAssignment.Builder

This builder for chaining.