Class StopAirflowCommandRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StopAirflowCommandRequest.Builder>
com.google.cloud.orchestration.airflow.service.v1beta1.StopAirflowCommandRequest.Builder
All Implemented Interfaces:
StopAirflowCommandRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
StopAirflowCommandRequest

public static final class StopAirflowCommandRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<StopAirflowCommandRequest.Builder> implements StopAirflowCommandRequestOrBuilder
 Stop Airflow Command request.
 
Protobuf type google.cloud.orchestration.airflow.service.v1beta1.StopAirflowCommandRequest
  • 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<StopAirflowCommandRequest.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<StopAirflowCommandRequest.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<StopAirflowCommandRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public StopAirflowCommandRequest.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<StopAirflowCommandRequest.Builder>
      Throws:
      IOException
    • getEnvironment

      public String getEnvironment()
       The resource name of the environment in the form:
       "projects/{projectId}/locations/{locationId}/environments/{environmentId}".
       
      string environment = 1;
      Specified by:
      getEnvironment in interface StopAirflowCommandRequestOrBuilder
      Returns:
      The environment.
    • getEnvironmentBytes

      public com.google.protobuf.ByteString getEnvironmentBytes()
       The resource name of the environment in the form:
       "projects/{projectId}/locations/{locationId}/environments/{environmentId}".
       
      string environment = 1;
      Specified by:
      getEnvironmentBytes in interface StopAirflowCommandRequestOrBuilder
      Returns:
      The bytes for environment.
    • setEnvironment

      public StopAirflowCommandRequest.Builder setEnvironment(String value)
       The resource name of the environment in the form:
       "projects/{projectId}/locations/{locationId}/environments/{environmentId}".
       
      string environment = 1;
      Parameters:
      value - The environment to set.
      Returns:
      This builder for chaining.
    • clearEnvironment

      public StopAirflowCommandRequest.Builder clearEnvironment()
       The resource name of the environment in the form:
       "projects/{projectId}/locations/{locationId}/environments/{environmentId}".
       
      string environment = 1;
      Returns:
      This builder for chaining.
    • setEnvironmentBytes

      public StopAirflowCommandRequest.Builder setEnvironmentBytes(com.google.protobuf.ByteString value)
       The resource name of the environment in the form:
       "projects/{projectId}/locations/{locationId}/environments/{environmentId}".
       
      string environment = 1;
      Parameters:
      value - The bytes for environment to set.
      Returns:
      This builder for chaining.
    • getExecutionId

      public String getExecutionId()
       The unique ID of the command execution.
       
      string execution_id = 2;
      Specified by:
      getExecutionId in interface StopAirflowCommandRequestOrBuilder
      Returns:
      The executionId.
    • getExecutionIdBytes

      public com.google.protobuf.ByteString getExecutionIdBytes()
       The unique ID of the command execution.
       
      string execution_id = 2;
      Specified by:
      getExecutionIdBytes in interface StopAirflowCommandRequestOrBuilder
      Returns:
      The bytes for executionId.
    • setExecutionId

      public StopAirflowCommandRequest.Builder setExecutionId(String value)
       The unique ID of the command execution.
       
      string execution_id = 2;
      Parameters:
      value - The executionId to set.
      Returns:
      This builder for chaining.
    • clearExecutionId

      public StopAirflowCommandRequest.Builder clearExecutionId()
       The unique ID of the command execution.
       
      string execution_id = 2;
      Returns:
      This builder for chaining.
    • setExecutionIdBytes

      public StopAirflowCommandRequest.Builder setExecutionIdBytes(com.google.protobuf.ByteString value)
       The unique ID of the command execution.
       
      string execution_id = 2;
      Parameters:
      value - The bytes for executionId to set.
      Returns:
      This builder for chaining.
    • getPod

      public String getPod()
       The name of the pod where the command is executed.
       
      string pod = 3;
      Specified by:
      getPod in interface StopAirflowCommandRequestOrBuilder
      Returns:
      The pod.
    • getPodBytes

      public com.google.protobuf.ByteString getPodBytes()
       The name of the pod where the command is executed.
       
      string pod = 3;
      Specified by:
      getPodBytes in interface StopAirflowCommandRequestOrBuilder
      Returns:
      The bytes for pod.
    • setPod

       The name of the pod where the command is executed.
       
      string pod = 3;
      Parameters:
      value - The pod to set.
      Returns:
      This builder for chaining.
    • clearPod

       The name of the pod where the command is executed.
       
      string pod = 3;
      Returns:
      This builder for chaining.
    • setPodBytes

      public StopAirflowCommandRequest.Builder setPodBytes(com.google.protobuf.ByteString value)
       The name of the pod where the command is executed.
       
      string pod = 3;
      Parameters:
      value - The bytes for pod to set.
      Returns:
      This builder for chaining.
    • getPodNamespace

      public String getPodNamespace()
       The namespace of the pod where the command is executed.
       
      string pod_namespace = 4;
      Specified by:
      getPodNamespace in interface StopAirflowCommandRequestOrBuilder
      Returns:
      The podNamespace.
    • getPodNamespaceBytes

      public com.google.protobuf.ByteString getPodNamespaceBytes()
       The namespace of the pod where the command is executed.
       
      string pod_namespace = 4;
      Specified by:
      getPodNamespaceBytes in interface StopAirflowCommandRequestOrBuilder
      Returns:
      The bytes for podNamespace.
    • setPodNamespace

      public StopAirflowCommandRequest.Builder setPodNamespace(String value)
       The namespace of the pod where the command is executed.
       
      string pod_namespace = 4;
      Parameters:
      value - The podNamespace to set.
      Returns:
      This builder for chaining.
    • clearPodNamespace

      public StopAirflowCommandRequest.Builder clearPodNamespace()
       The namespace of the pod where the command is executed.
       
      string pod_namespace = 4;
      Returns:
      This builder for chaining.
    • setPodNamespaceBytes

      public StopAirflowCommandRequest.Builder setPodNamespaceBytes(com.google.protobuf.ByteString value)
       The namespace of the pod where the command is executed.
       
      string pod_namespace = 4;
      Parameters:
      value - The bytes for podNamespace to set.
      Returns:
      This builder for chaining.
    • getForce

      public boolean getForce()
       If true, the execution is terminated forcefully (SIGKILL). If false, the
       execution is stopped gracefully, giving it time for cleanup.
       
      bool force = 5;
      Specified by:
      getForce in interface StopAirflowCommandRequestOrBuilder
      Returns:
      The force.
    • setForce

      public StopAirflowCommandRequest.Builder setForce(boolean value)
       If true, the execution is terminated forcefully (SIGKILL). If false, the
       execution is stopped gracefully, giving it time for cleanup.
       
      bool force = 5;
      Parameters:
      value - The force to set.
      Returns:
      This builder for chaining.
    • clearForce

      public StopAirflowCommandRequest.Builder clearForce()
       If true, the execution is terminated forcefully (SIGKILL). If false, the
       execution is stopped gracefully, giving it time for cleanup.
       
      bool force = 5;
      Returns:
      This builder for chaining.