Class ComputationTopology (0.47.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
Type Description
int

INPUTS_FIELD_NUMBER

public static final int INPUTS_FIELD_NUMBER
Field Value
Type Description
int

KEY_RANGES_FIELD_NUMBER

public static final int KEY_RANGES_FIELD_NUMBER
Field Value
Type Description
int

OUTPUTS_FIELD_NUMBER

public static final int OUTPUTS_FIELD_NUMBER
Field Value
Type Description
int

STATE_FAMILIES_FIELD_NUMBER

public static final int STATE_FAMILIES_FIELD_NUMBER
Field Value
Type Description
int

SYSTEM_STAGE_NAME_FIELD_NUMBER

public static final int SYSTEM_STAGE_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ComputationTopology getDefaultInstance()
Returns
Type Description
ComputationTopology

getDescriptor()

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

newBuilder()

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

newBuilder(ComputationTopology prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getComputationId()

public String getComputationId()

The ID of the computation.

string computation_id = 5;

Returns
Type Description
String

The computationId.

getComputationIdBytes()

public ByteString getComputationIdBytes()

The ID of the computation.

string computation_id = 5;

Returns
Type Description
ByteString

The bytes for computationId.

getDefaultInstanceForType()

public ComputationTopology getDefaultInstanceForType()
Returns
Type Description
ComputationTopology

getInputs(int index)

public StreamLocation getInputs(int index)

The inputs to the computation.

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

Parameter
Name Description
index int
Returns
Type Description
StreamLocation

getInputsCount()

public int getInputsCount()

The inputs to the computation.

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

Returns
Type Description
int

getInputsList()

public List<StreamLocation> getInputsList()

The inputs to the computation.

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

Returns
Type Description
List<StreamLocation>

getInputsOrBuilder(int index)

public StreamLocationOrBuilder getInputsOrBuilder(int index)

The inputs to the computation.

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

Parameter
Name Description
index int
Returns
Type Description
StreamLocationOrBuilder

getInputsOrBuilderList()

public List<? extends StreamLocationOrBuilder> getInputsOrBuilderList()

The inputs to the computation.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
KeyRangeLocation

getKeyRangesCount()

public int getKeyRangesCount()

The key ranges processed by the computation.

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

Returns
Type Description
int

getKeyRangesList()

public List<KeyRangeLocation> getKeyRangesList()

The key ranges processed by the computation.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
KeyRangeLocationOrBuilder

getKeyRangesOrBuilderList()

public List<? extends KeyRangeLocationOrBuilder> getKeyRangesOrBuilderList()

The key ranges processed by the computation.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
StreamLocation

getOutputsCount()

public int getOutputsCount()

The outputs from the computation.

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

Returns
Type Description
int

getOutputsList()

public List<StreamLocation> getOutputsList()

The outputs from the computation.

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

Returns
Type Description
List<StreamLocation>

getOutputsOrBuilder(int index)

public StreamLocationOrBuilder getOutputsOrBuilder(int index)

The outputs from the computation.

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

Parameter
Name Description
index int
Returns
Type Description
StreamLocationOrBuilder

getOutputsOrBuilderList()

public List<? extends StreamLocationOrBuilder> getOutputsOrBuilderList()

The outputs from the computation.

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

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStateFamilies(int index)

public StateFamilyConfig getStateFamilies(int index)

The state family values.

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

Parameter
Name Description
index int
Returns
Type Description
StateFamilyConfig

getStateFamiliesCount()

public int getStateFamiliesCount()

The state family values.

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

Returns
Type Description
int

getStateFamiliesList()

public List<StateFamilyConfig> getStateFamiliesList()

The state family values.

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

Returns
Type Description
List<StateFamilyConfig>

getStateFamiliesOrBuilder(int index)

public StateFamilyConfigOrBuilder getStateFamiliesOrBuilder(int index)

The state family values.

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

Parameter
Name Description
index int
Returns
Type Description
StateFamilyConfigOrBuilder

getStateFamiliesOrBuilderList()

public List<? extends StateFamilyConfigOrBuilder> getStateFamiliesOrBuilderList()

The state family values.

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

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

getSystemStageName()

public String getSystemStageName()

The system stage name.

string system_stage_name = 1;

Returns
Type Description
String

The systemStageName.

getSystemStageNameBytes()

public ByteString getSystemStageNameBytes()

The system stage name.

string system_stage_name = 1;

Returns
Type Description
ByteString

The bytes for systemStageName.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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