public final class VideoAnnotationProgress extends GeneratedMessageV3 implements VideoAnnotationProgressOrBuilder
Annotation progress for a single video.
Protobuf type google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress
Static Fields
FEATURE_FIELD_NUMBER
public static final int FEATURE_FIELD_NUMBER
Field Value
public static final int INPUT_URI_FIELD_NUMBER
Field Value
PROGRESS_PERCENT_FIELD_NUMBER
public static final int PROGRESS_PERCENT_FIELD_NUMBER
Field Value
SEGMENT_FIELD_NUMBER
public static final int SEGMENT_FIELD_NUMBER
Field Value
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Field Value
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static VideoAnnotationProgress getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static VideoAnnotationProgress.Builder newBuilder()
Returns
newBuilder(VideoAnnotationProgress prototype)
public static VideoAnnotationProgress.Builder newBuilder(VideoAnnotationProgress prototype)
Parameter
Returns
public static VideoAnnotationProgress parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static VideoAnnotationProgress parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static VideoAnnotationProgress parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VideoAnnotationProgress parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static VideoAnnotationProgress parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VideoAnnotationProgress parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VideoAnnotationProgress parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static VideoAnnotationProgress parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VideoAnnotationProgress parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static VideoAnnotationProgress parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static VideoAnnotationProgress parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VideoAnnotationProgress parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<VideoAnnotationProgress> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public VideoAnnotationProgress getDefaultInstanceForType()
Returns
getFeature()
public Feature getFeature()
Specifies which feature is being tracked if the request contains more than
one feature.
.google.cloud.videointelligence.v1p3beta1.Feature feature = 5;
Returns
getFeatureValue()
public int getFeatureValue()
Specifies which feature is being tracked if the request contains more than
one feature.
.google.cloud.videointelligence.v1p3beta1.Feature feature = 5;
Returns
Type | Description |
int | The enum numeric value on the wire for feature.
|
public String getInputUri()
Returns
Type | Description |
String | The inputUri.
|
public ByteString getInputUriBytes()
Returns
getParserForType()
public Parser<VideoAnnotationProgress> getParserForType()
Returns
Overrides
getProgressPercent()
public int getProgressPercent()
Approximate percentage processed thus far. Guaranteed to be
100 when fully processed.
int32 progress_percent = 2;
Returns
Type | Description |
int | The progressPercent.
|
getSegment()
public VideoSegment getSegment()
Specifies which segment is being tracked if the request contains more than
one segment.
.google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 6;
Returns
getSegmentOrBuilder()
public VideoSegmentOrBuilder getSegmentOrBuilder()
Specifies which segment is being tracked if the request contains more than
one segment.
.google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 6;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getStartTime()
public Timestamp getStartTime()
Time when the request was received.
.google.protobuf.Timestamp start_time = 3;
Returns
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Time when the request was received.
.google.protobuf.Timestamp start_time = 3;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUpdateTime()
public Timestamp getUpdateTime()
Time of the most recent update.
.google.protobuf.Timestamp update_time = 4;
Returns
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Time of the most recent update.
.google.protobuf.Timestamp update_time = 4;
Returns
hasSegment()
public boolean hasSegment()
Specifies which segment is being tracked if the request contains more than
one segment.
.google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 6;
Returns
Type | Description |
boolean | Whether the segment field is set.
|
hasStartTime()
public boolean hasStartTime()
Time when the request was received.
.google.protobuf.Timestamp start_time = 3;
Returns
Type | Description |
boolean | Whether the startTime field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
Time of the most recent update.
.google.protobuf.Timestamp update_time = 4;
Returns
Type | Description |
boolean | Whether the updateTime field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public VideoAnnotationProgress.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VideoAnnotationProgress.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public VideoAnnotationProgress.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions