public static final class AnnotateVideoResponse.Builder extends GeneratedMessageV3.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.v1p2beta1.AnnotateVideoResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults>
|
Returns
addAnnotationResults(VideoAnnotationResults value)
public AnnotateVideoResponse.Builder addAnnotationResults(VideoAnnotationResults value)
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Parameter
Returns
addAnnotationResults(VideoAnnotationResults.Builder builderForValue)
public AnnotateVideoResponse.Builder addAnnotationResults(VideoAnnotationResults.Builder builderForValue)
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Parameter
Returns
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.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Parameters
Returns
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.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Parameters
Returns
addAnnotationResultsBuilder()
public VideoAnnotationResults.Builder addAnnotationResultsBuilder()
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Returns
addAnnotationResultsBuilder(int index)
public VideoAnnotationResults.Builder addAnnotationResultsBuilder(int index)
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnnotateVideoResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AnnotateVideoResponse build()
Returns
buildPartial()
public AnnotateVideoResponse buildPartial()
Returns
clear()
public AnnotateVideoResponse.Builder clear()
Returns
Overrides
clearAnnotationResults()
public AnnotateVideoResponse.Builder clearAnnotationResults()
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public AnnotateVideoResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AnnotateVideoResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public AnnotateVideoResponse.Builder clone()
Returns
Overrides
getAnnotationResults(int index)
public VideoAnnotationResults getAnnotationResults(int index)
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Parameter
Returns
getAnnotationResultsBuilder(int index)
public VideoAnnotationResults.Builder getAnnotationResultsBuilder(int index)
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Parameter
Returns
getAnnotationResultsBuilderList()
public List<VideoAnnotationResults.Builder> getAnnotationResultsBuilderList()
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Returns
getAnnotationResultsCount()
public int getAnnotationResultsCount()
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Returns
getAnnotationResultsList()
public List<VideoAnnotationResults> getAnnotationResultsList()
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Returns
getAnnotationResultsOrBuilder(int index)
public VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder(int index)
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Parameter
Returns
getAnnotationResultsOrBuilderList()
public List<? extends VideoAnnotationResultsOrBuilder> getAnnotationResultsOrBuilderList()
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Returns
Type | Description |
List<? extends com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResultsOrBuilder> | |
getDefaultInstanceForType()
public AnnotateVideoResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AnnotateVideoResponse other)
public AnnotateVideoResponse.Builder mergeFrom(AnnotateVideoResponse other)
Parameter
Returns
public AnnotateVideoResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AnnotateVideoResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnnotateVideoResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeAnnotationResults(int index)
public AnnotateVideoResponse.Builder removeAnnotationResults(int index)
Annotation results for all videos specified in AnnotateVideoRequest
.
repeated .google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Parameter
Returns
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.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Parameters
Returns
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.v1p2beta1.VideoAnnotationResults annotation_results = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AnnotateVideoResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnnotateVideoResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AnnotateVideoResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides