Class VideoClassificationPredictionResult.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionResult.Builder>
-
- com.google.cloud.aiplatform.v1.schema.predict.prediction.VideoClassificationPredictionResult.Builder
-
- All Implemented Interfaces:
VideoClassificationPredictionResultOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- VideoClassificationPredictionResult
public static final class VideoClassificationPredictionResult.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionResult.Builder> implements VideoClassificationPredictionResultOrBuilder
Prediction output format for Video Classification.
Protobuf typegoogle.cloud.aiplatform.v1.schema.predict.prediction.VideoClassificationPredictionResult
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VideoClassificationPredictionResult.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)VideoClassificationPredictionResultbuild()VideoClassificationPredictionResultbuildPartial()VideoClassificationPredictionResult.Builderclear()VideoClassificationPredictionResult.BuilderclearConfidence()The Model's confidence in correction of this prediction, higher value means higher confidence.VideoClassificationPredictionResult.BuilderclearDisplayName()The display name of the AnnotationSpec that had been identified.VideoClassificationPredictionResult.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)VideoClassificationPredictionResult.BuilderclearId()The resource ID of the AnnotationSpec that had been identified.VideoClassificationPredictionResult.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)VideoClassificationPredictionResult.BuilderclearTimeSegmentEnd()The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified.VideoClassificationPredictionResult.BuilderclearTimeSegmentStart()The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified.VideoClassificationPredictionResult.BuilderclearType()The type of the prediction.VideoClassificationPredictionResult.Builderclone()com.google.protobuf.FloatValuegetConfidence()The Model's confidence in correction of this prediction, higher value means higher confidence.com.google.protobuf.FloatValue.BuildergetConfidenceBuilder()The Model's confidence in correction of this prediction, higher value means higher confidence.com.google.protobuf.FloatValueOrBuildergetConfidenceOrBuilder()The Model's confidence in correction of this prediction, higher value means higher confidence.VideoClassificationPredictionResultgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDisplayName()The display name of the AnnotationSpec that had been identified.com.google.protobuf.ByteStringgetDisplayNameBytes()The display name of the AnnotationSpec that had been identified.StringgetId()The resource ID of the AnnotationSpec that had been identified.com.google.protobuf.ByteStringgetIdBytes()The resource ID of the AnnotationSpec that had been identified.com.google.protobuf.DurationgetTimeSegmentEnd()The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified.com.google.protobuf.Duration.BuildergetTimeSegmentEndBuilder()The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified.com.google.protobuf.DurationOrBuildergetTimeSegmentEndOrBuilder()The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified.com.google.protobuf.DurationgetTimeSegmentStart()The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified.com.google.protobuf.Duration.BuildergetTimeSegmentStartBuilder()The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified.com.google.protobuf.DurationOrBuildergetTimeSegmentStartOrBuilder()The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified.StringgetType()The type of the prediction.com.google.protobuf.ByteStringgetTypeBytes()The type of the prediction.booleanhasConfidence()The Model's confidence in correction of this prediction, higher value means higher confidence.booleanhasTimeSegmentEnd()The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified.booleanhasTimeSegmentStart()The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()VideoClassificationPredictionResult.BuildermergeConfidence(com.google.protobuf.FloatValue value)The Model's confidence in correction of this prediction, higher value means higher confidence.VideoClassificationPredictionResult.BuildermergeFrom(VideoClassificationPredictionResult other)VideoClassificationPredictionResult.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)VideoClassificationPredictionResult.BuildermergeFrom(com.google.protobuf.Message other)VideoClassificationPredictionResult.BuildermergeTimeSegmentEnd(com.google.protobuf.Duration value)The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified.VideoClassificationPredictionResult.BuildermergeTimeSegmentStart(com.google.protobuf.Duration value)The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified.VideoClassificationPredictionResult.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)VideoClassificationPredictionResult.BuildersetConfidence(com.google.protobuf.FloatValue value)The Model's confidence in correction of this prediction, higher value means higher confidence.VideoClassificationPredictionResult.BuildersetConfidence(com.google.protobuf.FloatValue.Builder builderForValue)The Model's confidence in correction of this prediction, higher value means higher confidence.VideoClassificationPredictionResult.BuildersetDisplayName(String value)The display name of the AnnotationSpec that had been identified.VideoClassificationPredictionResult.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)The display name of the AnnotationSpec that had been identified.VideoClassificationPredictionResult.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)VideoClassificationPredictionResult.BuildersetId(String value)The resource ID of the AnnotationSpec that had been identified.VideoClassificationPredictionResult.BuildersetIdBytes(com.google.protobuf.ByteString value)The resource ID of the AnnotationSpec that had been identified.VideoClassificationPredictionResult.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)VideoClassificationPredictionResult.BuildersetTimeSegmentEnd(com.google.protobuf.Duration value)The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified.VideoClassificationPredictionResult.BuildersetTimeSegmentEnd(com.google.protobuf.Duration.Builder builderForValue)The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified.VideoClassificationPredictionResult.BuildersetTimeSegmentStart(com.google.protobuf.Duration value)The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified.VideoClassificationPredictionResult.BuildersetTimeSegmentStart(com.google.protobuf.Duration.Builder builderForValue)The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified.VideoClassificationPredictionResult.BuildersetType(String value)The type of the prediction.VideoClassificationPredictionResult.BuildersetTypeBytes(com.google.protobuf.ByteString value)The type of the prediction.VideoClassificationPredictionResult.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionResult.Builder>
-
clear
public VideoClassificationPredictionResult.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionResult.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionResult.Builder>
-
getDefaultInstanceForType
public VideoClassificationPredictionResult getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public VideoClassificationPredictionResult build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VideoClassificationPredictionResult buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VideoClassificationPredictionResult.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionResult.Builder>
-
setField
public VideoClassificationPredictionResult.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionResult.Builder>
-
clearField
public VideoClassificationPredictionResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionResult.Builder>
-
clearOneof
public VideoClassificationPredictionResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionResult.Builder>
-
setRepeatedField
public VideoClassificationPredictionResult.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionResult.Builder>
-
addRepeatedField
public VideoClassificationPredictionResult.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionResult.Builder>
-
mergeFrom
public VideoClassificationPredictionResult.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VideoClassificationPredictionResult.Builder>
-
mergeFrom
public VideoClassificationPredictionResult.Builder mergeFrom(VideoClassificationPredictionResult other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionResult.Builder>
-
mergeFrom
public VideoClassificationPredictionResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VideoClassificationPredictionResult.Builder>- Throws:
IOException
-
getId
public String getId()
The resource ID of the AnnotationSpec that had been identified.
string id = 1;- Specified by:
getIdin interfaceVideoClassificationPredictionResultOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
The resource ID of the AnnotationSpec that had been identified.
string id = 1;- Specified by:
getIdBytesin interfaceVideoClassificationPredictionResultOrBuilder- Returns:
- The bytes for id.
-
setId
public VideoClassificationPredictionResult.Builder setId(String value)
The resource ID of the AnnotationSpec that had been identified.
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public VideoClassificationPredictionResult.Builder clearId()
The resource ID of the AnnotationSpec that had been identified.
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
public VideoClassificationPredictionResult.Builder setIdBytes(com.google.protobuf.ByteString value)
The resource ID of the AnnotationSpec that had been identified.
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getDisplayName
public String getDisplayName()
The display name of the AnnotationSpec that had been identified.
string display_name = 2;- Specified by:
getDisplayNamein interfaceVideoClassificationPredictionResultOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
The display name of the AnnotationSpec that had been identified.
string display_name = 2;- Specified by:
getDisplayNameBytesin interfaceVideoClassificationPredictionResultOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
public VideoClassificationPredictionResult.Builder setDisplayName(String value)
The display name of the AnnotationSpec that had been identified.
string display_name = 2;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public VideoClassificationPredictionResult.Builder clearDisplayName()
The display name of the AnnotationSpec that had been identified.
string display_name = 2;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public VideoClassificationPredictionResult.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
The display name of the AnnotationSpec that had been identified.
string display_name = 2;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getType
public String getType()
The type of the prediction. The requested types can be configured via parameters. This will be one of - segment-classification - shot-classification - one-sec-interval-classification
string type = 3;- Specified by:
getTypein interfaceVideoClassificationPredictionResultOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()
The type of the prediction. The requested types can be configured via parameters. This will be one of - segment-classification - shot-classification - one-sec-interval-classification
string type = 3;- Specified by:
getTypeBytesin interfaceVideoClassificationPredictionResultOrBuilder- Returns:
- The bytes for type.
-
setType
public VideoClassificationPredictionResult.Builder setType(String value)
The type of the prediction. The requested types can be configured via parameters. This will be one of - segment-classification - shot-classification - one-sec-interval-classification
string type = 3;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public VideoClassificationPredictionResult.Builder clearType()
The type of the prediction. The requested types can be configured via parameters. This will be one of - segment-classification - shot-classification - one-sec-interval-classification
string type = 3;- Returns:
- This builder for chaining.
-
setTypeBytes
public VideoClassificationPredictionResult.Builder setTypeBytes(com.google.protobuf.ByteString value)
The type of the prediction. The requested types can be configured via parameters. This will be one of - segment-classification - shot-classification - one-sec-interval-classification
string type = 3;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
hasTimeSegmentStart
public boolean hasTimeSegmentStart()
The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentStart' from the input instance, for other types it is the start of a shot or a 1 second interval respectively.
.google.protobuf.Duration time_segment_start = 4;- Specified by:
hasTimeSegmentStartin interfaceVideoClassificationPredictionResultOrBuilder- Returns:
- Whether the timeSegmentStart field is set.
-
getTimeSegmentStart
public com.google.protobuf.Duration getTimeSegmentStart()
The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentStart' from the input instance, for other types it is the start of a shot or a 1 second interval respectively.
.google.protobuf.Duration time_segment_start = 4;- Specified by:
getTimeSegmentStartin interfaceVideoClassificationPredictionResultOrBuilder- Returns:
- The timeSegmentStart.
-
setTimeSegmentStart
public VideoClassificationPredictionResult.Builder setTimeSegmentStart(com.google.protobuf.Duration value)
The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentStart' from the input instance, for other types it is the start of a shot or a 1 second interval respectively.
.google.protobuf.Duration time_segment_start = 4;
-
setTimeSegmentStart
public VideoClassificationPredictionResult.Builder setTimeSegmentStart(com.google.protobuf.Duration.Builder builderForValue)
The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentStart' from the input instance, for other types it is the start of a shot or a 1 second interval respectively.
.google.protobuf.Duration time_segment_start = 4;
-
mergeTimeSegmentStart
public VideoClassificationPredictionResult.Builder mergeTimeSegmentStart(com.google.protobuf.Duration value)
The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentStart' from the input instance, for other types it is the start of a shot or a 1 second interval respectively.
.google.protobuf.Duration time_segment_start = 4;
-
clearTimeSegmentStart
public VideoClassificationPredictionResult.Builder clearTimeSegmentStart()
The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentStart' from the input instance, for other types it is the start of a shot or a 1 second interval respectively.
.google.protobuf.Duration time_segment_start = 4;
-
getTimeSegmentStartBuilder
public com.google.protobuf.Duration.Builder getTimeSegmentStartBuilder()
The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentStart' from the input instance, for other types it is the start of a shot or a 1 second interval respectively.
.google.protobuf.Duration time_segment_start = 4;
-
getTimeSegmentStartOrBuilder
public com.google.protobuf.DurationOrBuilder getTimeSegmentStartOrBuilder()
The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentStart' from the input instance, for other types it is the start of a shot or a 1 second interval respectively.
.google.protobuf.Duration time_segment_start = 4;- Specified by:
getTimeSegmentStartOrBuilderin interfaceVideoClassificationPredictionResultOrBuilder
-
hasTimeSegmentEnd
public boolean hasTimeSegmentEnd()
The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentEnd' from the input instance, for other types it is the end of a shot or a 1 second interval respectively.
.google.protobuf.Duration time_segment_end = 5;- Specified by:
hasTimeSegmentEndin interfaceVideoClassificationPredictionResultOrBuilder- Returns:
- Whether the timeSegmentEnd field is set.
-
getTimeSegmentEnd
public com.google.protobuf.Duration getTimeSegmentEnd()
The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentEnd' from the input instance, for other types it is the end of a shot or a 1 second interval respectively.
.google.protobuf.Duration time_segment_end = 5;- Specified by:
getTimeSegmentEndin interfaceVideoClassificationPredictionResultOrBuilder- Returns:
- The timeSegmentEnd.
-
setTimeSegmentEnd
public VideoClassificationPredictionResult.Builder setTimeSegmentEnd(com.google.protobuf.Duration value)
The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentEnd' from the input instance, for other types it is the end of a shot or a 1 second interval respectively.
.google.protobuf.Duration time_segment_end = 5;
-
setTimeSegmentEnd
public VideoClassificationPredictionResult.Builder setTimeSegmentEnd(com.google.protobuf.Duration.Builder builderForValue)
The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentEnd' from the input instance, for other types it is the end of a shot or a 1 second interval respectively.
.google.protobuf.Duration time_segment_end = 5;
-
mergeTimeSegmentEnd
public VideoClassificationPredictionResult.Builder mergeTimeSegmentEnd(com.google.protobuf.Duration value)
The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentEnd' from the input instance, for other types it is the end of a shot or a 1 second interval respectively.
.google.protobuf.Duration time_segment_end = 5;
-
clearTimeSegmentEnd
public VideoClassificationPredictionResult.Builder clearTimeSegmentEnd()
The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentEnd' from the input instance, for other types it is the end of a shot or a 1 second interval respectively.
.google.protobuf.Duration time_segment_end = 5;
-
getTimeSegmentEndBuilder
public com.google.protobuf.Duration.Builder getTimeSegmentEndBuilder()
The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentEnd' from the input instance, for other types it is the end of a shot or a 1 second interval respectively.
.google.protobuf.Duration time_segment_end = 5;
-
getTimeSegmentEndOrBuilder
public com.google.protobuf.DurationOrBuilder getTimeSegmentEndOrBuilder()
The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentEnd' from the input instance, for other types it is the end of a shot or a 1 second interval respectively.
.google.protobuf.Duration time_segment_end = 5;- Specified by:
getTimeSegmentEndOrBuilderin interfaceVideoClassificationPredictionResultOrBuilder
-
hasConfidence
public boolean hasConfidence()
The Model's confidence in correction of this prediction, higher value means higher confidence.
.google.protobuf.FloatValue confidence = 6;- Specified by:
hasConfidencein interfaceVideoClassificationPredictionResultOrBuilder- Returns:
- Whether the confidence field is set.
-
getConfidence
public com.google.protobuf.FloatValue getConfidence()
The Model's confidence in correction of this prediction, higher value means higher confidence.
.google.protobuf.FloatValue confidence = 6;- Specified by:
getConfidencein interfaceVideoClassificationPredictionResultOrBuilder- Returns:
- The confidence.
-
setConfidence
public VideoClassificationPredictionResult.Builder setConfidence(com.google.protobuf.FloatValue value)
The Model's confidence in correction of this prediction, higher value means higher confidence.
.google.protobuf.FloatValue confidence = 6;
-
setConfidence
public VideoClassificationPredictionResult.Builder setConfidence(com.google.protobuf.FloatValue.Builder builderForValue)
The Model's confidence in correction of this prediction, higher value means higher confidence.
.google.protobuf.FloatValue confidence = 6;
-
mergeConfidence
public VideoClassificationPredictionResult.Builder mergeConfidence(com.google.protobuf.FloatValue value)
The Model's confidence in correction of this prediction, higher value means higher confidence.
.google.protobuf.FloatValue confidence = 6;
-
clearConfidence
public VideoClassificationPredictionResult.Builder clearConfidence()
The Model's confidence in correction of this prediction, higher value means higher confidence.
.google.protobuf.FloatValue confidence = 6;
-
getConfidenceBuilder
public com.google.protobuf.FloatValue.Builder getConfidenceBuilder()
The Model's confidence in correction of this prediction, higher value means higher confidence.
.google.protobuf.FloatValue confidence = 6;
-
getConfidenceOrBuilder
public com.google.protobuf.FloatValueOrBuilder getConfidenceOrBuilder()
The Model's confidence in correction of this prediction, higher value means higher confidence.
.google.protobuf.FloatValue confidence = 6;- Specified by:
getConfidenceOrBuilderin interfaceVideoClassificationPredictionResultOrBuilder
-
setUnknownFields
public final VideoClassificationPredictionResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionResult.Builder>
-
mergeUnknownFields
public final VideoClassificationPredictionResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionResult.Builder>
-
-