Class KeyRangeDataDiskAssignment (0.55.0)

public final class KeyRangeDataDiskAssignment extends GeneratedMessageV3 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 Fields

DATA_DISK_FIELD_NUMBER

public static final int DATA_DISK_FIELD_NUMBER
Field Value
Type Description
int

END_FIELD_NUMBER

public static final int END_FIELD_NUMBER
Field Value
Type Description
int

START_FIELD_NUMBER

public static final int START_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static KeyRangeDataDiskAssignment getDefaultInstance()
Returns
Type Description
KeyRangeDataDiskAssignment

getDescriptor()

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

newBuilder()

public static KeyRangeDataDiskAssignment.Builder newBuilder()
Returns
Type Description
KeyRangeDataDiskAssignment.Builder

newBuilder(KeyRangeDataDiskAssignment prototype)

public static KeyRangeDataDiskAssignment.Builder newBuilder(KeyRangeDataDiskAssignment prototype)
Parameter
Name Description
prototype KeyRangeDataDiskAssignment
Returns
Type Description
KeyRangeDataDiskAssignment.Builder

parseDelimitedFrom(InputStream input)

public static KeyRangeDataDiskAssignment parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
KeyRangeDataDiskAssignment
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static KeyRangeDataDiskAssignment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KeyRangeDataDiskAssignment
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static KeyRangeDataDiskAssignment parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
KeyRangeDataDiskAssignment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static KeyRangeDataDiskAssignment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KeyRangeDataDiskAssignment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static KeyRangeDataDiskAssignment parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
KeyRangeDataDiskAssignment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static KeyRangeDataDiskAssignment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KeyRangeDataDiskAssignment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static KeyRangeDataDiskAssignment parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
KeyRangeDataDiskAssignment
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static KeyRangeDataDiskAssignment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KeyRangeDataDiskAssignment
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static KeyRangeDataDiskAssignment parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
KeyRangeDataDiskAssignment
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static KeyRangeDataDiskAssignment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KeyRangeDataDiskAssignment
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static KeyRangeDataDiskAssignment parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
KeyRangeDataDiskAssignment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static KeyRangeDataDiskAssignment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KeyRangeDataDiskAssignment
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<KeyRangeDataDiskAssignment> parser()
Returns
Type Description
Parser<KeyRangeDataDiskAssignment>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

getParserForType()

public Parser<KeyRangeDataDiskAssignment> getParserForType()
Returns
Type Description
Parser<KeyRangeDataDiskAssignment>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public KeyRangeDataDiskAssignment.Builder newBuilderForType()
Returns
Type Description
KeyRangeDataDiskAssignment.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected KeyRangeDataDiskAssignment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
KeyRangeDataDiskAssignment.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public KeyRangeDataDiskAssignment.Builder toBuilder()
Returns
Type Description
KeyRangeDataDiskAssignment.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException