Class VideoActionRecognitionPredictionInstance.Builder

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

public static final class VideoActionRecognitionPredictionInstance.Builder extends com.google.protobuf.GeneratedMessage.Builder<VideoActionRecognitionPredictionInstance.Builder> implements VideoActionRecognitionPredictionInstanceOrBuilder
 Prediction input format for Video Action Recognition.
 
Protobuf type google.cloud.aiplatform.v1.schema.predict.instance.VideoActionRecognitionPredictionInstance
  • 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<VideoActionRecognitionPredictionInstance.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<VideoActionRecognitionPredictionInstance.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<VideoActionRecognitionPredictionInstance.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public VideoActionRecognitionPredictionInstance.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<VideoActionRecognitionPredictionInstance.Builder>
      Throws:
      IOException
    • getContent

      public String getContent()
       The Google Cloud Storage location of the video on which to perform the
       prediction.
       
      string content = 1;
      Specified by:
      getContent in interface VideoActionRecognitionPredictionInstanceOrBuilder
      Returns:
      The content.
    • getContentBytes

      public com.google.protobuf.ByteString getContentBytes()
       The Google Cloud Storage location of the video on which to perform the
       prediction.
       
      string content = 1;
      Specified by:
      getContentBytes in interface VideoActionRecognitionPredictionInstanceOrBuilder
      Returns:
      The bytes for content.
    • setContent

       The Google Cloud Storage location of the video on which to perform the
       prediction.
       
      string content = 1;
      Parameters:
      value - The content to set.
      Returns:
      This builder for chaining.
    • clearContent

       The Google Cloud Storage location of the video on which to perform the
       prediction.
       
      string content = 1;
      Returns:
      This builder for chaining.
    • setContentBytes

      public VideoActionRecognitionPredictionInstance.Builder setContentBytes(com.google.protobuf.ByteString value)
       The Google Cloud Storage location of the video on which to perform the
       prediction.
       
      string content = 1;
      Parameters:
      value - The bytes for content to set.
      Returns:
      This builder for chaining.
    • getMimeType

      public String getMimeType()
       The MIME type of the content of the video. Only the following are
       supported: video/mp4 video/avi video/quicktime
       
      string mime_type = 2;
      Specified by:
      getMimeType in interface VideoActionRecognitionPredictionInstanceOrBuilder
      Returns:
      The mimeType.
    • getMimeTypeBytes

      public com.google.protobuf.ByteString getMimeTypeBytes()
       The MIME type of the content of the video. Only the following are
       supported: video/mp4 video/avi video/quicktime
       
      string mime_type = 2;
      Specified by:
      getMimeTypeBytes in interface VideoActionRecognitionPredictionInstanceOrBuilder
      Returns:
      The bytes for mimeType.
    • setMimeType

       The MIME type of the content of the video. Only the following are
       supported: video/mp4 video/avi video/quicktime
       
      string mime_type = 2;
      Parameters:
      value - The mimeType to set.
      Returns:
      This builder for chaining.
    • clearMimeType

       The MIME type of the content of the video. Only the following are
       supported: video/mp4 video/avi video/quicktime
       
      string mime_type = 2;
      Returns:
      This builder for chaining.
    • setMimeTypeBytes

      public VideoActionRecognitionPredictionInstance.Builder setMimeTypeBytes(com.google.protobuf.ByteString value)
       The MIME type of the content of the video. Only the following are
       supported: video/mp4 video/avi video/quicktime
       
      string mime_type = 2;
      Parameters:
      value - The bytes for mimeType to set.
      Returns:
      This builder for chaining.
    • getTimeSegmentStart

      public String getTimeSegmentStart()
       The beginning, inclusive, of the video's time segment on which to perform
       the prediction. Expressed as a number of seconds as measured from the
       start of the video, with "s" appended at the end. Fractions are allowed,
       up to a microsecond precision.
       
      string time_segment_start = 3;
      Specified by:
      getTimeSegmentStart in interface VideoActionRecognitionPredictionInstanceOrBuilder
      Returns:
      The timeSegmentStart.
    • getTimeSegmentStartBytes

      public com.google.protobuf.ByteString getTimeSegmentStartBytes()
       The beginning, inclusive, of the video's time segment on which to perform
       the prediction. Expressed as a number of seconds as measured from the
       start of the video, with "s" appended at the end. Fractions are allowed,
       up to a microsecond precision.
       
      string time_segment_start = 3;
      Specified by:
      getTimeSegmentStartBytes in interface VideoActionRecognitionPredictionInstanceOrBuilder
      Returns:
      The bytes for timeSegmentStart.
    • setTimeSegmentStart

      public VideoActionRecognitionPredictionInstance.Builder setTimeSegmentStart(String value)
       The beginning, inclusive, of the video's time segment on which to perform
       the prediction. Expressed as a number of seconds as measured from the
       start of the video, with "s" appended at the end. Fractions are allowed,
       up to a microsecond precision.
       
      string time_segment_start = 3;
      Parameters:
      value - The timeSegmentStart to set.
      Returns:
      This builder for chaining.
    • clearTimeSegmentStart

      public VideoActionRecognitionPredictionInstance.Builder clearTimeSegmentStart()
       The beginning, inclusive, of the video's time segment on which to perform
       the prediction. Expressed as a number of seconds as measured from the
       start of the video, with "s" appended at the end. Fractions are allowed,
       up to a microsecond precision.
       
      string time_segment_start = 3;
      Returns:
      This builder for chaining.
    • setTimeSegmentStartBytes

      public VideoActionRecognitionPredictionInstance.Builder setTimeSegmentStartBytes(com.google.protobuf.ByteString value)
       The beginning, inclusive, of the video's time segment on which to perform
       the prediction. Expressed as a number of seconds as measured from the
       start of the video, with "s" appended at the end. Fractions are allowed,
       up to a microsecond precision.
       
      string time_segment_start = 3;
      Parameters:
      value - The bytes for timeSegmentStart to set.
      Returns:
      This builder for chaining.
    • getTimeSegmentEnd

      public String getTimeSegmentEnd()
       The end, exclusive, of the video's time segment on which to perform
       the prediction. Expressed as a number of seconds as measured from the
       start of the video, with "s" appended at the end. Fractions are allowed,
       up to a microsecond precision, and "inf" or "Infinity" is allowed, which
       means the end of the video.
       
      string time_segment_end = 4;
      Specified by:
      getTimeSegmentEnd in interface VideoActionRecognitionPredictionInstanceOrBuilder
      Returns:
      The timeSegmentEnd.
    • getTimeSegmentEndBytes

      public com.google.protobuf.ByteString getTimeSegmentEndBytes()
       The end, exclusive, of the video's time segment on which to perform
       the prediction. Expressed as a number of seconds as measured from the
       start of the video, with "s" appended at the end. Fractions are allowed,
       up to a microsecond precision, and "inf" or "Infinity" is allowed, which
       means the end of the video.
       
      string time_segment_end = 4;
      Specified by:
      getTimeSegmentEndBytes in interface VideoActionRecognitionPredictionInstanceOrBuilder
      Returns:
      The bytes for timeSegmentEnd.
    • setTimeSegmentEnd

      public VideoActionRecognitionPredictionInstance.Builder setTimeSegmentEnd(String value)
       The end, exclusive, of the video's time segment on which to perform
       the prediction. Expressed as a number of seconds as measured from the
       start of the video, with "s" appended at the end. Fractions are allowed,
       up to a microsecond precision, and "inf" or "Infinity" is allowed, which
       means the end of the video.
       
      string time_segment_end = 4;
      Parameters:
      value - The timeSegmentEnd to set.
      Returns:
      This builder for chaining.
    • clearTimeSegmentEnd

       The end, exclusive, of the video's time segment on which to perform
       the prediction. Expressed as a number of seconds as measured from the
       start of the video, with "s" appended at the end. Fractions are allowed,
       up to a microsecond precision, and "inf" or "Infinity" is allowed, which
       means the end of the video.
       
      string time_segment_end = 4;
      Returns:
      This builder for chaining.
    • setTimeSegmentEndBytes

      public VideoActionRecognitionPredictionInstance.Builder setTimeSegmentEndBytes(com.google.protobuf.ByteString value)
       The end, exclusive, of the video's time segment on which to perform
       the prediction. Expressed as a number of seconds as measured from the
       start of the video, with "s" appended at the end. Fractions are allowed,
       up to a microsecond precision, and "inf" or "Infinity" is allowed, which
       means the end of the video.
       
      string time_segment_end = 4;
      Parameters:
      value - The bytes for timeSegmentEnd to set.
      Returns:
      This builder for chaining.