Class PollAirflowCommandRequest.Builder

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

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

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

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

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

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

      public PollAirflowCommandRequest.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<PollAirflowCommandRequest.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 PollAirflowCommandRequestOrBuilder
      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 PollAirflowCommandRequestOrBuilder
      Returns:
      The bytes for environment.
    • setEnvironment

      public PollAirflowCommandRequest.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 PollAirflowCommandRequest.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 PollAirflowCommandRequest.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 PollAirflowCommandRequestOrBuilder
      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 PollAirflowCommandRequestOrBuilder
      Returns:
      The bytes for executionId.
    • setExecutionId

      public PollAirflowCommandRequest.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 PollAirflowCommandRequest.Builder clearExecutionId()
       The unique ID of the command execution.
       
      string execution_id = 2;
      Returns:
      This builder for chaining.
    • setExecutionIdBytes

      public PollAirflowCommandRequest.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 PollAirflowCommandRequestOrBuilder
      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 PollAirflowCommandRequestOrBuilder
      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 PollAirflowCommandRequest.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 PollAirflowCommandRequestOrBuilder
      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 PollAirflowCommandRequestOrBuilder
      Returns:
      The bytes for podNamespace.
    • setPodNamespace

      public PollAirflowCommandRequest.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 PollAirflowCommandRequest.Builder clearPodNamespace()
       The namespace of the pod where the command is executed.
       
      string pod_namespace = 4;
      Returns:
      This builder for chaining.
    • setPodNamespaceBytes

      public PollAirflowCommandRequest.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.
    • getNextLineNumber

      public int getNextLineNumber()
       Line number from which new logs should be fetched.
       
      int32 next_line_number = 5;
      Specified by:
      getNextLineNumber in interface PollAirflowCommandRequestOrBuilder
      Returns:
      The nextLineNumber.
    • setNextLineNumber

      public PollAirflowCommandRequest.Builder setNextLineNumber(int value)
       Line number from which new logs should be fetched.
       
      int32 next_line_number = 5;
      Parameters:
      value - The nextLineNumber to set.
      Returns:
      This builder for chaining.
    • clearNextLineNumber

      public PollAirflowCommandRequest.Builder clearNextLineNumber()
       Line number from which new logs should be fetched.
       
      int32 next_line_number = 5;
      Returns:
      This builder for chaining.