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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
VideoClassificationPredictionResult
build()
VideoClassificationPredictionResult
buildPartial()
VideoClassificationPredictionResult.Builder
clear()
VideoClassificationPredictionResult.Builder
clearConfidence()
The Model's confidence in correction of this prediction, higher value means higher confidence.VideoClassificationPredictionResult.Builder
clearDisplayName()
The display name of the AnnotationSpec that had been identified.VideoClassificationPredictionResult.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
VideoClassificationPredictionResult.Builder
clearId()
The resource ID of the AnnotationSpec that had been identified.VideoClassificationPredictionResult.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
VideoClassificationPredictionResult.Builder
clearTimeSegmentEnd()
The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified.VideoClassificationPredictionResult.Builder
clearTimeSegmentStart()
The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified.VideoClassificationPredictionResult.Builder
clearType()
The type of the prediction.VideoClassificationPredictionResult.Builder
clone()
com.google.protobuf.FloatValue
getConfidence()
The Model's confidence in correction of this prediction, higher value means higher confidence.com.google.protobuf.FloatValue.Builder
getConfidenceBuilder()
The Model's confidence in correction of this prediction, higher value means higher confidence.com.google.protobuf.FloatValueOrBuilder
getConfidenceOrBuilder()
The Model's confidence in correction of this prediction, higher value means higher confidence.VideoClassificationPredictionResult
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDisplayName()
The display name of the AnnotationSpec that had been identified.com.google.protobuf.ByteString
getDisplayNameBytes()
The display name of the AnnotationSpec that had been identified.String
getId()
The resource ID of the AnnotationSpec that had been identified.com.google.protobuf.ByteString
getIdBytes()
The resource ID of the AnnotationSpec that had been identified.com.google.protobuf.Duration
getTimeSegmentEnd()
The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified.com.google.protobuf.Duration.Builder
getTimeSegmentEndBuilder()
The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified.com.google.protobuf.DurationOrBuilder
getTimeSegmentEndOrBuilder()
The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified.com.google.protobuf.Duration
getTimeSegmentStart()
The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified.com.google.protobuf.Duration.Builder
getTimeSegmentStartBuilder()
The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified.com.google.protobuf.DurationOrBuilder
getTimeSegmentStartOrBuilder()
The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified.String
getType()
The type of the prediction.com.google.protobuf.ByteString
getTypeBytes()
The type of the prediction.boolean
hasConfidence()
The Model's confidence in correction of this prediction, higher value means higher confidence.boolean
hasTimeSegmentEnd()
The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified.boolean
hasTimeSegmentStart()
The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
VideoClassificationPredictionResult.Builder
mergeConfidence(com.google.protobuf.FloatValue value)
The Model's confidence in correction of this prediction, higher value means higher confidence.VideoClassificationPredictionResult.Builder
mergeFrom(VideoClassificationPredictionResult other)
VideoClassificationPredictionResult.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
VideoClassificationPredictionResult.Builder
mergeFrom(com.google.protobuf.Message other)
VideoClassificationPredictionResult.Builder
mergeTimeSegmentEnd(com.google.protobuf.Duration value)
The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified.VideoClassificationPredictionResult.Builder
mergeTimeSegmentStart(com.google.protobuf.Duration value)
The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified.VideoClassificationPredictionResult.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
VideoClassificationPredictionResult.Builder
setConfidence(com.google.protobuf.FloatValue value)
The Model's confidence in correction of this prediction, higher value means higher confidence.VideoClassificationPredictionResult.Builder
setConfidence(com.google.protobuf.FloatValue.Builder builderForValue)
The Model's confidence in correction of this prediction, higher value means higher confidence.VideoClassificationPredictionResult.Builder
setDisplayName(String value)
The display name of the AnnotationSpec that had been identified.VideoClassificationPredictionResult.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
The display name of the AnnotationSpec that had been identified.VideoClassificationPredictionResult.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
VideoClassificationPredictionResult.Builder
setId(String value)
The resource ID of the AnnotationSpec that had been identified.VideoClassificationPredictionResult.Builder
setIdBytes(com.google.protobuf.ByteString value)
The resource ID of the AnnotationSpec that had been identified.VideoClassificationPredictionResult.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
VideoClassificationPredictionResult.Builder
setTimeSegmentEnd(com.google.protobuf.Duration value)
The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified.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.VideoClassificationPredictionResult.Builder
setTimeSegmentStart(com.google.protobuf.Duration value)
The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified.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.VideoClassificationPredictionResult.Builder
setType(String value)
The type of the prediction.VideoClassificationPredictionResult.Builder
setTypeBytes(com.google.protobuf.ByteString value)
The type of the prediction.VideoClassificationPredictionResult.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionResult.Builder>
-
clear
public VideoClassificationPredictionResult.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionResult.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionResult.Builder>
-
getDefaultInstanceForType
public VideoClassificationPredictionResult getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public VideoClassificationPredictionResult build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VideoClassificationPredictionResult buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VideoClassificationPredictionResult.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionResult.Builder>
-
setField
public VideoClassificationPredictionResult.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionResult.Builder>
-
clearField
public VideoClassificationPredictionResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionResult.Builder>
-
clearOneof
public VideoClassificationPredictionResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionResult.Builder>
-
setRepeatedField
public VideoClassificationPredictionResult.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionResult.Builder>
-
addRepeatedField
public VideoClassificationPredictionResult.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionResult.Builder>
-
mergeFrom
public VideoClassificationPredictionResult.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VideoClassificationPredictionResult.Builder>
-
mergeFrom
public VideoClassificationPredictionResult.Builder mergeFrom(VideoClassificationPredictionResult other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getId
in 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:
getIdBytes
in 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:
getDisplayName
in 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:
getDisplayNameBytes
in 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:
getType
in 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:
getTypeBytes
in 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:
hasTimeSegmentStart
in 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:
getTimeSegmentStart
in 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:
getTimeSegmentStartOrBuilder
in 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:
hasTimeSegmentEnd
in 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:
getTimeSegmentEnd
in 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:
getTimeSegmentEndOrBuilder
in 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:
hasConfidence
in 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:
getConfidence
in 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:
getConfidenceOrBuilder
in interfaceVideoClassificationPredictionResultOrBuilder
-
setUnknownFields
public final VideoClassificationPredictionResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionResult.Builder>
-
mergeUnknownFields
public final VideoClassificationPredictionResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationPredictionResult.Builder>
-
-