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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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>
|
addComputations(ComputationTopology value)
public TopologyConfig.Builder addComputations(ComputationTopology value)
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;
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;
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;
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;
addComputationsBuilder()
public ComputationTopology.Builder addComputationsBuilder()
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;
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 |
Name |
Description |
index |
int
|
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;
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;
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;
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;
addDataDiskAssignmentsBuilder()
public DataDiskAssignment.Builder addDataDiskAssignmentsBuilder()
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2;
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 |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TopologyConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TopologyConfig build()
buildPartial()
public TopologyConfig buildPartial()
clear()
public TopologyConfig.Builder clear()
Overrides
clearComputations()
public TopologyConfig.Builder clearComputations()
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;
clearDataDiskAssignments()
public TopologyConfig.Builder clearDataDiskAssignments()
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2;
clearField(Descriptors.FieldDescriptor field)
public TopologyConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearForwardingKeyBits()
public TopologyConfig.Builder clearForwardingKeyBits()
The size (in bits) of keys that will be assigned to source messages.
int32 forwarding_key_bits = 4;
clearOneof(Descriptors.OneofDescriptor oneof)
public TopologyConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPersistentStateVersion()
public TopologyConfig.Builder clearPersistentStateVersion()
Version number for persistent state.
int32 persistent_state_version = 5;
clearUserStageToComputationNameMap()
public TopologyConfig.Builder clearUserStageToComputationNameMap()
clone()
public TopologyConfig.Builder clone()
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 |
Name |
Description |
key |
String
|
getComputations(int index)
public ComputationTopology getComputations(int index)
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;
Parameter |
Name |
Description |
index |
int
|
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 |
Name |
Description |
index |
int
|
getComputationsBuilderList()
public List<ComputationTopology.Builder> getComputationsBuilderList()
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;
getComputationsCount()
public int getComputationsCount()
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;
Returns |
Type |
Description |
int |
|
getComputationsList()
public List<ComputationTopology> getComputationsList()
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;
getComputationsOrBuilder(int index)
public ComputationTopologyOrBuilder getComputationsOrBuilder(int index)
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;
Parameter |
Name |
Description |
index |
int
|
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 |
Name |
Description |
index |
int
|
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 |
Name |
Description |
index |
int
|
getDataDiskAssignmentsBuilderList()
public List<DataDiskAssignment.Builder> getDataDiskAssignmentsBuilderList()
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2;
getDataDiskAssignmentsCount()
public int getDataDiskAssignmentsCount()
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2;
Returns |
Type |
Description |
int |
|
getDataDiskAssignmentsList()
public List<DataDiskAssignment> getDataDiskAssignmentsList()
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2;
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 |
Name |
Description |
index |
int
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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() (deprecated)
public Map<String,String> getMutableUserStageToComputationNameMap()
Use alternate mutation accessors instead.
getPersistentStateVersion()
public int getPersistentStateVersion()
Version number for persistent state.
int32 persistent_state_version = 5;
Returns |
Type |
Description |
int |
The persistentStateVersion.
|
getUserStageToComputationNameMap() (deprecated)
public Map<String,String> getUserStageToComputationNameMap()
getUserStageToComputationNameMapCount()
public int getUserStageToComputationNameMapCount()
Maps user stage names to stable computation names.
map<string, string> user_stage_to_computation_name_map = 3;
Returns |
Type |
Description |
int |
|
getUserStageToComputationNameMapMap()
public Map<String,String> getUserStageToComputationNameMapMap()
Maps user stage names to stable computation names.
map<string, string> user_stage_to_computation_name_map = 3;
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;
Returns |
Type |
Description |
String |
|
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 |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(TopologyConfig other)
public TopologyConfig.Builder mergeFrom(TopologyConfig other)
public TopologyConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TopologyConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TopologyConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
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 |
Name |
Description |
index |
int
|
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 |
Name |
Description |
index |
int
|
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 |
Name |
Description |
key |
String
|
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;
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;
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public TopologyConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TopologyConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TopologyConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides