Package com.google.cloud.dialogflow.v2
Class BatchUpdateEntityTypesRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BatchUpdateEntityTypesRequest.Builder>
com.google.cloud.dialogflow.v2.BatchUpdateEntityTypesRequest.Builder
- All Implemented Interfaces:
BatchUpdateEntityTypesRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BatchUpdateEntityTypesRequest
public static final class BatchUpdateEntityTypesRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BatchUpdateEntityTypesRequest.Builder>
implements BatchUpdateEntityTypesRequestOrBuilder
The request message for [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2.EntityTypes.BatchUpdateEntityTypes].Protobuf type
google.cloud.dialogflow.v2.BatchUpdateEntityTypesRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The collection of entity types to update or create.The URI to a Google Cloud Storage file containing entity types to update or create.Optional.Required.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe collection of entity types to update or create.The collection of entity types to update or create.The collection of entity types to update or create.The URI to a Google Cloud Storage file containing entity types to update or create.com.google.protobuf.ByteStringThe URI to a Google Cloud Storage file containing entity types to update or create.Optional.com.google.protobuf.ByteStringOptional.Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.FieldMaskOptional.com.google.protobuf.FieldMask.BuilderOptional.com.google.protobuf.FieldMaskOrBuilderOptional.booleanThe collection of entity types to update or create.booleanThe URI to a Google Cloud Storage file containing entity types to update or create.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanThe collection of entity types to update or create.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateMask(com.google.protobuf.FieldMask value) Optional.The collection of entity types to update or create.setEntityTypeBatchInline(EntityTypeBatch.Builder builderForValue) The collection of entity types to update or create.setEntityTypeBatchUri(String value) The URI to a Google Cloud Storage file containing entity types to update or create.setEntityTypeBatchUriBytes(com.google.protobuf.ByteString value) The URI to a Google Cloud Storage file containing entity types to update or create.setLanguageCode(String value) Optional.setLanguageCodeBytes(com.google.protobuf.ByteString value) Optional.Required.setParentBytes(com.google.protobuf.ByteString value) Required.setUpdateMask(com.google.protobuf.FieldMask value) Optional.setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BatchUpdateEntityTypesRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BatchUpdateEntityTypesRequest.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.GeneratedMessage.Builder<BatchUpdateEntityTypesRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchUpdateEntityTypesRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BatchUpdateEntityTypesRequest.Builder>
-
mergeFrom
public BatchUpdateEntityTypesRequest.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<BatchUpdateEntityTypesRequest.Builder>- Throws:
IOException
-
getEntityTypeBatchCase
- Specified by:
getEntityTypeBatchCasein interfaceBatchUpdateEntityTypesRequestOrBuilder
-
clearEntityTypeBatch
-
getParent
Required. The name of the agent to update or create entity types in. Format: `projects/<Project ID>/agent`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentin interfaceBatchUpdateEntityTypesRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()Required. The name of the agent to update or create entity types in. Format: `projects/<Project ID>/agent`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentBytesin interfaceBatchUpdateEntityTypesRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
Required. The name of the agent to update or create entity types in. Format: `projects/<Project ID>/agent`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
Required. The name of the agent to update or create entity types in. Format: `projects/<Project ID>/agent`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setParentBytes
Required. The name of the agent to update or create entity types in. Format: `projects/<Project ID>/agent`.
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.
-
hasEntityTypeBatchUri
public boolean hasEntityTypeBatchUri()The URI to a Google Cloud Storage file containing entity types to update or create. The file format can either be a serialized proto (of EntityBatch type) or a JSON object. Note: The URI must start with "gs://".
string entity_type_batch_uri = 2;- Specified by:
hasEntityTypeBatchUriin interfaceBatchUpdateEntityTypesRequestOrBuilder- Returns:
- Whether the entityTypeBatchUri field is set.
-
getEntityTypeBatchUri
The URI to a Google Cloud Storage file containing entity types to update or create. The file format can either be a serialized proto (of EntityBatch type) or a JSON object. Note: The URI must start with "gs://".
string entity_type_batch_uri = 2;- Specified by:
getEntityTypeBatchUriin interfaceBatchUpdateEntityTypesRequestOrBuilder- Returns:
- The entityTypeBatchUri.
-
getEntityTypeBatchUriBytes
public com.google.protobuf.ByteString getEntityTypeBatchUriBytes()The URI to a Google Cloud Storage file containing entity types to update or create. The file format can either be a serialized proto (of EntityBatch type) or a JSON object. Note: The URI must start with "gs://".
string entity_type_batch_uri = 2;- Specified by:
getEntityTypeBatchUriBytesin interfaceBatchUpdateEntityTypesRequestOrBuilder- Returns:
- The bytes for entityTypeBatchUri.
-
setEntityTypeBatchUri
The URI to a Google Cloud Storage file containing entity types to update or create. The file format can either be a serialized proto (of EntityBatch type) or a JSON object. Note: The URI must start with "gs://".
string entity_type_batch_uri = 2;- Parameters:
value- The entityTypeBatchUri to set.- Returns:
- This builder for chaining.
-
clearEntityTypeBatchUri
The URI to a Google Cloud Storage file containing entity types to update or create. The file format can either be a serialized proto (of EntityBatch type) or a JSON object. Note: The URI must start with "gs://".
string entity_type_batch_uri = 2;- Returns:
- This builder for chaining.
-
setEntityTypeBatchUriBytes
public BatchUpdateEntityTypesRequest.Builder setEntityTypeBatchUriBytes(com.google.protobuf.ByteString value) The URI to a Google Cloud Storage file containing entity types to update or create. The file format can either be a serialized proto (of EntityBatch type) or a JSON object. Note: The URI must start with "gs://".
string entity_type_batch_uri = 2;- Parameters:
value- The bytes for entityTypeBatchUri to set.- Returns:
- This builder for chaining.
-
hasEntityTypeBatchInline
public boolean hasEntityTypeBatchInline()The collection of entity types to update or create.
.google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3;- Specified by:
hasEntityTypeBatchInlinein interfaceBatchUpdateEntityTypesRequestOrBuilder- Returns:
- Whether the entityTypeBatchInline field is set.
-
getEntityTypeBatchInline
The collection of entity types to update or create.
.google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3;- Specified by:
getEntityTypeBatchInlinein interfaceBatchUpdateEntityTypesRequestOrBuilder- Returns:
- The entityTypeBatchInline.
-
setEntityTypeBatchInline
The collection of entity types to update or create.
.google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3; -
setEntityTypeBatchInline
public BatchUpdateEntityTypesRequest.Builder setEntityTypeBatchInline(EntityTypeBatch.Builder builderForValue) The collection of entity types to update or create.
.google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3; -
mergeEntityTypeBatchInline
The collection of entity types to update or create.
.google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3; -
clearEntityTypeBatchInline
The collection of entity types to update or create.
.google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3; -
getEntityTypeBatchInlineBuilder
The collection of entity types to update or create.
.google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3; -
getEntityTypeBatchInlineOrBuilder
The collection of entity types to update or create.
.google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3;- Specified by:
getEntityTypeBatchInlineOrBuilderin interfaceBatchUpdateEntityTypesRequestOrBuilder
-
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 = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLanguageCodein interfaceBatchUpdateEntityTypesRequestOrBuilder- 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 = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLanguageCodeBytesin interfaceBatchUpdateEntityTypesRequestOrBuilder- Returns:
- The bytes for languageCode.
-
setLanguageCode
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 = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The languageCode to set.- Returns:
- This builder for chaining.
-
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 = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setLanguageCodeBytes
public BatchUpdateEntityTypesRequest.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 = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for languageCode to set.- Returns:
- This builder for chaining.
-
hasUpdateMask
public boolean hasUpdateMask()Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasUpdateMaskin interfaceBatchUpdateEntityTypesRequestOrBuilder- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
public com.google.protobuf.FieldMask getUpdateMask()Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getUpdateMaskin interfaceBatchUpdateEntityTypesRequestOrBuilder- Returns:
- The updateMask.
-
setUpdateMask
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; -
setUpdateMask
public BatchUpdateEntityTypesRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; -
mergeUpdateMask
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; -
clearUpdateMask
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getUpdateMaskBuilder
public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getUpdateMaskOrBuilder
public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getUpdateMaskOrBuilderin interfaceBatchUpdateEntityTypesRequestOrBuilder
-