Package ai.chalk.protos.chalk.common.v1
Interface OnlineQueryRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OnlineQueryRequest,OnlineQueryRequest.Builder
public interface OnlineQueryRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsInputs(String key) map<string, .google.protobuf.Value> inputs = 1 [json_name = "inputs"];booleancontainsStaleness(String key) map<string, string> staleness = 4 [json_name = "staleness"];.chalk.common.v1.OnlineQueryContext context = 5 [json_name = "context"];.chalk.common.v1.OnlineQueryContext context = 5 [json_name = "context"];Deprecated.intmap<string, .google.protobuf.Value> inputs = 1 [json_name = "inputs"];map<string, .google.protobuf.Value> inputs = 1 [json_name = "inputs"];com.google.protobuf.ValuegetInputsOrDefault(String key, com.google.protobuf.Value defaultValue) map<string, .google.protobuf.Value> inputs = 1 [json_name = "inputs"];com.google.protobuf.ValuegetInputsOrThrow(String key) map<string, .google.protobuf.Value> inputs = 1 [json_name = "inputs"];com.google.protobuf.TimestampgetNow()optional .google.protobuf.Timestamp now = 3 [json_name = "now"];com.google.protobuf.TimestampOrBuilderoptional .google.protobuf.Timestamp now = 3 [json_name = "now"];getOutputs(int index) repeated .chalk.common.v1.OutputExpr outputs = 2 [json_name = "outputs"];intrepeated .chalk.common.v1.OutputExpr outputs = 2 [json_name = "outputs"];repeated .chalk.common.v1.OutputExpr outputs = 2 [json_name = "outputs"];getOutputsOrBuilder(int index) repeated .chalk.common.v1.OutputExpr outputs = 2 [json_name = "outputs"];List<? extends OutputExprOrBuilder>repeated .chalk.common.v1.OutputExpr outputs = 2 [json_name = "outputs"];.chalk.common.v1.OnlineQueryResponseOptions response_options = 6 [json_name = "responseOptions"];.chalk.common.v1.OnlineQueryResponseOptions response_options = 6 [json_name = "responseOptions"];Deprecated.intmap<string, string> staleness = 4 [json_name = "staleness"];map<string, string> staleness = 4 [json_name = "staleness"];getStalenessOrDefault(String key, String defaultValue) map<string, string> staleness = 4 [json_name = "staleness"];map<string, string> staleness = 4 [json_name = "staleness"];boolean.chalk.common.v1.OnlineQueryContext context = 5 [json_name = "context"];booleanhasNow()optional .google.protobuf.Timestamp now = 3 [json_name = "now"];boolean.chalk.common.v1.OnlineQueryResponseOptions response_options = 6 [json_name = "responseOptions"];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getInputsCount
int getInputsCount()map<string, .google.protobuf.Value> inputs = 1 [json_name = "inputs"]; -
containsInputs
map<string, .google.protobuf.Value> inputs = 1 [json_name = "inputs"]; -
getInputs
Deprecated.UsegetInputsMap()instead. -
getInputsMap
map<string, .google.protobuf.Value> inputs = 1 [json_name = "inputs"]; -
getInputsOrDefault
map<string, .google.protobuf.Value> inputs = 1 [json_name = "inputs"]; -
getInputsOrThrow
map<string, .google.protobuf.Value> inputs = 1 [json_name = "inputs"]; -
getOutputsList
List<OutputExpr> getOutputsList()repeated .chalk.common.v1.OutputExpr outputs = 2 [json_name = "outputs"]; -
getOutputs
repeated .chalk.common.v1.OutputExpr outputs = 2 [json_name = "outputs"]; -
getOutputsCount
int getOutputsCount()repeated .chalk.common.v1.OutputExpr outputs = 2 [json_name = "outputs"]; -
getOutputsOrBuilderList
List<? extends OutputExprOrBuilder> getOutputsOrBuilderList()repeated .chalk.common.v1.OutputExpr outputs = 2 [json_name = "outputs"]; -
getOutputsOrBuilder
repeated .chalk.common.v1.OutputExpr outputs = 2 [json_name = "outputs"]; -
hasNow
boolean hasNow()optional .google.protobuf.Timestamp now = 3 [json_name = "now"];- Returns:
- Whether the now field is set.
-
getNow
com.google.protobuf.Timestamp getNow()optional .google.protobuf.Timestamp now = 3 [json_name = "now"];- Returns:
- The now.
-
getNowOrBuilder
com.google.protobuf.TimestampOrBuilder getNowOrBuilder()optional .google.protobuf.Timestamp now = 3 [json_name = "now"]; -
getStalenessCount
int getStalenessCount()map<string, string> staleness = 4 [json_name = "staleness"]; -
containsStaleness
map<string, string> staleness = 4 [json_name = "staleness"]; -
getStaleness
Deprecated.UsegetStalenessMap()instead. -
getStalenessMap
map<string, string> staleness = 4 [json_name = "staleness"]; -
getStalenessOrDefault
map<string, string> staleness = 4 [json_name = "staleness"]; -
getStalenessOrThrow
map<string, string> staleness = 4 [json_name = "staleness"]; -
hasContext
boolean hasContext().chalk.common.v1.OnlineQueryContext context = 5 [json_name = "context"];- Returns:
- Whether the context field is set.
-
getContext
OnlineQueryContext getContext().chalk.common.v1.OnlineQueryContext context = 5 [json_name = "context"];- Returns:
- The context.
-
getContextOrBuilder
OnlineQueryContextOrBuilder getContextOrBuilder().chalk.common.v1.OnlineQueryContext context = 5 [json_name = "context"]; -
hasResponseOptions
boolean hasResponseOptions().chalk.common.v1.OnlineQueryResponseOptions response_options = 6 [json_name = "responseOptions"];- Returns:
- Whether the responseOptions field is set.
-
getResponseOptions
OnlineQueryResponseOptions getResponseOptions().chalk.common.v1.OnlineQueryResponseOptions response_options = 6 [json_name = "responseOptions"];- Returns:
- The responseOptions.
-
getResponseOptionsOrBuilder
OnlineQueryResponseOptionsOrBuilder getResponseOptionsOrBuilder().chalk.common.v1.OnlineQueryResponseOptions response_options = 6 [json_name = "responseOptions"];
-