public static final class LabelAnnotation.Builder extends GeneratedMessageV3.Builder<LabelAnnotation.Builder> implements LabelAnnotationOrBuilder
   
   Label annotation.
 Protobuf type google.cloud.videointelligence.v1p2beta1.LabelAnnotation
    Inherited Members
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
  
  
  getDescriptor()
  
    public static final Descriptors.Descriptor getDescriptor()
   
  Returns
  
  Methods
  
  
  addAllCategoryEntities(Iterable<? extends Entity> values)
  
    public LabelAnnotation.Builder addAllCategoryEntities(Iterable<? extends Entity> values)
   
   Common categories for the detected entity.
 E.g. when the label is Terrier the category is likely dog. And in some
 cases there might be more than one categories e.g. Terrier could also be
 a pet.
 repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
    
      
        | Name | Description | 
      
        | values | Iterable<? extends com.google.cloud.videointelligence.v1p2beta1.Entity>
 | 
    
  
  Returns
  
  
  addAllFrames(Iterable<? extends LabelFrame> values)
  
    public LabelAnnotation.Builder addAllFrames(Iterable<? extends LabelFrame> values)
   
   All video frames where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4;
    
      
        | Name | Description | 
      
        | values | Iterable<? extends com.google.cloud.videointelligence.v1p2beta1.LabelFrame>
 | 
    
  
  Returns
  
  
  addAllSegments(Iterable<? extends LabelSegment> values)
  
    public LabelAnnotation.Builder addAllSegments(Iterable<? extends LabelSegment> values)
   
   All video segments where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3;
    
      
        | Name | Description | 
      
        | values | Iterable<? extends com.google.cloud.videointelligence.v1p2beta1.LabelSegment>
 | 
    
  
  Returns
  
  
  addCategoryEntities(Entity value)
  
    public LabelAnnotation.Builder addCategoryEntities(Entity value)
   
   Common categories for the detected entity.
 E.g. when the label is Terrier the category is likely dog. And in some
 cases there might be more than one categories e.g. Terrier could also be
 a pet.
 repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
addCategoryEntities(Entity.Builder builderForValue)
  
    public LabelAnnotation.Builder addCategoryEntities(Entity.Builder builderForValue)
   
   Common categories for the detected entity.
 E.g. when the label is Terrier the category is likely dog. And in some
 cases there might be more than one categories e.g. Terrier could also be
 a pet.
 repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
addCategoryEntities(int index, Entity value)
  
    public LabelAnnotation.Builder addCategoryEntities(int index, Entity value)
   
   Common categories for the detected entity.
 E.g. when the label is Terrier the category is likely dog. And in some
 cases there might be more than one categories e.g. Terrier could also be
 a pet.
 repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
addCategoryEntities(int index, Entity.Builder builderForValue)
  
    public LabelAnnotation.Builder addCategoryEntities(int index, Entity.Builder builderForValue)
   
   Common categories for the detected entity.
 E.g. when the label is Terrier the category is likely dog. And in some
 cases there might be more than one categories e.g. Terrier could also be
 a pet.
 repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
addCategoryEntitiesBuilder()
  
    public Entity.Builder addCategoryEntitiesBuilder()
   
   Common categories for the detected entity.
 E.g. when the label is Terrier the category is likely dog. And in some
 cases there might be more than one categories e.g. Terrier could also be
 a pet.
 repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
addCategoryEntitiesBuilder(int index)
  
    public Entity.Builder addCategoryEntitiesBuilder(int index)
   
   Common categories for the detected entity.
 E.g. when the label is Terrier the category is likely dog. And in some
 cases there might be more than one categories e.g. Terrier could also be
 a pet.
 repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
    
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  Returns
  
  
  addFrames(LabelFrame value)
  
    public LabelAnnotation.Builder addFrames(LabelFrame value)
   
   All video frames where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4;
addFrames(LabelFrame.Builder builderForValue)
  
    public LabelAnnotation.Builder addFrames(LabelFrame.Builder builderForValue)
   
   All video frames where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4;
addFrames(int index, LabelFrame value)
  
    public LabelAnnotation.Builder addFrames(int index, LabelFrame value)
   
   All video frames where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4;
addFrames(int index, LabelFrame.Builder builderForValue)
  
    public LabelAnnotation.Builder addFrames(int index, LabelFrame.Builder builderForValue)
   
   All video frames where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4;
addFramesBuilder()
  
    public LabelFrame.Builder addFramesBuilder()
   
   All video frames where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4;
addFramesBuilder(int index)
  
    public LabelFrame.Builder addFramesBuilder(int index)
   
   All video frames where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4;
    
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  Returns
  
  
  addRepeatedField(Descriptors.FieldDescriptor field, Object value)
  
    public LabelAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
   
  Parameters
  
  Returns
  
  Overrides
  
  
  addSegments(LabelSegment value)
  
    public LabelAnnotation.Builder addSegments(LabelSegment value)
   
   All video segments where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3;
addSegments(LabelSegment.Builder builderForValue)
  
    public LabelAnnotation.Builder addSegments(LabelSegment.Builder builderForValue)
   
   All video segments where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3;
addSegments(int index, LabelSegment value)
  
    public LabelAnnotation.Builder addSegments(int index, LabelSegment value)
   
   All video segments where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3;
addSegments(int index, LabelSegment.Builder builderForValue)
  
    public LabelAnnotation.Builder addSegments(int index, LabelSegment.Builder builderForValue)
   
   All video segments where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3;
addSegmentsBuilder()
  
    public LabelSegment.Builder addSegmentsBuilder()
   
   All video segments where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3;
addSegmentsBuilder(int index)
  
    public LabelSegment.Builder addSegmentsBuilder(int index)
   
   All video segments where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3;
    
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  Returns
  
  
  build()
  
    public LabelAnnotation build()
   
  Returns
  
  
  buildPartial()
  
    public LabelAnnotation buildPartial()
   
  Returns
  
  
  clear()
  
    public LabelAnnotation.Builder clear()
   
  Returns
  
  Overrides
  
  
  clearCategoryEntities()
  
    public LabelAnnotation.Builder clearCategoryEntities()
   
   Common categories for the detected entity.
 E.g. when the label is Terrier the category is likely dog. And in some
 cases there might be more than one categories e.g. Terrier could also be
 a pet.
 repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
clearEntity()
  
    public LabelAnnotation.Builder clearEntity()
   
   Detected entity.
 .google.cloud.videointelligence.v1p2beta1.Entity entity = 1;
clearField(Descriptors.FieldDescriptor field)
  
    public LabelAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  clearFrames()
  
    public LabelAnnotation.Builder clearFrames()
   
   All video frames where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4;
clearOneof(Descriptors.OneofDescriptor oneof)
  
    public LabelAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  clearSegments()
  
    public LabelAnnotation.Builder clearSegments()
   
   All video segments where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3;
clone()
  
    public LabelAnnotation.Builder clone()
   
  Returns
  
  Overrides
  
  
  getCategoryEntities(int index)
  
    public Entity getCategoryEntities(int index)
   
   Common categories for the detected entity.
 E.g. when the label is Terrier the category is likely dog. And in some
 cases there might be more than one categories e.g. Terrier could also be
 a pet.
 repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
    
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  Returns
  
  
  getCategoryEntitiesBuilder(int index)
  
    public Entity.Builder getCategoryEntitiesBuilder(int index)
   
   Common categories for the detected entity.
 E.g. when the label is Terrier the category is likely dog. And in some
 cases there might be more than one categories e.g. Terrier could also be
 a pet.
 repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
    
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  Returns
  
  
  getCategoryEntitiesBuilderList()
  
    public List<Entity.Builder> getCategoryEntitiesBuilderList()
   
   Common categories for the detected entity.
 E.g. when the label is Terrier the category is likely dog. And in some
 cases there might be more than one categories e.g. Terrier could also be
 a pet.
 repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
getCategoryEntitiesCount()
  
    public int getCategoryEntitiesCount()
   
   Common categories for the detected entity.
 E.g. when the label is Terrier the category is likely dog. And in some
 cases there might be more than one categories e.g. Terrier could also be
 a pet.
 repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
getCategoryEntitiesList()
  
    public List<Entity> getCategoryEntitiesList()
   
   Common categories for the detected entity.
 E.g. when the label is Terrier the category is likely dog. And in some
 cases there might be more than one categories e.g. Terrier could also be
 a pet.
 repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
getCategoryEntitiesOrBuilder(int index)
  
    public EntityOrBuilder getCategoryEntitiesOrBuilder(int index)
   
   Common categories for the detected entity.
 E.g. when the label is Terrier the category is likely dog. And in some
 cases there might be more than one categories e.g. Terrier could also be
 a pet.
 repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
    
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  Returns
  
  
  getCategoryEntitiesOrBuilderList()
  
    public List<? extends EntityOrBuilder> getCategoryEntitiesOrBuilderList()
   
   Common categories for the detected entity.
 E.g. when the label is Terrier the category is likely dog. And in some
 cases there might be more than one categories e.g. Terrier could also be
 a pet.
 repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
    
      
        | Type | Description | 
      
        | List<? extends com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder> |  | 
    
  
  
  getDefaultInstanceForType()
  
    public LabelAnnotation getDefaultInstanceForType()
   
  Returns
  
  
  getDescriptorForType()
  
    public Descriptors.Descriptor getDescriptorForType()
   
  Returns
  
  Overrides
  
  
  getEntity()
  
    public Entity getEntity()
   
   Detected entity.
 .google.cloud.videointelligence.v1p2beta1.Entity entity = 1;
    
      
        | Type | Description | 
      
        | Entity | The entity. | 
    
  
  
  getEntityBuilder()
  
    public Entity.Builder getEntityBuilder()
   
   Detected entity.
 .google.cloud.videointelligence.v1p2beta1.Entity entity = 1;
getEntityOrBuilder()
  
    public EntityOrBuilder getEntityOrBuilder()
   
   Detected entity.
 .google.cloud.videointelligence.v1p2beta1.Entity entity = 1;
getFrames(int index)
  
    public LabelFrame getFrames(int index)
   
   All video frames where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4;
    
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  Returns
  
  
  getFramesBuilder(int index)
  
    public LabelFrame.Builder getFramesBuilder(int index)
   
   All video frames where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4;
    
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  Returns
  
  
  getFramesBuilderList()
  
    public List<LabelFrame.Builder> getFramesBuilderList()
   
   All video frames where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4;
getFramesCount()
  
    public int getFramesCount()
   
   All video frames where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4;
getFramesList()
  
    public List<LabelFrame> getFramesList()
   
   All video frames where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4;
getFramesOrBuilder(int index)
  
    public LabelFrameOrBuilder getFramesOrBuilder(int index)
   
   All video frames where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4;
    
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  Returns
  
  
  getFramesOrBuilderList()
  
    public List<? extends LabelFrameOrBuilder> getFramesOrBuilderList()
   
   All video frames where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4;
    
      
        | Type | Description | 
      
        | List<? extends com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder> |  | 
    
  
  
  getSegments(int index)
  
    public LabelSegment getSegments(int index)
   
   All video segments where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3;
    
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  Returns
  
  
  getSegmentsBuilder(int index)
  
    public LabelSegment.Builder getSegmentsBuilder(int index)
   
   All video segments where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3;
    
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  Returns
  
  
  getSegmentsBuilderList()
  
    public List<LabelSegment.Builder> getSegmentsBuilderList()
   
   All video segments where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3;
getSegmentsCount()
  
    public int getSegmentsCount()
   
   All video segments where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3;
getSegmentsList()
  
    public List<LabelSegment> getSegmentsList()
   
   All video segments where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3;
getSegmentsOrBuilder(int index)
  
    public LabelSegmentOrBuilder getSegmentsOrBuilder(int index)
   
   All video segments where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3;
    
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  Returns
  
  
  getSegmentsOrBuilderList()
  
    public List<? extends LabelSegmentOrBuilder> getSegmentsOrBuilderList()
   
   All video segments where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3;
    
      
        | Type | Description | 
      
        | List<? extends com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder> |  | 
    
  
  
  hasEntity()
  
    public boolean hasEntity()
   
   Detected entity.
 .google.cloud.videointelligence.v1p2beta1.Entity entity = 1;
    
      
        | Type | Description | 
      
        | boolean | Whether the entity field is set. | 
    
  
  
  internalGetFieldAccessorTable()
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  Returns
  
  Overrides
  
  
  isInitialized()
  
    public final boolean isInitialized()
   
  Returns
  
  Overrides
  
  
  mergeEntity(Entity value)
  
    public LabelAnnotation.Builder mergeEntity(Entity value)
   
   Detected entity.
 .google.cloud.videointelligence.v1p2beta1.Entity entity = 1;
mergeFrom(LabelAnnotation other)
  
    public LabelAnnotation.Builder mergeFrom(LabelAnnotation other)
   
  Parameter
  
  Returns
  
  
  
  
    public LabelAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Overrides
  
  Exceptions
  
  
  mergeFrom(Message other)
  
    public LabelAnnotation.Builder mergeFrom(Message other)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  mergeUnknownFields(UnknownFieldSet unknownFields)
  
    public final LabelAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  removeCategoryEntities(int index)
  
    public LabelAnnotation.Builder removeCategoryEntities(int index)
   
   Common categories for the detected entity.
 E.g. when the label is Terrier the category is likely dog. And in some
 cases there might be more than one categories e.g. Terrier could also be
 a pet.
 repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
    
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  Returns
  
  
  removeFrames(int index)
  
    public LabelAnnotation.Builder removeFrames(int index)
   
   All video frames where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4;
    
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  Returns
  
  
  removeSegments(int index)
  
    public LabelAnnotation.Builder removeSegments(int index)
   
   All video segments where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3;
    
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  Returns
  
  
  setCategoryEntities(int index, Entity value)
  
    public LabelAnnotation.Builder setCategoryEntities(int index, Entity value)
   
   Common categories for the detected entity.
 E.g. when the label is Terrier the category is likely dog. And in some
 cases there might be more than one categories e.g. Terrier could also be
 a pet.
 repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
setCategoryEntities(int index, Entity.Builder builderForValue)
  
    public LabelAnnotation.Builder setCategoryEntities(int index, Entity.Builder builderForValue)
   
   Common categories for the detected entity.
 E.g. when the label is Terrier the category is likely dog. And in some
 cases there might be more than one categories e.g. Terrier could also be
 a pet.
 repeated .google.cloud.videointelligence.v1p2beta1.Entity category_entities = 2;
setEntity(Entity value)
  
    public LabelAnnotation.Builder setEntity(Entity value)
   
   Detected entity.
 .google.cloud.videointelligence.v1p2beta1.Entity entity = 1;
setEntity(Entity.Builder builderForValue)
  
    public LabelAnnotation.Builder setEntity(Entity.Builder builderForValue)
   
   Detected entity.
 .google.cloud.videointelligence.v1p2beta1.Entity entity = 1;
setField(Descriptors.FieldDescriptor field, Object value)
  
    public LabelAnnotation.Builder setField(Descriptors.FieldDescriptor field, Object value)
   
  Parameters
  
  Returns
  
  Overrides
  
  
  setFrames(int index, LabelFrame value)
  
    public LabelAnnotation.Builder setFrames(int index, LabelFrame value)
   
   All video frames where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4;
setFrames(int index, LabelFrame.Builder builderForValue)
  
    public LabelAnnotation.Builder setFrames(int index, LabelFrame.Builder builderForValue)
   
   All video frames where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
  
    public LabelAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
   
  Parameters
  
  Returns
  
  Overrides
  
  
  setSegments(int index, LabelSegment value)
  
    public LabelAnnotation.Builder setSegments(int index, LabelSegment value)
   
   All video segments where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3;
setSegments(int index, LabelSegment.Builder builderForValue)
  
    public LabelAnnotation.Builder setSegments(int index, LabelSegment.Builder builderForValue)
   
   All video segments where a label was detected.
 repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3;
setUnknownFields(UnknownFieldSet unknownFields)
  
    public final LabelAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
   
  Parameter
  
  Returns
  
  Overrides