public final class VideoActionRecognitionPredictionResult extends GeneratedMessageV3 implements VideoActionRecognitionPredictionResultOrBuilder
Prediction output format for Video Action Recognition.
Protobuf type
google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoActionRecognitionPredictionResult
Static Fields
public static final int CONFIDENCE_FIELD_NUMBER
Field Value
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
public static final int ID_FIELD_NUMBER
Field Value
public static final int TIME_SEGMENT_END_FIELD_NUMBER
Field Value
public static final int TIME_SEGMENT_START_FIELD_NUMBER
Field Value
Static Methods
public static VideoActionRecognitionPredictionResult getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static VideoActionRecognitionPredictionResult.Builder newBuilder()
Returns
public static VideoActionRecognitionPredictionResult.Builder newBuilder(VideoActionRecognitionPredictionResult prototype)
Parameter
Returns
public static VideoActionRecognitionPredictionResult parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static VideoActionRecognitionPredictionResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VideoActionRecognitionPredictionResult parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static VideoActionRecognitionPredictionResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VideoActionRecognitionPredictionResult parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static VideoActionRecognitionPredictionResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VideoActionRecognitionPredictionResult parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static VideoActionRecognitionPredictionResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VideoActionRecognitionPredictionResult parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static VideoActionRecognitionPredictionResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VideoActionRecognitionPredictionResult parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static VideoActionRecognitionPredictionResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<VideoActionRecognitionPredictionResult> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public FloatValue getConfidence()
The Model's confidence in correction of this prediction, higher
value means higher confidence.
.google.protobuf.FloatValue confidence = 6;
Returns
public FloatValueOrBuilder getConfidenceOrBuilder()
The Model's confidence in correction of this prediction, higher
value means higher confidence.
.google.protobuf.FloatValue confidence = 6;
Returns
public VideoActionRecognitionPredictionResult getDefaultInstanceForType()
Returns
public String getDisplayName()
The display name of the AnnotationSpec that had been identified.
string display_name = 2;
Returns
Type | Description |
String | The displayName.
|
public ByteString getDisplayNameBytes()
The display name of the AnnotationSpec that had been identified.
string display_name = 2;
Returns
Type | Description |
ByteString | The bytes for displayName.
|
The resource ID of the AnnotationSpec that had been identified.
string id = 1;
Returns
public ByteString getIdBytes()
The resource ID of the AnnotationSpec that had been identified.
string id = 1;
Returns
public Parser<VideoActionRecognitionPredictionResult> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public 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;
Returns
Type | Description |
Duration | The timeSegmentEnd.
|
public 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;
Returns
public 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;
Returns
Type | Description |
Duration | The timeSegmentStart.
|
public 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;
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasConfidence()
The Model's confidence in correction of this prediction, higher
value means higher confidence.
.google.protobuf.FloatValue confidence = 6;
Returns
Type | Description |
boolean | Whether the confidence field is set.
|
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;
Returns
Type | Description |
boolean | Whether the timeSegmentEnd field is set.
|
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;
Returns
Type | Description |
boolean | Whether the timeSegmentStart field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public VideoActionRecognitionPredictionResult.Builder newBuilderForType()
Returns
protected VideoActionRecognitionPredictionResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public VideoActionRecognitionPredictionResult.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions