- 4.58.0 (latest)
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
public static final class BatchUpdateEntitiesRequest.Builder extends GeneratedMessageV3.Builder<BatchUpdateEntitiesRequest.Builder> implements BatchUpdateEntitiesRequestOrBuilder
The request message for EntityTypes.BatchUpdateEntities.
Protobuf type google.cloud.dialogflow.v2.BatchUpdateEntitiesRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BatchUpdateEntitiesRequest.BuilderImplements
BatchUpdateEntitiesRequestOrBuilderMethods
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.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.v2.EntityType.Entity> |
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.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | EntityType.Entity |
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.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
builderForValue | EntityType.Entity.Builder |
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.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int |
value | EntityType.Entity |
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.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int |
builderForValue | EntityType.Entity.Builder |
Type | Description |
BatchUpdateEntitiesRequest.Builder |
addEntitiesBuilder()
public EntityType.Entity.Builder addEntitiesBuilder()
Required. The entities to update or create.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
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.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int |
Type | Description |
EntityType.Entity.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchUpdateEntitiesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BatchUpdateEntitiesRequest.Builder |
build()
public BatchUpdateEntitiesRequest build()
Type | Description |
BatchUpdateEntitiesRequest |
buildPartial()
public BatchUpdateEntitiesRequest buildPartial()
Type | Description |
BatchUpdateEntitiesRequest |
clear()
public BatchUpdateEntitiesRequest.Builder clear()
Type | Description |
BatchUpdateEntitiesRequest.Builder |
clearEntities()
public BatchUpdateEntitiesRequest.Builder clearEntities()
Required. The entities to update or create.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
BatchUpdateEntitiesRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public BatchUpdateEntitiesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
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];
Type | Description |
BatchUpdateEntitiesRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchUpdateEntitiesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
BatchUpdateEntitiesRequest.Builder |
clearParent()
public BatchUpdateEntitiesRequest.Builder clearParent()
Required. The name of the entity type to update or create entities in.
Format: projects/<Project ID>/agent/entityTypes/<Entity Type ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
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 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
BatchUpdateEntitiesRequest.Builder |
clone()
public BatchUpdateEntitiesRequest.Builder clone()
Type | Description |
BatchUpdateEntitiesRequest.Builder |
getDefaultInstanceForType()
public BatchUpdateEntitiesRequest getDefaultInstanceForType()
Type | Description |
BatchUpdateEntitiesRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEntities(int index)
public EntityType.Entity getEntities(int index)
Required. The entities to update or create.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int |
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.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int |
Type | Description |
EntityType.Entity.Builder |
getEntitiesBuilderList()
public List<EntityType.Entity.Builder> getEntitiesBuilderList()
Required. The entities to update or create.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
List<Builder> |
getEntitiesCount()
public int getEntitiesCount()
Required. The entities to update or create.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int |
getEntitiesList()
public List<EntityType.Entity> getEntitiesList()
Required. The entities to update or create.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
List<Entity> |
getEntitiesOrBuilder(int index)
public EntityType.EntityOrBuilder getEntitiesOrBuilder(int index)
Required. The entities to update or create.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int |
Type | Description |
EntityType.EntityOrBuilder |
getEntitiesOrBuilderList()
public List<? extends EntityType.EntityOrBuilder> getEntitiesOrBuilderList()
Required. The entities to update or create.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
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];
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];
Type | Description |
ByteString | The bytes for languageCode. |
getParent()
public String getParent()
Required. The name of the entity type to update or create entities in.
Format: projects/<Project ID>/agent/entityTypes/<Entity Type ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The name of the entity type to update or create entities in.
Format: projects/<Project ID>/agent/entityTypes/<Entity Type ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
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 [(.google.api.field_behavior) = OPTIONAL];
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 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Builder |
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
FieldMaskOrBuilder |
hasUpdateMask()
public boolean hasUpdateMask()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(BatchUpdateEntitiesRequest other)
public BatchUpdateEntitiesRequest.Builder mergeFrom(BatchUpdateEntitiesRequest other)
Name | Description |
other | BatchUpdateEntitiesRequest |
Type | Description |
BatchUpdateEntitiesRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchUpdateEntitiesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BatchUpdateEntitiesRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public BatchUpdateEntitiesRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
BatchUpdateEntitiesRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchUpdateEntitiesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | FieldMask |
Type | Description |
BatchUpdateEntitiesRequest.Builder |
removeEntities(int index)
public BatchUpdateEntitiesRequest.Builder removeEntities(int index)
Required. The entities to update or create.
repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int |
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.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int |
value | EntityType.Entity |
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.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int |
builderForValue | EntityType.Entity.Builder |
Type | Description |
BatchUpdateEntitiesRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BatchUpdateEntitiesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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];
Name | Description |
value | String The languageCode to set. |
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];
Name | Description |
value | ByteString The bytes for languageCode to set. |
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.
Format: projects/<Project ID>/agent/entityTypes/<Entity Type ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The parent to set. |
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.
Format: projects/<Project ID>/agent/entityTypes/<Entity Type ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
BatchUpdateEntitiesRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchUpdateEntitiesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
BatchUpdateEntitiesRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchUpdateEntitiesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BatchUpdateEntitiesRequest.Builder |
setUpdateMask(FieldMask value)
public BatchUpdateEntitiesRequest.Builder setUpdateMask(FieldMask value)
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | FieldMask |
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 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
builderForValue | Builder |
Type | Description |
BatchUpdateEntitiesRequest.Builder |