Class VideoStreamInputConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VideoStreamInputConfig.Builder>
com.google.cloud.visionai.v1.VideoStreamInputConfig.Builder
All Implemented Interfaces:
VideoStreamInputConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
VideoStreamInputConfig

public static final class VideoStreamInputConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<VideoStreamInputConfig.Builder> implements VideoStreamInputConfigOrBuilder
 Message describing Video Stream Input Config.
 This message should only be used as a placeholder for builtin:stream-input
 processor, actual stream binding should be specified using corresponding
 API.
 
Protobuf type google.cloud.visionai.v1.VideoStreamInputConfig
  • 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<VideoStreamInputConfig.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<VideoStreamInputConfig.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<VideoStreamInputConfig.Builder>
    • getDefaultInstanceForType

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

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

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

      public VideoStreamInputConfig.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<VideoStreamInputConfig.Builder>
    • mergeFrom

    • isInitialized

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

      public VideoStreamInputConfig.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<VideoStreamInputConfig.Builder>
      Throws:
      IOException
    • getStreamsList

      @Deprecated public com.google.protobuf.ProtocolStringList getStreamsList()
      Deprecated.
      google.cloud.visionai.v1.VideoStreamInputConfig.streams is deprecated. See google/cloud/visionai/v1/platform.proto;l=2040
      repeated string streams = 1 [deprecated = true];
      Specified by:
      getStreamsList in interface VideoStreamInputConfigOrBuilder
      Returns:
      A list containing the streams.
    • getStreamsCount

      @Deprecated public int getStreamsCount()
      Deprecated.
      google.cloud.visionai.v1.VideoStreamInputConfig.streams is deprecated. See google/cloud/visionai/v1/platform.proto;l=2040
      repeated string streams = 1 [deprecated = true];
      Specified by:
      getStreamsCount in interface VideoStreamInputConfigOrBuilder
      Returns:
      The count of streams.
    • getStreams

      @Deprecated public String getStreams(int index)
      Deprecated.
      google.cloud.visionai.v1.VideoStreamInputConfig.streams is deprecated. See google/cloud/visionai/v1/platform.proto;l=2040
      repeated string streams = 1 [deprecated = true];
      Specified by:
      getStreams in interface VideoStreamInputConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The streams at the given index.
    • getStreamsBytes

      @Deprecated public com.google.protobuf.ByteString getStreamsBytes(int index)
      Deprecated.
      google.cloud.visionai.v1.VideoStreamInputConfig.streams is deprecated. See google/cloud/visionai/v1/platform.proto;l=2040
      repeated string streams = 1 [deprecated = true];
      Specified by:
      getStreamsBytes in interface VideoStreamInputConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the streams at the given index.
    • setStreams

      @Deprecated public VideoStreamInputConfig.Builder setStreams(int index, String value)
      Deprecated.
      google.cloud.visionai.v1.VideoStreamInputConfig.streams is deprecated. See google/cloud/visionai/v1/platform.proto;l=2040
      repeated string streams = 1 [deprecated = true];
      Parameters:
      index - The index to set the value at.
      value - The streams to set.
      Returns:
      This builder for chaining.
    • addStreams

      Deprecated.
      google.cloud.visionai.v1.VideoStreamInputConfig.streams is deprecated. See google/cloud/visionai/v1/platform.proto;l=2040
      repeated string streams = 1 [deprecated = true];
      Parameters:
      value - The streams to add.
      Returns:
      This builder for chaining.
    • addAllStreams

      Deprecated.
      google.cloud.visionai.v1.VideoStreamInputConfig.streams is deprecated. See google/cloud/visionai/v1/platform.proto;l=2040
      repeated string streams = 1 [deprecated = true];
      Parameters:
      values - The streams to add.
      Returns:
      This builder for chaining.
    • clearStreams

      Deprecated.
      google.cloud.visionai.v1.VideoStreamInputConfig.streams is deprecated. See google/cloud/visionai/v1/platform.proto;l=2040
      repeated string streams = 1 [deprecated = true];
      Returns:
      This builder for chaining.
    • addStreamsBytes

      @Deprecated public VideoStreamInputConfig.Builder addStreamsBytes(com.google.protobuf.ByteString value)
      Deprecated.
      google.cloud.visionai.v1.VideoStreamInputConfig.streams is deprecated. See google/cloud/visionai/v1/platform.proto;l=2040
      repeated string streams = 1 [deprecated = true];
      Parameters:
      value - The bytes of the streams to add.
      Returns:
      This builder for chaining.
    • getStreamsWithAnnotationList

      @Deprecated public List<StreamWithAnnotation> getStreamsWithAnnotationList()
      Deprecated.
      repeated .google.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2 [deprecated = true];
      Specified by:
      getStreamsWithAnnotationList in interface VideoStreamInputConfigOrBuilder
    • getStreamsWithAnnotationCount

      @Deprecated public int getStreamsWithAnnotationCount()
      Deprecated.
      repeated .google.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2 [deprecated = true];
      Specified by:
      getStreamsWithAnnotationCount in interface VideoStreamInputConfigOrBuilder
    • getStreamsWithAnnotation

      @Deprecated public StreamWithAnnotation getStreamsWithAnnotation(int index)
      Deprecated.
      repeated .google.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2 [deprecated = true];
      Specified by:
      getStreamsWithAnnotation in interface VideoStreamInputConfigOrBuilder
    • setStreamsWithAnnotation

      @Deprecated public VideoStreamInputConfig.Builder setStreamsWithAnnotation(int index, StreamWithAnnotation value)
      Deprecated.
      repeated .google.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2 [deprecated = true];
    • setStreamsWithAnnotation

      @Deprecated public VideoStreamInputConfig.Builder setStreamsWithAnnotation(int index, StreamWithAnnotation.Builder builderForValue)
      Deprecated.
      repeated .google.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2 [deprecated = true];
    • addStreamsWithAnnotation

      @Deprecated public VideoStreamInputConfig.Builder addStreamsWithAnnotation(StreamWithAnnotation value)
      Deprecated.
      repeated .google.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2 [deprecated = true];
    • addStreamsWithAnnotation

      @Deprecated public VideoStreamInputConfig.Builder addStreamsWithAnnotation(int index, StreamWithAnnotation value)
      Deprecated.
      repeated .google.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2 [deprecated = true];
    • addStreamsWithAnnotation

      @Deprecated public VideoStreamInputConfig.Builder addStreamsWithAnnotation(StreamWithAnnotation.Builder builderForValue)
      Deprecated.
      repeated .google.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2 [deprecated = true];
    • addStreamsWithAnnotation

      @Deprecated public VideoStreamInputConfig.Builder addStreamsWithAnnotation(int index, StreamWithAnnotation.Builder builderForValue)
      Deprecated.
      repeated .google.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2 [deprecated = true];
    • addAllStreamsWithAnnotation

      @Deprecated public VideoStreamInputConfig.Builder addAllStreamsWithAnnotation(Iterable<? extends StreamWithAnnotation> values)
      Deprecated.
      repeated .google.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2 [deprecated = true];
    • clearStreamsWithAnnotation

      @Deprecated public VideoStreamInputConfig.Builder clearStreamsWithAnnotation()
      Deprecated.
      repeated .google.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2 [deprecated = true];
    • removeStreamsWithAnnotation

      @Deprecated public VideoStreamInputConfig.Builder removeStreamsWithAnnotation(int index)
      Deprecated.
      repeated .google.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2 [deprecated = true];
    • getStreamsWithAnnotationBuilder

      @Deprecated public StreamWithAnnotation.Builder getStreamsWithAnnotationBuilder(int index)
      Deprecated.
      repeated .google.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2 [deprecated = true];
    • getStreamsWithAnnotationOrBuilder

      @Deprecated public StreamWithAnnotationOrBuilder getStreamsWithAnnotationOrBuilder(int index)
      Deprecated.
      repeated .google.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2 [deprecated = true];
      Specified by:
      getStreamsWithAnnotationOrBuilder in interface VideoStreamInputConfigOrBuilder
    • getStreamsWithAnnotationOrBuilderList

      @Deprecated public List<? extends StreamWithAnnotationOrBuilder> getStreamsWithAnnotationOrBuilderList()
      Deprecated.
      repeated .google.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2 [deprecated = true];
      Specified by:
      getStreamsWithAnnotationOrBuilderList in interface VideoStreamInputConfigOrBuilder
    • addStreamsWithAnnotationBuilder

      @Deprecated public StreamWithAnnotation.Builder addStreamsWithAnnotationBuilder()
      Deprecated.
      repeated .google.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2 [deprecated = true];
    • addStreamsWithAnnotationBuilder

      @Deprecated public StreamWithAnnotation.Builder addStreamsWithAnnotationBuilder(int index)
      Deprecated.
      repeated .google.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2 [deprecated = true];
    • getStreamsWithAnnotationBuilderList

      @Deprecated public List<StreamWithAnnotation.Builder> getStreamsWithAnnotationBuilderList()
      Deprecated.
      repeated .google.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2 [deprecated = true];