public static final class AnnotateVideoResponse.Builder extends GeneratedMessage.Builder<AnnotateVideoResponse.Builder> implements AnnotateVideoResponseOrBuilder
Video annotation response. Included in the response
field of the Operation returned by the GetOperation
call of the google::longrunning::Operations service.
Protobuf type google.cloud.videointelligence.v1beta2.AnnotateVideoResponse
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllAnnotationResults(Iterable<? extends VideoAnnotationResults> values)
public AnnotateVideoResponse.Builder addAllAnnotationResults(Iterable<? extends VideoAnnotationResults> values)
Annotation results for all videos specified in AnnotateVideoRequest.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults>
|
addAnnotationResults(VideoAnnotationResults value)
public AnnotateVideoResponse.Builder addAnnotationResults(VideoAnnotationResults value)
Annotation results for all videos specified in AnnotateVideoRequest.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;
addAnnotationResults(VideoAnnotationResults.Builder builderForValue)
public AnnotateVideoResponse.Builder addAnnotationResults(VideoAnnotationResults.Builder builderForValue)
Annotation results for all videos specified in AnnotateVideoRequest.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;
addAnnotationResults(int index, VideoAnnotationResults value)
public AnnotateVideoResponse.Builder addAnnotationResults(int index, VideoAnnotationResults value)
Annotation results for all videos specified in AnnotateVideoRequest.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;
addAnnotationResults(int index, VideoAnnotationResults.Builder builderForValue)
public AnnotateVideoResponse.Builder addAnnotationResults(int index, VideoAnnotationResults.Builder builderForValue)
Annotation results for all videos specified in AnnotateVideoRequest.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;
addAnnotationResultsBuilder()
public VideoAnnotationResults.Builder addAnnotationResultsBuilder()
Annotation results for all videos specified in AnnotateVideoRequest.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;
addAnnotationResultsBuilder(int index)
public VideoAnnotationResults.Builder addAnnotationResultsBuilder(int index)
Annotation results for all videos specified in AnnotateVideoRequest.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;
| Parameter |
| Name |
Description |
index |
int
|
build()
public AnnotateVideoResponse build()
buildPartial()
public AnnotateVideoResponse buildPartial()
clear()
public AnnotateVideoResponse.Builder clear()
Overrides
clearAnnotationResults()
public AnnotateVideoResponse.Builder clearAnnotationResults()
Annotation results for all videos specified in AnnotateVideoRequest.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;
getAnnotationResults(int index)
public VideoAnnotationResults getAnnotationResults(int index)
Annotation results for all videos specified in AnnotateVideoRequest.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;
| Parameter |
| Name |
Description |
index |
int
|
getAnnotationResultsBuilder(int index)
public VideoAnnotationResults.Builder getAnnotationResultsBuilder(int index)
Annotation results for all videos specified in AnnotateVideoRequest.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;
| Parameter |
| Name |
Description |
index |
int
|
getAnnotationResultsBuilderList()
public List<VideoAnnotationResults.Builder> getAnnotationResultsBuilderList()
Annotation results for all videos specified in AnnotateVideoRequest.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;
getAnnotationResultsCount()
public int getAnnotationResultsCount()
Annotation results for all videos specified in AnnotateVideoRequest.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;
| Returns |
| Type |
Description |
int |
|
getAnnotationResultsList()
public List<VideoAnnotationResults> getAnnotationResultsList()
Annotation results for all videos specified in AnnotateVideoRequest.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;
getAnnotationResultsOrBuilder(int index)
public VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder(int index)
Annotation results for all videos specified in AnnotateVideoRequest.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;
| Parameter |
| Name |
Description |
index |
int
|
getAnnotationResultsOrBuilderList()
public List<? extends VideoAnnotationResultsOrBuilder> getAnnotationResultsOrBuilderList()
Annotation results for all videos specified in AnnotateVideoRequest.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.videointelligence.v1beta2.VideoAnnotationResultsOrBuilder> |
|
getDefaultInstanceForType()
public AnnotateVideoResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AnnotateVideoResponse other)
public AnnotateVideoResponse.Builder mergeFrom(AnnotateVideoResponse other)
public AnnotateVideoResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AnnotateVideoResponse.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeAnnotationResults(int index)
public AnnotateVideoResponse.Builder removeAnnotationResults(int index)
Annotation results for all videos specified in AnnotateVideoRequest.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;
| Parameter |
| Name |
Description |
index |
int
|
setAnnotationResults(int index, VideoAnnotationResults value)
public AnnotateVideoResponse.Builder setAnnotationResults(int index, VideoAnnotationResults value)
Annotation results for all videos specified in AnnotateVideoRequest.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;
setAnnotationResults(int index, VideoAnnotationResults.Builder builderForValue)
public AnnotateVideoResponse.Builder setAnnotationResults(int index, VideoAnnotationResults.Builder builderForValue)
Annotation results for all videos specified in AnnotateVideoRequest.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;