Class ExportAgentResponse.Builder

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

public static final class ExportAgentResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExportAgentResponse.Builder> implements ExportAgentResponseOrBuilder
 The response message for
 [Agents.ExportAgent][google.cloud.dialogflow.v2.Agents.ExportAgent].
 
Protobuf type google.cloud.dialogflow.v2.ExportAgentResponse
  • 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<ExportAgentResponse.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<ExportAgentResponse.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<ExportAgentResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ExportAgentResponse.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<ExportAgentResponse.Builder>
      Throws:
      IOException
    • getAgentCase

      public ExportAgentResponse.AgentCase getAgentCase()
      Specified by:
      getAgentCase in interface ExportAgentResponseOrBuilder
    • clearAgent

      public ExportAgentResponse.Builder clearAgent()
    • hasAgentUri

      public boolean hasAgentUri()
       The URI to a file containing the exported agent. This field is populated
       only if `agent_uri` is specified in `ExportAgentRequest`.
       
      string agent_uri = 1;
      Specified by:
      hasAgentUri in interface ExportAgentResponseOrBuilder
      Returns:
      Whether the agentUri field is set.
    • getAgentUri

      public String getAgentUri()
       The URI to a file containing the exported agent. This field is populated
       only if `agent_uri` is specified in `ExportAgentRequest`.
       
      string agent_uri = 1;
      Specified by:
      getAgentUri in interface ExportAgentResponseOrBuilder
      Returns:
      The agentUri.
    • getAgentUriBytes

      public com.google.protobuf.ByteString getAgentUriBytes()
       The URI to a file containing the exported agent. This field is populated
       only if `agent_uri` is specified in `ExportAgentRequest`.
       
      string agent_uri = 1;
      Specified by:
      getAgentUriBytes in interface ExportAgentResponseOrBuilder
      Returns:
      The bytes for agentUri.
    • setAgentUri

      public ExportAgentResponse.Builder setAgentUri(String value)
       The URI to a file containing the exported agent. This field is populated
       only if `agent_uri` is specified in `ExportAgentRequest`.
       
      string agent_uri = 1;
      Parameters:
      value - The agentUri to set.
      Returns:
      This builder for chaining.
    • clearAgentUri

      public ExportAgentResponse.Builder clearAgentUri()
       The URI to a file containing the exported agent. This field is populated
       only if `agent_uri` is specified in `ExportAgentRequest`.
       
      string agent_uri = 1;
      Returns:
      This builder for chaining.
    • setAgentUriBytes

      public ExportAgentResponse.Builder setAgentUriBytes(com.google.protobuf.ByteString value)
       The URI to a file containing the exported agent. This field is populated
       only if `agent_uri` is specified in `ExportAgentRequest`.
       
      string agent_uri = 1;
      Parameters:
      value - The bytes for agentUri to set.
      Returns:
      This builder for chaining.
    • hasAgentContent

      public boolean hasAgentContent()
       Zip compressed raw byte content for agent.
       
      bytes agent_content = 2;
      Specified by:
      hasAgentContent in interface ExportAgentResponseOrBuilder
      Returns:
      Whether the agentContent field is set.
    • getAgentContent

      public com.google.protobuf.ByteString getAgentContent()
       Zip compressed raw byte content for agent.
       
      bytes agent_content = 2;
      Specified by:
      getAgentContent in interface ExportAgentResponseOrBuilder
      Returns:
      The agentContent.
    • setAgentContent

      public ExportAgentResponse.Builder setAgentContent(com.google.protobuf.ByteString value)
       Zip compressed raw byte content for agent.
       
      bytes agent_content = 2;
      Parameters:
      value - The agentContent to set.
      Returns:
      This builder for chaining.
    • clearAgentContent

      public ExportAgentResponse.Builder clearAgentContent()
       Zip compressed raw byte content for agent.
       
      bytes agent_content = 2;
      Returns:
      This builder for chaining.