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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ImportPlaybookResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ImportPlaybookResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ImportPlaybookResponse.Builder>
    • getDefaultInstanceForType

      public ImportPlaybookResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ImportPlaybookResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ImportPlaybookResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ImportPlaybookResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ImportPlaybookResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ImportPlaybookResponse.Builder>
      Throws:
      IOException
    • getPlaybook

      public String 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:
      getPlaybook in interface ImportPlaybookResponseOrBuilder
      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:
      getPlaybookBytes in interface ImportPlaybookResponseOrBuilder
      Returns:
      The bytes for playbook.
    • setPlaybook

      public ImportPlaybookResponse.Builder setPlaybook(String value)
       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

      public ImportPlaybookResponse.Builder 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

      public ImportPlaybookResponse.Builder setPlaybookBytes(com.google.protobuf.ByteString value)
       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:
      hasConflictingResources in interface ImportPlaybookResponseOrBuilder
      Returns:
      Whether the conflictingResources field is set.
    • getConflictingResources

      public ImportPlaybookResponse.ConflictingResources 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:
      getConflictingResources in interface ImportPlaybookResponseOrBuilder
      Returns:
      The conflictingResources.
    • setConflictingResources

       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

       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

       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

      public ImportPlaybookResponse.Builder 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

      public ImportPlaybookResponse.ConflictingResources.Builder 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

      public ImportPlaybookResponse.ConflictingResourcesOrBuilder 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:
      getConflictingResourcesOrBuilder in interface ImportPlaybookResponseOrBuilder