Class ImportPlaybookResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ImportPlaybookResponse.Builder>
com.google.cloud.dialogflow.cx.v3beta1.ImportPlaybookResponse.Builder
- All Implemented Interfaces:
ImportPlaybookResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ImportPlaybookResponse
public static final class ImportPlaybookResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ImportPlaybookResponse.Builder>
implements ImportPlaybookResponseOrBuilder
The response message for [Playbooks.ImportPlaybook][google.cloud.dialogflow.cx.v3beta1.Playbooks.ImportPlaybook].Protobuf type
google.cloud.dialogflow.cx.v3beta1.ImportPlaybookResponse-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Info which resources have conflicts when [REPORT_CONFLICTS][ImportPlaybookResponse.REPORT_CONFLICTS] import strategy is set for all resources in ImportPlaybookRequest.The unique identifier of the new playbook.Info which resources have conflicts when [REPORT_CONFLICTS][ImportPlaybookResponse.REPORT_CONFLICTS] import strategy is set for all resources in ImportPlaybookRequest.Info which resources have conflicts when [REPORT_CONFLICTS][ImportPlaybookResponse.REPORT_CONFLICTS] import strategy is set for all resources in ImportPlaybookRequest.Info which resources have conflicts when [REPORT_CONFLICTS][ImportPlaybookResponse.REPORT_CONFLICTS] import strategy is set for all resources in ImportPlaybookRequest.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe unique identifier of the new playbook.com.google.protobuf.ByteStringThe unique identifier of the new playbook.booleanInfo which resources have conflicts when [REPORT_CONFLICTS][ImportPlaybookResponse.REPORT_CONFLICTS] import strategy is set for all resources in ImportPlaybookRequest.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanInfo which resources have conflicts when [REPORT_CONFLICTS][ImportPlaybookResponse.REPORT_CONFLICTS] import strategy is set for all resources in ImportPlaybookRequest.mergeFrom(ImportPlaybookResponse 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_CONFLICTS][ImportPlaybookResponse.REPORT_CONFLICTS] import strategy is set for all resources in ImportPlaybookRequest.Info which resources have conflicts when [REPORT_CONFLICTS][ImportPlaybookResponse.REPORT_CONFLICTS] import strategy is set for all resources in ImportPlaybookRequest.setPlaybook(String value) The unique identifier of the new playbook.setPlaybookBytes(com.google.protobuf.ByteString value) The unique identifier of the new playbook.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<ImportPlaybookResponse.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<ImportPlaybookResponse.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<ImportPlaybookResponse.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<ImportPlaybookResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ImportPlaybookResponse.Builder>
-
mergeFrom
public ImportPlaybookResponse.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<ImportPlaybookResponse.Builder>- Throws:
IOException
-
getPlaybook
The unique identifier of the new playbook. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
string playbook = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getPlaybookin interfaceImportPlaybookResponseOrBuilder- Returns:
- The playbook.
-
getPlaybookBytes
public com.google.protobuf.ByteString getPlaybookBytes()The unique identifier of the new playbook. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
string playbook = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getPlaybookBytesin interfaceImportPlaybookResponseOrBuilder- Returns:
- The bytes for playbook.
-
setPlaybook
The unique identifier of the new playbook. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
string playbook = 1 [(.google.api.resource_reference) = { ... }- Parameters:
value- The playbook to set.- Returns:
- This builder for chaining.
-
clearPlaybook
The unique identifier of the new playbook. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
string playbook = 1 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setPlaybookBytes
The unique identifier of the new playbook. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
string playbook = 1 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for playbook to set.- Returns:
- This builder for chaining.
-
hasConflictingResources
public boolean hasConflictingResources()Info which resources have conflicts when [REPORT_CONFLICTS][ImportPlaybookResponse.REPORT_CONFLICTS] import strategy is set for all resources in ImportPlaybookRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportPlaybookResponse.ConflictingResources conflicting_resources = 2;- Specified by:
hasConflictingResourcesin interfaceImportPlaybookResponseOrBuilder- Returns:
- Whether the conflictingResources field is set.
-
getConflictingResources
Info which resources have conflicts when [REPORT_CONFLICTS][ImportPlaybookResponse.REPORT_CONFLICTS] import strategy is set for all resources in ImportPlaybookRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportPlaybookResponse.ConflictingResources conflicting_resources = 2;- Specified by:
getConflictingResourcesin interfaceImportPlaybookResponseOrBuilder- Returns:
- The conflictingResources.
-
setConflictingResources
public ImportPlaybookResponse.Builder setConflictingResources(ImportPlaybookResponse.ConflictingResources value) Info which resources have conflicts when [REPORT_CONFLICTS][ImportPlaybookResponse.REPORT_CONFLICTS] import strategy is set for all resources in ImportPlaybookRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportPlaybookResponse.ConflictingResources conflicting_resources = 2; -
setConflictingResources
public ImportPlaybookResponse.Builder setConflictingResources(ImportPlaybookResponse.ConflictingResources.Builder builderForValue) Info which resources have conflicts when [REPORT_CONFLICTS][ImportPlaybookResponse.REPORT_CONFLICTS] import strategy is set for all resources in ImportPlaybookRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportPlaybookResponse.ConflictingResources conflicting_resources = 2; -
mergeConflictingResources
public ImportPlaybookResponse.Builder mergeConflictingResources(ImportPlaybookResponse.ConflictingResources value) Info which resources have conflicts when [REPORT_CONFLICTS][ImportPlaybookResponse.REPORT_CONFLICTS] import strategy is set for all resources in ImportPlaybookRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportPlaybookResponse.ConflictingResources conflicting_resources = 2; -
clearConflictingResources
Info which resources have conflicts when [REPORT_CONFLICTS][ImportPlaybookResponse.REPORT_CONFLICTS] import strategy is set for all resources in ImportPlaybookRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportPlaybookResponse.ConflictingResources conflicting_resources = 2; -
getConflictingResourcesBuilder
Info which resources have conflicts when [REPORT_CONFLICTS][ImportPlaybookResponse.REPORT_CONFLICTS] import strategy is set for all resources in ImportPlaybookRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportPlaybookResponse.ConflictingResources conflicting_resources = 2; -
getConflictingResourcesOrBuilder
Info which resources have conflicts when [REPORT_CONFLICTS][ImportPlaybookResponse.REPORT_CONFLICTS] import strategy is set for all resources in ImportPlaybookRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportPlaybookResponse.ConflictingResources conflicting_resources = 2;- Specified by:
getConflictingResourcesOrBuilderin interfaceImportPlaybookResponseOrBuilder
-