Class ComputationTopology (0.10.0)

Stay organized with collections Save and categorize content based on your preferences.
public final class ComputationTopology extends GeneratedMessageV3 implements ComputationTopologyOrBuilder

All configuration data for a particular Computation.

Protobuf type google.dataflow.v1beta3.ComputationTopology

Static Fields

COMPUTATION_ID_FIELD_NUMBER

public static final int COMPUTATION_ID_FIELD_NUMBER
Field Value
TypeDescription
int

INPUTS_FIELD_NUMBER

public static final int INPUTS_FIELD_NUMBER
Field Value
TypeDescription
int

KEY_RANGES_FIELD_NUMBER

public static final int KEY_RANGES_FIELD_NUMBER
Field Value
TypeDescription
int

OUTPUTS_FIELD_NUMBER

public static final int OUTPUTS_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FAMILIES_FIELD_NUMBER

public static final int STATE_FAMILIES_FIELD_NUMBER
Field Value
TypeDescription
int

SYSTEM_STAGE_NAME_FIELD_NUMBER

public static final int SYSTEM_STAGE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ComputationTopology getDefaultInstance()
Returns
TypeDescription
ComputationTopology

getDescriptor()

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

newBuilder()

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

newBuilder(ComputationTopology prototype)

public static ComputationTopology.Builder newBuilder(ComputationTopology prototype)
Parameter
NameDescription
prototypeComputationTopology
Returns
TypeDescription
ComputationTopology.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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 = 5;

Returns
TypeDescription
String

The computationId.

getComputationIdBytes()

public ByteString getComputationIdBytes()

The ID of the computation.

string computation_id = 5;

Returns
TypeDescription
ByteString

The bytes for computationId.

getDefaultInstanceForType()

public ComputationTopology getDefaultInstanceForType()
Returns
TypeDescription
ComputationTopology

getInputs(int index)

public StreamLocation getInputs(int index)

The inputs to the computation.

repeated .google.dataflow.v1beta3.StreamLocation inputs = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
StreamLocation

getInputsCount()

public int getInputsCount()

The inputs to the computation.

repeated .google.dataflow.v1beta3.StreamLocation inputs = 3;

Returns
TypeDescription
int

getInputsList()

public List<StreamLocation> getInputsList()

The inputs to the computation.

repeated .google.dataflow.v1beta3.StreamLocation inputs = 3;

Returns
TypeDescription
List<StreamLocation>

getInputsOrBuilder(int index)

public StreamLocationOrBuilder getInputsOrBuilder(int index)

The inputs to the computation.

repeated .google.dataflow.v1beta3.StreamLocation inputs = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
StreamLocationOrBuilder