Class TopologyConfig

  • All Implemented Interfaces:
    TopologyConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class TopologyConfig
    extends com.google.protobuf.GeneratedMessageV3
    implements TopologyConfigOrBuilder
     Global topology of the streaming Dataflow job, including all
     computations and their sharded locations.
     
    Protobuf type google.dataflow.v1beta3.TopologyConfig
    See Also:
    Serialized Form
    • Field Detail

      • COMPUTATIONS_FIELD_NUMBER

        public static final int COMPUTATIONS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DATA_DISK_ASSIGNMENTS_FIELD_NUMBER

        public static final int DATA_DISK_ASSIGNMENTS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • USER_STAGE_TO_COMPUTATION_NAME_MAP_FIELD_NUMBER

        public static final int USER_STAGE_TO_COMPUTATION_NAME_MAP_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FORWARDING_KEY_BITS_FIELD_NUMBER

        public static final int FORWARDING_KEY_BITS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PERSISTENT_STATE_VERSION_FIELD_NUMBER

        public static final int PERSISTENT_STATE_VERSION_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getComputationsCount

        public int getComputationsCount()
         The computations associated with a streaming Dataflow job.
         
        repeated .google.dataflow.v1beta3.ComputationTopology computations = 1;
        Specified by:
        getComputationsCount in interface TopologyConfigOrBuilder
      • getDataDiskAssignmentsCount

        public int getDataDiskAssignmentsCount()
         The disks assigned to a streaming Dataflow job.
         
        repeated .google.dataflow.v1beta3.DataDiskAssignment data_disk_assignments = 2;
        Specified by:
        getDataDiskAssignmentsCount in interface TopologyConfigOrBuilder
      • getForwardingKeyBits

        public int getForwardingKeyBits()
         The size (in bits) of keys that will be assigned to source messages.
         
        int32 forwarding_key_bits = 4;
        Specified by:
        getForwardingKeyBits in interface TopologyConfigOrBuilder
        Returns:
        The forwardingKeyBits.
      • getPersistentStateVersion

        public int getPersistentStateVersion()
         Version number for persistent state.
         
        int32 persistent_state_version = 5;
        Specified by:
        getPersistentStateVersion in interface TopologyConfigOrBuilder
        Returns:
        The persistentStateVersion.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static TopologyConfig parseFrom​(ByteBuffer data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TopologyConfig parseFrom​(ByteBuffer data,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TopologyConfig parseFrom​(com.google.protobuf.ByteString data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TopologyConfig parseFrom​(com.google.protobuf.ByteString data,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TopologyConfig parseFrom​(byte[] data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TopologyConfig parseFrom​(byte[] data,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TopologyConfig parseFrom​(com.google.protobuf.CodedInputStream input,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws IOException
        Throws:
        IOException
      • newBuilderForType

        public TopologyConfig.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public TopologyConfig.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected TopologyConfig.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static TopologyConfig getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<TopologyConfig> parser()
      • getParserForType

        public com.google.protobuf.Parser<TopologyConfig> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public TopologyConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder