- 0.64.0 (latest)
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class ImportEntityTypesRequest.Builder extends GeneratedMessageV3.Builder<ImportEntityTypesRequest.Builder> implements ImportEntityTypesRequestOrBuilder
The request message for EntityTypes.ImportEntityTypes.
Protobuf type google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ImportEntityTypesRequest.BuilderImplements
ImportEntityTypesRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportEntityTypesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.Builder |
build()
public ImportEntityTypesRequest build()
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest |
buildPartial()
public ImportEntityTypesRequest buildPartial()
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest |
clear()
public ImportEntityTypesRequest.Builder clear()
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.Builder |
clearEntityTypes()
public ImportEntityTypesRequest.Builder clearEntityTypes()
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.Builder |
clearEntityTypesContent()
public ImportEntityTypesRequest.Builder clearEntityTypesContent()
Uncompressed byte content of entity types.
.google.cloud.dialogflow.cx.v3beta1.InlineSource entity_types_content = 3;
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.Builder |
clearEntityTypesUri()
public ImportEntityTypesRequest.Builder clearEntityTypesUri()
The Google Cloud Storage URI
to import entity types from. The format of this URI must be
gs://<bucket-name>/<object-name>
.
Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control.
string entity_types_uri = 2;
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ImportEntityTypesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.Builder |
clearMergeOption()
public ImportEntityTypesRequest.Builder clearMergeOption()
Required. Merge option for importing entity types.
.google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesRequest.MergeOption merge_option = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportEntityTypesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.Builder |
clearParent()
public ImportEntityTypesRequest.Builder clearParent()
Required. The agent to import the entity types into.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.Builder |
This builder for chaining. |
clearTargetEntityType()
public ImportEntityTypesRequest.Builder clearTargetEntityType()
Optional. The target entity type to import into.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/entity_types/<EntityType ID>
.
If set, there should be only one entity type included in
entity_types,
of which the type should match the type of the target entity type. All
entities in the
imported entity type will be added to the target entity type.
string target_entity_type = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.Builder |
This builder for chaining. |
clone()
public ImportEntityTypesRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.Builder |
getDefaultInstanceForType()
public ImportEntityTypesRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEntityTypesCase()
public ImportEntityTypesRequest.EntityTypesCase getEntityTypesCase()
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.EntityTypesCase |
getEntityTypesContent()
public InlineSource getEntityTypesContent()
Uncompressed byte content of entity types.
.google.cloud.dialogflow.cx.v3beta1.InlineSource entity_types_content = 3;
Returns | |
---|---|
Type | Description |
InlineSource |
The entityTypesContent. |
getEntityTypesContentBuilder()
public InlineSource.Builder getEntityTypesContentBuilder()
Uncompressed byte content of entity types.
.google.cloud.dialogflow.cx.v3beta1.InlineSource entity_types_content = 3;
Returns | |
---|---|
Type | Description |
InlineSource.Builder |
getEntityTypesContentOrBuilder()
public InlineSourceOrBuilder getEntityTypesContentOrBuilder()
Uncompressed byte content of entity types.
.google.cloud.dialogflow.cx.v3beta1.InlineSource entity_types_content = 3;
Returns | |
---|---|
Type | Description |
InlineSourceOrBuilder |
getEntityTypesUri()
public String getEntityTypesUri()
The Google Cloud Storage URI
to import entity types from. The format of this URI must be
gs://<bucket-name>/<object-name>
.
Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control.
string entity_types_uri = 2;
Returns | |
---|---|
Type | Description |
String |
The entityTypesUri. |
getEntityTypesUriBytes()
public ByteString getEntityTypesUriBytes()
The Google Cloud Storage URI
to import entity types from. The format of this URI must be
gs://<bucket-name>/<object-name>
.
Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control.
string entity_types_uri = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for entityTypesUri. |
getMergeOption()
public ImportEntityTypesRequest.MergeOption getMergeOption()
Required. Merge option for importing entity types.
.google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesRequest.MergeOption merge_option = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.MergeOption |
The mergeOption. |
getMergeOptionValue()
public int getMergeOptionValue()
Required. Merge option for importing entity types.
.google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesRequest.MergeOption merge_option = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for mergeOption. |
getParent()
public String getParent()
Required. The agent to import the entity types into.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The agent to import the entity types into.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
getTargetEntityType()
public String getTargetEntityType()
Optional. The target entity type to import into.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/entity_types/<EntityType ID>
.
If set, there should be only one entity type included in
entity_types,
of which the type should match the type of the target entity type. All
entities in the
imported entity type will be added to the target entity type.
string target_entity_type = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The targetEntityType. |
getTargetEntityTypeBytes()
public ByteString getTargetEntityTypeBytes()
Optional. The target entity type to import into.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/entity_types/<EntityType ID>
.
If set, there should be only one entity type included in
entity_types,
of which the type should match the type of the target entity type. All
entities in the
imported entity type will be added to the target entity type.
string target_entity_type = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for targetEntityType. |
hasEntityTypesContent()
public boolean hasEntityTypesContent()
Uncompressed byte content of entity types.
.google.cloud.dialogflow.cx.v3beta1.InlineSource entity_types_content = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the entityTypesContent field is set. |
hasEntityTypesUri()
public boolean hasEntityTypesUri()
The Google Cloud Storage URI
to import entity types from. The format of this URI must be
gs://<bucket-name>/<object-name>
.
Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control.
string entity_types_uri = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the entityTypesUri field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeEntityTypesContent(InlineSource value)
public ImportEntityTypesRequest.Builder mergeEntityTypesContent(InlineSource value)
Uncompressed byte content of entity types.
.google.cloud.dialogflow.cx.v3beta1.InlineSource entity_types_content = 3;
Parameter | |
---|---|
Name | Description |
value |
InlineSource |
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.Builder |
mergeFrom(ImportEntityTypesRequest other)
public ImportEntityTypesRequest.Builder mergeFrom(ImportEntityTypesRequest other)
Parameter | |
---|---|
Name | Description |
other |
ImportEntityTypesRequest |
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImportEntityTypesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ImportEntityTypesRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportEntityTypesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.Builder |
setEntityTypesContent(InlineSource value)
public ImportEntityTypesRequest.Builder setEntityTypesContent(InlineSource value)
Uncompressed byte content of entity types.
.google.cloud.dialogflow.cx.v3beta1.InlineSource entity_types_content = 3;
Parameter | |
---|---|
Name | Description |
value |
InlineSource |
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.Builder |
setEntityTypesContent(InlineSource.Builder builderForValue)
public ImportEntityTypesRequest.Builder setEntityTypesContent(InlineSource.Builder builderForValue)
Uncompressed byte content of entity types.
.google.cloud.dialogflow.cx.v3beta1.InlineSource entity_types_content = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
InlineSource.Builder |
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.Builder |
setEntityTypesUri(String value)
public ImportEntityTypesRequest.Builder setEntityTypesUri(String value)
The Google Cloud Storage URI
to import entity types from. The format of this URI must be
gs://<bucket-name>/<object-name>
.
Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control.
string entity_types_uri = 2;
Parameter | |
---|---|
Name | Description |
value |
String The entityTypesUri to set. |
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.Builder |
This builder for chaining. |
setEntityTypesUriBytes(ByteString value)
public ImportEntityTypesRequest.Builder setEntityTypesUriBytes(ByteString value)
The Google Cloud Storage URI
to import entity types from. The format of this URI must be
gs://<bucket-name>/<object-name>
.
Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control.
string entity_types_uri = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for entityTypesUri to set. |
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ImportEntityTypesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.Builder |
setMergeOption(ImportEntityTypesRequest.MergeOption value)
public ImportEntityTypesRequest.Builder setMergeOption(ImportEntityTypesRequest.MergeOption value)
Required. Merge option for importing entity types.
.google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesRequest.MergeOption merge_option = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ImportEntityTypesRequest.MergeOption The mergeOption to set. |
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.Builder |
This builder for chaining. |
setMergeOptionValue(int value)
public ImportEntityTypesRequest.Builder setMergeOptionValue(int value)
Required. Merge option for importing entity types.
.google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesRequest.MergeOption merge_option = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for mergeOption to set. |
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.Builder |
This builder for chaining. |
setParent(String value)
public ImportEntityTypesRequest.Builder setParent(String value)
Required. The agent to import the entity types into.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ImportEntityTypesRequest.Builder setParentBytes(ByteString value)
Required. The agent to import the entity types into.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportEntityTypesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.Builder |
setTargetEntityType(String value)
public ImportEntityTypesRequest.Builder setTargetEntityType(String value)
Optional. The target entity type to import into.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/entity_types/<EntityType ID>
.
If set, there should be only one entity type included in
entity_types,
of which the type should match the type of the target entity type. All
entities in the
imported entity type will be added to the target entity type.
string target_entity_type = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The targetEntityType to set. |
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.Builder |
This builder for chaining. |
setTargetEntityTypeBytes(ByteString value)
public ImportEntityTypesRequest.Builder setTargetEntityTypeBytes(ByteString value)
Optional. The target entity type to import into.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/entity_types/<EntityType ID>
.
If set, there should be only one entity type included in
entity_types,
of which the type should match the type of the target entity type. All
entities in the
imported entity type will be added to the target entity type.
string target_entity_type = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for targetEntityType to set. |
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportEntityTypesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ImportEntityTypesRequest.Builder |