Package com.google.cloud.dialogflow.v2
Class BatchDeleteEntitiesRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntitiesRequest.Builder>
-
- com.google.cloud.dialogflow.v2.BatchDeleteEntitiesRequest.Builder
-
- All Implemented Interfaces:
BatchDeleteEntitiesRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BatchDeleteEntitiesRequest
public static final class BatchDeleteEntitiesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntitiesRequest.Builder> implements BatchDeleteEntitiesRequestOrBuilder
The request message for [EntityTypes.BatchDeleteEntities][google.cloud.dialogflow.v2.EntityTypes.BatchDeleteEntities].
Protobuf typegoogle.cloud.dialogflow.v2.BatchDeleteEntitiesRequest
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntitiesRequest.Builder>
-
clear
public BatchDeleteEntitiesRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntitiesRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntitiesRequest.Builder>
-
getDefaultInstanceForType
public BatchDeleteEntitiesRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchDeleteEntitiesRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchDeleteEntitiesRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchDeleteEntitiesRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntitiesRequest.Builder>
-
setField
public BatchDeleteEntitiesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntitiesRequest.Builder>
-
clearField
public BatchDeleteEntitiesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntitiesRequest.Builder>
-
clearOneof
public BatchDeleteEntitiesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntitiesRequest.Builder>
-
setRepeatedField
public BatchDeleteEntitiesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntitiesRequest.Builder>
-
addRepeatedField
public BatchDeleteEntitiesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntitiesRequest.Builder>
-
mergeFrom
public BatchDeleteEntitiesRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchDeleteEntitiesRequest.Builder>
-
mergeFrom
public BatchDeleteEntitiesRequest.Builder mergeFrom(BatchDeleteEntitiesRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntitiesRequest.Builder>
-
mergeFrom
public BatchDeleteEntitiesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchDeleteEntitiesRequest.Builder>- Throws:
IOException
-
getParent
public String getParent()
Required. The name of the entity type to delete entries for. Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentin interfaceBatchDeleteEntitiesRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()
Required. The name of the entity type to delete entries for. Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentBytesin interfaceBatchDeleteEntitiesRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
public BatchDeleteEntitiesRequest.Builder setParent(String value)
Required. The name of the entity type to delete entries for. Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
public BatchDeleteEntitiesRequest.Builder clearParent()
Required. The name of the entity type to delete entries for. Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setParentBytes
public BatchDeleteEntitiesRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The name of the entity type to delete entries for. Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
getEntityValuesList
public com.google.protobuf.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];- Specified by:
getEntityValuesListin interfaceBatchDeleteEntitiesRequestOrBuilder- Returns:
- A list containing the entityValues.
-
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];- Specified by:
getEntityValuesCountin interfaceBatchDeleteEntitiesRequestOrBuilder- Returns:
- The count of entityValues.
-
getEntityValues
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];- Specified by:
getEntityValuesin interfaceBatchDeleteEntitiesRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The entityValues at the given index.
-
getEntityValuesBytes
public com.google.protobuf.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];- Specified by:
getEntityValuesBytesin interfaceBatchDeleteEntitiesRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the entityValues at the given index.
-
setEntityValues
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:
index- The index to set the value at.value- The entityValues to set.- Returns:
- This builder for chaining.
-
addEntityValues
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];- Parameters:
value- The entityValues to add.- Returns:
- This builder for chaining.
-
addAllEntityValues
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];- Parameters:
values- The entityValues to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
addEntityValuesBytes
public BatchDeleteEntitiesRequest.Builder addEntityValuesBytes(com.google.protobuf.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];- Parameters:
value- The bytes of the entityValues to add.- Returns:
- This builder for chaining.
-
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](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLanguageCodein interfaceBatchDeleteEntitiesRequestOrBuilder- Returns:
- The languageCode.
-
getLanguageCodeBytes
public com.google.protobuf.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](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLanguageCodeBytesin interfaceBatchDeleteEntitiesRequestOrBuilder- Returns:
- The bytes for languageCode.
-
setLanguageCode
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](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The languageCode to set.- Returns:
- This builder for chaining.
-
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](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setLanguageCodeBytes
public BatchDeleteEntitiesRequest.Builder setLanguageCodeBytes(com.google.protobuf.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](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for languageCode to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final BatchDeleteEntitiesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntitiesRequest.Builder>
-
mergeUnknownFields
public final BatchDeleteEntitiesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntitiesRequest.Builder>
-
-