Class BatchDeleteEntitiesRequest.Builder (4.51.0)

public static final class BatchDeleteEntitiesRequest.Builder extends GeneratedMessageV3.Builder<BatchDeleteEntitiesRequest.Builder> implements BatchDeleteEntitiesRequestOrBuilder

The request message for EntityTypes.BatchDeleteEntities.

Protobuf type google.cloud.dialogflow.v2beta1.BatchDeleteEntitiesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllEntityValues(Iterable<String> values)

public BatchDeleteEntitiesRequest.Builder addAllEntityValues(Iterable<String> values)

Required. The reference values of the entities to delete. Note that these are not fully-qualified names, i.e. they don't start with projects/<Project ID>.

repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<String>

The entityValues to add.

Returns
Type Description
BatchDeleteEntitiesRequest.Builder

This builder for chaining.

addEntityValues(String value)

public BatchDeleteEntitiesRequest.Builder addEntityValues(String value)

Required. The reference values of the entities to delete. Note that these are not fully-qualified names, i.e. they don't start with projects/<Project ID>.

repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The entityValues to add.

Returns
Type Description
BatchDeleteEntitiesRequest.Builder

This builder for chaining.

addEntityValuesBytes(ByteString value)

public BatchDeleteEntitiesRequest.Builder addEntityValuesBytes(ByteString value)

Required. The reference values of the entities to delete. Note that these are not fully-qualified names, i.e. they don't start with projects/<Project ID>.

repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes of the entityValues to add.

Returns
Type Description
BatchDeleteEntitiesRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchDeleteEntitiesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchDeleteEntitiesRequest.Builder
Overrides

build()

public BatchDeleteEntitiesRequest build()
Returns
Type Description
BatchDeleteEntitiesRequest

buildPartial()

public BatchDeleteEntitiesRequest buildPartial()
Returns
Type Description
BatchDeleteEntitiesRequest

clear()

public BatchDeleteEntitiesRequest.Builder clear()
Returns
Type Description
BatchDeleteEntitiesRequest.Builder
Overrides

clearEntityValues()

public BatchDeleteEntitiesRequest.Builder clearEntityValues()

Required. The reference values of the entities to delete. Note that these are not fully-qualified names, i.e. they don't start with projects/<Project ID>.

repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BatchDeleteEntitiesRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public BatchDeleteEntitiesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BatchDeleteEntitiesRequest.Builder
Overrides

clearLanguageCode()

public BatchDeleteEntitiesRequest.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
BatchDeleteEntitiesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchDeleteEntitiesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BatchDeleteEntitiesRequest.Builder
Overrides

clearParent()

public BatchDeleteEntitiesRequest.Builder clearParent()

Required. The name of the entity type to delete entries for. 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
BatchDeleteEntitiesRequest.Builder

This builder for chaining.

clone()

public BatchDeleteEntitiesRequest.Builder clone()
Returns
Type Description
BatchDeleteEntitiesRequest.Builder
Overrides

getDefaultInstanceForType()

public BatchDeleteEntitiesRequest getDefaultInstanceForType()
Returns
Type Description
BatchDeleteEntitiesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEntityValues(int index)

public String getEntityValues(int index)

Required. The reference values of the entities to delete. Note that these are not fully-qualified names, i.e. they don't start with projects/<Project ID>.

repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The entityValues at the given index.

getEntityValuesBytes(int index)

public ByteString getEntityValuesBytes(int index)

Required. The reference values of the entities to delete. Note that these are not fully-qualified names, i.e. they don't start with projects/<Project ID>.

repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the entityValues at the given index.

getEntityValuesCount()

public int getEntityValuesCount()

Required. The reference values of the entities to delete. Note that these are not fully-qualified names, i.e. they don't start with projects/<Project ID>.

repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of entityValues.

getEntityValuesList()

public ProtocolStringList getEntityValuesList()

Required. The reference values of the entities to delete. Note that these are not fully-qualified names, i.e. they don't start with projects/<Project ID>.

repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProtocolStringList

A list containing the entityValues.

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 delete entries for. 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 delete entries for. 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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchDeleteEntitiesRequest other)

public BatchDeleteEntitiesRequest.Builder mergeFrom(BatchDeleteEntitiesRequest other)
Parameter
Name Description
other BatchDeleteEntitiesRequest
Returns
Type Description
BatchDeleteEntitiesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchDeleteEntitiesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchDeleteEntitiesRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BatchDeleteEntitiesRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchDeleteEntitiesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchDeleteEntitiesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchDeleteEntitiesRequest.Builder
Overrides

setEntityValues(int index, String value)

public BatchDeleteEntitiesRequest.Builder setEntityValues(int index, String value)

Required. The reference values of the entities to delete. Note that these are not fully-qualified names, i.e. they don't start with projects/<Project ID>.

repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int

The index to set the value at.

value String

The entityValues to set.

Returns
Type Description
BatchDeleteEntitiesRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public BatchDeleteEntitiesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchDeleteEntitiesRequest.Builder
Overrides

setLanguageCode(String value)

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

Returns
Type Description
BatchDeleteEntitiesRequest.Builder

This builder for chaining.

setLanguageCodeBytes(ByteString value)

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

Returns
Type Description
BatchDeleteEntitiesRequest.Builder

This builder for chaining.

setParent(String value)

public BatchDeleteEntitiesRequest.Builder setParent(String value)

Required. The name of the entity type to delete entries for. 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 String

The parent to set.

Returns
Type Description
BatchDeleteEntitiesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchDeleteEntitiesRequest.Builder setParentBytes(ByteString value)

Required. The name of the entity type to delete entries for. 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 ByteString

The bytes for parent to set.

Returns
Type Description
BatchDeleteEntitiesRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BatchDeleteEntitiesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchDeleteEntitiesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchDeleteEntitiesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchDeleteEntitiesRequest.Builder
Overrides