Class Flight.ActionType.Builder

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

public static final class Flight.ActionType.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Flight.ActionType.Builder> implements Flight.ActionTypeOrBuilder

 Describes an available action, including both the name used for execution
 along with a short description of the purpose of the action.
 
Protobuf type arrow.flight.protocol.ActionType
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.ActionType.Builder>
    • clear

      public Flight.ActionType.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.GeneratedMessageV3.Builder<Flight.ActionType.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.GeneratedMessageV3.Builder<Flight.ActionType.Builder>
    • getDefaultInstanceForType

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

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

      public Flight.ActionType buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public Flight.ActionType.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.ActionType.Builder>
    • setField

      public Flight.ActionType.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.ActionType.Builder>
    • clearField

      public Flight.ActionType.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.ActionType.Builder>
    • clearOneof

      public Flight.ActionType.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.ActionType.Builder>
    • setRepeatedField

      public Flight.ActionType.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.ActionType.Builder>
    • addRepeatedField

      public Flight.ActionType.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.ActionType.Builder>
    • mergeFrom

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

      public Flight.ActionType.Builder mergeFrom(Flight.ActionType other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.ActionType.Builder>
    • mergeFrom

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

      public String getType()
      string type = 1;
      Specified by:
      getType in interface Flight.ActionTypeOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
      string type = 1;
      Specified by:
      getTypeBytes in interface Flight.ActionTypeOrBuilder
      Returns:
      The bytes for type.
    • setType

      public Flight.ActionType.Builder setType(String value)
      string type = 1;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public Flight.ActionType.Builder clearType()
      string type = 1;
      Returns:
      This builder for chaining.
    • setTypeBytes

      public Flight.ActionType.Builder setTypeBytes(com.google.protobuf.ByteString value)
      string type = 1;
      Parameters:
      value - The bytes for type to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
      string description = 2;
      Specified by:
      getDescription in interface Flight.ActionTypeOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
      string description = 2;
      Specified by:
      getDescriptionBytes in interface Flight.ActionTypeOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public Flight.ActionType.Builder setDescription(String value)
      string description = 2;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public Flight.ActionType.Builder clearDescription()
      string description = 2;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public Flight.ActionType.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
      string description = 2;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Flight.ActionType.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.ActionType.Builder>
    • mergeUnknownFields

      public final Flight.ActionType.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.ActionType.Builder>