public static final class BatchUpdateEntityTypesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateEntityTypesRequest.Builder> implements BatchUpdateEntityTypesRequestOrBuilder
The request message for [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes].Protobuf type
google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesRequest| Modifier and Type | Method and Description |
|---|---|
BatchUpdateEntityTypesRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BatchUpdateEntityTypesRequest |
build() |
BatchUpdateEntityTypesRequest |
buildPartial() |
BatchUpdateEntityTypesRequest.Builder |
clear() |
BatchUpdateEntityTypesRequest.Builder |
clearEntityTypeBatch() |
BatchUpdateEntityTypesRequest.Builder |
clearEntityTypeBatchInline()
The collection of entity type to update or create.
|
BatchUpdateEntityTypesRequest.Builder |
clearEntityTypeBatchUri()
The URI to a Google Cloud Storage file containing entity types to update
or create.
|
BatchUpdateEntityTypesRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BatchUpdateEntityTypesRequest.Builder |
clearLanguageCode()
Optional.
|
BatchUpdateEntityTypesRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BatchUpdateEntityTypesRequest.Builder |
clearParent()
Required.
|
BatchUpdateEntityTypesRequest.Builder |
clearUpdateMask()
Optional.
|
BatchUpdateEntityTypesRequest.Builder |
clone() |
BatchUpdateEntityTypesRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
BatchUpdateEntityTypesRequest.EntityTypeBatchCase |
getEntityTypeBatchCase() |
EntityTypeBatch |
getEntityTypeBatchInline()
The collection of entity type to update or create.
|
EntityTypeBatch.Builder |
getEntityTypeBatchInlineBuilder()
The collection of entity type to update or create.
|
EntityTypeBatchOrBuilder |
getEntityTypeBatchInlineOrBuilder()
The collection of entity type to update or create.
|
String |
getEntityTypeBatchUri()
The URI to a Google Cloud Storage file containing entity types to update
or create.
|
com.google.protobuf.ByteString |
getEntityTypeBatchUriBytes()
The URI to a Google Cloud Storage file containing entity types to update
or create.
|
String |
getLanguageCode()
Optional.
|
com.google.protobuf.ByteString |
getLanguageCodeBytes()
Optional.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
com.google.protobuf.FieldMask |
getUpdateMask()
Optional.
|
com.google.protobuf.FieldMask.Builder |
getUpdateMaskBuilder()
Optional.
|
com.google.protobuf.FieldMaskOrBuilder |
getUpdateMaskOrBuilder()
Optional.
|
boolean |
hasEntityTypeBatchInline()
The collection of entity type to update or create.
|
boolean |
hasUpdateMask()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BatchUpdateEntityTypesRequest.Builder |
mergeEntityTypeBatchInline(EntityTypeBatch value)
The collection of entity type to update or create.
|
BatchUpdateEntityTypesRequest.Builder |
mergeFrom(BatchUpdateEntityTypesRequest other) |
BatchUpdateEntityTypesRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BatchUpdateEntityTypesRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
BatchUpdateEntityTypesRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BatchUpdateEntityTypesRequest.Builder |
mergeUpdateMask(com.google.protobuf.FieldMask value)
Optional.
|
BatchUpdateEntityTypesRequest.Builder |
setEntityTypeBatchInline(EntityTypeBatch.Builder builderForValue)
The collection of entity type to update or create.
|
BatchUpdateEntityTypesRequest.Builder |
setEntityTypeBatchInline(EntityTypeBatch value)
The collection of entity type to update or create.
|
BatchUpdateEntityTypesRequest.Builder |
setEntityTypeBatchUri(String value)
The URI to a Google Cloud Storage file containing entity types to update
or create.
|
BatchUpdateEntityTypesRequest.Builder |
setEntityTypeBatchUriBytes(com.google.protobuf.ByteString value)
The URI to a Google Cloud Storage file containing entity types to update
or create.
|
BatchUpdateEntityTypesRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BatchUpdateEntityTypesRequest.Builder |
setLanguageCode(String value)
Optional.
|
BatchUpdateEntityTypesRequest.Builder |
setLanguageCodeBytes(com.google.protobuf.ByteString value)
Optional.
|
BatchUpdateEntityTypesRequest.Builder |
setParent(String value)
Required.
|
BatchUpdateEntityTypesRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
BatchUpdateEntityTypesRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BatchUpdateEntityTypesRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BatchUpdateEntityTypesRequest.Builder |
setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
Optional.
|
BatchUpdateEntityTypesRequest.Builder |
setUpdateMask(com.google.protobuf.FieldMask value)
Optional.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateEntityTypesRequest.Builder>public BatchUpdateEntityTypesRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateEntityTypesRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateEntityTypesRequest.Builder>public BatchUpdateEntityTypesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BatchUpdateEntityTypesRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BatchUpdateEntityTypesRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BatchUpdateEntityTypesRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateEntityTypesRequest.Builder>public BatchUpdateEntityTypesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateEntityTypesRequest.Builder>public BatchUpdateEntityTypesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateEntityTypesRequest.Builder>public BatchUpdateEntityTypesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateEntityTypesRequest.Builder>public BatchUpdateEntityTypesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateEntityTypesRequest.Builder>public BatchUpdateEntityTypesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateEntityTypesRequest.Builder>public BatchUpdateEntityTypesRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchUpdateEntityTypesRequest.Builder>public BatchUpdateEntityTypesRequest.Builder mergeFrom(BatchUpdateEntityTypesRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateEntityTypesRequest.Builder>public BatchUpdateEntityTypesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchUpdateEntityTypesRequest.Builder>IOExceptionpublic BatchUpdateEntityTypesRequest.EntityTypeBatchCase getEntityTypeBatchCase()
getEntityTypeBatchCase in interface BatchUpdateEntityTypesRequestOrBuilderpublic 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;getParent in interface BatchUpdateEntityTypesRequestOrBuilderpublic 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;getParentBytes in interface BatchUpdateEntityTypesRequestOrBuilderpublic 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;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;public BatchUpdateEntityTypesRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The name of the agent to update or create entity types in. Format: `projects/<Project ID>/agent`.
string parent = 1;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 BatchUpdateEntityTypesRequestOrBuilderpublic 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;getEntityTypeBatchUriBytes in interface BatchUpdateEntityTypesRequestOrBuilderpublic 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;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(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;public boolean hasEntityTypeBatchInline()
The collection of entity type to update or create.
.google.cloud.dialogflow.v2beta1.EntityTypeBatch entity_type_batch_inline = 3;hasEntityTypeBatchInline in interface BatchUpdateEntityTypesRequestOrBuilderpublic EntityTypeBatch getEntityTypeBatchInline()
The collection of entity type to update or create.
.google.cloud.dialogflow.v2beta1.EntityTypeBatch entity_type_batch_inline = 3;getEntityTypeBatchInline in interface BatchUpdateEntityTypesRequestOrBuilderpublic BatchUpdateEntityTypesRequest.Builder setEntityTypeBatchInline(EntityTypeBatch value)
The collection of entity type to update or create.
.google.cloud.dialogflow.v2beta1.EntityTypeBatch entity_type_batch_inline = 3;public BatchUpdateEntityTypesRequest.Builder setEntityTypeBatchInline(EntityTypeBatch.Builder builderForValue)
The collection of entity type to update or create.
.google.cloud.dialogflow.v2beta1.EntityTypeBatch entity_type_batch_inline = 3;public BatchUpdateEntityTypesRequest.Builder mergeEntityTypeBatchInline(EntityTypeBatch value)
The collection of entity type to update or create.
.google.cloud.dialogflow.v2beta1.EntityTypeBatch entity_type_batch_inline = 3;public BatchUpdateEntityTypesRequest.Builder clearEntityTypeBatchInline()
The collection of entity type to update or create.
.google.cloud.dialogflow.v2beta1.EntityTypeBatch entity_type_batch_inline = 3;public EntityTypeBatch.Builder getEntityTypeBatchInlineBuilder()
The collection of entity type to update or create.
.google.cloud.dialogflow.v2beta1.EntityTypeBatch entity_type_batch_inline = 3;public EntityTypeBatchOrBuilder getEntityTypeBatchInlineOrBuilder()
The collection of entity type to update or create.
.google.cloud.dialogflow.v2beta1.EntityTypeBatch entity_type_batch_inline = 3;getEntityTypeBatchInlineOrBuilder in interface BatchUpdateEntityTypesRequestOrBuilderpublic String getLanguageCode()
Optional. The language of entity synonyms defined in `entity_types`. If not specified, the agent's default language is used. [More than a dozen languages](https://dialogflow.com/docs/reference/language) are supported. Note: languages must be enabled in the agent, before they can be used.
string language_code = 4;getLanguageCode in interface BatchUpdateEntityTypesRequestOrBuilderpublic com.google.protobuf.ByteString getLanguageCodeBytes()
Optional. The language of entity synonyms defined in `entity_types`. If not specified, the agent's default language is used. [More than a dozen languages](https://dialogflow.com/docs/reference/language) are supported. Note: languages must be enabled in the agent, before they can be used.
string language_code = 4;getLanguageCodeBytes in interface BatchUpdateEntityTypesRequestOrBuilderpublic BatchUpdateEntityTypesRequest.Builder setLanguageCode(String value)
Optional. The language of entity synonyms defined in `entity_types`. If not specified, the agent's default language is used. [More than a dozen languages](https://dialogflow.com/docs/reference/language) are supported. Note: languages must be enabled in the agent, before they can be used.
string language_code = 4;public BatchUpdateEntityTypesRequest.Builder clearLanguageCode()
Optional. The language of entity synonyms defined in `entity_types`. If not specified, the agent's default language is used. [More than a dozen languages](https://dialogflow.com/docs/reference/language) are supported. Note: languages must be enabled in the agent, before they can be used.
string language_code = 4;public BatchUpdateEntityTypesRequest.Builder setLanguageCodeBytes(com.google.protobuf.ByteString value)
Optional. The language of entity synonyms defined in `entity_types`. If not specified, the agent's default language is used. [More than a dozen languages](https://dialogflow.com/docs/reference/language) are supported. Note: languages must be enabled in the agent, before they can be used.
string language_code = 4;public boolean hasUpdateMask()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;hasUpdateMask in interface BatchUpdateEntityTypesRequestOrBuilderpublic com.google.protobuf.FieldMask getUpdateMask()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;getUpdateMask in interface BatchUpdateEntityTypesRequestOrBuilderpublic BatchUpdateEntityTypesRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;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;public BatchUpdateEntityTypesRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;public BatchUpdateEntityTypesRequest.Builder clearUpdateMask()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;getUpdateMaskOrBuilder in interface BatchUpdateEntityTypesRequestOrBuilderpublic final BatchUpdateEntityTypesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateEntityTypesRequest.Builder>public final BatchUpdateEntityTypesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateEntityTypesRequest.Builder>Copyright © 2019 Google LLC. All rights reserved.