public static final class AnalyzeEntitiesResponse.Builder extends GeneratedMessageV3.Builder<AnalyzeEntitiesResponse.Builder> implements AnalyzeEntitiesResponseOrBuilder
The entity analysis response message.Protobuf type
google.cloud.language.v1.AnalyzeEntitiesResponse
Modifier and Type | Method and Description |
---|---|
AnalyzeEntitiesResponse.Builder |
addAllEntities(java.lang.Iterable<? extends Entity> values)
The recognized entities in the input document.
|
AnalyzeEntitiesResponse.Builder |
addEntities(Entity.Builder builderForValue)
The recognized entities in the input document.
|
AnalyzeEntitiesResponse.Builder |
addEntities(Entity value)
The recognized entities in the input document.
|
AnalyzeEntitiesResponse.Builder |
addEntities(int index,
Entity.Builder builderForValue)
The recognized entities in the input document.
|
AnalyzeEntitiesResponse.Builder |
addEntities(int index,
Entity value)
The recognized entities in the input document.
|
Entity.Builder |
addEntitiesBuilder()
The recognized entities in the input document.
|
Entity.Builder |
addEntitiesBuilder(int index)
The recognized entities in the input document.
|
AnalyzeEntitiesResponse.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
AnalyzeEntitiesResponse |
build() |
AnalyzeEntitiesResponse |
buildPartial() |
AnalyzeEntitiesResponse.Builder |
clear() |
AnalyzeEntitiesResponse.Builder |
clearEntities()
The recognized entities in the input document.
|
AnalyzeEntitiesResponse.Builder |
clearField(Descriptors.FieldDescriptor field) |
AnalyzeEntitiesResponse.Builder |
clearLanguage()
The language of the text, which will be the same as the language specified
in the request or, if not specified, the automatically-detected language.
|
AnalyzeEntitiesResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
AnalyzeEntitiesResponse.Builder |
clone() |
AnalyzeEntitiesResponse |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
Entity |
getEntities(int index)
The recognized entities in the input document.
|
Entity.Builder |
getEntitiesBuilder(int index)
The recognized entities in the input document.
|
java.util.List<Entity.Builder> |
getEntitiesBuilderList()
The recognized entities in the input document.
|
int |
getEntitiesCount()
The recognized entities in the input document.
|
java.util.List<Entity> |
getEntitiesList()
The recognized entities in the input document.
|
EntityOrBuilder |
getEntitiesOrBuilder(int index)
The recognized entities in the input document.
|
java.util.List<? extends EntityOrBuilder> |
getEntitiesOrBuilderList()
The recognized entities in the input document.
|
java.lang.String |
getLanguage()
The language of the text, which will be the same as the language specified
in the request or, if not specified, the automatically-detected language.
|
ByteString |
getLanguageBytes()
The language of the text, which will be the same as the language specified
in the request or, if not specified, the automatically-detected language.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AnalyzeEntitiesResponse.Builder |
mergeFrom(AnalyzeEntitiesResponse other) |
AnalyzeEntitiesResponse.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
AnalyzeEntitiesResponse.Builder |
mergeFrom(Message other) |
AnalyzeEntitiesResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
AnalyzeEntitiesResponse.Builder |
removeEntities(int index)
The recognized entities in the input document.
|
AnalyzeEntitiesResponse.Builder |
setEntities(int index,
Entity.Builder builderForValue)
The recognized entities in the input document.
|
AnalyzeEntitiesResponse.Builder |
setEntities(int index,
Entity value)
The recognized entities in the input document.
|
AnalyzeEntitiesResponse.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
AnalyzeEntitiesResponse.Builder |
setLanguage(java.lang.String value)
The language of the text, which will be the same as the language specified
in the request or, if not specified, the automatically-detected language.
|
AnalyzeEntitiesResponse.Builder |
setLanguageBytes(ByteString value)
The language of the text, which will be the same as the language specified
in the request or, if not specified, the automatically-detected language.
|
AnalyzeEntitiesResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
AnalyzeEntitiesResponse.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<AnalyzeEntitiesResponse.Builder>
public AnalyzeEntitiesResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<AnalyzeEntitiesResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<AnalyzeEntitiesResponse.Builder>
public AnalyzeEntitiesResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public AnalyzeEntitiesResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public AnalyzeEntitiesResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public AnalyzeEntitiesResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<AnalyzeEntitiesResponse.Builder>
public AnalyzeEntitiesResponse.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<AnalyzeEntitiesResponse.Builder>
public AnalyzeEntitiesResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<AnalyzeEntitiesResponse.Builder>
public AnalyzeEntitiesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<AnalyzeEntitiesResponse.Builder>
public AnalyzeEntitiesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<AnalyzeEntitiesResponse.Builder>
public AnalyzeEntitiesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<AnalyzeEntitiesResponse.Builder>
public AnalyzeEntitiesResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<AnalyzeEntitiesResponse.Builder>
public AnalyzeEntitiesResponse.Builder mergeFrom(AnalyzeEntitiesResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<AnalyzeEntitiesResponse.Builder>
public AnalyzeEntitiesResponse.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<AnalyzeEntitiesResponse.Builder>
java.io.IOException
public java.util.List<Entity> getEntitiesList()
The recognized entities in the input document.
repeated .google.cloud.language.v1.Entity entities = 1;
getEntitiesList
in interface AnalyzeEntitiesResponseOrBuilder
public int getEntitiesCount()
The recognized entities in the input document.
repeated .google.cloud.language.v1.Entity entities = 1;
getEntitiesCount
in interface AnalyzeEntitiesResponseOrBuilder
public Entity getEntities(int index)
The recognized entities in the input document.
repeated .google.cloud.language.v1.Entity entities = 1;
getEntities
in interface AnalyzeEntitiesResponseOrBuilder
public AnalyzeEntitiesResponse.Builder setEntities(int index, Entity value)
The recognized entities in the input document.
repeated .google.cloud.language.v1.Entity entities = 1;
public AnalyzeEntitiesResponse.Builder setEntities(int index, Entity.Builder builderForValue)
The recognized entities in the input document.
repeated .google.cloud.language.v1.Entity entities = 1;
public AnalyzeEntitiesResponse.Builder addEntities(Entity value)
The recognized entities in the input document.
repeated .google.cloud.language.v1.Entity entities = 1;
public AnalyzeEntitiesResponse.Builder addEntities(int index, Entity value)
The recognized entities in the input document.
repeated .google.cloud.language.v1.Entity entities = 1;
public AnalyzeEntitiesResponse.Builder addEntities(Entity.Builder builderForValue)
The recognized entities in the input document.
repeated .google.cloud.language.v1.Entity entities = 1;
public AnalyzeEntitiesResponse.Builder addEntities(int index, Entity.Builder builderForValue)
The recognized entities in the input document.
repeated .google.cloud.language.v1.Entity entities = 1;
public AnalyzeEntitiesResponse.Builder addAllEntities(java.lang.Iterable<? extends Entity> values)
The recognized entities in the input document.
repeated .google.cloud.language.v1.Entity entities = 1;
public AnalyzeEntitiesResponse.Builder clearEntities()
The recognized entities in the input document.
repeated .google.cloud.language.v1.Entity entities = 1;
public AnalyzeEntitiesResponse.Builder removeEntities(int index)
The recognized entities in the input document.
repeated .google.cloud.language.v1.Entity entities = 1;
public Entity.Builder getEntitiesBuilder(int index)
The recognized entities in the input document.
repeated .google.cloud.language.v1.Entity entities = 1;
public EntityOrBuilder getEntitiesOrBuilder(int index)
The recognized entities in the input document.
repeated .google.cloud.language.v1.Entity entities = 1;
getEntitiesOrBuilder
in interface AnalyzeEntitiesResponseOrBuilder
public java.util.List<? extends EntityOrBuilder> getEntitiesOrBuilderList()
The recognized entities in the input document.
repeated .google.cloud.language.v1.Entity entities = 1;
getEntitiesOrBuilderList
in interface AnalyzeEntitiesResponseOrBuilder
public Entity.Builder addEntitiesBuilder()
The recognized entities in the input document.
repeated .google.cloud.language.v1.Entity entities = 1;
public Entity.Builder addEntitiesBuilder(int index)
The recognized entities in the input document.
repeated .google.cloud.language.v1.Entity entities = 1;
public java.util.List<Entity.Builder> getEntitiesBuilderList()
The recognized entities in the input document.
repeated .google.cloud.language.v1.Entity entities = 1;
public java.lang.String getLanguage()
The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See [Document.language][google.cloud.language.v1.Document.language] field for more details.
string language = 2;
getLanguage
in interface AnalyzeEntitiesResponseOrBuilder
public ByteString getLanguageBytes()
The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See [Document.language][google.cloud.language.v1.Document.language] field for more details.
string language = 2;
getLanguageBytes
in interface AnalyzeEntitiesResponseOrBuilder
public AnalyzeEntitiesResponse.Builder setLanguage(java.lang.String value)
The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See [Document.language][google.cloud.language.v1.Document.language] field for more details.
string language = 2;
public AnalyzeEntitiesResponse.Builder clearLanguage()
The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See [Document.language][google.cloud.language.v1.Document.language] field for more details.
string language = 2;
public AnalyzeEntitiesResponse.Builder setLanguageBytes(ByteString value)
The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See [Document.language][google.cloud.language.v1.Document.language] field for more details.
string language = 2;
public final AnalyzeEntitiesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<AnalyzeEntitiesResponse.Builder>
public final AnalyzeEntitiesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<AnalyzeEntitiesResponse.Builder>