Class VideoActionRecognitionPredictionInstance.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<VideoActionRecognitionPredictionInstance.Builder>
      • setContent

        public VideoActionRecognitionPredictionInstance.Builder setContent​(String value)
         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.
      • 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.
      • 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

        public VideoActionRecognitionPredictionInstance.Builder setMimeType​(String 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 mimeType to set.
        Returns:
        This builder for chaining.
      • clearMimeType

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

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