Class ExportPlaybookResponse.Builder

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

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

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

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

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

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

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

      public ExportPlaybookResponse.PlaybookCase getPlaybookCase()
      Specified by:
      getPlaybookCase in interface ExportPlaybookResponseOrBuilder
    • clearPlaybook

      public ExportPlaybookResponse.Builder clearPlaybook()
    • hasPlaybookUri

      public boolean hasPlaybookUri()
       The URI to a file containing the exported playbook. This field is
       populated only if `playbook_uri` is specified in
       [ExportPlaybookRequest][google.cloud.dialogflow.cx.v3beta1.ExportPlaybookRequest].
       
      string playbook_uri = 1;
      Specified by:
      hasPlaybookUri in interface ExportPlaybookResponseOrBuilder
      Returns:
      Whether the playbookUri field is set.
    • getPlaybookUri

      public String getPlaybookUri()
       The URI to a file containing the exported playbook. This field is
       populated only if `playbook_uri` is specified in
       [ExportPlaybookRequest][google.cloud.dialogflow.cx.v3beta1.ExportPlaybookRequest].
       
      string playbook_uri = 1;
      Specified by:
      getPlaybookUri in interface ExportPlaybookResponseOrBuilder
      Returns:
      The playbookUri.
    • getPlaybookUriBytes

      public com.google.protobuf.ByteString getPlaybookUriBytes()
       The URI to a file containing the exported playbook. This field is
       populated only if `playbook_uri` is specified in
       [ExportPlaybookRequest][google.cloud.dialogflow.cx.v3beta1.ExportPlaybookRequest].
       
      string playbook_uri = 1;
      Specified by:
      getPlaybookUriBytes in interface ExportPlaybookResponseOrBuilder
      Returns:
      The bytes for playbookUri.
    • setPlaybookUri

      public ExportPlaybookResponse.Builder setPlaybookUri(String value)
       The URI to a file containing the exported playbook. This field is
       populated only if `playbook_uri` is specified in
       [ExportPlaybookRequest][google.cloud.dialogflow.cx.v3beta1.ExportPlaybookRequest].
       
      string playbook_uri = 1;
      Parameters:
      value - The playbookUri to set.
      Returns:
      This builder for chaining.
    • clearPlaybookUri

      public ExportPlaybookResponse.Builder clearPlaybookUri()
       The URI to a file containing the exported playbook. This field is
       populated only if `playbook_uri` is specified in
       [ExportPlaybookRequest][google.cloud.dialogflow.cx.v3beta1.ExportPlaybookRequest].
       
      string playbook_uri = 1;
      Returns:
      This builder for chaining.
    • setPlaybookUriBytes

      public ExportPlaybookResponse.Builder setPlaybookUriBytes(com.google.protobuf.ByteString value)
       The URI to a file containing the exported playbook. This field is
       populated only if `playbook_uri` is specified in
       [ExportPlaybookRequest][google.cloud.dialogflow.cx.v3beta1.ExportPlaybookRequest].
       
      string playbook_uri = 1;
      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 = 2;
      Specified by:
      hasPlaybookContent in interface ExportPlaybookResponseOrBuilder
      Returns:
      Whether the playbookContent field is set.
    • getPlaybookContent

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

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

      public ExportPlaybookResponse.Builder clearPlaybookContent()
       Uncompressed raw byte content for playbook.
       
      bytes playbook_content = 2;
      Returns:
      This builder for chaining.