public static final class ImportEntityTypesResponse.Builder extends GeneratedMessage.Builder<ImportEntityTypesResponse.Builder> implements ImportEntityTypesResponseOrBuilderThe response message for EntityTypes.ImportEntityTypes.
Protobuf type google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ImportEntityTypesResponse.BuilderImplements
ImportEntityTypesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllEntityTypes(Iterable<String> values)
public ImportEntityTypesResponse.Builder addAllEntityTypes(Iterable<String> values) The unique identifier of the imported entity types.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>.
repeated string entity_types = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The entityTypes to add. |
| Returns | |
|---|---|
| Type | Description |
ImportEntityTypesResponse.Builder |
This builder for chaining. |
addEntityTypes(String value)
public ImportEntityTypesResponse.Builder addEntityTypes(String value) The unique identifier of the imported entity types.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>.
repeated string entity_types = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe entityTypes to add. |
| Returns | |
|---|---|
| Type | Description |
ImportEntityTypesResponse.Builder |
This builder for chaining. |
addEntityTypesBytes(ByteString value)
public ImportEntityTypesResponse.Builder addEntityTypesBytes(ByteString value) The unique identifier of the imported entity types.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>.
repeated string entity_types = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the entityTypes to add. |
| Returns | |
|---|---|
| Type | Description |
ImportEntityTypesResponse.Builder |
This builder for chaining. |
build()
public ImportEntityTypesResponse build()| Returns | |
|---|---|
| Type | Description |
ImportEntityTypesResponse |
|
buildPartial()
public ImportEntityTypesResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ImportEntityTypesResponse |
|
clear()
public ImportEntityTypesResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ImportEntityTypesResponse.Builder |
|
clearConflictingResources()
public ImportEntityTypesResponse.Builder clearConflictingResources()Info which resources have conflicts when REPORT_CONFLICT merge_option is set in ImportEntityTypesRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesResponse.ConflictingResources conflicting_resources = 2;
| Returns | |
|---|---|
| Type | Description |
ImportEntityTypesResponse.Builder |
|
clearEntityTypes()
public ImportEntityTypesResponse.Builder clearEntityTypes() The unique identifier of the imported entity types.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>.
repeated string entity_types = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ImportEntityTypesResponse.Builder |
This builder for chaining. |
getConflictingResources()
public ImportEntityTypesResponse.ConflictingResources getConflictingResources()Info which resources have conflicts when REPORT_CONFLICT merge_option is set in ImportEntityTypesRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesResponse.ConflictingResources conflicting_resources = 2;
| Returns | |
|---|---|
| Type | Description |
ImportEntityTypesResponse.ConflictingResources |
The conflictingResources. |
getConflictingResourcesBuilder()
public ImportEntityTypesResponse.ConflictingResources.Builder getConflictingResourcesBuilder()Info which resources have conflicts when REPORT_CONFLICT merge_option is set in ImportEntityTypesRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesResponse.ConflictingResources conflicting_resources = 2;
| Returns | |
|---|---|
| Type | Description |
ImportEntityTypesResponse.ConflictingResources.Builder |
|
getConflictingResourcesOrBuilder()
public ImportEntityTypesResponse.ConflictingResourcesOrBuilder getConflictingResourcesOrBuilder()Info which resources have conflicts when REPORT_CONFLICT merge_option is set in ImportEntityTypesRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesResponse.ConflictingResources conflicting_resources = 2;
| Returns | |
|---|---|
| Type | Description |
ImportEntityTypesResponse.ConflictingResourcesOrBuilder |
|
getDefaultInstanceForType()
public ImportEntityTypesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ImportEntityTypesResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEntityTypes(int index)
public String getEntityTypes(int index) The unique identifier of the imported entity types.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>.
repeated string entity_types = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The entityTypes at the given index. |
getEntityTypesBytes(int index)
public ByteString getEntityTypesBytes(int index) The unique identifier of the imported entity types.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>.
repeated string entity_types = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the entityTypes at the given index. |
getEntityTypesCount()
public int getEntityTypesCount() The unique identifier of the imported entity types.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>.
repeated string entity_types = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
int |
The count of entityTypes. |
getEntityTypesList()
public ProtocolStringList getEntityTypesList() The unique identifier of the imported entity types.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>.
repeated string entity_types = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the entityTypes. |
hasConflictingResources()
public boolean hasConflictingResources()Info which resources have conflicts when REPORT_CONFLICT merge_option is set in ImportEntityTypesRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesResponse.ConflictingResources conflicting_resources = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the conflictingResources field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeConflictingResources(ImportEntityTypesResponse.ConflictingResources value)
public ImportEntityTypesResponse.Builder mergeConflictingResources(ImportEntityTypesResponse.ConflictingResources value)Info which resources have conflicts when REPORT_CONFLICT merge_option is set in ImportEntityTypesRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesResponse.ConflictingResources conflicting_resources = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ImportEntityTypesResponse.ConflictingResources |
| Returns | |
|---|---|
| Type | Description |
ImportEntityTypesResponse.Builder |
|
mergeFrom(ImportEntityTypesResponse other)
public ImportEntityTypesResponse.Builder mergeFrom(ImportEntityTypesResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ImportEntityTypesResponse |
| Returns | |
|---|---|
| Type | Description |
ImportEntityTypesResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImportEntityTypesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ImportEntityTypesResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ImportEntityTypesResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ImportEntityTypesResponse.Builder |
|
setConflictingResources(ImportEntityTypesResponse.ConflictingResources value)
public ImportEntityTypesResponse.Builder setConflictingResources(ImportEntityTypesResponse.ConflictingResources value)Info which resources have conflicts when REPORT_CONFLICT merge_option is set in ImportEntityTypesRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesResponse.ConflictingResources conflicting_resources = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ImportEntityTypesResponse.ConflictingResources |
| Returns | |
|---|---|
| Type | Description |
ImportEntityTypesResponse.Builder |
|
setConflictingResources(ImportEntityTypesResponse.ConflictingResources.Builder builderForValue)
public ImportEntityTypesResponse.Builder setConflictingResources(ImportEntityTypesResponse.ConflictingResources.Builder builderForValue)Info which resources have conflicts when REPORT_CONFLICT merge_option is set in ImportEntityTypesRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesResponse.ConflictingResources conflicting_resources = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ImportEntityTypesResponse.ConflictingResources.Builder |
| Returns | |
|---|---|
| Type | Description |
ImportEntityTypesResponse.Builder |
|
setEntityTypes(int index, String value)
public ImportEntityTypesResponse.Builder setEntityTypes(int index, String value) The unique identifier of the imported entity types.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>.
repeated string entity_types = 1 [(.google.api.resource_reference) = { ... }
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe entityTypes to set. |
| Returns | |
|---|---|
| Type | Description |
ImportEntityTypesResponse.Builder |
This builder for chaining. |