public static final class BatchCreateEntitiesRequest.Builder extends GeneratedMessageV3.Builder<BatchCreateEntitiesRequest.Builder> implements BatchCreateEntitiesRequestOrBuilder
The request message for
EntityTypes.BatchCreateEntities.
Protobuf type google.cloud.dialogflow.v2.BatchCreateEntitiesRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllEntities(Iterable<? extends EntityType.Entity> values)
public BatchCreateEntitiesRequest.Builder addAllEntities(Iterable<? extends EntityType.Entity> values)
Required. The entities to create.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2.EntityType.Entity>
|
addEntities(EntityType.Entity value)
public BatchCreateEntitiesRequest.Builder addEntities(EntityType.Entity value)
Required. The entities to create.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
addEntities(EntityType.Entity.Builder builderForValue)
public BatchCreateEntitiesRequest.Builder addEntities(EntityType.Entity.Builder builderForValue)
Required. The entities to create.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
addEntities(int index, EntityType.Entity value)
public BatchCreateEntitiesRequest.Builder addEntities(int index, EntityType.Entity value)
Required. The entities to create.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
addEntities(int index, EntityType.Entity.Builder builderForValue)
public BatchCreateEntitiesRequest.Builder addEntities(int index, EntityType.Entity.Builder builderForValue)
Required. The entities to create.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
addEntitiesBuilder()
public EntityType.Entity.Builder addEntitiesBuilder()
Required. The entities to create.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
addEntitiesBuilder(int index)
public EntityType.Entity.Builder addEntitiesBuilder(int index)
Required. The entities to create.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchCreateEntitiesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BatchCreateEntitiesRequest build()
buildPartial()
public BatchCreateEntitiesRequest buildPartial()
clear()
public BatchCreateEntitiesRequest.Builder clear()
Overrides
clearEntities()
public BatchCreateEntitiesRequest.Builder clearEntities()
Required. The entities to create.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public BatchCreateEntitiesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLanguageCode()
public BatchCreateEntitiesRequest.Builder clearLanguageCode()
Optional. The language used to access language-specific data.
If not specified, the agent's default language is used.
For more information, see
Multilingual intent and entity
data.
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchCreateEntitiesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public BatchCreateEntitiesRequest.Builder clearParent()
Required. The name of the entity type to create entities in. Format:
projects/<Project ID>/agent/entityTypes/<Entity Type ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public BatchCreateEntitiesRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public BatchCreateEntitiesRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEntities(int index)
public EntityType.Entity getEntities(int index)
Required. The entities to create.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getEntitiesBuilder(int index)
public EntityType.Entity.Builder getEntitiesBuilder(int index)
Required. The entities to create.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getEntitiesBuilderList()
public List<EntityType.Entity.Builder> getEntitiesBuilderList()
Required. The entities to create.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
getEntitiesCount()
public int getEntitiesCount()
Required. The entities to create.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
getEntitiesList()
public List<EntityType.Entity> getEntitiesList()
Required. The entities to create.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
getEntitiesOrBuilder(int index)
public EntityType.EntityOrBuilder getEntitiesOrBuilder(int index)
Required. The entities to create.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getEntitiesOrBuilderList()
public List<? extends EntityType.EntityOrBuilder> getEntitiesOrBuilderList()
Required. The entities to create.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2.EntityType.EntityOrBuilder> |
|
getLanguageCode()
public String getLanguageCode()
Optional. The language used to access language-specific data.
If not specified, the agent's default language is used.
For more information, see
Multilingual intent and entity
data.
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The languageCode.
|
getLanguageCodeBytes()
public ByteString getLanguageCodeBytes()
Optional. The language used to access language-specific data.
If not specified, the agent's default language is used.
For more information, see
Multilingual intent and entity
data.
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for languageCode.
|
getParent()
public String getParent()
Required. The name of the entity type to create entities in. Format:
projects/<Project ID>/agent/entityTypes/<Entity Type ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The name of the entity type to create entities in. Format:
projects/<Project ID>/agent/entityTypes/<Entity Type ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BatchCreateEntitiesRequest other)
public BatchCreateEntitiesRequest.Builder mergeFrom(BatchCreateEntitiesRequest other)
public BatchCreateEntitiesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchCreateEntitiesRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchCreateEntitiesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeEntities(int index)
public BatchCreateEntitiesRequest.Builder removeEntities(int index)
Required. The entities to create.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
setEntities(int index, EntityType.Entity value)
public BatchCreateEntitiesRequest.Builder setEntities(int index, EntityType.Entity value)
Required. The entities to create.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
setEntities(int index, EntityType.Entity.Builder builderForValue)
public BatchCreateEntitiesRequest.Builder setEntities(int index, EntityType.Entity.Builder builderForValue)
Required. The entities to create.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public BatchCreateEntitiesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setLanguageCode(String value)
public BatchCreateEntitiesRequest.Builder setLanguageCode(String value)
Optional. The language used to access language-specific data.
If not specified, the agent's default language is used.
For more information, see
Multilingual intent and entity
data.
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
String
The languageCode to set.
|
setLanguageCodeBytes(ByteString value)
public BatchCreateEntitiesRequest.Builder setLanguageCodeBytes(ByteString value)
Optional. The language used to access language-specific data.
If not specified, the agent's default language is used.
For more information, see
Multilingual intent and entity
data.
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
ByteString
The bytes for languageCode to set.
|
setParent(String value)
public BatchCreateEntitiesRequest.Builder setParent(String value)
Required. The name of the entity type to create entities in. Format:
projects/<Project ID>/agent/entityTypes/<Entity Type ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public BatchCreateEntitiesRequest.Builder setParentBytes(ByteString value)
Required. The name of the entity type to create entities in. Format:
projects/<Project ID>/agent/entityTypes/<Entity Type ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchCreateEntitiesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchCreateEntitiesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides