Class ImportPlaybookRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ImportPlaybookRequest.Builder>
com.google.cloud.dialogflow.cx.v3beta1.ImportPlaybookRequest.Builder
All Implemented Interfaces:
ImportPlaybookRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ImportPlaybookRequest

public static final class ImportPlaybookRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ImportPlaybookRequest.Builder> implements ImportPlaybookRequestOrBuilder
 The request message for
 [Playbooks.ImportPlaybook][google.cloud.dialogflow.cx.v3beta1.Playbooks.ImportPlaybook].
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.ImportPlaybookRequest
  • 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<ImportPlaybookRequest.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<ImportPlaybookRequest.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<ImportPlaybookRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public ImportPlaybookRequest.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<ImportPlaybookRequest.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<ImportPlaybookRequest.Builder>
    • mergeFrom

      public ImportPlaybookRequest.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<ImportPlaybookRequest.Builder>
      Throws:
      IOException
    • getPlaybookCase

      public ImportPlaybookRequest.PlaybookCase getPlaybookCase()
      Specified by:
      getPlaybookCase in interface ImportPlaybookRequestOrBuilder
    • clearPlaybook

      public ImportPlaybookRequest.Builder clearPlaybook()
    • getParent

      public String getParent()
       Required. The agent to import the playbook into.
       Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface ImportPlaybookRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The agent to import the playbook into.
       Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface ImportPlaybookRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public ImportPlaybookRequest.Builder setParent(String value)
       Required. The agent to import the playbook into.
       Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public ImportPlaybookRequest.Builder clearParent()
       Required. The agent to import the playbook into.
       Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public ImportPlaybookRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The agent to import the playbook into.
       Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • hasPlaybookUri

      public boolean hasPlaybookUri()
       [Dialogflow access
       control]
       (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
       
      string playbook_uri = 2;
      Specified by:
      hasPlaybookUri in interface ImportPlaybookRequestOrBuilder
      Returns:
      Whether the playbookUri field is set.
    • getPlaybookUri

      public String getPlaybookUri()
       [Dialogflow access
       control]
       (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
       
      string playbook_uri = 2;
      Specified by:
      getPlaybookUri in interface ImportPlaybookRequestOrBuilder
      Returns:
      The playbookUri.
    • getPlaybookUriBytes

      public com.google.protobuf.ByteString getPlaybookUriBytes()
       [Dialogflow access
       control]
       (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
       
      string playbook_uri = 2;
      Specified by:
      getPlaybookUriBytes in interface ImportPlaybookRequestOrBuilder
      Returns:
      The bytes for playbookUri.
    • setPlaybookUri

      public ImportPlaybookRequest.Builder setPlaybookUri(String value)
       [Dialogflow access
       control]
       (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
       
      string playbook_uri = 2;
      Parameters:
      value - The playbookUri to set.
      Returns:
      This builder for chaining.
    • clearPlaybookUri

      public ImportPlaybookRequest.Builder clearPlaybookUri()
       [Dialogflow access
       control]
       (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
       
      string playbook_uri = 2;
      Returns:
      This builder for chaining.
    • setPlaybookUriBytes

      public ImportPlaybookRequest.Builder setPlaybookUriBytes(com.google.protobuf.ByteString value)
       [Dialogflow access
       control]
       (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
       
      string playbook_uri = 2;
      Parameters:
      value - The bytes for playbookUri to set.
      Returns:
      This builder for chaining.
    • hasPlaybookContent

      public boolean hasPlaybookContent()
       Uncompressed raw byte content for playbook.
       
      bytes playbook_content = 3;
      Specified by:
      hasPlaybookContent in interface ImportPlaybookRequestOrBuilder
      Returns:
      Whether the playbookContent field is set.
    • getPlaybookContent

      public com.google.protobuf.ByteString getPlaybookContent()
       Uncompressed raw byte content for playbook.
       
      bytes playbook_content = 3;
      Specified by:
      getPlaybookContent in interface ImportPlaybookRequestOrBuilder
      Returns:
      The playbookContent.
    • setPlaybookContent

      public ImportPlaybookRequest.Builder setPlaybookContent(com.google.protobuf.ByteString value)
       Uncompressed raw byte content for playbook.
       
      bytes playbook_content = 3;
      Parameters:
      value - The playbookContent to set.
      Returns:
      This builder for chaining.
    • clearPlaybookContent

      public ImportPlaybookRequest.Builder clearPlaybookContent()
       Uncompressed raw byte content for playbook.
       
      bytes playbook_content = 3;
      Returns:
      This builder for chaining.
    • hasImportStrategy

      public boolean hasImportStrategy()
       Optional. Specifies the import strategy used when resolving resource
       conflicts.
       
      .google.cloud.dialogflow.cx.v3beta1.PlaybookImportStrategy import_strategy = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasImportStrategy in interface ImportPlaybookRequestOrBuilder
      Returns:
      Whether the importStrategy field is set.
    • getImportStrategy

      public PlaybookImportStrategy getImportStrategy()
       Optional. Specifies the import strategy used when resolving resource
       conflicts.
       
      .google.cloud.dialogflow.cx.v3beta1.PlaybookImportStrategy import_strategy = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getImportStrategy in interface ImportPlaybookRequestOrBuilder
      Returns:
      The importStrategy.
    • setImportStrategy

      public ImportPlaybookRequest.Builder setImportStrategy(PlaybookImportStrategy value)
       Optional. Specifies the import strategy used when resolving resource
       conflicts.
       
      .google.cloud.dialogflow.cx.v3beta1.PlaybookImportStrategy import_strategy = 4 [(.google.api.field_behavior) = OPTIONAL];
    • setImportStrategy

      public ImportPlaybookRequest.Builder setImportStrategy(PlaybookImportStrategy.Builder builderForValue)
       Optional. Specifies the import strategy used when resolving resource
       conflicts.
       
      .google.cloud.dialogflow.cx.v3beta1.PlaybookImportStrategy import_strategy = 4 [(.google.api.field_behavior) = OPTIONAL];
    • mergeImportStrategy

      public ImportPlaybookRequest.Builder mergeImportStrategy(PlaybookImportStrategy value)
       Optional. Specifies the import strategy used when resolving resource
       conflicts.
       
      .google.cloud.dialogflow.cx.v3beta1.PlaybookImportStrategy import_strategy = 4 [(.google.api.field_behavior) = OPTIONAL];
    • clearImportStrategy

      public ImportPlaybookRequest.Builder clearImportStrategy()
       Optional. Specifies the import strategy used when resolving resource
       conflicts.
       
      .google.cloud.dialogflow.cx.v3beta1.PlaybookImportStrategy import_strategy = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getImportStrategyBuilder

      public PlaybookImportStrategy.Builder getImportStrategyBuilder()
       Optional. Specifies the import strategy used when resolving resource
       conflicts.
       
      .google.cloud.dialogflow.cx.v3beta1.PlaybookImportStrategy import_strategy = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getImportStrategyOrBuilder

      public PlaybookImportStrategyOrBuilder getImportStrategyOrBuilder()
       Optional. Specifies the import strategy used when resolving resource
       conflicts.
       
      .google.cloud.dialogflow.cx.v3beta1.PlaybookImportStrategy import_strategy = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getImportStrategyOrBuilder in interface ImportPlaybookRequestOrBuilder