Package com.google.dataflow.v1beta3
Class TopologyConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TopologyConfig.Builder>
com.google.dataflow.v1beta3.TopologyConfig.Builder
- All Implemented Interfaces:
TopologyConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- TopologyConfig
public static final class TopologyConfig.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionaddAllComputations(Iterable<? extends ComputationTopology> values) The computations associated with a streaming Dataflow job.addAllDataDiskAssignments(Iterable<? extends DataDiskAssignment> values) The disks assigned to a streaming Dataflow job.addComputations(int index, ComputationTopology value) The computations associated with a streaming Dataflow job.addComputations(int index, ComputationTopology.Builder builderForValue) The computations associated with a streaming Dataflow job.The computations associated with a streaming Dataflow job.addComputations(ComputationTopology.Builder builderForValue) The computations associated with a streaming Dataflow job.The computations associated with a streaming Dataflow job.addComputationsBuilder(int index) The computations associated with a streaming Dataflow job.addDataDiskAssignments(int index, DataDiskAssignment value) The disks assigned to a streaming Dataflow job.addDataDiskAssignments(int index, DataDiskAssignment.Builder builderForValue) The disks assigned to a streaming Dataflow job.The disks assigned to a streaming Dataflow job.addDataDiskAssignments(DataDiskAssignment.Builder builderForValue) The disks assigned to a streaming Dataflow job.The disks assigned to a streaming Dataflow job.addDataDiskAssignmentsBuilder(int index) The disks assigned to a streaming Dataflow job.build()clear()The computations associated with a streaming Dataflow job.The disks assigned to a streaming Dataflow job.The size (in bits) of keys that will be assigned to source messages.Version number for persistent state.booleanMaps user stage names to stable computation names.getComputations(int index) The computations associated with a streaming Dataflow job.getComputationsBuilder(int index) The computations associated with a streaming Dataflow job.The computations associated with a streaming Dataflow job.intThe computations associated with a streaming Dataflow job.The computations associated with a streaming Dataflow job.getComputationsOrBuilder(int index) The computations associated with a streaming Dataflow job.List<? extends ComputationTopologyOrBuilder>The computations associated with a streaming Dataflow job.getDataDiskAssignments(int index) The disks assigned to a streaming Dataflow job.getDataDiskAssignmentsBuilder(int index) The disks assigned to a streaming Dataflow job.The disks assigned to a streaming Dataflow job.intThe disks assigned to a streaming Dataflow job.The disks assigned to a streaming Dataflow job.getDataDiskAssignmentsOrBuilder(int index) The disks assigned to a streaming Dataflow job.List<? extends DataDiskAssignmentOrBuilder>The disks assigned to a streaming Dataflow job.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintThe size (in bits) of keys that will be assigned to source messages.Deprecated.intVersion number for persistent state.Deprecated.intMaps user stage names to stable computation names.Maps user stage names to stable computation names.getUserStageToComputationNameMapOrDefault(String key, String defaultValue) Maps user stage names to stable computation names.Maps user stage names to stable computation names.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(TopologyConfig other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Maps user stage names to stable computation names.putUserStageToComputationNameMap(String key, String value) Maps user stage names to stable computation names.removeComputations(int index) The computations associated with a streaming Dataflow job.removeDataDiskAssignments(int index) The disks assigned to a streaming Dataflow job.Maps user stage names to stable computation names.setComputations(int index, ComputationTopology value) The computations associated with a streaming Dataflow job.setComputations(int index, ComputationTopology.Builder builderForValue) The computations associated with a streaming Dataflow job.setDataDiskAssignments(int index, DataDiskAssignment value) The disks assigned to a streaming Dataflow job.setDataDiskAssignments(int index, DataDiskAssignment.Builder builderForValue) The disks assigned to a streaming Dataflow job.setForwardingKeyBits(int value) The size (in bits) of keys that will be assigned to source messages.setPersistentStateVersion(int value) Version number for persistent state.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<TopologyConfig.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<TopologyConfig.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<TopologyConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<TopologyConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<TopologyConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TopologyConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TopologyConfig.Builder>
-
mergeFrom
public TopologyConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TopologyConfig.Builder>- Throws:
IOException
-
getComputationsList
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;- Specified by:
getComputationsListin interfaceTopologyConfigOrBuilder
-
getComputationsCount
public int getComputationsCount()The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;- Specified by:
getComputationsCountin interfaceTopologyConfigOrBuilder
-
getComputations
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;- Specified by:
getComputationsin interfaceTopologyConfigOrBuilder
-
setComputations
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1; -
setComputations
public TopologyConfig.Builder setComputations(int index, ComputationTopology.Builder builderForValue) The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1; -
addComputations
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1; -
addComputations
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1; -
addComputations
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1; -
addComputations
public TopologyConfig.Builder addComputations(int index, ComputationTopology.Builder builderForValue) The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1; -
addAllComputations
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1; -
clearComputations
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1; -
removeComputations
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1; -
getComputationsBuilder
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1; -
getComputationsOrBuilder
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;- Specified by:
getComputationsOrBuilderin interfaceTopologyConfigOrBuilder
-
getComputationsOrBuilderList
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;- Specified by:
getComputationsOrBuilderListin interfaceTopologyConfigOrBuilder
-
addComputationsBuilder
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1; -
addComputationsBuilder
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1; -
getComputationsBuilderList
The computations associated with a streaming Dataflow job.
repeated .google.dataflow.v1beta3.ComputationTopology computations = 1; -
getDataDiskAssignmentsList
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2;- Specified by:
getDataDiskAssignmentsListin interfaceTopologyConfigOrBuilder
-
getDataDiskAssignmentsCount
public int getDataDiskAssignmentsCount()The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2;- Specified by:
getDataDiskAssignmentsCountin interfaceTopologyConfigOrBuilder
-
getDataDiskAssignments
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2;- Specified by:
getDataDiskAssignmentsin interfaceTopologyConfigOrBuilder
-
setDataDiskAssignments
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2; -
setDataDiskAssignments
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; -
addDataDiskAssignments
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2; -
addDataDiskAssignments
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2; -
addDataDiskAssignments
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2; -
addDataDiskAssignments
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; -
addAllDataDiskAssignments
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; -
clearDataDiskAssignments
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2; -
removeDataDiskAssignments
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2; -
getDataDiskAssignmentsBuilder
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2; -
getDataDiskAssignmentsOrBuilder
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2;- Specified by:
getDataDiskAssignmentsOrBuilderin interfaceTopologyConfigOrBuilder
-
getDataDiskAssignmentsOrBuilderList
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2;- Specified by:
getDataDiskAssignmentsOrBuilderListin interfaceTopologyConfigOrBuilder
-
addDataDiskAssignmentsBuilder
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2; -
addDataDiskAssignmentsBuilder
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2; -
getDataDiskAssignmentsBuilderList
The disks assigned to a streaming Dataflow job.
repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2; -
getUserStageToComputationNameMapCount
public int getUserStageToComputationNameMapCount()Description copied from interface:TopologyConfigOrBuilderMaps user stage names to stable computation names.
map<string, string> user_stage_to_computation_name_map = 3;- Specified by:
getUserStageToComputationNameMapCountin interfaceTopologyConfigOrBuilder
-
containsUserStageToComputationNameMap
Maps user stage names to stable computation names.
map<string, string> user_stage_to_computation_name_map = 3;- Specified by:
containsUserStageToComputationNameMapin interfaceTopologyConfigOrBuilder
-
getUserStageToComputationNameMap
Deprecated.UsegetUserStageToComputationNameMapMap()instead.- Specified by:
getUserStageToComputationNameMapin interfaceTopologyConfigOrBuilder
-
getUserStageToComputationNameMapMap
Maps user stage names to stable computation names.
map<string, string> user_stage_to_computation_name_map = 3;- Specified by:
getUserStageToComputationNameMapMapin interfaceTopologyConfigOrBuilder
-
getUserStageToComputationNameMapOrDefault
Maps user stage names to stable computation names.
map<string, string> user_stage_to_computation_name_map = 3;- Specified by:
getUserStageToComputationNameMapOrDefaultin interfaceTopologyConfigOrBuilder
-
getUserStageToComputationNameMapOrThrow
Maps user stage names to stable computation names.
map<string, string> user_stage_to_computation_name_map = 3;- Specified by:
getUserStageToComputationNameMapOrThrowin interfaceTopologyConfigOrBuilder
-
clearUserStageToComputationNameMap
-
removeUserStageToComputationNameMap
Maps user stage names to stable computation names.
map<string, string> user_stage_to_computation_name_map = 3; -
getMutableUserStageToComputationNameMap
Deprecated.Use alternate mutation accessors instead. -
putUserStageToComputationNameMap
Maps user stage names to stable computation names.
map<string, string> user_stage_to_computation_name_map = 3; -
putAllUserStageToComputationNameMap
Maps user stage names to stable computation names.
map<string, string> user_stage_to_computation_name_map = 3; -
getForwardingKeyBits
public int getForwardingKeyBits()The size (in bits) of keys that will be assigned to source messages.
int32 forwarding_key_bits = 4;- Specified by:
getForwardingKeyBitsin interfaceTopologyConfigOrBuilder- Returns:
- The forwardingKeyBits.
-
setForwardingKeyBits
The size (in bits) of keys that will be assigned to source messages.
int32 forwarding_key_bits = 4;- Parameters:
value- The forwardingKeyBits to set.- Returns:
- This builder for chaining.
-
clearForwardingKeyBits
The size (in bits) of keys that will be assigned to source messages.
int32 forwarding_key_bits = 4;- Returns:
- This builder for chaining.
-
getPersistentStateVersion
public int getPersistentStateVersion()Version number for persistent state.
int32 persistent_state_version = 5;- Specified by:
getPersistentStateVersionin interfaceTopologyConfigOrBuilder- Returns:
- The persistentStateVersion.
-
setPersistentStateVersion
Version number for persistent state.
int32 persistent_state_version = 5;- Parameters:
value- The persistentStateVersion to set.- Returns:
- This builder for chaining.
-
clearPersistentStateVersion
Version number for persistent state.
int32 persistent_state_version = 5;- Returns:
- This builder for chaining.
-