Class VideoMetadata.Builder

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

public static final class VideoMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<VideoMetadata.Builder> implements VideoMetadataOrBuilder
 Metadata describes the input video content.
 
Protobuf type google.cloud.aiplatform.v1.VideoMetadata
  • 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<VideoMetadata.Builder>
    • clear

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

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

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

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

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

      public VideoMetadata.Builder mergeFrom(VideoMetadata other)
    • isInitialized

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

      public VideoMetadata.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<VideoMetadata.Builder>
      Throws:
      IOException
    • hasStartOffset

      public boolean hasStartOffset()
       Optional. The start offset of the video.
       
      .google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasStartOffset in interface VideoMetadataOrBuilder
      Returns:
      Whether the startOffset field is set.
    • getStartOffset

      public com.google.protobuf.Duration getStartOffset()
       Optional. The start offset of the video.
       
      .google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStartOffset in interface VideoMetadataOrBuilder
      Returns:
      The startOffset.
    • setStartOffset

      public VideoMetadata.Builder setStartOffset(com.google.protobuf.Duration value)
       Optional. The start offset of the video.
       
      .google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];
    • setStartOffset

      public VideoMetadata.Builder setStartOffset(com.google.protobuf.Duration.Builder builderForValue)
       Optional. The start offset of the video.
       
      .google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];
    • mergeStartOffset

      public VideoMetadata.Builder mergeStartOffset(com.google.protobuf.Duration value)
       Optional. The start offset of the video.
       
      .google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];
    • clearStartOffset

      public VideoMetadata.Builder clearStartOffset()
       Optional. The start offset of the video.
       
      .google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getStartOffsetBuilder

      public com.google.protobuf.Duration.Builder getStartOffsetBuilder()
       Optional. The start offset of the video.
       
      .google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getStartOffsetOrBuilder

      public com.google.protobuf.DurationOrBuilder getStartOffsetOrBuilder()
       Optional. The start offset of the video.
       
      .google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStartOffsetOrBuilder in interface VideoMetadataOrBuilder
    • hasEndOffset

      public boolean hasEndOffset()
       Optional. The end offset of the video.
       
      .google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasEndOffset in interface VideoMetadataOrBuilder
      Returns:
      Whether the endOffset field is set.
    • getEndOffset

      public com.google.protobuf.Duration getEndOffset()
       Optional. The end offset of the video.
       
      .google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEndOffset in interface VideoMetadataOrBuilder
      Returns:
      The endOffset.
    • setEndOffset

      public VideoMetadata.Builder setEndOffset(com.google.protobuf.Duration value)
       Optional. The end offset of the video.
       
      .google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setEndOffset

      public VideoMetadata.Builder setEndOffset(com.google.protobuf.Duration.Builder builderForValue)
       Optional. The end offset of the video.
       
      .google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeEndOffset

      public VideoMetadata.Builder mergeEndOffset(com.google.protobuf.Duration value)
       Optional. The end offset of the video.
       
      .google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearEndOffset

      public VideoMetadata.Builder clearEndOffset()
       Optional. The end offset of the video.
       
      .google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getEndOffsetBuilder

      public com.google.protobuf.Duration.Builder getEndOffsetBuilder()
       Optional. The end offset of the video.
       
      .google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getEndOffsetOrBuilder

      public com.google.protobuf.DurationOrBuilder getEndOffsetOrBuilder()
       Optional. The end offset of the video.
       
      .google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEndOffsetOrBuilder in interface VideoMetadataOrBuilder
    • getFps

      public double getFps()
       Optional. The frame rate of the video sent to the model. If not specified,
       the default value is 1.0. The valid range is (0.0, 24.0].
       
      double fps = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFps in interface VideoMetadataOrBuilder
      Returns:
      The fps.
    • setFps

      public VideoMetadata.Builder setFps(double value)
       Optional. The frame rate of the video sent to the model. If not specified,
       the default value is 1.0. The valid range is (0.0, 24.0].
       
      double fps = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The fps to set.
      Returns:
      This builder for chaining.
    • clearFps

      public VideoMetadata.Builder clearFps()
       Optional. The frame rate of the video sent to the model. If not specified,
       the default value is 1.0. The valid range is (0.0, 24.0].
       
      double fps = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.