public static final class BatchUpdateEntitiesRequest.Builder extends GeneratedMessage.Builder<BatchUpdateEntitiesRequest.Builder> implements BatchUpdateEntitiesRequestOrBuilderThe request message for EntityTypes.BatchUpdateEntities.
Protobuf type google.cloud.dialogflow.v2beta1.BatchUpdateEntitiesRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BatchUpdateEntitiesRequest.BuilderImplements
BatchUpdateEntitiesRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllEntities(Iterable<? extends EntityType.Entity> values)
public BatchUpdateEntitiesRequest.Builder addAllEntities(Iterable<? extends EntityType.Entity> values)Required. The entities to update or create.
repeated .google.cloud.dialogflow.v2beta1.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2beta1.EntityType.Entity> |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateEntitiesRequest.Builder |
|
addEntities(EntityType.Entity value)
public BatchUpdateEntitiesRequest.Builder addEntities(EntityType.Entity value)Required. The entities to update or create.
repeated .google.cloud.dialogflow.v2beta1.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
EntityType.Entity |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateEntitiesRequest.Builder |
|
addEntities(EntityType.Entity.Builder builderForValue)
public BatchUpdateEntitiesRequest.Builder addEntities(EntityType.Entity.Builder builderForValue)Required. The entities to update or create.
repeated .google.cloud.dialogflow.v2beta1.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
EntityType.Entity.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateEntitiesRequest.Builder |
|
addEntities(int index, EntityType.Entity value)
public BatchUpdateEntitiesRequest.Builder addEntities(int index, EntityType.Entity value)Required. The entities to update or create.
repeated .google.cloud.dialogflow.v2beta1.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
EntityType.Entity |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateEntitiesRequest.Builder |
|
addEntities(int index, EntityType.Entity.Builder builderForValue)
public BatchUpdateEntitiesRequest.Builder addEntities(int index, EntityType.Entity.Builder builderForValue)Required. The entities to update or create.
repeated .google.cloud.dialogflow.v2beta1.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
EntityType.Entity.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateEntitiesRequest.Builder |
|
addEntitiesBuilder()
public EntityType.Entity.Builder addEntitiesBuilder()Required. The entities to update or create.
repeated .google.cloud.dialogflow.v2beta1.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
EntityType.Entity.Builder |
|
addEntitiesBuilder(int index)
public EntityType.Entity.Builder addEntitiesBuilder(int index)Required. The entities to update or create.
repeated .google.cloud.dialogflow.v2beta1.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EntityType.Entity.Builder |
|
build()
public BatchUpdateEntitiesRequest build()| Returns | |
|---|---|
| Type | Description |
BatchUpdateEntitiesRequest |
|
buildPartial()
public BatchUpdateEntitiesRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
BatchUpdateEntitiesRequest |
|
clear()
public BatchUpdateEntitiesRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
BatchUpdateEntitiesRequest.Builder |
|
clearEntities()
public BatchUpdateEntitiesRequest.Builder clearEntities()Required. The entities to update or create.
repeated .google.cloud.dialogflow.v2beta1.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
BatchUpdateEntitiesRequest.Builder |
|
clearLanguageCode()
public BatchUpdateEntitiesRequest.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];
| Returns | |
|---|---|
| Type | Description |
BatchUpdateEntitiesRequest.Builder |
This builder for chaining. |
clearParent()
public BatchUpdateEntitiesRequest.Builder clearParent()Required. The name of the entity type to update or create entities in. Supported formats:
projects/<Project ID>/agent/entityTypes/<Entity Type ID>projects/<Project ID>/locations/<Location ID>/agent/entityTypes/<Entity Type ID>
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
BatchUpdateEntitiesRequest.Builder |
This builder for chaining. |
clearUpdateMask()
public BatchUpdateEntitiesRequest.Builder clearUpdateMask()Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 4;
| Returns | |
|---|---|
| Type | Description |
BatchUpdateEntitiesRequest.Builder |
|
getDefaultInstanceForType()
public BatchUpdateEntitiesRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BatchUpdateEntitiesRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEntities(int index)
public EntityType.Entity getEntities(int index)Required. The entities to update or create.
repeated .google.cloud.dialogflow.v2beta1.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EntityType.Entity |
|
getEntitiesBuilder(int index)
public EntityType.Entity.Builder getEntitiesBuilder(int index)Required. The entities to update or create.
repeated .google.cloud.dialogflow.v2beta1.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EntityType.Entity.Builder |
|
getEntitiesBuilderList()
public List<EntityType.Entity.Builder> getEntitiesBuilderList()Required. The entities to update or create.
repeated .google.cloud.dialogflow.v2beta1.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getEntitiesCount()
public int getEntitiesCount()Required. The entities to update or create.
repeated .google.cloud.dialogflow.v2beta1.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
|
getEntitiesList()
public List<EntityType.Entity> getEntitiesList()Required. The entities to update or create.
repeated .google.cloud.dialogflow.v2beta1.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<Entity> |
|
getEntitiesOrBuilder(int index)
public EntityType.EntityOrBuilder getEntitiesOrBuilder(int index)Required. The entities to update or create.
repeated .google.cloud.dialogflow.v2beta1.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EntityType.EntityOrBuilder |
|
getEntitiesOrBuilderList()
public List<? extends EntityType.EntityOrBuilder> getEntitiesOrBuilderList()Required. The entities to update or create.
repeated .google.cloud.dialogflow.v2beta1.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.dialogflow.v2beta1.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 update or create entities in. Supported formats:
projects/<Project ID>/agent/entityTypes/<Entity Type ID>projects/<Project ID>/locations/<Location 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 update or create entities in. Supported formats:
projects/<Project ID>/agent/entityTypes/<Entity Type ID>projects/<Project ID>/locations/<Location 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. |
getUpdateMask()
public FieldMask getUpdateMask()Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 4;
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 4;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 4;
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasUpdateMask()
public boolean hasUpdateMask()Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BatchUpdateEntitiesRequest other)
public BatchUpdateEntitiesRequest.Builder mergeFrom(BatchUpdateEntitiesRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
BatchUpdateEntitiesRequest |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateEntitiesRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchUpdateEntitiesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateEntitiesRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BatchUpdateEntitiesRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateEntitiesRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public BatchUpdateEntitiesRequest.Builder mergeUpdateMask(FieldMask value)Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateEntitiesRequest.Builder |
|
removeEntities(int index)
public BatchUpdateEntitiesRequest.Builder removeEntities(int index)Required. The entities to update or create.
repeated .google.cloud.dialogflow.v2beta1.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateEntitiesRequest.Builder |
|
setEntities(int index, EntityType.Entity value)
public BatchUpdateEntitiesRequest.Builder setEntities(int index, EntityType.Entity value)Required. The entities to update or create.
repeated .google.cloud.dialogflow.v2beta1.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
EntityType.Entity |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateEntitiesRequest.Builder |
|
setEntities(int index, EntityType.Entity.Builder builderForValue)
public BatchUpdateEntitiesRequest.Builder setEntities(int index, EntityType.Entity.Builder builderForValue)Required. The entities to update or create.
repeated .google.cloud.dialogflow.v2beta1.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
EntityType.Entity.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateEntitiesRequest.Builder |
|
setLanguageCode(String value)
public BatchUpdateEntitiesRequest.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 |
StringThe languageCode to set. |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateEntitiesRequest.Builder |
This builder for chaining. |
setLanguageCodeBytes(ByteString value)
public BatchUpdateEntitiesRequest.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 |
ByteStringThe bytes for languageCode to set. |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateEntitiesRequest.Builder |
This builder for chaining. |
setParent(String value)
public BatchUpdateEntitiesRequest.Builder setParent(String value)Required. The name of the entity type to update or create entities in. Supported formats:
projects/<Project ID>/agent/entityTypes/<Entity Type ID>projects/<Project ID>/locations/<Location ID>/agent/entityTypes/<Entity Type ID>
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateEntitiesRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public BatchUpdateEntitiesRequest.Builder setParentBytes(ByteString value)Required. The name of the entity type to update or create entities in. Supported formats:
projects/<Project ID>/agent/entityTypes/<Entity Type ID>projects/<Project ID>/locations/<Location ID>/agent/entityTypes/<Entity Type ID>
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateEntitiesRequest.Builder |
This builder for chaining. |
setUpdateMask(FieldMask value)
public BatchUpdateEntitiesRequest.Builder setUpdateMask(FieldMask value)Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateEntitiesRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public BatchUpdateEntitiesRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateEntitiesRequest.Builder |
|