Class StreamingComputationRanges (0.32.0)

public final class StreamingComputationRanges extends GeneratedMessageV3 implements StreamingComputationRangesOrBuilder

Describes full or partial data disk assignment information of the computation ranges.

Protobuf type google.dataflow.v1beta3.StreamingComputationRanges

Static Fields

COMPUTATION_ID_FIELD_NUMBER

public static final int COMPUTATION_ID_FIELD_NUMBER
Field Value
TypeDescription
int

RANGE_ASSIGNMENTS_FIELD_NUMBER

public static final int RANGE_ASSIGNMENTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StreamingComputationRanges getDefaultInstance()
Returns
TypeDescription
StreamingComputationRanges

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static StreamingComputationRanges.Builder newBuilder()
Returns
TypeDescription
StreamingComputationRanges.Builder

newBuilder(StreamingComputationRanges prototype)

public static StreamingComputationRanges.Builder newBuilder(StreamingComputationRanges prototype)
Parameter
NameDescription
prototypeStreamingComputationRanges
Returns
TypeDescription
StreamingComputationRanges.Builder

parseDelimitedFrom(InputStream input)

public static StreamingComputationRanges parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StreamingComputationRanges
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingComputationRanges parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingComputationRanges
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static StreamingComputationRanges parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
StreamingComputationRanges
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StreamingComputationRanges parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingComputationRanges
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StreamingComputationRanges parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StreamingComputationRanges
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StreamingComputationRanges parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingComputationRanges
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StreamingComputationRanges parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StreamingComputationRanges
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingComputationRanges parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingComputationRanges
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static StreamingComputationRanges parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StreamingComputationRanges
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingComputationRanges parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingComputationRanges
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static StreamingComputationRanges parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StreamingComputationRanges
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StreamingComputationRanges parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingComputationRanges
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<StreamingComputationRanges> parser()
Returns
TypeDescription
Parser<StreamingComputationRanges>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getComputationId()

public String getComputationId()

The ID of the computation.

string computation_id = 1;

Returns
TypeDescription
String

The computationId.

getComputationIdBytes()

public ByteString getComputationIdBytes()

The ID of the computation.

string computation_id = 1;

Returns
TypeDescription
ByteString

The bytes for computationId.

getDefaultInstanceForType()

public StreamingComputationRanges getDefaultInstanceForType()
Returns
TypeDescription
StreamingComputationRanges

getParserForType()

public Parser<StreamingComputationRanges> getParserForType()
Returns
TypeDescription
Parser<StreamingComputationRanges>
Overrides

getRangeAssignments(int index)

public KeyRangeDataDiskAssignment getRangeAssignments(int index)

Data disk assignments for ranges from this computation.

repeated .google.dataflow.v1beta3.KeyRangeDataDiskAssignment range_assignments = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
KeyRangeDataDiskAssignment

getRangeAssignmentsCount()

public int getRangeAssignmentsCount()

Data disk assignments for ranges from this computation.

repeated .google.dataflow.v1beta3.KeyRangeDataDiskAssignment range_assignments = 2;

Returns
TypeDescription
int

getRangeAssignmentsList()

public List<KeyRangeDataDiskAssignment> getRangeAssignmentsList()

Data disk assignments for ranges from this computation.

repeated .google.dataflow.v1beta3.KeyRangeDataDiskAssignment range_assignments = 2;

Returns
TypeDescription
List<KeyRangeDataDiskAssignment>

getRangeAssignmentsOrBuilder(int index)

public KeyRangeDataDiskAssignmentOrBuilder getRangeAssignmentsOrBuilder(int index)

Data disk assignments for ranges from this computation.

repeated .google.dataflow.v1beta3.KeyRangeDataDiskAssignment range_assignments = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
KeyRangeDataDiskAssignmentOrBuilder

getRangeAssignmentsOrBuilderList()

public List<? extends KeyRangeDataDiskAssignmentOrBuilder> getRangeAssignmentsOrBuilderList()

Data disk assignments for ranges from this computation.

repeated .google.dataflow.v1beta3.KeyRangeDataDiskAssignment range_assignments = 2;

Returns
TypeDescription
List<? extends com.google.dataflow.v1beta3.KeyRangeDataDiskAssignmentOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public StreamingComputationRanges.Builder newBuilderForType()
Returns
TypeDescription
StreamingComputationRanges.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StreamingComputationRanges.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StreamingComputationRanges.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public StreamingComputationRanges.Builder toBuilder()
Returns
TypeDescription
StreamingComputationRanges.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException