Class PollAirflowCommandResponse.Builder

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

public static final class PollAirflowCommandResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<PollAirflowCommandResponse.Builder> implements PollAirflowCommandResponseOrBuilder
 Response to PollAirflowCommandRequest.
 
Protobuf type google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse
  • 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<PollAirflowCommandResponse.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<PollAirflowCommandResponse.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<PollAirflowCommandResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public PollAirflowCommandResponse.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<PollAirflowCommandResponse.Builder>
      Throws:
      IOException
    • getOutputList

      public List<PollAirflowCommandResponse.Line> getOutputList()
       Output from the command execution. It may not contain the full output
       and the caller may need to poll for more lines.
       
      repeated .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.Line output = 1;
      Specified by:
      getOutputList in interface PollAirflowCommandResponseOrBuilder
    • getOutputCount

      public int getOutputCount()
       Output from the command execution. It may not contain the full output
       and the caller may need to poll for more lines.
       
      repeated .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.Line output = 1;
      Specified by:
      getOutputCount in interface PollAirflowCommandResponseOrBuilder
    • getOutput

      public PollAirflowCommandResponse.Line getOutput(int index)
       Output from the command execution. It may not contain the full output
       and the caller may need to poll for more lines.
       
      repeated .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.Line output = 1;
      Specified by:
      getOutput in interface PollAirflowCommandResponseOrBuilder
    • setOutput

       Output from the command execution. It may not contain the full output
       and the caller may need to poll for more lines.
       
      repeated .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.Line output = 1;
    • setOutput

      public PollAirflowCommandResponse.Builder setOutput(int index, PollAirflowCommandResponse.Line.Builder builderForValue)
       Output from the command execution. It may not contain the full output
       and the caller may need to poll for more lines.
       
      repeated .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.Line output = 1;
    • addOutput

       Output from the command execution. It may not contain the full output
       and the caller may need to poll for more lines.
       
      repeated .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.Line output = 1;
    • addOutput

       Output from the command execution. It may not contain the full output
       and the caller may need to poll for more lines.
       
      repeated .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.Line output = 1;
    • addOutput

       Output from the command execution. It may not contain the full output
       and the caller may need to poll for more lines.
       
      repeated .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.Line output = 1;
    • addOutput

      public PollAirflowCommandResponse.Builder addOutput(int index, PollAirflowCommandResponse.Line.Builder builderForValue)
       Output from the command execution. It may not contain the full output
       and the caller may need to poll for more lines.
       
      repeated .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.Line output = 1;
    • addAllOutput

       Output from the command execution. It may not contain the full output
       and the caller may need to poll for more lines.
       
      repeated .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.Line output = 1;
    • clearOutput

      public PollAirflowCommandResponse.Builder clearOutput()
       Output from the command execution. It may not contain the full output
       and the caller may need to poll for more lines.
       
      repeated .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.Line output = 1;
    • removeOutput

      public PollAirflowCommandResponse.Builder removeOutput(int index)
       Output from the command execution. It may not contain the full output
       and the caller may need to poll for more lines.
       
      repeated .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.Line output = 1;
    • getOutputBuilder

      public PollAirflowCommandResponse.Line.Builder getOutputBuilder(int index)
       Output from the command execution. It may not contain the full output
       and the caller may need to poll for more lines.
       
      repeated .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.Line output = 1;
    • getOutputOrBuilder

      public PollAirflowCommandResponse.LineOrBuilder getOutputOrBuilder(int index)
       Output from the command execution. It may not contain the full output
       and the caller may need to poll for more lines.
       
      repeated .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.Line output = 1;
      Specified by:
      getOutputOrBuilder in interface PollAirflowCommandResponseOrBuilder
    • getOutputOrBuilderList

      public List<? extends PollAirflowCommandResponse.LineOrBuilder> getOutputOrBuilderList()
       Output from the command execution. It may not contain the full output
       and the caller may need to poll for more lines.
       
      repeated .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.Line output = 1;
      Specified by:
      getOutputOrBuilderList in interface PollAirflowCommandResponseOrBuilder
    • addOutputBuilder

      public PollAirflowCommandResponse.Line.Builder addOutputBuilder()
       Output from the command execution. It may not contain the full output
       and the caller may need to poll for more lines.
       
      repeated .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.Line output = 1;
    • addOutputBuilder

      public PollAirflowCommandResponse.Line.Builder addOutputBuilder(int index)
       Output from the command execution. It may not contain the full output
       and the caller may need to poll for more lines.
       
      repeated .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.Line output = 1;
    • getOutputBuilderList

      public List<PollAirflowCommandResponse.Line.Builder> getOutputBuilderList()
       Output from the command execution. It may not contain the full output
       and the caller may need to poll for more lines.
       
      repeated .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.Line output = 1;
    • getOutputEnd

      public boolean getOutputEnd()
       Whether the command execution has finished and there is no more output.
       
      bool output_end = 2;
      Specified by:
      getOutputEnd in interface PollAirflowCommandResponseOrBuilder
      Returns:
      The outputEnd.
    • setOutputEnd

      public PollAirflowCommandResponse.Builder setOutputEnd(boolean value)
       Whether the command execution has finished and there is no more output.
       
      bool output_end = 2;
      Parameters:
      value - The outputEnd to set.
      Returns:
      This builder for chaining.
    • clearOutputEnd

      public PollAirflowCommandResponse.Builder clearOutputEnd()
       Whether the command execution has finished and there is no more output.
       
      bool output_end = 2;
      Returns:
      This builder for chaining.
    • hasExitInfo

      public boolean hasExitInfo()
       The result exit status of the command.
       
      .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.ExitInfo exit_info = 3;
      Specified by:
      hasExitInfo in interface PollAirflowCommandResponseOrBuilder
      Returns:
      Whether the exitInfo field is set.
    • getExitInfo

       The result exit status of the command.
       
      .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.ExitInfo exit_info = 3;
      Specified by:
      getExitInfo in interface PollAirflowCommandResponseOrBuilder
      Returns:
      The exitInfo.
    • setExitInfo

       The result exit status of the command.
       
      .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.ExitInfo exit_info = 3;
    • setExitInfo

       The result exit status of the command.
       
      .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.ExitInfo exit_info = 3;
    • mergeExitInfo

       The result exit status of the command.
       
      .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.ExitInfo exit_info = 3;
    • clearExitInfo

      public PollAirflowCommandResponse.Builder clearExitInfo()
       The result exit status of the command.
       
      .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.ExitInfo exit_info = 3;
    • getExitInfoBuilder

      public PollAirflowCommandResponse.ExitInfo.Builder getExitInfoBuilder()
       The result exit status of the command.
       
      .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.ExitInfo exit_info = 3;
    • getExitInfoOrBuilder

      public PollAirflowCommandResponse.ExitInfoOrBuilder getExitInfoOrBuilder()
       The result exit status of the command.
       
      .google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse.ExitInfo exit_info = 3;
      Specified by:
      getExitInfoOrBuilder in interface PollAirflowCommandResponseOrBuilder