Class VideoAnnotationProgress.Builder

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

public static final class VideoAnnotationProgress.Builder extends com.google.protobuf.GeneratedMessage.Builder<VideoAnnotationProgress.Builder> implements VideoAnnotationProgressOrBuilder
 Annotation progress for a single video.
 
Protobuf type google.cloud.videointelligence.v1.VideoAnnotationProgress
  • 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<VideoAnnotationProgress.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<VideoAnnotationProgress.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<VideoAnnotationProgress.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public VideoAnnotationProgress.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<VideoAnnotationProgress.Builder>
      Throws:
      IOException
    • getInputUri

      public String getInputUri()
       Video file location in
       [Cloud Storage](https://cloud.google.com/storage/).
       
      string input_uri = 1;
      Specified by:
      getInputUri in interface VideoAnnotationProgressOrBuilder
      Returns:
      The inputUri.
    • getInputUriBytes

      public com.google.protobuf.ByteString getInputUriBytes()
       Video file location in
       [Cloud Storage](https://cloud.google.com/storage/).
       
      string input_uri = 1;
      Specified by:
      getInputUriBytes in interface VideoAnnotationProgressOrBuilder
      Returns:
      The bytes for inputUri.
    • setInputUri

      public VideoAnnotationProgress.Builder setInputUri(String value)
       Video file location in
       [Cloud Storage](https://cloud.google.com/storage/).
       
      string input_uri = 1;
      Parameters:
      value - The inputUri to set.
      Returns:
      This builder for chaining.
    • clearInputUri

      public VideoAnnotationProgress.Builder clearInputUri()
       Video file location in
       [Cloud Storage](https://cloud.google.com/storage/).
       
      string input_uri = 1;
      Returns:
      This builder for chaining.
    • setInputUriBytes

      public VideoAnnotationProgress.Builder setInputUriBytes(com.google.protobuf.ByteString value)
       Video file location in
       [Cloud Storage](https://cloud.google.com/storage/).
       
      string input_uri = 1;
      Parameters:
      value - The bytes for inputUri to set.
      Returns:
      This builder for chaining.
    • getProgressPercent

      public int getProgressPercent()
       Approximate percentage processed thus far. Guaranteed to be
       100 when fully processed.
       
      int32 progress_percent = 2;
      Specified by:
      getProgressPercent in interface VideoAnnotationProgressOrBuilder
      Returns:
      The progressPercent.
    • setProgressPercent

      public VideoAnnotationProgress.Builder setProgressPercent(int value)
       Approximate percentage processed thus far. Guaranteed to be
       100 when fully processed.
       
      int32 progress_percent = 2;
      Parameters:
      value - The progressPercent to set.
      Returns:
      This builder for chaining.
    • clearProgressPercent

      public VideoAnnotationProgress.Builder clearProgressPercent()
       Approximate percentage processed thus far. Guaranteed to be
       100 when fully processed.
       
      int32 progress_percent = 2;
      Returns:
      This builder for chaining.
    • hasStartTime

      public boolean hasStartTime()
       Time when the request was received.
       
      .google.protobuf.Timestamp start_time = 3;
      Specified by:
      hasStartTime in interface VideoAnnotationProgressOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public com.google.protobuf.Timestamp getStartTime()
       Time when the request was received.
       
      .google.protobuf.Timestamp start_time = 3;
      Specified by:
      getStartTime in interface VideoAnnotationProgressOrBuilder
      Returns:
      The startTime.
    • setStartTime

      public VideoAnnotationProgress.Builder setStartTime(com.google.protobuf.Timestamp value)
       Time when the request was received.
       
      .google.protobuf.Timestamp start_time = 3;
    • setStartTime

      public VideoAnnotationProgress.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Time when the request was received.
       
      .google.protobuf.Timestamp start_time = 3;
    • mergeStartTime

      public VideoAnnotationProgress.Builder mergeStartTime(com.google.protobuf.Timestamp value)
       Time when the request was received.
       
      .google.protobuf.Timestamp start_time = 3;
    • clearStartTime

      public VideoAnnotationProgress.Builder clearStartTime()
       Time when the request was received.
       
      .google.protobuf.Timestamp start_time = 3;
    • getStartTimeBuilder

      public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
       Time when the request was received.
       
      .google.protobuf.Timestamp start_time = 3;
    • getStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       Time when the request was received.
       
      .google.protobuf.Timestamp start_time = 3;
      Specified by:
      getStartTimeOrBuilder in interface VideoAnnotationProgressOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Time of the most recent update.
       
      .google.protobuf.Timestamp update_time = 4;
      Specified by:
      hasUpdateTime in interface VideoAnnotationProgressOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Time of the most recent update.
       
      .google.protobuf.Timestamp update_time = 4;
      Specified by:
      getUpdateTime in interface VideoAnnotationProgressOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public VideoAnnotationProgress.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Time of the most recent update.
       
      .google.protobuf.Timestamp update_time = 4;
    • setUpdateTime

      public VideoAnnotationProgress.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Time of the most recent update.
       
      .google.protobuf.Timestamp update_time = 4;
    • mergeUpdateTime

      public VideoAnnotationProgress.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Time of the most recent update.
       
      .google.protobuf.Timestamp update_time = 4;
    • clearUpdateTime

      public VideoAnnotationProgress.Builder clearUpdateTime()
       Time of the most recent update.
       
      .google.protobuf.Timestamp update_time = 4;
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Time of the most recent update.
       
      .google.protobuf.Timestamp update_time = 4;
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Time of the most recent update.
       
      .google.protobuf.Timestamp update_time = 4;
      Specified by:
      getUpdateTimeOrBuilder in interface VideoAnnotationProgressOrBuilder
    • getFeatureValue

      public int getFeatureValue()
       Specifies which feature is being tracked if the request contains more than
       one feature.
       
      .google.cloud.videointelligence.v1.Feature feature = 5;
      Specified by:
      getFeatureValue in interface VideoAnnotationProgressOrBuilder
      Returns:
      The enum numeric value on the wire for feature.
    • setFeatureValue

      public VideoAnnotationProgress.Builder setFeatureValue(int value)
       Specifies which feature is being tracked if the request contains more than
       one feature.
       
      .google.cloud.videointelligence.v1.Feature feature = 5;
      Parameters:
      value - The enum numeric value on the wire for feature to set.
      Returns:
      This builder for chaining.
    • getFeature

      public Feature getFeature()
       Specifies which feature is being tracked if the request contains more than
       one feature.
       
      .google.cloud.videointelligence.v1.Feature feature = 5;
      Specified by:
      getFeature in interface VideoAnnotationProgressOrBuilder
      Returns:
      The feature.
    • setFeature

      public VideoAnnotationProgress.Builder setFeature(Feature value)
       Specifies which feature is being tracked if the request contains more than
       one feature.
       
      .google.cloud.videointelligence.v1.Feature feature = 5;
      Parameters:
      value - The feature to set.
      Returns:
      This builder for chaining.
    • clearFeature

      public VideoAnnotationProgress.Builder clearFeature()
       Specifies which feature is being tracked if the request contains more than
       one feature.
       
      .google.cloud.videointelligence.v1.Feature feature = 5;
      Returns:
      This builder for chaining.
    • hasSegment

      public boolean hasSegment()
       Specifies which segment is being tracked if the request contains more than
       one segment.
       
      .google.cloud.videointelligence.v1.VideoSegment segment = 6;
      Specified by:
      hasSegment in interface VideoAnnotationProgressOrBuilder
      Returns:
      Whether the segment field is set.
    • getSegment

      public VideoSegment getSegment()
       Specifies which segment is being tracked if the request contains more than
       one segment.
       
      .google.cloud.videointelligence.v1.VideoSegment segment = 6;
      Specified by:
      getSegment in interface VideoAnnotationProgressOrBuilder
      Returns:
      The segment.
    • setSegment

      public VideoAnnotationProgress.Builder setSegment(VideoSegment value)
       Specifies which segment is being tracked if the request contains more than
       one segment.
       
      .google.cloud.videointelligence.v1.VideoSegment segment = 6;
    • setSegment

      public VideoAnnotationProgress.Builder setSegment(VideoSegment.Builder builderForValue)
       Specifies which segment is being tracked if the request contains more than
       one segment.
       
      .google.cloud.videointelligence.v1.VideoSegment segment = 6;
    • mergeSegment

      public VideoAnnotationProgress.Builder mergeSegment(VideoSegment value)
       Specifies which segment is being tracked if the request contains more than
       one segment.
       
      .google.cloud.videointelligence.v1.VideoSegment segment = 6;
    • clearSegment

      public VideoAnnotationProgress.Builder clearSegment()
       Specifies which segment is being tracked if the request contains more than
       one segment.
       
      .google.cloud.videointelligence.v1.VideoSegment segment = 6;
    • getSegmentBuilder

      public VideoSegment.Builder getSegmentBuilder()
       Specifies which segment is being tracked if the request contains more than
       one segment.
       
      .google.cloud.videointelligence.v1.VideoSegment segment = 6;
    • getSegmentOrBuilder

      public VideoSegmentOrBuilder getSegmentOrBuilder()
       Specifies which segment is being tracked if the request contains more than
       one segment.
       
      .google.cloud.videointelligence.v1.VideoSegment segment = 6;
      Specified by:
      getSegmentOrBuilder in interface VideoAnnotationProgressOrBuilder