Class VideoAnnotationProgress.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VideoAnnotationProgress.Builder>
com.google.cloud.videointelligence.v1.VideoAnnotationProgress.Builder
- All Implemented Interfaces:
VideoAnnotationProgressOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- VideoAnnotationProgress
public static final class VideoAnnotationProgress.Builder
extends com.google.protobuf.GeneratedMessage.Builder<VideoAnnotationProgress.Builder>
implements VideoAnnotationProgressOrBuilder
Annotation progress for a single video.Protobuf type
google.cloud.videointelligence.v1.VideoAnnotationProgress-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Specifies which feature is being tracked if the request contains more than one feature.Video file location in [Cloud Storage](https://cloud.google.com/storage/).Approximate percentage processed thus far.Specifies which segment is being tracked if the request contains more than one segment.Time when the request was received.Time of the most recent update.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorSpecifies which feature is being tracked if the request contains more than one feature.intSpecifies which feature is being tracked if the request contains more than one feature.Video file location in [Cloud Storage](https://cloud.google.com/storage/).com.google.protobuf.ByteStringVideo file location in [Cloud Storage](https://cloud.google.com/storage/).intApproximate percentage processed thus far.Specifies which segment is being tracked if the request contains more than one segment.Specifies which segment is being tracked if the request contains more than one segment.Specifies which segment is being tracked if the request contains more than one segment.com.google.protobuf.TimestampTime when the request was received.com.google.protobuf.Timestamp.BuilderTime when the request was received.com.google.protobuf.TimestampOrBuilderTime when the request was received.com.google.protobuf.TimestampTime of the most recent update.com.google.protobuf.Timestamp.BuilderTime of the most recent update.com.google.protobuf.TimestampOrBuilderTime of the most recent update.booleanSpecifies which segment is being tracked if the request contains more than one segment.booleanTime when the request was received.booleanTime of the most recent update.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(VideoAnnotationProgress other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeSegment(VideoSegment value) Specifies which segment is being tracked if the request contains more than one segment.mergeStartTime(com.google.protobuf.Timestamp value) Time when the request was received.mergeUpdateTime(com.google.protobuf.Timestamp value) Time of the most recent update.setFeature(Feature value) Specifies which feature is being tracked if the request contains more than one feature.setFeatureValue(int value) Specifies which feature is being tracked if the request contains more than one feature.setInputUri(String value) Video file location in [Cloud Storage](https://cloud.google.com/storage/).setInputUriBytes(com.google.protobuf.ByteString value) Video file location in [Cloud Storage](https://cloud.google.com/storage/).setProgressPercent(int value) Approximate percentage processed thus far.setSegment(VideoSegment value) Specifies which segment is being tracked if the request contains more than one segment.setSegment(VideoSegment.Builder builderForValue) Specifies which segment is being tracked if the request contains more than one segment.setStartTime(com.google.protobuf.Timestamp value) Time when the request was received.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Time when the request was received.setUpdateTime(com.google.protobuf.Timestamp value) Time of the most recent update.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Time of the most recent update.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<VideoAnnotationProgress.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<VideoAnnotationProgress.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<VideoAnnotationProgress.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<VideoAnnotationProgress.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<VideoAnnotationProgress.Builder>
-
mergeFrom
public VideoAnnotationProgress.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<VideoAnnotationProgress.Builder>- Throws:
IOException
-
getInputUri
Video file location in [Cloud Storage](https://cloud.google.com/storage/).
string input_uri = 1;- Specified by:
getInputUriin interfaceVideoAnnotationProgressOrBuilder- Returns:
- The inputUri.
-
getInputUriBytes
public com.google.protobuf.ByteString getInputUriBytes()Video file location in [Cloud Storage](https://cloud.google.com/storage/).
string input_uri = 1;- Specified by:
getInputUriBytesin interfaceVideoAnnotationProgressOrBuilder- Returns:
- The bytes for inputUri.
-
setInputUri
Video file location in [Cloud Storage](https://cloud.google.com/storage/).
string input_uri = 1;- Parameters:
value- The inputUri to set.- Returns:
- This builder for chaining.
-
clearInputUri
Video file location in [Cloud Storage](https://cloud.google.com/storage/).
string input_uri = 1;- Returns:
- This builder for chaining.
-
setInputUriBytes
Video file location in [Cloud Storage](https://cloud.google.com/storage/).
string input_uri = 1;- Parameters:
value- The bytes for inputUri to set.- Returns:
- This builder for chaining.
-
getProgressPercent
public int getProgressPercent()Approximate percentage processed thus far. Guaranteed to be 100 when fully processed.
int32 progress_percent = 2;- Specified by:
getProgressPercentin interfaceVideoAnnotationProgressOrBuilder- Returns:
- The progressPercent.
-
setProgressPercent
Approximate percentage processed thus far. Guaranteed to be 100 when fully processed.
int32 progress_percent = 2;- Parameters:
value- The progressPercent to set.- Returns:
- This builder for chaining.
-
clearProgressPercent
Approximate percentage processed thus far. Guaranteed to be 100 when fully processed.
int32 progress_percent = 2;- Returns:
- This builder for chaining.
-
hasStartTime
public boolean hasStartTime()Time when the request was received.
.google.protobuf.Timestamp start_time = 3;- Specified by:
hasStartTimein interfaceVideoAnnotationProgressOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()Time when the request was received.
.google.protobuf.Timestamp start_time = 3;- Specified by:
getStartTimein interfaceVideoAnnotationProgressOrBuilder- Returns:
- The startTime.
-
setStartTime
Time when the request was received.
.google.protobuf.Timestamp start_time = 3; -
setStartTime
public VideoAnnotationProgress.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Time when the request was received.
.google.protobuf.Timestamp start_time = 3; -
mergeStartTime
Time when the request was received.
.google.protobuf.Timestamp start_time = 3; -
clearStartTime
Time when the request was received.
.google.protobuf.Timestamp start_time = 3; -
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()Time when the request was received.
.google.protobuf.Timestamp start_time = 3; -
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Time when the request was received.
.google.protobuf.Timestamp start_time = 3;- Specified by:
getStartTimeOrBuilderin interfaceVideoAnnotationProgressOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Time of the most recent update.
.google.protobuf.Timestamp update_time = 4;- Specified by:
hasUpdateTimein interfaceVideoAnnotationProgressOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Time of the most recent update.
.google.protobuf.Timestamp update_time = 4;- Specified by:
getUpdateTimein interfaceVideoAnnotationProgressOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Time of the most recent update.
.google.protobuf.Timestamp update_time = 4; -
setUpdateTime
public VideoAnnotationProgress.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Time of the most recent update.
.google.protobuf.Timestamp update_time = 4; -
mergeUpdateTime
Time of the most recent update.
.google.protobuf.Timestamp update_time = 4; -
clearUpdateTime
Time of the most recent update.
.google.protobuf.Timestamp update_time = 4; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Time of the most recent update.
.google.protobuf.Timestamp update_time = 4; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Time of the most recent update.
.google.protobuf.Timestamp update_time = 4;- Specified by:
getUpdateTimeOrBuilderin interfaceVideoAnnotationProgressOrBuilder
-
getFeatureValue
public int getFeatureValue()Specifies which feature is being tracked if the request contains more than one feature.
.google.cloud.videointelligence.v1.Feature feature = 5;- Specified by:
getFeatureValuein interfaceVideoAnnotationProgressOrBuilder- Returns:
- The enum numeric value on the wire for feature.
-
setFeatureValue
Specifies which feature is being tracked if the request contains more than one feature.
.google.cloud.videointelligence.v1.Feature feature = 5;- Parameters:
value- The enum numeric value on the wire for feature to set.- Returns:
- This builder for chaining.
-
getFeature
Specifies which feature is being tracked if the request contains more than one feature.
.google.cloud.videointelligence.v1.Feature feature = 5;- Specified by:
getFeaturein interfaceVideoAnnotationProgressOrBuilder- Returns:
- The feature.
-
setFeature
Specifies which feature is being tracked if the request contains more than one feature.
.google.cloud.videointelligence.v1.Feature feature = 5;- Parameters:
value- The feature to set.- Returns:
- This builder for chaining.
-
clearFeature
Specifies which feature is being tracked if the request contains more than one feature.
.google.cloud.videointelligence.v1.Feature feature = 5;- Returns:
- This builder for chaining.
-
hasSegment
public boolean hasSegment()Specifies which segment is being tracked if the request contains more than one segment.
.google.cloud.videointelligence.v1.VideoSegment segment = 6;- Specified by:
hasSegmentin interfaceVideoAnnotationProgressOrBuilder- Returns:
- Whether the segment field is set.
-
getSegment
Specifies which segment is being tracked if the request contains more than one segment.
.google.cloud.videointelligence.v1.VideoSegment segment = 6;- Specified by:
getSegmentin interfaceVideoAnnotationProgressOrBuilder- Returns:
- The segment.
-
setSegment
Specifies which segment is being tracked if the request contains more than one segment.
.google.cloud.videointelligence.v1.VideoSegment segment = 6; -
setSegment
Specifies which segment is being tracked if the request contains more than one segment.
.google.cloud.videointelligence.v1.VideoSegment segment = 6; -
mergeSegment
Specifies which segment is being tracked if the request contains more than one segment.
.google.cloud.videointelligence.v1.VideoSegment segment = 6; -
clearSegment
Specifies which segment is being tracked if the request contains more than one segment.
.google.cloud.videointelligence.v1.VideoSegment segment = 6; -
getSegmentBuilder
Specifies which segment is being tracked if the request contains more than one segment.
.google.cloud.videointelligence.v1.VideoSegment segment = 6; -
getSegmentOrBuilder
Specifies which segment is being tracked if the request contains more than one segment.
.google.cloud.videointelligence.v1.VideoSegment segment = 6;- Specified by:
getSegmentOrBuilderin interfaceVideoAnnotationProgressOrBuilder
-