Class AnnotateVideoResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoResponse.Builder>
-
- com.google.cloud.videointelligence.v1beta2.AnnotateVideoResponse.Builder
-
- All Implemented Interfaces:
AnnotateVideoResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- AnnotateVideoResponse
public static final class AnnotateVideoResponse.Builder extends com.google.protobuf.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 typegoogle.cloud.videointelligence.v1beta2.AnnotateVideoResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotateVideoResponse.Builder
addAllAnnotationResults(Iterable<? extends VideoAnnotationResults> values)
Annotation results for all videos specified in `AnnotateVideoRequest`.AnnotateVideoResponse.Builder
addAnnotationResults(int index, VideoAnnotationResults value)
Annotation results for all videos specified in `AnnotateVideoRequest`.AnnotateVideoResponse.Builder
addAnnotationResults(int index, VideoAnnotationResults.Builder builderForValue)
Annotation results for all videos specified in `AnnotateVideoRequest`.AnnotateVideoResponse.Builder
addAnnotationResults(VideoAnnotationResults value)
Annotation results for all videos specified in `AnnotateVideoRequest`.AnnotateVideoResponse.Builder
addAnnotationResults(VideoAnnotationResults.Builder builderForValue)
Annotation results for all videos specified in `AnnotateVideoRequest`.VideoAnnotationResults.Builder
addAnnotationResultsBuilder()
Annotation results for all videos specified in `AnnotateVideoRequest`.VideoAnnotationResults.Builder
addAnnotationResultsBuilder(int index)
Annotation results for all videos specified in `AnnotateVideoRequest`.AnnotateVideoResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AnnotateVideoResponse
build()
AnnotateVideoResponse
buildPartial()
AnnotateVideoResponse.Builder
clear()
AnnotateVideoResponse.Builder
clearAnnotationResults()
Annotation results for all videos specified in `AnnotateVideoRequest`.AnnotateVideoResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AnnotateVideoResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AnnotateVideoResponse.Builder
clone()
VideoAnnotationResults
getAnnotationResults(int index)
Annotation results for all videos specified in `AnnotateVideoRequest`.VideoAnnotationResults.Builder
getAnnotationResultsBuilder(int index)
Annotation results for all videos specified in `AnnotateVideoRequest`.List<VideoAnnotationResults.Builder>
getAnnotationResultsBuilderList()
Annotation results for all videos specified in `AnnotateVideoRequest`.int
getAnnotationResultsCount()
Annotation results for all videos specified in `AnnotateVideoRequest`.List<VideoAnnotationResults>
getAnnotationResultsList()
Annotation results for all videos specified in `AnnotateVideoRequest`.VideoAnnotationResultsOrBuilder
getAnnotationResultsOrBuilder(int index)
Annotation results for all videos specified in `AnnotateVideoRequest`.List<? extends VideoAnnotationResultsOrBuilder>
getAnnotationResultsOrBuilderList()
Annotation results for all videos specified in `AnnotateVideoRequest`.AnnotateVideoResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AnnotateVideoResponse.Builder
mergeFrom(AnnotateVideoResponse other)
AnnotateVideoResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AnnotateVideoResponse.Builder
mergeFrom(com.google.protobuf.Message other)
AnnotateVideoResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AnnotateVideoResponse.Builder
removeAnnotationResults(int index)
Annotation results for all videos specified in `AnnotateVideoRequest`.AnnotateVideoResponse.Builder
setAnnotationResults(int index, VideoAnnotationResults value)
Annotation results for all videos specified in `AnnotateVideoRequest`.AnnotateVideoResponse.Builder
setAnnotationResults(int index, VideoAnnotationResults.Builder builderForValue)
Annotation results for all videos specified in `AnnotateVideoRequest`.AnnotateVideoResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AnnotateVideoResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AnnotateVideoResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoResponse.Builder>
-
clear
public AnnotateVideoResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoResponse.Builder>
-
getDefaultInstanceForType
public AnnotateVideoResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AnnotateVideoResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AnnotateVideoResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AnnotateVideoResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoResponse.Builder>
-
setField
public AnnotateVideoResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoResponse.Builder>
-
clearField
public AnnotateVideoResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoResponse.Builder>
-
clearOneof
public AnnotateVideoResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoResponse.Builder>
-
setRepeatedField
public AnnotateVideoResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoResponse.Builder>
-
addRepeatedField
public AnnotateVideoResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoResponse.Builder>
-
mergeFrom
public AnnotateVideoResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AnnotateVideoResponse.Builder>
-
mergeFrom
public AnnotateVideoResponse.Builder mergeFrom(AnnotateVideoResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoResponse.Builder>
-
mergeFrom
public AnnotateVideoResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AnnotateVideoResponse.Builder>
- Throws:
IOException
-
getAnnotationResultsList
public List<VideoAnnotationResults> getAnnotationResultsList()
Annotation results for all videos specified in `AnnotateVideoRequest`.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;
- Specified by:
getAnnotationResultsList
in interfaceAnnotateVideoResponseOrBuilder
-
getAnnotationResultsCount
public int getAnnotationResultsCount()
Annotation results for all videos specified in `AnnotateVideoRequest`.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;
- Specified by:
getAnnotationResultsCount
in interfaceAnnotateVideoResponseOrBuilder
-
getAnnotationResults
public VideoAnnotationResults getAnnotationResults(int index)
Annotation results for all videos specified in `AnnotateVideoRequest`.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;
- Specified by:
getAnnotationResults
in interfaceAnnotateVideoResponseOrBuilder
-
setAnnotationResults
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
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;
-
addAnnotationResults
public AnnotateVideoResponse.Builder addAnnotationResults(VideoAnnotationResults value)
Annotation results for all videos specified in `AnnotateVideoRequest`.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;
-
addAnnotationResults
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
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
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;
-
addAllAnnotationResults
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;
-
clearAnnotationResults
public AnnotateVideoResponse.Builder clearAnnotationResults()
Annotation results for all videos specified in `AnnotateVideoRequest`.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;
-
removeAnnotationResults
public AnnotateVideoResponse.Builder removeAnnotationResults(int index)
Annotation results for all videos specified in `AnnotateVideoRequest`.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;
-
getAnnotationResultsBuilder
public VideoAnnotationResults.Builder getAnnotationResultsBuilder(int index)
Annotation results for all videos specified in `AnnotateVideoRequest`.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;
-
getAnnotationResultsOrBuilder
public VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder(int index)
Annotation results for all videos specified in `AnnotateVideoRequest`.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;
- Specified by:
getAnnotationResultsOrBuilder
in interfaceAnnotateVideoResponseOrBuilder
-
getAnnotationResultsOrBuilderList
public List<? extends VideoAnnotationResultsOrBuilder> getAnnotationResultsOrBuilderList()
Annotation results for all videos specified in `AnnotateVideoRequest`.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;
- Specified by:
getAnnotationResultsOrBuilderList
in interfaceAnnotateVideoResponseOrBuilder
-
addAnnotationResultsBuilder
public VideoAnnotationResults.Builder addAnnotationResultsBuilder()
Annotation results for all videos specified in `AnnotateVideoRequest`.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;
-
addAnnotationResultsBuilder
public VideoAnnotationResults.Builder addAnnotationResultsBuilder(int index)
Annotation results for all videos specified in `AnnotateVideoRequest`.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;
-
getAnnotationResultsBuilderList
public List<VideoAnnotationResults.Builder> getAnnotationResultsBuilderList()
Annotation results for all videos specified in `AnnotateVideoRequest`.
repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationResults annotation_results = 1;
-
setUnknownFields
public final AnnotateVideoResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoResponse.Builder>
-
mergeUnknownFields
public final AnnotateVideoResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoResponse.Builder>
-
-