Class ComputationTopology (0.24.0)

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

getInputsOrBuilderList()

public List<? extends StreamLocationOrBuilder> getInputsOrBuilderList()

The inputs to the computation.

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

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

getKeyRanges(int index)

public KeyRangeLocation getKeyRanges(int index)

The key ranges processed by the computation.

repeated .google.dataflow.v1beta3.KeyRangeLocation key_ranges = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
KeyRangeLocation

getKeyRangesCount()

public int getKeyRangesCount()

The key ranges processed by the computation.

repeated .google.dataflow.v1beta3.KeyRangeLocation key_ranges = 2;

Returns
TypeDescription
int

getKeyRangesList()

public List<KeyRangeLocation> getKeyRangesList()

The key ranges processed by the computation.

repeated .google.dataflow.v1beta3.KeyRangeLocation key_ranges = 2;

Returns
TypeDescription
List<KeyRangeLocation>

getKeyRangesOrBuilder(int index)

public KeyRangeLocationOrBuilder getKeyRangesOrBuilder(int index)

The key ranges processed by the computation.

repeated .google.dataflow.v1beta3.KeyRangeLocation key_ranges = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
KeyRangeLocationOrBuilder

getKeyRangesOrBuilderList()

public List<? extends KeyRangeLocationOrBuilder> getKeyRangesOrBuilderList()

The key ranges processed by the computation.

repeated .google.dataflow.v1beta3.KeyRangeLocation key_ranges = 2;

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

getOutputs(int index)

public StreamLocation getOutputs(int index)

The outputs from the computation.

repeated .google.dataflow.v1beta3.StreamLocation outputs = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
StreamLocation

getOutputsCount()

public int getOutputsCount()

The outputs from the computation.

repeated .google.dataflow.v1beta3.StreamLocation outputs = 4;

Returns
TypeDescription
int

getOutputsList()

public List<StreamLocation> getOutputsList()

The outputs from the computation.

repeated .google.dataflow.v1beta3.StreamLocation outputs = 4;

Returns
TypeDescription
List<StreamLocation>

getOutputsOrBuilder(int index)

public StreamLocationOrBuilder getOutputsOrBuilder(int index)

The outputs from the computation.

repeated .google.dataflow.v1beta3.StreamLocation outputs = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
StreamLocationOrBuilder

getOutputsOrBuilderList()

public List<? extends StreamLocationOrBuilder> getOutputsOrBuilderList()

The outputs from the computation.

repeated .google.dataflow.v1beta3.StreamLocation outputs = 4;

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStateFamilies(int index)

public StateFamilyConfig getStateFamilies(int index)

The state family values.

repeated .google.dataflow.v1beta3.StateFamilyConfig state_families = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
StateFamilyConfig

getStateFamiliesCount()

public int getStateFamiliesCount()

The state family values.

repeated .google.dataflow.v1beta3.StateFamilyConfig state_families = 7;

Returns
TypeDescription
int

getStateFamiliesList()

public List<StateFamilyConfig> getStateFamiliesList()

The state family values.

repeated .google.dataflow.v1beta3.StateFamilyConfig state_families = 7;

Returns
TypeDescription
List<StateFamilyConfig>

getStateFamiliesOrBuilder(int index)

public StateFamilyConfigOrBuilder getStateFamiliesOrBuilder(int index)

The state family values.

repeated .google.dataflow.v1beta3.StateFamilyConfig state_families = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
StateFamilyConfigOrBuilder

getStateFamiliesOrBuilderList()

public List<? extends StateFamilyConfigOrBuilder> getStateFamiliesOrBuilderList()

The state family values.

repeated .google.dataflow.v1beta3.StateFamilyConfig state_families = 7;

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

getSystemStageName()

public String getSystemStageName()

The system stage name.

string system_stage_name = 1;

Returns
TypeDescription
String

The systemStageName.

getSystemStageNameBytes()

public ByteString getSystemStageNameBytes()

The system stage name.

string system_stage_name = 1;

Returns
TypeDescription
ByteString

The bytes for systemStageName.

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 ComputationTopology.Builder newBuilderForType()
Returns
TypeDescription
ComputationTopology.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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