Interface BatchUpdateEntitiesRequestOrBuilder (4.52.0)

public interface BatchUpdateEntitiesRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEntities(int index)

public abstract 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

getEntitiesCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract FieldMask getUpdateMask()

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 4;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 4;

Returns
Type Description
FieldMaskOrBuilder

hasUpdateMask()

public abstract 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.