Class StreamLocation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StreamLocation.Builder>
com.google.dataflow.v1beta3.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.GeneratedMessage.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 Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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
    • 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>
    • mergeFrom

      public StreamLocation.Builder mergeFrom(StreamLocation other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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
    • getLocationCase

      public StreamLocation.LocationCase getLocationCase()
      Specified by:
      getLocationCase in interface StreamLocationOrBuilder
    • clearLocation

      public StreamLocation.Builder clearLocation()
    • 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;
    • getStreamingStageLocationOrBuilder

      public StreamingStageLocationOrBuilder getStreamingStageLocationOrBuilder()
       The stream is part of another computation within the current
       streaming Dataflow job.
       
      .google.dataflow.v1beta3.StreamingStageLocation streaming_stage_location = 1;
      Specified by:
      getStreamingStageLocationOrBuilder in interface StreamLocationOrBuilder
    • 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.
    • getPubsubLocation

      public PubsubLocation getPubsubLocation()
       The stream is a pubsub stream.
       
      .google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;
      Specified by:
      getPubsubLocation in interface StreamLocationOrBuilder
      Returns:
      The pubsubLocation.
    • setPubsubLocation

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

      public StreamLocation.Builder setPubsubLocation(PubsubLocation.Builder builderForValue)
       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;
    • getPubsubLocationOrBuilder

      public PubsubLocationOrBuilder getPubsubLocationOrBuilder()
       The stream is a pubsub stream.
       
      .google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;
      Specified by:
      getPubsubLocationOrBuilder in interface StreamLocationOrBuilder
    • 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.
    • getSideInputLocation

      public StreamingSideInputLocation getSideInputLocation()
       The stream is a streaming side input.
       
      .google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;
      Specified by:
      getSideInputLocation in interface StreamLocationOrBuilder
      Returns:
      The sideInputLocation.
    • setSideInputLocation

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

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

      public StreamLocation.Builder mergeSideInputLocation(StreamingSideInputLocation value)
       The stream is a streaming side input.
       
      .google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;
    • 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;
    • getSideInputLocationOrBuilder

      public StreamingSideInputLocationOrBuilder getSideInputLocationOrBuilder()
       The stream is a streaming side input.
       
      .google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;
      Specified by:
      getSideInputLocationOrBuilder in interface StreamLocationOrBuilder
    • 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.
    • getCustomSourceLocation

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

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

      public StreamLocation.Builder setCustomSourceLocation(CustomSourceLocation.Builder builderForValue)
       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;
    • getCustomSourceLocationOrBuilder

      public CustomSourceLocationOrBuilder getCustomSourceLocationOrBuilder()
       The stream is a custom source.
       
      .google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;
      Specified by:
      getCustomSourceLocationOrBuilder in interface StreamLocationOrBuilder