public static final class LabelAnnotation.Builder extends GeneratedMessageV3.Builder<LabelAnnotation.Builder> implements LabelAnnotationOrBuilder
Label annotation.Protobuf type
google.cloud.videointelligence.v1beta1.LabelAnnotation| Modifier and Type | Method and Description |
|---|---|
LabelAnnotation.Builder |
addAllLocations(java.lang.Iterable<? extends LabelLocation> values)
Where the label was detected and with what confidence.
|
LabelAnnotation.Builder |
addLocations(int index,
LabelLocation.Builder builderForValue)
Where the label was detected and with what confidence.
|
LabelAnnotation.Builder |
addLocations(int index,
LabelLocation value)
Where the label was detected and with what confidence.
|
LabelAnnotation.Builder |
addLocations(LabelLocation.Builder builderForValue)
Where the label was detected and with what confidence.
|
LabelAnnotation.Builder |
addLocations(LabelLocation value)
Where the label was detected and with what confidence.
|
LabelLocation.Builder |
addLocationsBuilder()
Where the label was detected and with what confidence.
|
LabelLocation.Builder |
addLocationsBuilder(int index)
Where the label was detected and with what confidence.
|
LabelAnnotation.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
LabelAnnotation |
build() |
LabelAnnotation |
buildPartial() |
LabelAnnotation.Builder |
clear() |
LabelAnnotation.Builder |
clearDescription()
Textual description, e.g.
|
LabelAnnotation.Builder |
clearField(Descriptors.FieldDescriptor field) |
LabelAnnotation.Builder |
clearLanguageCode()
Language code for `description` in BCP-47 format.
|
LabelAnnotation.Builder |
clearLocations()
Where the label was detected and with what confidence.
|
LabelAnnotation.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
LabelAnnotation.Builder |
clone() |
LabelAnnotation |
getDefaultInstanceForType() |
java.lang.String |
getDescription()
Textual description, e.g.
|
ByteString |
getDescriptionBytes()
Textual description, e.g.
|
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getLanguageCode()
Language code for `description` in BCP-47 format.
|
ByteString |
getLanguageCodeBytes()
Language code for `description` in BCP-47 format.
|
LabelLocation |
getLocations(int index)
Where the label was detected and with what confidence.
|
LabelLocation.Builder |
getLocationsBuilder(int index)
Where the label was detected and with what confidence.
|
java.util.List<LabelLocation.Builder> |
getLocationsBuilderList()
Where the label was detected and with what confidence.
|
int |
getLocationsCount()
Where the label was detected and with what confidence.
|
java.util.List<LabelLocation> |
getLocationsList()
Where the label was detected and with what confidence.
|
LabelLocationOrBuilder |
getLocationsOrBuilder(int index)
Where the label was detected and with what confidence.
|
java.util.List<? extends LabelLocationOrBuilder> |
getLocationsOrBuilderList()
Where the label was detected and with what confidence.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LabelAnnotation.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
LabelAnnotation.Builder |
mergeFrom(LabelAnnotation other) |
LabelAnnotation.Builder |
mergeFrom(Message other) |
LabelAnnotation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
LabelAnnotation.Builder |
removeLocations(int index)
Where the label was detected and with what confidence.
|
LabelAnnotation.Builder |
setDescription(java.lang.String value)
Textual description, e.g.
|
LabelAnnotation.Builder |
setDescriptionBytes(ByteString value)
Textual description, e.g.
|
LabelAnnotation.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
LabelAnnotation.Builder |
setLanguageCode(java.lang.String value)
Language code for `description` in BCP-47 format.
|
LabelAnnotation.Builder |
setLanguageCodeBytes(ByteString value)
Language code for `description` in BCP-47 format.
|
LabelAnnotation.Builder |
setLocations(int index,
LabelLocation.Builder builderForValue)
Where the label was detected and with what confidence.
|
LabelAnnotation.Builder |
setLocations(int index,
LabelLocation value)
Where the label was detected and with what confidence.
|
LabelAnnotation.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
LabelAnnotation.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<LabelAnnotation.Builder>public LabelAnnotation.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<LabelAnnotation.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<LabelAnnotation.Builder>public LabelAnnotation getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic LabelAnnotation build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic LabelAnnotation buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic LabelAnnotation.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<LabelAnnotation.Builder>public LabelAnnotation.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<LabelAnnotation.Builder>public LabelAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<LabelAnnotation.Builder>public LabelAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<LabelAnnotation.Builder>public LabelAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<LabelAnnotation.Builder>public LabelAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<LabelAnnotation.Builder>public LabelAnnotation.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<LabelAnnotation.Builder>public LabelAnnotation.Builder mergeFrom(LabelAnnotation other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<LabelAnnotation.Builder>public LabelAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<LabelAnnotation.Builder>java.io.IOExceptionpublic java.lang.String getDescription()
Textual description, e.g. `Fixed-gear bicycle`.
string description = 1;getDescription in interface LabelAnnotationOrBuilderpublic ByteString getDescriptionBytes()
Textual description, e.g. `Fixed-gear bicycle`.
string description = 1;getDescriptionBytes in interface LabelAnnotationOrBuilderpublic LabelAnnotation.Builder setDescription(java.lang.String value)
Textual description, e.g. `Fixed-gear bicycle`.
string description = 1;public LabelAnnotation.Builder clearDescription()
Textual description, e.g. `Fixed-gear bicycle`.
string description = 1;public LabelAnnotation.Builder setDescriptionBytes(ByteString value)
Textual description, e.g. `Fixed-gear bicycle`.
string description = 1;public java.lang.String getLanguageCode()
Language code for `description` in BCP-47 format.
string language_code = 2;getLanguageCode in interface LabelAnnotationOrBuilderpublic ByteString getLanguageCodeBytes()
Language code for `description` in BCP-47 format.
string language_code = 2;getLanguageCodeBytes in interface LabelAnnotationOrBuilderpublic LabelAnnotation.Builder setLanguageCode(java.lang.String value)
Language code for `description` in BCP-47 format.
string language_code = 2;public LabelAnnotation.Builder clearLanguageCode()
Language code for `description` in BCP-47 format.
string language_code = 2;public LabelAnnotation.Builder setLanguageCodeBytes(ByteString value)
Language code for `description` in BCP-47 format.
string language_code = 2;public java.util.List<LabelLocation> getLocationsList()
Where the label was detected and with what confidence.
repeated .google.cloud.videointelligence.v1beta1.LabelLocation locations = 3;getLocationsList in interface LabelAnnotationOrBuilderpublic int getLocationsCount()
Where the label was detected and with what confidence.
repeated .google.cloud.videointelligence.v1beta1.LabelLocation locations = 3;getLocationsCount in interface LabelAnnotationOrBuilderpublic LabelLocation getLocations(int index)
Where the label was detected and with what confidence.
repeated .google.cloud.videointelligence.v1beta1.LabelLocation locations = 3;getLocations in interface LabelAnnotationOrBuilderpublic LabelAnnotation.Builder setLocations(int index, LabelLocation value)
Where the label was detected and with what confidence.
repeated .google.cloud.videointelligence.v1beta1.LabelLocation locations = 3;public LabelAnnotation.Builder setLocations(int index, LabelLocation.Builder builderForValue)
Where the label was detected and with what confidence.
repeated .google.cloud.videointelligence.v1beta1.LabelLocation locations = 3;public LabelAnnotation.Builder addLocations(LabelLocation value)
Where the label was detected and with what confidence.
repeated .google.cloud.videointelligence.v1beta1.LabelLocation locations = 3;public LabelAnnotation.Builder addLocations(int index, LabelLocation value)
Where the label was detected and with what confidence.
repeated .google.cloud.videointelligence.v1beta1.LabelLocation locations = 3;public LabelAnnotation.Builder addLocations(LabelLocation.Builder builderForValue)
Where the label was detected and with what confidence.
repeated .google.cloud.videointelligence.v1beta1.LabelLocation locations = 3;public LabelAnnotation.Builder addLocations(int index, LabelLocation.Builder builderForValue)
Where the label was detected and with what confidence.
repeated .google.cloud.videointelligence.v1beta1.LabelLocation locations = 3;public LabelAnnotation.Builder addAllLocations(java.lang.Iterable<? extends LabelLocation> values)
Where the label was detected and with what confidence.
repeated .google.cloud.videointelligence.v1beta1.LabelLocation locations = 3;public LabelAnnotation.Builder clearLocations()
Where the label was detected and with what confidence.
repeated .google.cloud.videointelligence.v1beta1.LabelLocation locations = 3;public LabelAnnotation.Builder removeLocations(int index)
Where the label was detected and with what confidence.
repeated .google.cloud.videointelligence.v1beta1.LabelLocation locations = 3;public LabelLocation.Builder getLocationsBuilder(int index)
Where the label was detected and with what confidence.
repeated .google.cloud.videointelligence.v1beta1.LabelLocation locations = 3;public LabelLocationOrBuilder getLocationsOrBuilder(int index)
Where the label was detected and with what confidence.
repeated .google.cloud.videointelligence.v1beta1.LabelLocation locations = 3;getLocationsOrBuilder in interface LabelAnnotationOrBuilderpublic java.util.List<? extends LabelLocationOrBuilder> getLocationsOrBuilderList()
Where the label was detected and with what confidence.
repeated .google.cloud.videointelligence.v1beta1.LabelLocation locations = 3;getLocationsOrBuilderList in interface LabelAnnotationOrBuilderpublic LabelLocation.Builder addLocationsBuilder()
Where the label was detected and with what confidence.
repeated .google.cloud.videointelligence.v1beta1.LabelLocation locations = 3;public LabelLocation.Builder addLocationsBuilder(int index)
Where the label was detected and with what confidence.
repeated .google.cloud.videointelligence.v1beta1.LabelLocation locations = 3;public java.util.List<LabelLocation.Builder> getLocationsBuilderList()
Where the label was detected and with what confidence.
repeated .google.cloud.videointelligence.v1beta1.LabelLocation locations = 3;public final LabelAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<LabelAnnotation.Builder>public final LabelAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<LabelAnnotation.Builder>