public static final class BatchUpdateEntityTypesRequest.Builder extends GeneratedMessageV3.Builder<BatchUpdateEntityTypesRequest.Builder> implements BatchUpdateEntityTypesRequestOrBuilder
The request message for [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2.EntityTypes.BatchUpdateEntityTypes].Protobuf type
google.cloud.dialogflow.v2.BatchUpdateEntityTypesRequest
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<BatchUpdateEntityTypesRequest.Builder>
public BatchUpdateEntityTypesRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<BatchUpdateEntityTypesRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<BatchUpdateEntityTypesRequest.Builder>
public BatchUpdateEntityTypesRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public BatchUpdateEntityTypesRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public BatchUpdateEntityTypesRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public BatchUpdateEntityTypesRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<BatchUpdateEntityTypesRequest.Builder>
public BatchUpdateEntityTypesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<BatchUpdateEntityTypesRequest.Builder>
public BatchUpdateEntityTypesRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<BatchUpdateEntityTypesRequest.Builder>
public BatchUpdateEntityTypesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<BatchUpdateEntityTypesRequest.Builder>
public BatchUpdateEntityTypesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<BatchUpdateEntityTypesRequest.Builder>
public BatchUpdateEntityTypesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<BatchUpdateEntityTypesRequest.Builder>
public BatchUpdateEntityTypesRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<BatchUpdateEntityTypesRequest.Builder>
public BatchUpdateEntityTypesRequest.Builder mergeFrom(BatchUpdateEntityTypesRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<BatchUpdateEntityTypesRequest.Builder>
public BatchUpdateEntityTypesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<BatchUpdateEntityTypesRequest.Builder>
IOException
public BatchUpdateEntityTypesRequest.EntityTypeBatchCase getEntityTypeBatchCase()
getEntityTypeBatchCase
in interface BatchUpdateEntityTypesRequestOrBuilder
public BatchUpdateEntityTypesRequest.Builder clearEntityTypeBatch()
public String 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) = { ... }
getParent
in interface BatchUpdateEntityTypesRequestOrBuilder
public 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) = { ... }
getParentBytes
in interface BatchUpdateEntityTypesRequestOrBuilder
public BatchUpdateEntityTypesRequest.Builder setParent(String value)
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) = { ... }
value
- The parent to set.public BatchUpdateEntityTypesRequest.Builder 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) = { ... }
public BatchUpdateEntityTypesRequest.Builder setParentBytes(ByteString value)
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) = { ... }
value
- The bytes for parent to set.public String 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;
getEntityTypeBatchUri
in interface BatchUpdateEntityTypesRequestOrBuilder
public 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;
getEntityTypeBatchUriBytes
in interface BatchUpdateEntityTypesRequestOrBuilder
public BatchUpdateEntityTypesRequest.Builder setEntityTypeBatchUri(String 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;
value
- The entityTypeBatchUri to set.public BatchUpdateEntityTypesRequest.Builder 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;
public BatchUpdateEntityTypesRequest.Builder setEntityTypeBatchUriBytes(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;
value
- The bytes for entityTypeBatchUri to set.public boolean hasEntityTypeBatchInline()
The collection of entity types to update or create.
.google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3;
hasEntityTypeBatchInline
in interface BatchUpdateEntityTypesRequestOrBuilder
public EntityTypeBatch getEntityTypeBatchInline()
The collection of entity types to update or create.
.google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3;
getEntityTypeBatchInline
in interface BatchUpdateEntityTypesRequestOrBuilder
public BatchUpdateEntityTypesRequest.Builder setEntityTypeBatchInline(EntityTypeBatch value)
The collection of entity types to update or create.
.google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3;
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;
public BatchUpdateEntityTypesRequest.Builder mergeEntityTypeBatchInline(EntityTypeBatch value)
The collection of entity types to update or create.
.google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3;
public BatchUpdateEntityTypesRequest.Builder clearEntityTypeBatchInline()
The collection of entity types to update or create.
.google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3;
public EntityTypeBatch.Builder getEntityTypeBatchInlineBuilder()
The collection of entity types to update or create.
.google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3;
public EntityTypeBatchOrBuilder getEntityTypeBatchInlineOrBuilder()
The collection of entity types to update or create.
.google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3;
getEntityTypeBatchInlineOrBuilder
in interface BatchUpdateEntityTypesRequestOrBuilder
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 = 4 [(.google.api.field_behavior) = OPTIONAL];
getLanguageCode
in interface BatchUpdateEntityTypesRequestOrBuilder
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](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];
getLanguageCodeBytes
in interface BatchUpdateEntityTypesRequestOrBuilder
public BatchUpdateEntityTypesRequest.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 = 4 [(.google.api.field_behavior) = OPTIONAL];
value
- The languageCode to set.public BatchUpdateEntityTypesRequest.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 = 4 [(.google.api.field_behavior) = OPTIONAL];
public BatchUpdateEntityTypesRequest.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](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];
value
- The bytes for languageCode to set.public boolean hasUpdateMask()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];
hasUpdateMask
in interface BatchUpdateEntityTypesRequestOrBuilder
public FieldMask getUpdateMask()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];
getUpdateMask
in interface BatchUpdateEntityTypesRequestOrBuilder
public BatchUpdateEntityTypesRequest.Builder setUpdateMask(FieldMask value)
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];
public BatchUpdateEntityTypesRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];
public BatchUpdateEntityTypesRequest.Builder mergeUpdateMask(FieldMask value)
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];
public BatchUpdateEntityTypesRequest.Builder clearUpdateMask()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];
public FieldMask.Builder getUpdateMaskBuilder()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];
getUpdateMaskOrBuilder
in interface BatchUpdateEntityTypesRequestOrBuilder
public final BatchUpdateEntityTypesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<BatchUpdateEntityTypesRequest.Builder>
public final BatchUpdateEntityTypesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<BatchUpdateEntityTypesRequest.Builder>
Copyright © 2021 Google LLC. All rights reserved.