public static final class TopologyConfig.Builder extends GeneratedMessageV3.Builder<TopologyConfig.Builder> implements TopologyConfigOrBuilder
Global topology of the streaming Dataflow job, including all
computations and their sharded locations.
Protobuf type google.dataflow.v1beta3.TopologyConfig
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllComputations(Iterable<? extends ComputationTopology> values)
public TopologyConfig.Builder addAllComputations(Iterable<? extends ComputationTopology> values)
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.dataflow.v1beta3.ComputationTopology>
|
Returns
addAllDataDiskAssignments(Iterable<? extends DataDiskAssignment> values)
public TopologyConfig.Builder addAllDataDiskAssignments(Iterable<? extends DataDiskAssignment> values)
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.dataflow.v1beta3.DataDiskAssignment>
|
Returns
addComputations(ComputationTopology value)
public TopologyConfig.Builder addComputations(ComputationTopology value)
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;
Parameter
Returns
addComputations(ComputationTopology.Builder builderForValue)
public TopologyConfig.Builder addComputations(ComputationTopology.Builder builderForValue)
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;
Parameter
Returns
addComputations(int index, ComputationTopology value)
public TopologyConfig.Builder addComputations(int index, ComputationTopology value)
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;
Parameters
Returns
addComputations(int index, ComputationTopology.Builder builderForValue)
public TopologyConfig.Builder addComputations(int index, ComputationTopology.Builder builderForValue)
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;
Parameters
Returns
addComputationsBuilder()
public ComputationTopology.Builder addComputationsBuilder()
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;
Returns
addComputationsBuilder(int index)
public ComputationTopology.Builder addComputationsBuilder(int index)
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;
Parameter
Returns
addDataDiskAssignments(DataDiskAssignment value)
public TopologyConfig.Builder addDataDiskAssignments(DataDiskAssignment value)
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2;
Parameter
Returns
addDataDiskAssignments(DataDiskAssignment.Builder builderForValue)
public TopologyConfig.Builder addDataDiskAssignments(DataDiskAssignment.Builder builderForValue)
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2;
Parameter
Returns
addDataDiskAssignments(int index, DataDiskAssignment value)
public TopologyConfig.Builder addDataDiskAssignments(int index, DataDiskAssignment value)
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2;
Parameters
Returns
addDataDiskAssignments(int index, DataDiskAssignment.Builder builderForValue)
public TopologyConfig.Builder addDataDiskAssignments(int index, DataDiskAssignment.Builder builderForValue)
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2;
Parameters
Returns
addDataDiskAssignmentsBuilder()
public DataDiskAssignment.Builder addDataDiskAssignmentsBuilder()
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2;
Returns
addDataDiskAssignmentsBuilder(int index)
public DataDiskAssignment.Builder addDataDiskAssignmentsBuilder(int index)
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TopologyConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TopologyConfig build()
Returns
buildPartial()
public TopologyConfig buildPartial()
Returns
clear()
public TopologyConfig.Builder clear()
Returns
Overrides
clearComputations()
public TopologyConfig.Builder clearComputations()
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;
Returns
clearDataDiskAssignments()
public TopologyConfig.Builder clearDataDiskAssignments()
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public TopologyConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearForwardingKeyBits()
public TopologyConfig.Builder clearForwardingKeyBits()
The size (in bits) of keys that will be assigned to source messages.
int32 forwarding_key_bits = 4;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public TopologyConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPersistentStateVersion()
public TopologyConfig.Builder clearPersistentStateVersion()
Version number for persistent state.
int32 persistent_state_version = 5;
Returns
clearUserStageToComputationNameMap()
public TopologyConfig.Builder clearUserStageToComputationNameMap()
Returns
clone()
public TopologyConfig.Builder clone()
Returns
Overrides
containsUserStageToComputationNameMap(String key)
public boolean containsUserStageToComputationNameMap(String key)
Maps user stage names to stable computation names.
map<string, string> user_stage_to_computation_name_map = 3;
Parameter
Returns
getComputations(int index)
public ComputationTopology getComputations(int index)
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;
Parameter
Returns
getComputationsBuilder(int index)
public ComputationTopology.Builder getComputationsBuilder(int index)
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;
Parameter
Returns
getComputationsBuilderList()
public List<ComputationTopology.Builder> getComputationsBuilderList()
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;
Returns
getComputationsCount()
public int getComputationsCount()
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;
Returns
getComputationsList()
public List<ComputationTopology> getComputationsList()
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;
Returns
getComputationsOrBuilder(int index)
public ComputationTopologyOrBuilder getComputationsOrBuilder(int index)
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;
Parameter
Returns
getComputationsOrBuilderList()
public List<? extends ComputationTopologyOrBuilder> getComputationsOrBuilderList()
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;
Returns
Type | Description |
List<? extends com.google.dataflow.v1beta3.ComputationTopologyOrBuilder> | |
getDataDiskAssignments(int index)
public DataDiskAssignment getDataDiskAssignments(int index)
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2;
Parameter
Returns
getDataDiskAssignmentsBuilder(int index)
public DataDiskAssignment.Builder getDataDiskAssignmentsBuilder(int index)
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2;
Parameter
Returns
getDataDiskAssignmentsBuilderList()
public List<DataDiskAssignment.Builder> getDataDiskAssignmentsBuilderList()
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2;
Returns
getDataDiskAssignmentsCount()
public int getDataDiskAssignmentsCount()
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2;
Returns
getDataDiskAssignmentsList()
public List<DataDiskAssignment> getDataDiskAssignmentsList()
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2;
Returns
getDataDiskAssignmentsOrBuilder(int index)
public DataDiskAssignmentOrBuilder getDataDiskAssignmentsOrBuilder(int index)
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2;
Parameter
Returns
getDataDiskAssignmentsOrBuilderList()
public List<? extends DataDiskAssignmentOrBuilder> getDataDiskAssignmentsOrBuilderList()
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2;
Returns
Type | Description |
List<? extends com.google.dataflow.v1beta3.DataDiskAssignmentOrBuilder> | |
getDefaultInstanceForType()
public TopologyConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getForwardingKeyBits()
public int getForwardingKeyBits()
The size (in bits) of keys that will be assigned to source messages.
int32 forwarding_key_bits = 4;
Returns
Type | Description |
int | The forwardingKeyBits.
|
getMutableUserStageToComputationNameMap()
public Map<String,String> getMutableUserStageToComputationNameMap()
Use alternate mutation accessors instead.
Returns
getPersistentStateVersion()
public int getPersistentStateVersion()
Version number for persistent state.
int32 persistent_state_version = 5;
Returns
Type | Description |
int | The persistentStateVersion.
|
getUserStageToComputationNameMap()
public Map<String,String> getUserStageToComputationNameMap()
Returns
getUserStageToComputationNameMapCount()
public int getUserStageToComputationNameMapCount()
Maps user stage names to stable computation names.
map<string, string> user_stage_to_computation_name_map = 3;
Returns
getUserStageToComputationNameMapMap()
public Map<String,String> getUserStageToComputationNameMapMap()
Maps user stage names to stable computation names.
map<string, string> user_stage_to_computation_name_map = 3;
Returns
getUserStageToComputationNameMapOrDefault(String key, String defaultValue)
public String getUserStageToComputationNameMapOrDefault(String key, String defaultValue)
Maps user stage names to stable computation names.
map<string, string> user_stage_to_computation_name_map = 3;
Parameters
Returns
getUserStageToComputationNameMapOrThrow(String key)
public String getUserStageToComputationNameMapOrThrow(String key)
Maps user stage names to stable computation names.
map<string, string> user_stage_to_computation_name_map = 3;
Parameter
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(TopologyConfig other)
public TopologyConfig.Builder mergeFrom(TopologyConfig other)
Parameter
Returns
public TopologyConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TopologyConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TopologyConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
putAllUserStageToComputationNameMap(Map<String,String> values)
public TopologyConfig.Builder putAllUserStageToComputationNameMap(Map<String,String> values)
Maps user stage names to stable computation names.
map<string, string> user_stage_to_computation_name_map = 3;
Parameter
Returns
putUserStageToComputationNameMap(String key, String value)
public TopologyConfig.Builder putUserStageToComputationNameMap(String key, String value)
Maps user stage names to stable computation names.
map<string, string> user_stage_to_computation_name_map = 3;
Parameters
Returns
removeComputations(int index)
public TopologyConfig.Builder removeComputations(int index)
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;
Parameter
Returns
removeDataDiskAssignments(int index)
public TopologyConfig.Builder removeDataDiskAssignments(int index)
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2;
Parameter
Returns
removeUserStageToComputationNameMap(String key)
public TopologyConfig.Builder removeUserStageToComputationNameMap(String key)
Maps user stage names to stable computation names.
map<string, string> user_stage_to_computation_name_map = 3;
Parameter
Returns
setComputations(int index, ComputationTopology value)
public TopologyConfig.Builder setComputations(int index, ComputationTopology value)
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;
Parameters
Returns
setComputations(int index, ComputationTopology.Builder builderForValue)
public TopologyConfig.Builder setComputations(int index, ComputationTopology.Builder builderForValue)
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;
Parameters
Returns
setDataDiskAssignments(int index, DataDiskAssignment value)
public TopologyConfig.Builder setDataDiskAssignments(int index, DataDiskAssignment value)
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2;
Parameters
Returns
setDataDiskAssignments(int index, DataDiskAssignment.Builder builderForValue)
public TopologyConfig.Builder setDataDiskAssignments(int index, DataDiskAssignment.Builder builderForValue)
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public TopologyConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setForwardingKeyBits(int value)
public TopologyConfig.Builder setForwardingKeyBits(int value)
The size (in bits) of keys that will be assigned to source messages.
int32 forwarding_key_bits = 4;
Parameter
Name | Description |
value | int
The forwardingKeyBits to set.
|
Returns
setPersistentStateVersion(int value)
public TopologyConfig.Builder setPersistentStateVersion(int value)
Version number for persistent state.
int32 persistent_state_version = 5;
Parameter
Name | Description |
value | int
The persistentStateVersion to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TopologyConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TopologyConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides