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.v2beta1.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.v2beta1.EntityTypes.BatchDeleteEntities].
Protobuf typegoogle.cloud.dialogflow.v2beta1.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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntitiesRequest.Builder>
-
clear
public BatchDeleteEntitiesRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntitiesRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntitiesRequest.Builder>
-
getDefaultInstanceForType
public BatchDeleteEntitiesRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchDeleteEntitiesRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchDeleteEntitiesRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchDeleteEntitiesRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntitiesRequest.Builder>
-
setField
public BatchDeleteEntitiesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntitiesRequest.Builder>
-
clearField
public BatchDeleteEntitiesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntitiesRequest.Builder>
-
clearOneof
public BatchDeleteEntitiesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntitiesRequest.Builder>
-
setRepeatedField
public BatchDeleteEntitiesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntitiesRequest.Builder>
-
addRepeatedField
public BatchDeleteEntitiesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntitiesRequest.Builder>
-
mergeFrom
public BatchDeleteEntitiesRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BatchDeleteEntitiesRequest.Builder>
-
mergeFrom
public BatchDeleteEntitiesRequest.Builder mergeFrom(BatchDeleteEntitiesRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BatchDeleteEntitiesRequest.Builder>
- Throws:
IOException
-
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) = { ... }
- Specified by:
getParent
in interfaceBatchDeleteEntitiesRequestOrBuilder
- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.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) = { ... }
- Specified by:
getParentBytes
in interfaceBatchDeleteEntitiesRequestOrBuilder
- Returns:
- The bytes for parent.
-
setParent
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) = { ... }
- 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. 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:
- 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. 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) = { ... }
- 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:
getEntityValuesList
in 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:
getEntityValuesCount
in 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:
getEntityValues
in 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:
getEntityValuesBytes
in 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:
getLanguageCode
in 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:
getLanguageCodeBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntitiesRequest.Builder>
-
mergeUnknownFields
public final BatchDeleteEntitiesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntitiesRequest.Builder>
-
-