Class VideoActionRecognitionPredictionResult.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VideoActionRecognitionPredictionResult.Builder>
com.google.cloud.aiplatform.v1.schema.predict.prediction.VideoActionRecognitionPredictionResult.Builder
- All Implemented Interfaces:
VideoActionRecognitionPredictionResultOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- VideoActionRecognitionPredictionResult
public static final class VideoActionRecognitionPredictionResult.Builder
extends com.google.protobuf.GeneratedMessage.Builder<VideoActionRecognitionPredictionResult.Builder>
implements VideoActionRecognitionPredictionResultOrBuilder
Prediction output format for Video Action Recognition.Protobuf type
google.cloud.aiplatform.v1.schema.predict.prediction.VideoActionRecognitionPredictionResult-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The Model's confidence in correction of this prediction, higher value means higher confidence.The display name of the AnnotationSpec that had been identified.clearId()The resource ID of the AnnotationSpec that had been identified.The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified.The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified.com.google.protobuf.FloatValueThe Model's confidence in correction of this prediction, higher value means higher confidence.com.google.protobuf.FloatValue.BuilderThe Model's confidence in correction of this prediction, higher value means higher confidence.com.google.protobuf.FloatValueOrBuilderThe Model's confidence in correction of this prediction, higher value means higher confidence.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe display name of the AnnotationSpec that had been identified.com.google.protobuf.ByteStringThe display name of the AnnotationSpec that had been identified.getId()The resource ID of the AnnotationSpec that had been identified.com.google.protobuf.ByteStringThe resource ID of the AnnotationSpec that had been identified.com.google.protobuf.DurationThe end, exclusive, of the video's time segment in which the AnnotationSpec has been identified.com.google.protobuf.Duration.BuilderThe end, exclusive, of the video's time segment in which the AnnotationSpec has been identified.com.google.protobuf.DurationOrBuilderThe end, exclusive, of the video's time segment in which the AnnotationSpec has been identified.com.google.protobuf.DurationThe beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified.com.google.protobuf.Duration.BuilderThe beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified.com.google.protobuf.DurationOrBuilderThe beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified.booleanThe Model's confidence in correction of this prediction, higher value means higher confidence.booleanThe end, exclusive, of the video's time segment in which the AnnotationSpec has been identified.booleanThe beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeConfidence(com.google.protobuf.FloatValue value) The Model's confidence in correction of this prediction, higher value means higher confidence.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeTimeSegmentEnd(com.google.protobuf.Duration value) The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified.mergeTimeSegmentStart(com.google.protobuf.Duration value) The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified.setConfidence(com.google.protobuf.FloatValue value) The Model's confidence in correction of this prediction, higher value means higher confidence.setConfidence(com.google.protobuf.FloatValue.Builder builderForValue) The Model's confidence in correction of this prediction, higher value means higher confidence.setDisplayName(String value) The display name of the AnnotationSpec that had been identified.setDisplayNameBytes(com.google.protobuf.ByteString value) The display name of the AnnotationSpec that had been identified.The resource ID of the AnnotationSpec that had been identified.setIdBytes(com.google.protobuf.ByteString value) The resource ID of the AnnotationSpec that had been identified.setTimeSegmentEnd(com.google.protobuf.Duration value) The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified.setTimeSegmentEnd(com.google.protobuf.Duration.Builder builderForValue) The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified.setTimeSegmentStart(com.google.protobuf.Duration value) The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified.setTimeSegmentStart(com.google.protobuf.Duration.Builder builderForValue) The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<VideoActionRecognitionPredictionResult.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<VideoActionRecognitionPredictionResult.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.GeneratedMessage.Builder<VideoActionRecognitionPredictionResult.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VideoActionRecognitionPredictionResult.Builder>
-
mergeFrom
public VideoActionRecognitionPredictionResult.Builder mergeFrom(VideoActionRecognitionPredictionResult other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<VideoActionRecognitionPredictionResult.Builder>
-
mergeFrom
public VideoActionRecognitionPredictionResult.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<VideoActionRecognitionPredictionResult.Builder>- Throws:
IOException
-
getId
The resource ID of the AnnotationSpec that had been identified.
string id = 1;- Specified by:
getIdin interfaceVideoActionRecognitionPredictionResultOrBuilder- 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 interfaceVideoActionRecognitionPredictionResultOrBuilder- Returns:
- The bytes for id.
-
setId
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
The resource ID of the AnnotationSpec that had been identified.
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
public VideoActionRecognitionPredictionResult.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
The display name of the AnnotationSpec that had been identified.
string display_name = 2;- Specified by:
getDisplayNamein interfaceVideoActionRecognitionPredictionResultOrBuilder- 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 interfaceVideoActionRecognitionPredictionResultOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
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
The display name of the AnnotationSpec that had been identified.
string display_name = 2;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public VideoActionRecognitionPredictionResult.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.
-
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.
.google.protobuf.Duration time_segment_start = 4;- Specified by:
hasTimeSegmentStartin interfaceVideoActionRecognitionPredictionResultOrBuilder- 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.
.google.protobuf.Duration time_segment_start = 4;- Specified by:
getTimeSegmentStartin interfaceVideoActionRecognitionPredictionResultOrBuilder- Returns:
- The timeSegmentStart.
-
setTimeSegmentStart
public VideoActionRecognitionPredictionResult.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.
.google.protobuf.Duration time_segment_start = 4; -
setTimeSegmentStart
public VideoActionRecognitionPredictionResult.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.
.google.protobuf.Duration time_segment_start = 4; -
mergeTimeSegmentStart
public VideoActionRecognitionPredictionResult.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.
.google.protobuf.Duration time_segment_start = 4; -
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.
.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.
.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.
.google.protobuf.Duration time_segment_start = 4;- Specified by:
getTimeSegmentStartOrBuilderin interfaceVideoActionRecognitionPredictionResultOrBuilder
-
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.
.google.protobuf.Duration time_segment_end = 5;- Specified by:
hasTimeSegmentEndin interfaceVideoActionRecognitionPredictionResultOrBuilder- 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.
.google.protobuf.Duration time_segment_end = 5;- Specified by:
getTimeSegmentEndin interfaceVideoActionRecognitionPredictionResultOrBuilder- Returns:
- The timeSegmentEnd.
-
setTimeSegmentEnd
public VideoActionRecognitionPredictionResult.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.
.google.protobuf.Duration time_segment_end = 5; -
setTimeSegmentEnd
public VideoActionRecognitionPredictionResult.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.
.google.protobuf.Duration time_segment_end = 5; -
mergeTimeSegmentEnd
public VideoActionRecognitionPredictionResult.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.
.google.protobuf.Duration time_segment_end = 5; -
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.
.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.
.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.
.google.protobuf.Duration time_segment_end = 5;- Specified by:
getTimeSegmentEndOrBuilderin interfaceVideoActionRecognitionPredictionResultOrBuilder
-
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 interfaceVideoActionRecognitionPredictionResultOrBuilder- 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 interfaceVideoActionRecognitionPredictionResultOrBuilder- Returns:
- The confidence.
-
setConfidence
public VideoActionRecognitionPredictionResult.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 VideoActionRecognitionPredictionResult.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 VideoActionRecognitionPredictionResult.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
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 interfaceVideoActionRecognitionPredictionResultOrBuilder
-