Class KeyRangeDataDiskAssignment.Builder (0.57.0)

public static final class KeyRangeDataDiskAssignment.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStart()

public KeyRangeDataDiskAssignment.Builder clearStart()

The start (inclusive) of the key range.

string start = 1;

Returns
Type Description
KeyRangeDataDiskAssignment.Builder

This builder for chaining.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final KeyRangeDataDiskAssignment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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.

setUnknownFields(UnknownFieldSet unknownFields)

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