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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<LabelAnnotation.Builder>
public LabelAnnotation.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<LabelAnnotation.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<LabelAnnotation.Builder>
public LabelAnnotation getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public LabelAnnotation build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public LabelAnnotation buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public LabelAnnotation.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<LabelAnnotation.Builder>
public LabelAnnotation.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<LabelAnnotation.Builder>
public LabelAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<LabelAnnotation.Builder>
public LabelAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<LabelAnnotation.Builder>
public LabelAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<LabelAnnotation.Builder>
public LabelAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<LabelAnnotation.Builder>
public LabelAnnotation.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<LabelAnnotation.Builder>
public LabelAnnotation.Builder mergeFrom(LabelAnnotation other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<LabelAnnotation.Builder>
public LabelAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<LabelAnnotation.Builder>
java.io.IOException
public java.lang.String getDescription()
Textual description, e.g. `Fixed-gear bicycle`.
string description = 1;
getDescription
in interface LabelAnnotationOrBuilder
public ByteString getDescriptionBytes()
Textual description, e.g. `Fixed-gear bicycle`.
string description = 1;
getDescriptionBytes
in interface LabelAnnotationOrBuilder
public 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 LabelAnnotationOrBuilder
public ByteString getLanguageCodeBytes()
Language code for `description` in BCP-47 format.
string language_code = 2;
getLanguageCodeBytes
in interface LabelAnnotationOrBuilder
public 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 LabelAnnotationOrBuilder
public int getLocationsCount()
Where the label was detected and with what confidence.
repeated .google.cloud.videointelligence.v1beta1.LabelLocation locations = 3;
getLocationsCount
in interface LabelAnnotationOrBuilder
public LabelLocation getLocations(int index)
Where the label was detected and with what confidence.
repeated .google.cloud.videointelligence.v1beta1.LabelLocation locations = 3;
getLocations
in interface LabelAnnotationOrBuilder
public 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 LabelAnnotationOrBuilder
public 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 LabelAnnotationOrBuilder
public 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.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<LabelAnnotation.Builder>
public final LabelAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<LabelAnnotation.Builder>