Class OnlineQueryRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ai.chalk.protos.chalk.common.v1.OnlineQueryRequest
All Implemented Interfaces:
OnlineQueryRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class OnlineQueryRequest extends com.google.protobuf.GeneratedMessageV3 implements OnlineQueryRequestOrBuilder
Protobuf type chalk.common.v1.OnlineQueryRequest
See Also:
  • Field Details

  • Method Details

    • newInstance

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

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getInputsCount

      public int getInputsCount()
      Description copied from interface: OnlineQueryRequestOrBuilder
      map<string, .google.protobuf.Value> inputs = 1 [json_name = "inputs"];
      Specified by:
      getInputsCount in interface OnlineQueryRequestOrBuilder
    • containsInputs

      public boolean containsInputs(String key)
      map<string, .google.protobuf.Value> inputs = 1 [json_name = "inputs"];
      Specified by:
      containsInputs in interface OnlineQueryRequestOrBuilder
    • getInputs

      @Deprecated public Map<String,com.google.protobuf.Value> getInputs()
      Deprecated.
      Use getInputsMap() instead.
      Specified by:
      getInputs in interface OnlineQueryRequestOrBuilder
    • getInputsMap

      public Map<String,com.google.protobuf.Value> getInputsMap()
      map<string, .google.protobuf.Value> inputs = 1 [json_name = "inputs"];
      Specified by:
      getInputsMap in interface OnlineQueryRequestOrBuilder
    • getInputsOrDefault

      public com.google.protobuf.Value getInputsOrDefault(String key, com.google.protobuf.Value defaultValue)
      map<string, .google.protobuf.Value> inputs = 1 [json_name = "inputs"];
      Specified by:
      getInputsOrDefault in interface OnlineQueryRequestOrBuilder
    • getInputsOrThrow

      public com.google.protobuf.Value getInputsOrThrow(String key)
      map<string, .google.protobuf.Value> inputs = 1 [json_name = "inputs"];
      Specified by:
      getInputsOrThrow in interface OnlineQueryRequestOrBuilder
    • getOutputsList

      public List<OutputExpr> getOutputsList()
      repeated .chalk.common.v1.OutputExpr outputs = 2 [json_name = "outputs"];
      Specified by:
      getOutputsList in interface OnlineQueryRequestOrBuilder
    • getOutputsOrBuilderList

      public List<? extends OutputExprOrBuilder> getOutputsOrBuilderList()
      repeated .chalk.common.v1.OutputExpr outputs = 2 [json_name = "outputs"];
      Specified by:
      getOutputsOrBuilderList in interface OnlineQueryRequestOrBuilder
    • getOutputsCount

      public int getOutputsCount()
      repeated .chalk.common.v1.OutputExpr outputs = 2 [json_name = "outputs"];
      Specified by:
      getOutputsCount in interface OnlineQueryRequestOrBuilder
    • getOutputs

      public OutputExpr getOutputs(int index)
      repeated .chalk.common.v1.OutputExpr outputs = 2 [json_name = "outputs"];
      Specified by:
      getOutputs in interface OnlineQueryRequestOrBuilder
    • getOutputsOrBuilder

      public OutputExprOrBuilder getOutputsOrBuilder(int index)
      repeated .chalk.common.v1.OutputExpr outputs = 2 [json_name = "outputs"];
      Specified by:
      getOutputsOrBuilder in interface OnlineQueryRequestOrBuilder
    • hasNow

      public boolean hasNow()
      optional .google.protobuf.Timestamp now = 3 [json_name = "now"];
      Specified by:
      hasNow in interface OnlineQueryRequestOrBuilder
      Returns:
      Whether the now field is set.
    • getNow

      public com.google.protobuf.Timestamp getNow()
      optional .google.protobuf.Timestamp now = 3 [json_name = "now"];
      Specified by:
      getNow in interface OnlineQueryRequestOrBuilder
      Returns:
      The now.
    • getNowOrBuilder

      public com.google.protobuf.TimestampOrBuilder getNowOrBuilder()
      optional .google.protobuf.Timestamp now = 3 [json_name = "now"];
      Specified by:
      getNowOrBuilder in interface OnlineQueryRequestOrBuilder
    • getStalenessCount

      public int getStalenessCount()
      Description copied from interface: OnlineQueryRequestOrBuilder
      map<string, string> staleness = 4 [json_name = "staleness"];
      Specified by:
      getStalenessCount in interface OnlineQueryRequestOrBuilder
    • containsStaleness

      public boolean containsStaleness(String key)
      map<string, string> staleness = 4 [json_name = "staleness"];
      Specified by:
      containsStaleness in interface OnlineQueryRequestOrBuilder
    • getStaleness

      @Deprecated public Map<String,String> getStaleness()
      Deprecated.
      Use getStalenessMap() instead.
      Specified by:
      getStaleness in interface OnlineQueryRequestOrBuilder
    • getStalenessMap

      public Map<String,String> getStalenessMap()
      map<string, string> staleness = 4 [json_name = "staleness"];
      Specified by:
      getStalenessMap in interface OnlineQueryRequestOrBuilder
    • getStalenessOrDefault

      public String getStalenessOrDefault(String key, String defaultValue)
      map<string, string> staleness = 4 [json_name = "staleness"];
      Specified by:
      getStalenessOrDefault in interface OnlineQueryRequestOrBuilder
    • getStalenessOrThrow

      public String getStalenessOrThrow(String key)
      map<string, string> staleness = 4 [json_name = "staleness"];
      Specified by:
      getStalenessOrThrow in interface OnlineQueryRequestOrBuilder
    • hasContext

      public boolean hasContext()
      .chalk.common.v1.OnlineQueryContext context = 5 [json_name = "context"];
      Specified by:
      hasContext in interface OnlineQueryRequestOrBuilder
      Returns:
      Whether the context field is set.
    • getContext

      public OnlineQueryContext getContext()
      .chalk.common.v1.OnlineQueryContext context = 5 [json_name = "context"];
      Specified by:
      getContext in interface OnlineQueryRequestOrBuilder
      Returns:
      The context.
    • getContextOrBuilder

      public OnlineQueryContextOrBuilder getContextOrBuilder()
      .chalk.common.v1.OnlineQueryContext context = 5 [json_name = "context"];
      Specified by:
      getContextOrBuilder in interface OnlineQueryRequestOrBuilder
    • hasResponseOptions

      public boolean hasResponseOptions()
      .chalk.common.v1.OnlineQueryResponseOptions response_options = 6 [json_name = "responseOptions"];
      Specified by:
      hasResponseOptions in interface OnlineQueryRequestOrBuilder
      Returns:
      Whether the responseOptions field is set.
    • getResponseOptions

      public OnlineQueryResponseOptions getResponseOptions()
      .chalk.common.v1.OnlineQueryResponseOptions response_options = 6 [json_name = "responseOptions"];
      Specified by:
      getResponseOptions in interface OnlineQueryRequestOrBuilder
      Returns:
      The responseOptions.
    • getResponseOptionsOrBuilder

      public OnlineQueryResponseOptionsOrBuilder getResponseOptionsOrBuilder()
      .chalk.common.v1.OnlineQueryResponseOptions response_options = 6 [json_name = "responseOptions"];
      Specified by:
      getResponseOptionsOrBuilder in interface OnlineQueryRequestOrBuilder
    • 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 OnlineQueryRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static OnlineQueryRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static OnlineQueryRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static OnlineQueryRequest.Builder newBuilder()
    • newBuilder

      public static OnlineQueryRequest.Builder newBuilder(OnlineQueryRequest prototype)
    • toBuilder

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

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

      public static OnlineQueryRequest getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<OnlineQueryRequest> 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 OnlineQueryRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder