Class UserBitShared.QueryInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.drill.exec.proto.UserBitShared.QueryInfo
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, UserBitShared.QueryInfoOrBuilder
Enclosing class:
UserBitShared

public static final class UserBitShared.QueryInfo extends com.google.protobuf.GeneratedMessageV3 implements UserBitShared.QueryInfoOrBuilder
Protobuf type exec.shared.QueryInfo
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • 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
    • hasQuery

      public boolean hasQuery()
      optional string query = 1;
      Specified by:
      hasQuery in interface UserBitShared.QueryInfoOrBuilder
      Returns:
      Whether the query field is set.
    • getQuery

      public String getQuery()
      optional string query = 1;
      Specified by:
      getQuery in interface UserBitShared.QueryInfoOrBuilder
      Returns:
      The query.
    • getQueryBytes

      public com.google.protobuf.ByteString getQueryBytes()
      optional string query = 1;
      Specified by:
      getQueryBytes in interface UserBitShared.QueryInfoOrBuilder
      Returns:
      The bytes for query.
    • hasStart

      public boolean hasStart()
      optional int64 start = 2;
      Specified by:
      hasStart in interface UserBitShared.QueryInfoOrBuilder
      Returns:
      Whether the start field is set.
    • getStart

      public long getStart()
      optional int64 start = 2;
      Specified by:
      getStart in interface UserBitShared.QueryInfoOrBuilder
      Returns:
      The start.
    • hasState

      public boolean hasState()
      optional .exec.shared.QueryResult.QueryState state = 3;
      Specified by:
      hasState in interface UserBitShared.QueryInfoOrBuilder
      Returns:
      Whether the state field is set.
    • getState

      optional .exec.shared.QueryResult.QueryState state = 3;
      Specified by:
      getState in interface UserBitShared.QueryInfoOrBuilder
      Returns:
      The state.
    • hasUser

      public boolean hasUser()
      optional string user = 4 [default = "-"];
      Specified by:
      hasUser in interface UserBitShared.QueryInfoOrBuilder
      Returns:
      Whether the user field is set.
    • getUser

      public String getUser()
      optional string user = 4 [default = "-"];
      Specified by:
      getUser in interface UserBitShared.QueryInfoOrBuilder
      Returns:
      The user.
    • getUserBytes

      public com.google.protobuf.ByteString getUserBytes()
      optional string user = 4 [default = "-"];
      Specified by:
      getUserBytes in interface UserBitShared.QueryInfoOrBuilder
      Returns:
      The bytes for user.
    • hasForeman

      public boolean hasForeman()
      optional .exec.DrillbitEndpoint foreman = 5;
      Specified by:
      hasForeman in interface UserBitShared.QueryInfoOrBuilder
      Returns:
      Whether the foreman field is set.
    • getForeman

      optional .exec.DrillbitEndpoint foreman = 5;
      Specified by:
      getForeman in interface UserBitShared.QueryInfoOrBuilder
      Returns:
      The foreman.
    • getForemanOrBuilder

      public CoordinationProtos.DrillbitEndpointOrBuilder getForemanOrBuilder()
      optional .exec.DrillbitEndpoint foreman = 5;
      Specified by:
      getForemanOrBuilder in interface UserBitShared.QueryInfoOrBuilder
    • hasOptionsJson

      public boolean hasOptionsJson()
      optional string options_json = 6;
      Specified by:
      hasOptionsJson in interface UserBitShared.QueryInfoOrBuilder
      Returns:
      Whether the optionsJson field is set.
    • getOptionsJson

      public String getOptionsJson()
      optional string options_json = 6;
      Specified by:
      getOptionsJson in interface UserBitShared.QueryInfoOrBuilder
      Returns:
      The optionsJson.
    • getOptionsJsonBytes

      public com.google.protobuf.ByteString getOptionsJsonBytes()
      optional string options_json = 6;
      Specified by:
      getOptionsJsonBytes in interface UserBitShared.QueryInfoOrBuilder
      Returns:
      The bytes for optionsJson.
    • hasTotalCost

      public boolean hasTotalCost()
      optional double total_cost = 7;
      Specified by:
      hasTotalCost in interface UserBitShared.QueryInfoOrBuilder
      Returns:
      Whether the totalCost field is set.
    • getTotalCost

      public double getTotalCost()
      optional double total_cost = 7;
      Specified by:
      getTotalCost in interface UserBitShared.QueryInfoOrBuilder
      Returns:
      The totalCost.
    • hasQueueName

      public boolean hasQueueName()
      optional string queue_name = 8 [default = "-"];
      Specified by:
      hasQueueName in interface UserBitShared.QueryInfoOrBuilder
      Returns:
      Whether the queueName field is set.
    • getQueueName

      public String getQueueName()
      optional string queue_name = 8 [default = "-"];
      Specified by:
      getQueueName in interface UserBitShared.QueryInfoOrBuilder
      Returns:
      The queueName.
    • getQueueNameBytes

      public com.google.protobuf.ByteString getQueueNameBytes()
      optional string queue_name = 8 [default = "-"];
      Specified by:
      getQueueNameBytes in interface UserBitShared.QueryInfoOrBuilder
      Returns:
      The bytes for queueName.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static UserBitShared.QueryInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UserBitShared.QueryInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UserBitShared.QueryInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UserBitShared.QueryInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UserBitShared.QueryInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UserBitShared.QueryInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UserBitShared.QueryInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UserBitShared.QueryInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UserBitShared.QueryInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UserBitShared.QueryInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UserBitShared.QueryInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UserBitShared.QueryInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public UserBitShared.QueryInfo.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static UserBitShared.QueryInfo.Builder newBuilder()
    • newBuilder

      public static UserBitShared.QueryInfo.Builder newBuilder(UserBitShared.QueryInfo prototype)
    • toBuilder

      public UserBitShared.QueryInfo.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected UserBitShared.QueryInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static UserBitShared.QueryInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<UserBitShared.QueryInfo> parser()
    • getParserForType

      public com.google.protobuf.Parser<UserBitShared.QueryInfo> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public UserBitShared.QueryInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder