Class ApplicationNodeAnnotation.Builder

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

public static final class ApplicationNodeAnnotation.Builder extends com.google.protobuf.GeneratedMessage.Builder<ApplicationNodeAnnotation.Builder> implements ApplicationNodeAnnotationOrBuilder
 Message describing annotations specific to application node.
 This message is a duplication of StreamWithAnnotation.NodeAnnotation.
 
Protobuf type google.cloud.visionai.v1.ApplicationNodeAnnotation
  • 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<ApplicationNodeAnnotation.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<ApplicationNodeAnnotation.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<ApplicationNodeAnnotation.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ApplicationNodeAnnotation.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<ApplicationNodeAnnotation.Builder>
      Throws:
      IOException
    • getNode

      public String getNode()
       The node name of the application graph.
       
      string node = 1;
      Specified by:
      getNode in interface ApplicationNodeAnnotationOrBuilder
      Returns:
      The node.
    • getNodeBytes

      public com.google.protobuf.ByteString getNodeBytes()
       The node name of the application graph.
       
      string node = 1;
      Specified by:
      getNodeBytes in interface ApplicationNodeAnnotationOrBuilder
      Returns:
      The bytes for node.
    • setNode

      public ApplicationNodeAnnotation.Builder setNode(String value)
       The node name of the application graph.
       
      string node = 1;
      Parameters:
      value - The node to set.
      Returns:
      This builder for chaining.
    • clearNode

       The node name of the application graph.
       
      string node = 1;
      Returns:
      This builder for chaining.
    • setNodeBytes

      public ApplicationNodeAnnotation.Builder setNodeBytes(com.google.protobuf.ByteString value)
       The node name of the application graph.
       
      string node = 1;
      Parameters:
      value - The bytes for node to set.
      Returns:
      This builder for chaining.
    • getAnnotationsList

      public List<StreamAnnotation> getAnnotationsList()
       The node specific stream annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;
      Specified by:
      getAnnotationsList in interface ApplicationNodeAnnotationOrBuilder
    • getAnnotationsCount

      public int getAnnotationsCount()
       The node specific stream annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;
      Specified by:
      getAnnotationsCount in interface ApplicationNodeAnnotationOrBuilder
    • getAnnotations

      public StreamAnnotation getAnnotations(int index)
       The node specific stream annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;
      Specified by:
      getAnnotations in interface ApplicationNodeAnnotationOrBuilder
    • setAnnotations

      public ApplicationNodeAnnotation.Builder setAnnotations(int index, StreamAnnotation value)
       The node specific stream annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;
    • setAnnotations

      public ApplicationNodeAnnotation.Builder setAnnotations(int index, StreamAnnotation.Builder builderForValue)
       The node specific stream annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;
    • addAnnotations

      public ApplicationNodeAnnotation.Builder addAnnotations(StreamAnnotation value)
       The node specific stream annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;
    • addAnnotations

      public ApplicationNodeAnnotation.Builder addAnnotations(int index, StreamAnnotation value)
       The node specific stream annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;
    • addAnnotations

      public ApplicationNodeAnnotation.Builder addAnnotations(StreamAnnotation.Builder builderForValue)
       The node specific stream annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;
    • addAnnotations

      public ApplicationNodeAnnotation.Builder addAnnotations(int index, StreamAnnotation.Builder builderForValue)
       The node specific stream annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;
    • addAllAnnotations

      public ApplicationNodeAnnotation.Builder addAllAnnotations(Iterable<? extends StreamAnnotation> values)
       The node specific stream annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;
    • clearAnnotations

      public ApplicationNodeAnnotation.Builder clearAnnotations()
       The node specific stream annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;
    • removeAnnotations

      public ApplicationNodeAnnotation.Builder removeAnnotations(int index)
       The node specific stream annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;
    • getAnnotationsBuilder

      public StreamAnnotation.Builder getAnnotationsBuilder(int index)
       The node specific stream annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;
    • getAnnotationsOrBuilder

      public StreamAnnotationOrBuilder getAnnotationsOrBuilder(int index)
       The node specific stream annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;
      Specified by:
      getAnnotationsOrBuilder in interface ApplicationNodeAnnotationOrBuilder
    • getAnnotationsOrBuilderList

      public List<? extends StreamAnnotationOrBuilder> getAnnotationsOrBuilderList()
       The node specific stream annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;
      Specified by:
      getAnnotationsOrBuilderList in interface ApplicationNodeAnnotationOrBuilder
    • addAnnotationsBuilder

      public StreamAnnotation.Builder addAnnotationsBuilder()
       The node specific stream annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;
    • addAnnotationsBuilder

      public StreamAnnotation.Builder addAnnotationsBuilder(int index)
       The node specific stream annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;
    • getAnnotationsBuilderList

      public List<StreamAnnotation.Builder> getAnnotationsBuilderList()
       The node specific stream annotations.
       
      repeated .google.cloud.visionai.v1.StreamAnnotation annotations = 2;