Class DeployFlowResponse.Builder

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

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

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

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

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

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

      public DeployFlowResponse.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<DeployFlowResponse.Builder>
      Throws:
      IOException
    • hasEnvironment

      public boolean hasEnvironment()
       The updated environment where the flow is deployed.
       
      .google.cloud.dialogflow.cx.v3beta1.Environment environment = 1;
      Specified by:
      hasEnvironment in interface DeployFlowResponseOrBuilder
      Returns:
      Whether the environment field is set.
    • getEnvironment

      public Environment getEnvironment()
       The updated environment where the flow is deployed.
       
      .google.cloud.dialogflow.cx.v3beta1.Environment environment = 1;
      Specified by:
      getEnvironment in interface DeployFlowResponseOrBuilder
      Returns:
      The environment.
    • setEnvironment

      public DeployFlowResponse.Builder setEnvironment(Environment value)
       The updated environment where the flow is deployed.
       
      .google.cloud.dialogflow.cx.v3beta1.Environment environment = 1;
    • setEnvironment

      public DeployFlowResponse.Builder setEnvironment(Environment.Builder builderForValue)
       The updated environment where the flow is deployed.
       
      .google.cloud.dialogflow.cx.v3beta1.Environment environment = 1;
    • mergeEnvironment

      public DeployFlowResponse.Builder mergeEnvironment(Environment value)
       The updated environment where the flow is deployed.
       
      .google.cloud.dialogflow.cx.v3beta1.Environment environment = 1;
    • clearEnvironment

      public DeployFlowResponse.Builder clearEnvironment()
       The updated environment where the flow is deployed.
       
      .google.cloud.dialogflow.cx.v3beta1.Environment environment = 1;
    • getEnvironmentBuilder

      public Environment.Builder getEnvironmentBuilder()
       The updated environment where the flow is deployed.
       
      .google.cloud.dialogflow.cx.v3beta1.Environment environment = 1;
    • getEnvironmentOrBuilder

      public EnvironmentOrBuilder getEnvironmentOrBuilder()
       The updated environment where the flow is deployed.
       
      .google.cloud.dialogflow.cx.v3beta1.Environment environment = 1;
      Specified by:
      getEnvironmentOrBuilder in interface DeployFlowResponseOrBuilder
    • getDeployment

      public String getDeployment()
       The name of the flow version deployment.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/deployments/<DeploymentID>`.
       
      string deployment = 2;
      Specified by:
      getDeployment in interface DeployFlowResponseOrBuilder
      Returns:
      The deployment.
    • getDeploymentBytes

      public com.google.protobuf.ByteString getDeploymentBytes()
       The name of the flow version deployment.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/deployments/<DeploymentID>`.
       
      string deployment = 2;
      Specified by:
      getDeploymentBytes in interface DeployFlowResponseOrBuilder
      Returns:
      The bytes for deployment.
    • setDeployment

      public DeployFlowResponse.Builder setDeployment(String value)
       The name of the flow version deployment.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/deployments/<DeploymentID>`.
       
      string deployment = 2;
      Parameters:
      value - The deployment to set.
      Returns:
      This builder for chaining.
    • clearDeployment

      public DeployFlowResponse.Builder clearDeployment()
       The name of the flow version deployment.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/deployments/<DeploymentID>`.
       
      string deployment = 2;
      Returns:
      This builder for chaining.
    • setDeploymentBytes

      public DeployFlowResponse.Builder setDeploymentBytes(com.google.protobuf.ByteString value)
       The name of the flow version deployment.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/deployments/<DeploymentID>`.
       
      string deployment = 2;
      Parameters:
      value - The bytes for deployment to set.
      Returns:
      This builder for chaining.