Package com.google.cloud.dialogflow.v2
Class BatchUpdateIntentsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BatchUpdateIntentsRequest.Builder>
com.google.cloud.dialogflow.v2.BatchUpdateIntentsRequest.Builder
- All Implemented Interfaces:
BatchUpdateIntentsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BatchUpdateIntentsRequest
public static final class BatchUpdateIntentsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BatchUpdateIntentsRequest.Builder>
implements BatchUpdateIntentsRequestOrBuilder
Protobuf type
google.cloud.dialogflow.v2.BatchUpdateIntentsRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The collection of intents to update or create.The URI to a Google Cloud Storage file containing intents to update or create.Optional.Optional.Required.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe collection of intents to update or create.The collection of intents to update or create.The collection of intents to update or create.The URI to a Google Cloud Storage file containing intents to update or create.com.google.protobuf.ByteStringThe URI to a Google Cloud Storage file containing intents to update or create.Optional.intOptional.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 intents to update or create.booleanThe URI to a Google Cloud Storage file containing intents to update or create.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The collection of intents to update or create.mergeUpdateMask(com.google.protobuf.FieldMask value) Optional.setIntentBatchInline(IntentBatch value) The collection of intents to update or create.setIntentBatchInline(IntentBatch.Builder builderForValue) The collection of intents to update or create.setIntentBatchUri(String value) The URI to a Google Cloud Storage file containing intents to update or create.setIntentBatchUriBytes(com.google.protobuf.ByteString value) The URI to a Google Cloud Storage file containing intents to update or create.setIntentView(IntentView value) Optional.setIntentViewValue(int value) Optional.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<BatchUpdateIntentsRequest.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<BatchUpdateIntentsRequest.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<BatchUpdateIntentsRequest.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<BatchUpdateIntentsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BatchUpdateIntentsRequest.Builder>
-
mergeFrom
public BatchUpdateIntentsRequest.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<BatchUpdateIntentsRequest.Builder>- Throws:
IOException
-
getIntentBatchCase
- Specified by:
getIntentBatchCasein interfaceBatchUpdateIntentsRequestOrBuilder
-
clearIntentBatch
-
getParent
Required. The name of the agent to update or create intents in. Format: `projects/<Project ID>/agent`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentin interfaceBatchUpdateIntentsRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()Required. The name of the agent to update or create intents in. Format: `projects/<Project ID>/agent`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentBytesin interfaceBatchUpdateIntentsRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
Required. The name of the agent to update or create intents 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 intents 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 intents 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.
-
hasIntentBatchUri
public boolean hasIntentBatchUri()The URI to a Google Cloud Storage file containing intents to update or create. The file format can either be a serialized proto (of IntentBatch type) or JSON object. Note: The URI must start with "gs://".
string intent_batch_uri = 2;- Specified by:
hasIntentBatchUriin interfaceBatchUpdateIntentsRequestOrBuilder- Returns:
- Whether the intentBatchUri field is set.
-
getIntentBatchUri
The URI to a Google Cloud Storage file containing intents to update or create. The file format can either be a serialized proto (of IntentBatch type) or JSON object. Note: The URI must start with "gs://".
string intent_batch_uri = 2;- Specified by:
getIntentBatchUriin interfaceBatchUpdateIntentsRequestOrBuilder- Returns:
- The intentBatchUri.
-
getIntentBatchUriBytes
public com.google.protobuf.ByteString getIntentBatchUriBytes()The URI to a Google Cloud Storage file containing intents to update or create. The file format can either be a serialized proto (of IntentBatch type) or JSON object. Note: The URI must start with "gs://".
string intent_batch_uri = 2;- Specified by:
getIntentBatchUriBytesin interfaceBatchUpdateIntentsRequestOrBuilder- Returns:
- The bytes for intentBatchUri.
-
setIntentBatchUri
The URI to a Google Cloud Storage file containing intents to update or create. The file format can either be a serialized proto (of IntentBatch type) or JSON object. Note: The URI must start with "gs://".
string intent_batch_uri = 2;- Parameters:
value- The intentBatchUri to set.- Returns:
- This builder for chaining.
-
clearIntentBatchUri
The URI to a Google Cloud Storage file containing intents to update or create. The file format can either be a serialized proto (of IntentBatch type) or JSON object. Note: The URI must start with "gs://".
string intent_batch_uri = 2;- Returns:
- This builder for chaining.
-
setIntentBatchUriBytes
public BatchUpdateIntentsRequest.Builder setIntentBatchUriBytes(com.google.protobuf.ByteString value) The URI to a Google Cloud Storage file containing intents to update or create. The file format can either be a serialized proto (of IntentBatch type) or JSON object. Note: The URI must start with "gs://".
string intent_batch_uri = 2;- Parameters:
value- The bytes for intentBatchUri to set.- Returns:
- This builder for chaining.
-
hasIntentBatchInline
public boolean hasIntentBatchInline()The collection of intents to update or create.
.google.cloud.dialogflow.v2.IntentBatch intent_batch_inline = 3;- Specified by:
hasIntentBatchInlinein interfaceBatchUpdateIntentsRequestOrBuilder- Returns:
- Whether the intentBatchInline field is set.
-
getIntentBatchInline
The collection of intents to update or create.
.google.cloud.dialogflow.v2.IntentBatch intent_batch_inline = 3;- Specified by:
getIntentBatchInlinein interfaceBatchUpdateIntentsRequestOrBuilder- Returns:
- The intentBatchInline.
-
setIntentBatchInline
The collection of intents to update or create.
.google.cloud.dialogflow.v2.IntentBatch intent_batch_inline = 3; -
setIntentBatchInline
The collection of intents to update or create.
.google.cloud.dialogflow.v2.IntentBatch intent_batch_inline = 3; -
mergeIntentBatchInline
The collection of intents to update or create.
.google.cloud.dialogflow.v2.IntentBatch intent_batch_inline = 3; -
clearIntentBatchInline
The collection of intents to update or create.
.google.cloud.dialogflow.v2.IntentBatch intent_batch_inline = 3; -
getIntentBatchInlineBuilder
The collection of intents to update or create.
.google.cloud.dialogflow.v2.IntentBatch intent_batch_inline = 3; -
getIntentBatchInlineOrBuilder
The collection of intents to update or create.
.google.cloud.dialogflow.v2.IntentBatch intent_batch_inline = 3;- Specified by:
getIntentBatchInlineOrBuilderin interfaceBatchUpdateIntentsRequestOrBuilder
-
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 interfaceBatchUpdateIntentsRequestOrBuilder- 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 interfaceBatchUpdateIntentsRequestOrBuilder- 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
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 interfaceBatchUpdateIntentsRequestOrBuilder- 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 interfaceBatchUpdateIntentsRequestOrBuilder- 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 BatchUpdateIntentsRequest.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 interfaceBatchUpdateIntentsRequestOrBuilder
-
getIntentViewValue
public int getIntentViewValue()Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2.IntentView intent_view = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIntentViewValuein interfaceBatchUpdateIntentsRequestOrBuilder- Returns:
- The enum numeric value on the wire for intentView.
-
setIntentViewValue
Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2.IntentView intent_view = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enum numeric value on the wire for intentView to set.- Returns:
- This builder for chaining.
-
getIntentView
Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2.IntentView intent_view = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIntentViewin interfaceBatchUpdateIntentsRequestOrBuilder- Returns:
- The intentView.
-
setIntentView
Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2.IntentView intent_view = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The intentView to set.- Returns:
- This builder for chaining.
-
clearIntentView
Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2.IntentView intent_view = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-