Send feedback
Class VideoClassificationPredictionResult (0.13.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.13.0 keyboard_arrow_down
public final class VideoClassificationPredictionResult extends GeneratedMessageV3 implements VideoClassificationPredictionResultOrBuilder
Prediction output format for Video Classification.
Protobuf type google.cloud.visionai.v1.VideoClassificationPredictionResult
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CLASSIFICATIONS_FIELD_NUMBER
public static final int CLASSIFICATIONS_FIELD_NUMBER
Field Value
Type
Description
int
SEGMENT_END_TIME_FIELD_NUMBER
public static final int SEGMENT_END_TIME_FIELD_NUMBER
Field Value
Type
Description
int
SEGMENT_START_TIME_FIELD_NUMBER
public static final int SEGMENT_START_TIME_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static VideoClassificationPredictionResult getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static VideoClassificationPredictionResult . Builder newBuilder ()
newBuilder(VideoClassificationPredictionResult prototype)
public static VideoClassificationPredictionResult . Builder newBuilder ( VideoClassificationPredictionResult prototype )
public static VideoClassificationPredictionResult parseDelimitedFrom ( InputStream input )
public static VideoClassificationPredictionResult parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static VideoClassificationPredictionResult parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VideoClassificationPredictionResult parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static VideoClassificationPredictionResult parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VideoClassificationPredictionResult parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static VideoClassificationPredictionResult parseFrom ( CodedInputStream input )
public static VideoClassificationPredictionResult parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static VideoClassificationPredictionResult parseFrom ( InputStream input )
public static VideoClassificationPredictionResult parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static VideoClassificationPredictionResult parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VideoClassificationPredictionResult parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<VideoClassificationPredictionResult> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getClassifications(int index)
public VideoClassificationPredictionResult . IdentifiedClassification getClassifications ( int index )
All of the classifications identified in the time range.
repeated .google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification classifications = 3;
Parameter
Name
Description
index
int
getClassificationsCount()
public int getClassificationsCount ()
All of the classifications identified in the time range.
repeated .google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification classifications = 3;
Returns
Type
Description
int
getClassificationsList()
public List<VideoClassificationPredictionResult . IdentifiedClassification > getClassificationsList ()
All of the classifications identified in the time range.
repeated .google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification classifications = 3;
getClassificationsOrBuilder(int index)
public VideoClassificationPredictionResult . IdentifiedClassificationOrBuilder getClassificationsOrBuilder ( int index )
All of the classifications identified in the time range.
repeated .google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification classifications = 3;
Parameter
Name
Description
index
int
getClassificationsOrBuilderList()
public List <? extends VideoClassificationPredictionResult . IdentifiedClassificationOrBuilder > getClassificationsOrBuilderList ()
All of the classifications identified in the time range.
repeated .google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification classifications = 3;
Returns
Type
Description
List <? extends com.google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassificationOrBuilder >
getDefaultInstanceForType()
public VideoClassificationPredictionResult getDefaultInstanceForType ()
getParserForType()
public Parser<VideoClassificationPredictionResult> getParserForType ()
Overrides
getSegmentEndTime()
public Timestamp getSegmentEndTime ()
The end, inclusive, of the video's time segment in which the
classifications have been identified. Particularly, if the end is the same
as the start, it means the identification happens on a specific video
frame.
.google.protobuf.Timestamp segment_end_time = 2;
Returns
Type
Description
Timestamp
The segmentEndTime.
getSegmentEndTimeOrBuilder()
public TimestampOrBuilder getSegmentEndTimeOrBuilder ()
The end, inclusive, of the video's time segment in which the
classifications have been identified. Particularly, if the end is the same
as the start, it means the identification happens on a specific video
frame.
.google.protobuf.Timestamp segment_end_time = 2;
getSegmentStartTime()
public Timestamp getSegmentStartTime ()
The beginning, inclusive, of the video's time segment in which the
classifications have been identified.
.google.protobuf.Timestamp segment_start_time = 1;
Returns
Type
Description
Timestamp
The segmentStartTime.
getSegmentStartTimeOrBuilder()
public TimestampOrBuilder getSegmentStartTimeOrBuilder ()
The beginning, inclusive, of the video's time segment in which the
classifications have been identified.
.google.protobuf.Timestamp segment_start_time = 1;
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hasSegmentEndTime()
public boolean hasSegmentEndTime ()
The end, inclusive, of the video's time segment in which the
classifications have been identified. Particularly, if the end is the same
as the start, it means the identification happens on a specific video
frame.
.google.protobuf.Timestamp segment_end_time = 2;
Returns
Type
Description
boolean
Whether the segmentEndTime field is set.
hasSegmentStartTime()
public boolean hasSegmentStartTime ()
The beginning, inclusive, of the video's time segment in which the
classifications have been identified.
.google.protobuf.Timestamp segment_start_time = 1;
Returns
Type
Description
boolean
Whether the segmentStartTime field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public VideoClassificationPredictionResult . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VideoClassificationPredictionResult . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public VideoClassificationPredictionResult . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-04 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-04 UTC."],[],[]]