public static final class ImportIntentsResponse.Builder extends GeneratedMessage.Builder<ImportIntentsResponse.Builder> implements ImportIntentsResponseOrBuilderThe response message for Intents.ImportIntents.
Protobuf type google.cloud.dialogflow.cx.v3.ImportIntentsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ImportIntentsResponse.BuilderImplements
ImportIntentsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllIntents(Iterable<String> values)
public ImportIntentsResponse.Builder addAllIntents(Iterable<String> values) The unique identifier of the imported intents.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>.
repeated string intents = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The intents to add. |
| Returns | |
|---|---|
| Type | Description |
ImportIntentsResponse.Builder |
This builder for chaining. |
addIntents(String value)
public ImportIntentsResponse.Builder addIntents(String value) The unique identifier of the imported intents.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>.
repeated string intents = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe intents to add. |
| Returns | |
|---|---|
| Type | Description |
ImportIntentsResponse.Builder |
This builder for chaining. |
addIntentsBytes(ByteString value)
public ImportIntentsResponse.Builder addIntentsBytes(ByteString value) The unique identifier of the imported intents.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>.
repeated string intents = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the intents to add. |
| Returns | |
|---|---|
| Type | Description |
ImportIntentsResponse.Builder |
This builder for chaining. |
build()
public ImportIntentsResponse build()| Returns | |
|---|---|
| Type | Description |
ImportIntentsResponse |
|
buildPartial()
public ImportIntentsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ImportIntentsResponse |
|
clear()
public ImportIntentsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ImportIntentsResponse.Builder |
|
clearConflictingResources()
public ImportIntentsResponse.Builder clearConflictingResources()Info which resources have conflicts when REPORT_CONFLICT merge_option is set in ImportIntentsRequest.
.google.cloud.dialogflow.cx.v3.ImportIntentsResponse.ConflictingResources conflicting_resources = 2;
| Returns | |
|---|---|
| Type | Description |
ImportIntentsResponse.Builder |
|
clearIntents()
public ImportIntentsResponse.Builder clearIntents() The unique identifier of the imported intents.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>.
repeated string intents = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ImportIntentsResponse.Builder |
This builder for chaining. |
getConflictingResources()
public ImportIntentsResponse.ConflictingResources getConflictingResources()Info which resources have conflicts when REPORT_CONFLICT merge_option is set in ImportIntentsRequest.
.google.cloud.dialogflow.cx.v3.ImportIntentsResponse.ConflictingResources conflicting_resources = 2;
| Returns | |
|---|---|
| Type | Description |
ImportIntentsResponse.ConflictingResources |
The conflictingResources. |
getConflictingResourcesBuilder()
public ImportIntentsResponse.ConflictingResources.Builder getConflictingResourcesBuilder()Info which resources have conflicts when REPORT_CONFLICT merge_option is set in ImportIntentsRequest.
.google.cloud.dialogflow.cx.v3.ImportIntentsResponse.ConflictingResources conflicting_resources = 2;
| Returns | |
|---|---|
| Type | Description |
ImportIntentsResponse.ConflictingResources.Builder |
|
getConflictingResourcesOrBuilder()
public ImportIntentsResponse.ConflictingResourcesOrBuilder getConflictingResourcesOrBuilder()Info which resources have conflicts when REPORT_CONFLICT merge_option is set in ImportIntentsRequest.
.google.cloud.dialogflow.cx.v3.ImportIntentsResponse.ConflictingResources conflicting_resources = 2;
| Returns | |
|---|---|
| Type | Description |
ImportIntentsResponse.ConflictingResourcesOrBuilder |
|
getDefaultInstanceForType()
public ImportIntentsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ImportIntentsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIntents(int index)
public String getIntents(int index) The unique identifier of the imported intents.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>.
repeated string intents = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The intents at the given index. |
getIntentsBytes(int index)
public ByteString getIntentsBytes(int index) The unique identifier of the imported intents.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>.
repeated string intents = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the intents at the given index. |
getIntentsCount()
public int getIntentsCount() The unique identifier of the imported intents.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>.
repeated string intents = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
int |
The count of intents. |
getIntentsList()
public ProtocolStringList getIntentsList() The unique identifier of the imported intents.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>.
repeated string intents = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the intents. |
hasConflictingResources()
public boolean hasConflictingResources()Info which resources have conflicts when REPORT_CONFLICT merge_option is set in ImportIntentsRequest.
.google.cloud.dialogflow.cx.v3.ImportIntentsResponse.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(ImportIntentsResponse.ConflictingResources value)
public ImportIntentsResponse.Builder mergeConflictingResources(ImportIntentsResponse.ConflictingResources value)Info which resources have conflicts when REPORT_CONFLICT merge_option is set in ImportIntentsRequest.
.google.cloud.dialogflow.cx.v3.ImportIntentsResponse.ConflictingResources conflicting_resources = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ImportIntentsResponse.ConflictingResources |
| Returns | |
|---|---|
| Type | Description |
ImportIntentsResponse.Builder |
|
mergeFrom(ImportIntentsResponse other)
public ImportIntentsResponse.Builder mergeFrom(ImportIntentsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ImportIntentsResponse |
| Returns | |
|---|---|
| Type | Description |
ImportIntentsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImportIntentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ImportIntentsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ImportIntentsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ImportIntentsResponse.Builder |
|
setConflictingResources(ImportIntentsResponse.ConflictingResources value)
public ImportIntentsResponse.Builder setConflictingResources(ImportIntentsResponse.ConflictingResources value)Info which resources have conflicts when REPORT_CONFLICT merge_option is set in ImportIntentsRequest.
.google.cloud.dialogflow.cx.v3.ImportIntentsResponse.ConflictingResources conflicting_resources = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ImportIntentsResponse.ConflictingResources |
| Returns | |
|---|---|
| Type | Description |
ImportIntentsResponse.Builder |
|
setConflictingResources(ImportIntentsResponse.ConflictingResources.Builder builderForValue)
public ImportIntentsResponse.Builder setConflictingResources(ImportIntentsResponse.ConflictingResources.Builder builderForValue)Info which resources have conflicts when REPORT_CONFLICT merge_option is set in ImportIntentsRequest.
.google.cloud.dialogflow.cx.v3.ImportIntentsResponse.ConflictingResources conflicting_resources = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ImportIntentsResponse.ConflictingResources.Builder |
| Returns | |
|---|---|
| Type | Description |
ImportIntentsResponse.Builder |
|
setIntents(int index, String value)
public ImportIntentsResponse.Builder setIntents(int index, String value) The unique identifier of the imported intents.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>.
repeated string intents = 1 [(.google.api.resource_reference) = { ... }
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe intents to set. |
| Returns | |
|---|---|
| Type | Description |
ImportIntentsResponse.Builder |
This builder for chaining. |