Class Flight.CancelFlightInfoResult.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Flight.CancelFlightInfoResult.Builder>
org.apache.arrow.flight.impl.Flight.CancelFlightInfoResult.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Flight.CancelFlightInfoResultOrBuilder
Enclosing class:
Flight.CancelFlightInfoResult

public static final class Flight.CancelFlightInfoResult.Builder extends com.google.protobuf.GeneratedMessage.Builder<Flight.CancelFlightInfoResult.Builder> implements Flight.CancelFlightInfoResultOrBuilder

 The result of the CancelFlightInfo action.

 The result should be stored in Result.body.
 
Protobuf type arrow.flight.protocol.CancelFlightInfoResult
  • 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<Flight.CancelFlightInfoResult.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<Flight.CancelFlightInfoResult.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<Flight.CancelFlightInfoResult.Builder>
    • getDefaultInstanceForType

      public Flight.CancelFlightInfoResult 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 Flight.CancelFlightInfoResult buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public Flight.CancelFlightInfoResult.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<Flight.CancelFlightInfoResult.Builder>
      Throws:
      IOException
    • getStatusValue

      public int getStatusValue()
      .arrow.flight.protocol.CancelStatus status = 1;
      Specified by:
      getStatusValue in interface Flight.CancelFlightInfoResultOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • setStatusValue

      public Flight.CancelFlightInfoResult.Builder setStatusValue(int value)
      .arrow.flight.protocol.CancelStatus status = 1;
      Parameters:
      value - The enum numeric value on the wire for status to set.
      Returns:
      This builder for chaining.
    • getStatus

      public Flight.CancelStatus getStatus()
      .arrow.flight.protocol.CancelStatus status = 1;
      Specified by:
      getStatus in interface Flight.CancelFlightInfoResultOrBuilder
      Returns:
      The status.
    • setStatus

      .arrow.flight.protocol.CancelStatus status = 1;
      Parameters:
      value - The status to set.
      Returns:
      This builder for chaining.
    • clearStatus

      .arrow.flight.protocol.CancelStatus status = 1;
      Returns:
      This builder for chaining.