public static final class ImportIntentsResponse.Builder extends GeneratedMessageV3.Builder<ImportIntentsResponse.Builder> implements ImportIntentsResponseOrBuilder
The response message for
Intents.ImportIntents.
Protobuf type google.cloud.dialogflow.cx.v3.ImportIntentsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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) = { ... }
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 |
String
The intents to add.
|
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 |
ByteString
The bytes of the intents to add.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportIntentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ImportIntentsResponse build()
buildPartial()
public ImportIntentsResponse buildPartial()
clear()
public ImportIntentsResponse.Builder clear()
Overrides
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;
clearField(Descriptors.FieldDescriptor field)
public ImportIntentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportIntentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ImportIntentsResponse.Builder clone()
Overrides
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;
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;
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;
getDefaultInstanceForType()
public ImportIntentsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 |
int
The 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 |
int
The 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) = { ... }
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
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;
mergeFrom(ImportIntentsResponse other)
public ImportIntentsResponse.Builder mergeFrom(ImportIntentsResponse other)
public ImportIntentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ImportIntentsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportIntentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ImportIntentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
int
The index to set the value at.
|
value |
String
The intents to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportIntentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportIntentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides