public static final class VideoClassificationPredictionInstance.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionInstance.Builder> implements VideoClassificationPredictionInstanceOrBuilder
Prediction input format for Video Classification.Protobuf type
google.cloud.aiplatform.v1.schema.predict.instance.VideoClassificationPredictionInstance| Modifier and Type | Method and Description |
|---|---|
VideoClassificationPredictionInstance.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VideoClassificationPredictionInstance |
build() |
VideoClassificationPredictionInstance |
buildPartial() |
VideoClassificationPredictionInstance.Builder |
clear() |
VideoClassificationPredictionInstance.Builder |
clearContent()
The Google Cloud Storage location of the video on which to perform the
prediction.
|
VideoClassificationPredictionInstance.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
VideoClassificationPredictionInstance.Builder |
clearMimeType()
The MIME type of the content of the video.
|
VideoClassificationPredictionInstance.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
VideoClassificationPredictionInstance.Builder |
clearTimeSegmentEnd()
The end, exclusive, of the video's time segment on which to perform
the prediction.
|
VideoClassificationPredictionInstance.Builder |
clearTimeSegmentStart()
The beginning, inclusive, of the video's time segment on which to perform
the prediction.
|
VideoClassificationPredictionInstance.Builder |
clone() |
String |
getContent()
The Google Cloud Storage location of the video on which to perform the
prediction.
|
com.google.protobuf.ByteString |
getContentBytes()
The Google Cloud Storage location of the video on which to perform the
prediction.
|
VideoClassificationPredictionInstance |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getMimeType()
The MIME type of the content of the video.
|
com.google.protobuf.ByteString |
getMimeTypeBytes()
The MIME type of the content of the video.
|
String |
getTimeSegmentEnd()
The end, exclusive, of the video's time segment on which to perform
the prediction.
|
com.google.protobuf.ByteString |
getTimeSegmentEndBytes()
The end, exclusive, of the video's time segment on which to perform
the prediction.
|
String |
getTimeSegmentStart()
The beginning, inclusive, of the video's time segment on which to perform
the prediction.
|
com.google.protobuf.ByteString |
getTimeSegmentStartBytes()
The beginning, inclusive, of the video's time segment on which to perform
the prediction.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
VideoClassificationPredictionInstance.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
VideoClassificationPredictionInstance.Builder |
mergeFrom(com.google.protobuf.Message other) |
VideoClassificationPredictionInstance.Builder |
mergeFrom(VideoClassificationPredictionInstance other) |
VideoClassificationPredictionInstance.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
VideoClassificationPredictionInstance.Builder |
setContent(String value)
The Google Cloud Storage location of the video on which to perform the
prediction.
|
VideoClassificationPredictionInstance.Builder |
setContentBytes(com.google.protobuf.ByteString value)
The Google Cloud Storage location of the video on which to perform the
prediction.
|
VideoClassificationPredictionInstance.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VideoClassificationPredictionInstance.Builder |
setMimeType(String value)
The MIME type of the content of the video.
|
VideoClassificationPredictionInstance.Builder |
setMimeTypeBytes(com.google.protobuf.ByteString value)
The MIME type of the content of the video.
|
VideoClassificationPredictionInstance.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
VideoClassificationPredictionInstance.Builder |
setTimeSegmentEnd(String value)
The end, exclusive, of the video's time segment on which to perform
the prediction.
|
VideoClassificationPredictionInstance.Builder |
setTimeSegmentEndBytes(com.google.protobuf.ByteString value)
The end, exclusive, of the video's time segment on which to perform
the prediction.
|
VideoClassificationPredictionInstance.Builder |
setTimeSegmentStart(String value)
The beginning, inclusive, of the video's time segment on which to perform
the prediction.
|
VideoClassificationPredictionInstance.Builder |
setTimeSegmentStartBytes(com.google.protobuf.ByteString value)
The beginning, inclusive, of the video's time segment on which to perform
the prediction.
|
VideoClassificationPredictionInstance.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionInstance.Builder>public VideoClassificationPredictionInstance.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionInstance.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionInstance.Builder>public VideoClassificationPredictionInstance getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic VideoClassificationPredictionInstance build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic VideoClassificationPredictionInstance buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic VideoClassificationPredictionInstance.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionInstance.Builder>public VideoClassificationPredictionInstance.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionInstance.Builder>public VideoClassificationPredictionInstance.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionInstance.Builder>public VideoClassificationPredictionInstance.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionInstance.Builder>public VideoClassificationPredictionInstance.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionInstance.Builder>public VideoClassificationPredictionInstance.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionInstance.Builder>public VideoClassificationPredictionInstance.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<VideoClassificationPredictionInstance.Builder>public VideoClassificationPredictionInstance.Builder mergeFrom(VideoClassificationPredictionInstance other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionInstance.Builder>public VideoClassificationPredictionInstance.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<VideoClassificationPredictionInstance.Builder>IOExceptionpublic String getContent()
The Google Cloud Storage location of the video on which to perform the prediction.
string content = 1;getContent in interface VideoClassificationPredictionInstanceOrBuilderpublic com.google.protobuf.ByteString getContentBytes()
The Google Cloud Storage location of the video on which to perform the prediction.
string content = 1;getContentBytes in interface VideoClassificationPredictionInstanceOrBuilderpublic VideoClassificationPredictionInstance.Builder setContent(String value)
The Google Cloud Storage location of the video on which to perform the prediction.
string content = 1;value - The content to set.public VideoClassificationPredictionInstance.Builder clearContent()
The Google Cloud Storage location of the video on which to perform the prediction.
string content = 1;public VideoClassificationPredictionInstance.Builder setContentBytes(com.google.protobuf.ByteString value)
The Google Cloud Storage location of the video on which to perform the prediction.
string content = 1;value - The bytes for content to set.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;getMimeType in interface VideoClassificationPredictionInstanceOrBuilderpublic 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;getMimeTypeBytes in interface VideoClassificationPredictionInstanceOrBuilderpublic VideoClassificationPredictionInstance.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;value - The mimeType to set.public VideoClassificationPredictionInstance.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;public VideoClassificationPredictionInstance.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;value - The bytes for mimeType to set.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;getTimeSegmentStart in interface VideoClassificationPredictionInstanceOrBuilderpublic 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;getTimeSegmentStartBytes in interface VideoClassificationPredictionInstanceOrBuilderpublic VideoClassificationPredictionInstance.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;value - The timeSegmentStart to set.public VideoClassificationPredictionInstance.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;public VideoClassificationPredictionInstance.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;value - The bytes for timeSegmentStart to set.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;getTimeSegmentEnd in interface VideoClassificationPredictionInstanceOrBuilderpublic 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;getTimeSegmentEndBytes in interface VideoClassificationPredictionInstanceOrBuilderpublic VideoClassificationPredictionInstance.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;value - The timeSegmentEnd to set.public VideoClassificationPredictionInstance.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;public VideoClassificationPredictionInstance.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;value - The bytes for timeSegmentEnd to set.public final VideoClassificationPredictionInstance.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionInstance.Builder>public final VideoClassificationPredictionInstance.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionInstance.Builder>Copyright © 2023 Google LLC. All rights reserved.