Class KeyRangeDataDiskAssignment.Builder (0.33.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public KeyRangeDataDiskAssignment build()
Returns
TypeDescription
KeyRangeDataDiskAssignment

buildPartial()

public KeyRangeDataDiskAssignment buildPartial()
Returns
TypeDescription
KeyRangeDataDiskAssignment

clear()

public KeyRangeDataDiskAssignment.Builder clear()
Returns
TypeDescription
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
TypeDescription
KeyRangeDataDiskAssignment.Builder

This builder for chaining.

clearEnd()

public KeyRangeDataDiskAssignment.Builder clearEnd()

The end (exclusive) of the key range.

string end = 2;

Returns
TypeDescription
KeyRangeDataDiskAssignment.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStart()

public KeyRangeDataDiskAssignment.Builder clearStart()

The start (inclusive) of the key range.

string start = 1;

Returns
TypeDescription
KeyRangeDataDiskAssignment.Builder

This builder for chaining.

clone()

public KeyRangeDataDiskAssignment.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for dataDisk.

getDefaultInstanceForType()

public KeyRangeDataDiskAssignment getDefaultInstanceForType()
Returns
TypeDescription
KeyRangeDataDiskAssignment

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnd()

public String getEnd()

The end (exclusive) of the key range.

string end = 2;

Returns
TypeDescription
String

The end.

getEndBytes()

public ByteString getEndBytes()

The end (exclusive) of the key range.

string end = 2;

Returns
TypeDescription
ByteString

The bytes for end.

getStart()

public String getStart()

The start (inclusive) of the key range.

string start = 1;

Returns
TypeDescription
String

The start.

getStartBytes()

public ByteString getStartBytes()

The start (inclusive) of the key range.

string start = 1;

Returns
TypeDescription
ByteString

The bytes for start.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(KeyRangeDataDiskAssignment other)

public KeyRangeDataDiskAssignment.Builder mergeFrom(KeyRangeDataDiskAssignment other)
Parameter
NameDescription
otherKeyRangeDataDiskAssignment
Returns
TypeDescription
KeyRangeDataDiskAssignment.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final KeyRangeDataDiskAssignment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The dataDisk to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for dataDisk to set.

Returns
TypeDescription
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
NameDescription
valueString

The end to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for end to set.

Returns
TypeDescription
KeyRangeDataDiskAssignment.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStart(String value)

public KeyRangeDataDiskAssignment.Builder setStart(String value)

The start (inclusive) of the key range.

string start = 1;

Parameter
NameDescription
valueString

The start to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for start to set.

Returns
TypeDescription
KeyRangeDataDiskAssignment.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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