- 2.51.0 (latest)
- 2.50.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.13
- 2.1.0
- 2.0.27
public static final class Entity.Builder extends GeneratedMessageV3.Builder<Entity.Builder> implements EntityOrBuilder
Detected entity from video analysis.
Protobuf type google.cloud.videointelligence.v1.Entity
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Entity.BuilderImplements
EntityOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Entity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Entity.Builder |
build()
public Entity build()
Type | Description |
Entity |
buildPartial()
public Entity buildPartial()
Type | Description |
Entity |
clear()
public Entity.Builder clear()
Type | Description |
Entity.Builder |
clearDescription()
public Entity.Builder clearDescription()
Textual description, e.g., Fixed-gear bicycle
.
string description = 2;
Type | Description |
Entity.Builder | This builder for chaining. |
clearEntityId()
public Entity.Builder clearEntityId()
Opaque entity ID. Some IDs may be available in Google Knowledge Graph Search API.
string entity_id = 1;
Type | Description |
Entity.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Entity.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Entity.Builder |
clearLanguageCode()
public Entity.Builder clearLanguageCode()
Language code for description
in BCP-47 format.
string language_code = 3;
Type | Description |
Entity.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Entity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Entity.Builder |
clone()
public Entity.Builder clone()
Type | Description |
Entity.Builder |
getDefaultInstanceForType()
public Entity getDefaultInstanceForType()
Type | Description |
Entity |
getDescription()
public String getDescription()
Textual description, e.g., Fixed-gear bicycle
.
string description = 2;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Textual description, e.g., Fixed-gear bicycle
.
string description = 2;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEntityId()
public String getEntityId()
Opaque entity ID. Some IDs may be available in Google Knowledge Graph Search API.
string entity_id = 1;
Type | Description |
String | The entityId. |
getEntityIdBytes()
public ByteString getEntityIdBytes()
Opaque entity ID. Some IDs may be available in Google Knowledge Graph Search API.
string entity_id = 1;
Type | Description |
ByteString | The bytes for entityId. |
getLanguageCode()
public String getLanguageCode()
Language code for description
in BCP-47 format.
string language_code = 3;
Type | Description |
String | The languageCode. |
getLanguageCodeBytes()
public ByteString getLanguageCodeBytes()
Language code for description
in BCP-47 format.
string language_code = 3;
Type | Description |
ByteString | The bytes for languageCode. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Entity other)
public Entity.Builder mergeFrom(Entity other)
Name | Description |
other | Entity |
Type | Description |
Entity.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Entity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Entity.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Entity.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Entity.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Entity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Entity.Builder |
setDescription(String value)
public Entity.Builder setDescription(String value)
Textual description, e.g., Fixed-gear bicycle
.
string description = 2;
Name | Description |
value | String The description to set. |
Type | Description |
Entity.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public Entity.Builder setDescriptionBytes(ByteString value)
Textual description, e.g., Fixed-gear bicycle
.
string description = 2;
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
Entity.Builder | This builder for chaining. |
setEntityId(String value)
public Entity.Builder setEntityId(String value)
Opaque entity ID. Some IDs may be available in Google Knowledge Graph Search API.
string entity_id = 1;
Name | Description |
value | String The entityId to set. |
Type | Description |
Entity.Builder | This builder for chaining. |
setEntityIdBytes(ByteString value)
public Entity.Builder setEntityIdBytes(ByteString value)
Opaque entity ID. Some IDs may be available in Google Knowledge Graph Search API.
string entity_id = 1;
Name | Description |
value | ByteString The bytes for entityId to set. |
Type | Description |
Entity.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Entity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Entity.Builder |
setLanguageCode(String value)
public Entity.Builder setLanguageCode(String value)
Language code for description
in BCP-47 format.
string language_code = 3;
Name | Description |
value | String The languageCode to set. |
Type | Description |
Entity.Builder | This builder for chaining. |
setLanguageCodeBytes(ByteString value)
public Entity.Builder setLanguageCodeBytes(ByteString value)
Language code for description
in BCP-47 format.
string language_code = 3;
Name | Description |
value | ByteString The bytes for languageCode to set. |
Type | Description |
Entity.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Entity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Entity.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Entity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Entity.Builder |