Class StreamLocation.Builder

  • All Implemented Interfaces:
    StreamLocationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    StreamLocation

    public static final class StreamLocation.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
    implements StreamLocationOrBuilder
     Describes a stream of data, either as input to be processed or as
     output of a streaming Dataflow job.
     
    Protobuf type google.dataflow.v1beta3.StreamLocation
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
      • clear

        public StreamLocation.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
      • getDefaultInstanceForType

        public StreamLocation getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public StreamLocation build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public StreamLocation buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public StreamLocation.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
      • setField

        public StreamLocation.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                               Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
      • clearField

        public StreamLocation.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
      • clearOneof

        public StreamLocation.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
      • setRepeatedField

        public StreamLocation.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                       int index,
                                                       Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
      • addRepeatedField

        public StreamLocation.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                       Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
      • mergeFrom

        public StreamLocation.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamLocation.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
      • mergeFrom

        public StreamLocation.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamLocation.Builder>
        Throws:
        IOException
      • hasStreamingStageLocation

        public boolean hasStreamingStageLocation()
         The stream is part of another computation within the current
         streaming Dataflow job.
         
        .google.dataflow.v1beta3.StreamingStageLocation streaming_stage_location = 1;
        Specified by:
        hasStreamingStageLocation in interface StreamLocationOrBuilder
        Returns:
        Whether the streamingStageLocation field is set.
      • getStreamingStageLocation

        public StreamingStageLocation getStreamingStageLocation()
         The stream is part of another computation within the current
         streaming Dataflow job.
         
        .google.dataflow.v1beta3.StreamingStageLocation streaming_stage_location = 1;
        Specified by:
        getStreamingStageLocation in interface StreamLocationOrBuilder
        Returns:
        The streamingStageLocation.
      • setStreamingStageLocation

        public StreamLocation.Builder setStreamingStageLocation​(StreamingStageLocation value)
         The stream is part of another computation within the current
         streaming Dataflow job.
         
        .google.dataflow.v1beta3.StreamingStageLocation streaming_stage_location = 1;
      • setStreamingStageLocation

        public StreamLocation.Builder setStreamingStageLocation​(StreamingStageLocation.Builder builderForValue)
         The stream is part of another computation within the current
         streaming Dataflow job.
         
        .google.dataflow.v1beta3.StreamingStageLocation streaming_stage_location = 1;
      • mergeStreamingStageLocation

        public StreamLocation.Builder mergeStreamingStageLocation​(StreamingStageLocation value)
         The stream is part of another computation within the current
         streaming Dataflow job.
         
        .google.dataflow.v1beta3.StreamingStageLocation streaming_stage_location = 1;
      • clearStreamingStageLocation

        public StreamLocation.Builder clearStreamingStageLocation()
         The stream is part of another computation within the current
         streaming Dataflow job.
         
        .google.dataflow.v1beta3.StreamingStageLocation streaming_stage_location = 1;
      • getStreamingStageLocationBuilder

        public StreamingStageLocation.Builder getStreamingStageLocationBuilder()
         The stream is part of another computation within the current
         streaming Dataflow job.
         
        .google.dataflow.v1beta3.StreamingStageLocation streaming_stage_location = 1;
      • hasPubsubLocation

        public boolean hasPubsubLocation()
         The stream is a pubsub stream.
         
        .google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;
        Specified by:
        hasPubsubLocation in interface StreamLocationOrBuilder
        Returns:
        Whether the pubsubLocation field is set.
      • setPubsubLocation

        public StreamLocation.Builder setPubsubLocation​(PubsubLocation value)
         The stream is a pubsub stream.
         
        .google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;
      • mergePubsubLocation

        public StreamLocation.Builder mergePubsubLocation​(PubsubLocation value)
         The stream is a pubsub stream.
         
        .google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;
      • clearPubsubLocation

        public StreamLocation.Builder clearPubsubLocation()
         The stream is a pubsub stream.
         
        .google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;
      • getPubsubLocationBuilder

        public PubsubLocation.Builder getPubsubLocationBuilder()
         The stream is a pubsub stream.
         
        .google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;
      • hasSideInputLocation

        public boolean hasSideInputLocation()
         The stream is a streaming side input.
         
        .google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;
        Specified by:
        hasSideInputLocation in interface StreamLocationOrBuilder
        Returns:
        Whether the sideInputLocation field is set.
      • clearSideInputLocation

        public StreamLocation.Builder clearSideInputLocation()
         The stream is a streaming side input.
         
        .google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;
      • getSideInputLocationBuilder

        public StreamingSideInputLocation.Builder getSideInputLocationBuilder()
         The stream is a streaming side input.
         
        .google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;
      • hasCustomSourceLocation

        public boolean hasCustomSourceLocation()
         The stream is a custom source.
         
        .google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;
        Specified by:
        hasCustomSourceLocation in interface StreamLocationOrBuilder
        Returns:
        Whether the customSourceLocation field is set.
      • setCustomSourceLocation

        public StreamLocation.Builder setCustomSourceLocation​(CustomSourceLocation value)
         The stream is a custom source.
         
        .google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;
      • mergeCustomSourceLocation

        public StreamLocation.Builder mergeCustomSourceLocation​(CustomSourceLocation value)
         The stream is a custom source.
         
        .google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;
      • clearCustomSourceLocation

        public StreamLocation.Builder clearCustomSourceLocation()
         The stream is a custom source.
         
        .google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;
      • getCustomSourceLocationBuilder

        public CustomSourceLocation.Builder getCustomSourceLocationBuilder()
         The stream is a custom source.
         
        .google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;
      • setUnknownFields

        public final StreamLocation.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>
      • mergeUnknownFields

        public final StreamLocation.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamLocation.Builder>