Class StreamAnnotations.Builder

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

public static final class StreamAnnotations.Builder extends com.google.protobuf.GeneratedMessage.Builder<StreamAnnotations.Builder> implements StreamAnnotationsOrBuilder
 A wrapper of repeated StreamAnnotation.
 
Protobuf type google.cloud.visionai.v1.StreamAnnotations
  • 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<StreamAnnotations.Builder>
    • clear

      public StreamAnnotations.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<StreamAnnotations.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<StreamAnnotations.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public StreamAnnotations.Builder mergeFrom(StreamAnnotations other)
    • isInitialized

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

      public StreamAnnotations.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<StreamAnnotations.Builder>
      Throws:
      IOException
    • getStreamAnnotationsList

      public List<StreamAnnotation> getStreamAnnotationsList()
       Multiple annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation stream_annotations = 1;
      Specified by:
      getStreamAnnotationsList in interface StreamAnnotationsOrBuilder
    • getStreamAnnotationsCount

      public int getStreamAnnotationsCount()
       Multiple annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation stream_annotations = 1;
      Specified by:
      getStreamAnnotationsCount in interface StreamAnnotationsOrBuilder
    • getStreamAnnotations

      public StreamAnnotation getStreamAnnotations(int index)
       Multiple annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation stream_annotations = 1;
      Specified by:
      getStreamAnnotations in interface StreamAnnotationsOrBuilder
    • setStreamAnnotations

      public StreamAnnotations.Builder setStreamAnnotations(int index, StreamAnnotation value)
       Multiple annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation stream_annotations = 1;
    • setStreamAnnotations

      public StreamAnnotations.Builder setStreamAnnotations(int index, StreamAnnotation.Builder builderForValue)
       Multiple annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation stream_annotations = 1;
    • addStreamAnnotations

      public StreamAnnotations.Builder addStreamAnnotations(StreamAnnotation value)
       Multiple annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation stream_annotations = 1;
    • addStreamAnnotations

      public StreamAnnotations.Builder addStreamAnnotations(int index, StreamAnnotation value)
       Multiple annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation stream_annotations = 1;
    • addStreamAnnotations

      public StreamAnnotations.Builder addStreamAnnotations(StreamAnnotation.Builder builderForValue)
       Multiple annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation stream_annotations = 1;
    • addStreamAnnotations

      public StreamAnnotations.Builder addStreamAnnotations(int index, StreamAnnotation.Builder builderForValue)
       Multiple annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation stream_annotations = 1;
    • addAllStreamAnnotations

      public StreamAnnotations.Builder addAllStreamAnnotations(Iterable<? extends StreamAnnotation> values)
       Multiple annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation stream_annotations = 1;
    • clearStreamAnnotations

      public StreamAnnotations.Builder clearStreamAnnotations()
       Multiple annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation stream_annotations = 1;
    • removeStreamAnnotations

      public StreamAnnotations.Builder removeStreamAnnotations(int index)
       Multiple annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation stream_annotations = 1;
    • getStreamAnnotationsBuilder

      public StreamAnnotation.Builder getStreamAnnotationsBuilder(int index)
       Multiple annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation stream_annotations = 1;
    • getStreamAnnotationsOrBuilder

      public StreamAnnotationOrBuilder getStreamAnnotationsOrBuilder(int index)
       Multiple annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation stream_annotations = 1;
      Specified by:
      getStreamAnnotationsOrBuilder in interface StreamAnnotationsOrBuilder
    • getStreamAnnotationsOrBuilderList

      public List<? extends StreamAnnotationOrBuilder> getStreamAnnotationsOrBuilderList()
       Multiple annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation stream_annotations = 1;
      Specified by:
      getStreamAnnotationsOrBuilderList in interface StreamAnnotationsOrBuilder
    • addStreamAnnotationsBuilder

      public StreamAnnotation.Builder addStreamAnnotationsBuilder()
       Multiple annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation stream_annotations = 1;
    • addStreamAnnotationsBuilder

      public StreamAnnotation.Builder addStreamAnnotationsBuilder(int index)
       Multiple annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation stream_annotations = 1;
    • getStreamAnnotationsBuilderList

      public List<StreamAnnotation.Builder> getStreamAnnotationsBuilderList()
       Multiple annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation stream_annotations = 1;