Class ImportIntentsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ImportIntentsResponse.Builder>
com.google.cloud.dialogflow.cx.v3beta1.ImportIntentsResponse.Builder
- All Implemented Interfaces:
ImportIntentsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ImportIntentsResponse
public static final class ImportIntentsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ImportIntentsResponse.Builder>
implements ImportIntentsResponseOrBuilder
The response message for [Intents.ImportIntents][google.cloud.dialogflow.cx.v3beta1.Intents.ImportIntents].Protobuf type
google.cloud.dialogflow.cx.v3beta1.ImportIntentsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllIntents(Iterable<String> values) The unique identifier of the imported intents.addIntents(String value) The unique identifier of the imported intents.addIntentsBytes(com.google.protobuf.ByteString value) The unique identifier of the imported intents.build()clear()Info which resources have conflicts when [REPORT_CONFLICT][ImportIntentsResponse.REPORT_CONFLICT] merge_option is set in ImportIntentsRequest.The unique identifier of the imported intents.Info which resources have conflicts when [REPORT_CONFLICT][ImportIntentsResponse.REPORT_CONFLICT] merge_option is set in ImportIntentsRequest.Info which resources have conflicts when [REPORT_CONFLICT][ImportIntentsResponse.REPORT_CONFLICT] merge_option is set in ImportIntentsRequest.Info which resources have conflicts when [REPORT_CONFLICT][ImportIntentsResponse.REPORT_CONFLICT] merge_option is set in ImportIntentsRequest.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetIntents(int index) The unique identifier of the imported intents.com.google.protobuf.ByteStringgetIntentsBytes(int index) The unique identifier of the imported intents.intThe unique identifier of the imported intents.com.google.protobuf.ProtocolStringListThe unique identifier of the imported intents.booleanInfo which resources have conflicts when [REPORT_CONFLICT][ImportIntentsResponse.REPORT_CONFLICT] merge_option is set in ImportIntentsRequest.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanInfo which resources have conflicts when [REPORT_CONFLICT][ImportIntentsResponse.REPORT_CONFLICT] merge_option is set in ImportIntentsRequest.mergeFrom(ImportIntentsResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Info which resources have conflicts when [REPORT_CONFLICT][ImportIntentsResponse.REPORT_CONFLICT] merge_option is set in ImportIntentsRequest.Info which resources have conflicts when [REPORT_CONFLICT][ImportIntentsResponse.REPORT_CONFLICT] merge_option is set in ImportIntentsRequest.setIntents(int index, String value) The unique identifier of the imported intents.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ImportIntentsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ImportIntentsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ImportIntentsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportIntentsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ImportIntentsResponse.Builder>
-
mergeFrom
public ImportIntentsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportIntentsResponse.Builder>- Throws:
IOException
-
getIntentsList
public com.google.protobuf.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) = { ... }- Specified by:
getIntentsListin interfaceImportIntentsResponseOrBuilder- Returns:
- A list containing the intents.
-
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) = { ... }- Specified by:
getIntentsCountin interfaceImportIntentsResponseOrBuilder- Returns:
- The count of intents.
-
getIntents
The unique identifier of the imported intents. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
repeated string intents = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getIntentsin interfaceImportIntentsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The intents at the given index.
-
getIntentsBytes
public com.google.protobuf.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) = { ... }- Specified by:
getIntentsBytesin interfaceImportIntentsResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the intents at the given index.
-
setIntents
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:
index- The index to set the value at.value- The intents to set.- Returns:
- This builder for chaining.
-
addIntents
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:
value- The intents to add.- Returns:
- This builder for chaining.
-
addAllIntents
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:
values- The intents to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
addIntentsBytes
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:
value- The bytes of the intents to add.- Returns:
- This builder for chaining.
-
hasConflictingResources
public boolean hasConflictingResources()Info which resources have conflicts when [REPORT_CONFLICT][ImportIntentsResponse.REPORT_CONFLICT] merge_option is set in ImportIntentsRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportIntentsResponse.ConflictingResources conflicting_resources = 2;- Specified by:
hasConflictingResourcesin interfaceImportIntentsResponseOrBuilder- Returns:
- Whether the conflictingResources field is set.
-
getConflictingResources
Info which resources have conflicts when [REPORT_CONFLICT][ImportIntentsResponse.REPORT_CONFLICT] merge_option is set in ImportIntentsRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportIntentsResponse.ConflictingResources conflicting_resources = 2;- Specified by:
getConflictingResourcesin interfaceImportIntentsResponseOrBuilder- Returns:
- The conflictingResources.
-
setConflictingResources
public ImportIntentsResponse.Builder setConflictingResources(ImportIntentsResponse.ConflictingResources value) Info which resources have conflicts when [REPORT_CONFLICT][ImportIntentsResponse.REPORT_CONFLICT] merge_option is set in ImportIntentsRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportIntentsResponse.ConflictingResources conflicting_resources = 2; -
setConflictingResources
public ImportIntentsResponse.Builder setConflictingResources(ImportIntentsResponse.ConflictingResources.Builder builderForValue) Info which resources have conflicts when [REPORT_CONFLICT][ImportIntentsResponse.REPORT_CONFLICT] merge_option is set in ImportIntentsRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportIntentsResponse.ConflictingResources conflicting_resources = 2; -
mergeConflictingResources
public ImportIntentsResponse.Builder mergeConflictingResources(ImportIntentsResponse.ConflictingResources value) Info which resources have conflicts when [REPORT_CONFLICT][ImportIntentsResponse.REPORT_CONFLICT] merge_option is set in ImportIntentsRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportIntentsResponse.ConflictingResources conflicting_resources = 2; -
clearConflictingResources
Info which resources have conflicts when [REPORT_CONFLICT][ImportIntentsResponse.REPORT_CONFLICT] merge_option is set in ImportIntentsRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportIntentsResponse.ConflictingResources conflicting_resources = 2; -
getConflictingResourcesBuilder
Info which resources have conflicts when [REPORT_CONFLICT][ImportIntentsResponse.REPORT_CONFLICT] merge_option is set in ImportIntentsRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportIntentsResponse.ConflictingResources conflicting_resources = 2; -
getConflictingResourcesOrBuilder
Info which resources have conflicts when [REPORT_CONFLICT][ImportIntentsResponse.REPORT_CONFLICT] merge_option is set in ImportIntentsRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportIntentsResponse.ConflictingResources conflicting_resources = 2;- Specified by:
getConflictingResourcesOrBuilderin interfaceImportIntentsResponseOrBuilder
-