Package ai.chalk.protos.chalk.common.v1
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typechalk.common.v1.OnlineQueryRequestNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
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"];boolean.chalk.common.v1.OnlineQueryContext context = 5 [json_name = "context"];.chalk.common.v1.OnlineQueryContext context = 5 [json_name = "context"];static OnlineQueryRequeststatic final com.google.protobuf.Descriptors.DescriptorDeprecated.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"];com.google.protobuf.Parser<OnlineQueryRequest>.chalk.common.v1.OnlineQueryResponseOptions response_options = 6 [json_name = "responseOptions"];.chalk.common.v1.OnlineQueryResponseOptions response_options = 6 [json_name = "responseOptions"];intDeprecated.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"];inthashCode()booleanhasNow()optional .google.protobuf.Timestamp now = 3 [json_name = "now"];boolean.chalk.common.v1.OnlineQueryResponseOptions response_options = 6 [json_name = "responseOptions"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic OnlineQueryRequest.Builderstatic OnlineQueryRequest.BuildernewBuilder(OnlineQueryRequest prototype) protected OnlineQueryRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static OnlineQueryRequestparseDelimitedFrom(InputStream input) static OnlineQueryRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OnlineQueryRequestparseFrom(byte[] data) static OnlineQueryRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OnlineQueryRequestparseFrom(com.google.protobuf.ByteString data) static OnlineQueryRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OnlineQueryRequestparseFrom(com.google.protobuf.CodedInputStream input) static OnlineQueryRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OnlineQueryRequestparseFrom(InputStream input) static OnlineQueryRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OnlineQueryRequestparseFrom(ByteBuffer data) static OnlineQueryRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<OnlineQueryRequest>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
INPUTS_FIELD_NUMBER
public static final int INPUTS_FIELD_NUMBER- See Also:
-
OUTPUTS_FIELD_NUMBER
public static final int OUTPUTS_FIELD_NUMBER- See Also:
-
NOW_FIELD_NUMBER
public static final int NOW_FIELD_NUMBER- See Also:
-
STALENESS_FIELD_NUMBER
public static final int STALENESS_FIELD_NUMBER- See Also:
-
CONTEXT_FIELD_NUMBER
public static final int CONTEXT_FIELD_NUMBER- See Also:
-
RESPONSE_OPTIONS_FIELD_NUMBER
public static final int RESPONSE_OPTIONS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getInputsCount
public int getInputsCount()Description copied from interface:OnlineQueryRequestOrBuildermap<string, .google.protobuf.Value> inputs = 1 [json_name = "inputs"];- Specified by:
getInputsCountin interfaceOnlineQueryRequestOrBuilder
-
containsInputs
map<string, .google.protobuf.Value> inputs = 1 [json_name = "inputs"];- Specified by:
containsInputsin interfaceOnlineQueryRequestOrBuilder
-
getInputs
Deprecated.UsegetInputsMap()instead.- Specified by:
getInputsin interfaceOnlineQueryRequestOrBuilder
-
getInputsMap
map<string, .google.protobuf.Value> inputs = 1 [json_name = "inputs"];- Specified by:
getInputsMapin interfaceOnlineQueryRequestOrBuilder
-
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:
getInputsOrDefaultin interfaceOnlineQueryRequestOrBuilder
-
getInputsOrThrow
map<string, .google.protobuf.Value> inputs = 1 [json_name = "inputs"];- Specified by:
getInputsOrThrowin interfaceOnlineQueryRequestOrBuilder
-
getOutputsList
repeated .chalk.common.v1.OutputExpr outputs = 2 [json_name = "outputs"];- Specified by:
getOutputsListin interfaceOnlineQueryRequestOrBuilder
-
getOutputsOrBuilderList
repeated .chalk.common.v1.OutputExpr outputs = 2 [json_name = "outputs"];- Specified by:
getOutputsOrBuilderListin interfaceOnlineQueryRequestOrBuilder
-
getOutputsCount
public int getOutputsCount()repeated .chalk.common.v1.OutputExpr outputs = 2 [json_name = "outputs"];- Specified by:
getOutputsCountin interfaceOnlineQueryRequestOrBuilder
-
getOutputs
repeated .chalk.common.v1.OutputExpr outputs = 2 [json_name = "outputs"];- Specified by:
getOutputsin interfaceOnlineQueryRequestOrBuilder
-
getOutputsOrBuilder
repeated .chalk.common.v1.OutputExpr outputs = 2 [json_name = "outputs"];- Specified by:
getOutputsOrBuilderin interfaceOnlineQueryRequestOrBuilder
-
hasNow
public boolean hasNow()optional .google.protobuf.Timestamp now = 3 [json_name = "now"];- Specified by:
hasNowin interfaceOnlineQueryRequestOrBuilder- 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:
getNowin interfaceOnlineQueryRequestOrBuilder- Returns:
- The now.
-
getNowOrBuilder
public com.google.protobuf.TimestampOrBuilder getNowOrBuilder()optional .google.protobuf.Timestamp now = 3 [json_name = "now"];- Specified by:
getNowOrBuilderin interfaceOnlineQueryRequestOrBuilder
-
getStalenessCount
public int getStalenessCount()Description copied from interface:OnlineQueryRequestOrBuildermap<string, string> staleness = 4 [json_name = "staleness"];- Specified by:
getStalenessCountin interfaceOnlineQueryRequestOrBuilder
-
containsStaleness
map<string, string> staleness = 4 [json_name = "staleness"];- Specified by:
containsStalenessin interfaceOnlineQueryRequestOrBuilder
-
getStaleness
Deprecated.UsegetStalenessMap()instead.- Specified by:
getStalenessin interfaceOnlineQueryRequestOrBuilder
-
getStalenessMap
map<string, string> staleness = 4 [json_name = "staleness"];- Specified by:
getStalenessMapin interfaceOnlineQueryRequestOrBuilder
-
getStalenessOrDefault
map<string, string> staleness = 4 [json_name = "staleness"];- Specified by:
getStalenessOrDefaultin interfaceOnlineQueryRequestOrBuilder
-
getStalenessOrThrow
map<string, string> staleness = 4 [json_name = "staleness"];- Specified by:
getStalenessOrThrowin interfaceOnlineQueryRequestOrBuilder
-
hasContext
public boolean hasContext().chalk.common.v1.OnlineQueryContext context = 5 [json_name = "context"];- Specified by:
hasContextin interfaceOnlineQueryRequestOrBuilder- Returns:
- Whether the context field is set.
-
getContext
.chalk.common.v1.OnlineQueryContext context = 5 [json_name = "context"];- Specified by:
getContextin interfaceOnlineQueryRequestOrBuilder- Returns:
- The context.
-
getContextOrBuilder
.chalk.common.v1.OnlineQueryContext context = 5 [json_name = "context"];- Specified by:
getContextOrBuilderin interfaceOnlineQueryRequestOrBuilder
-
hasResponseOptions
public boolean hasResponseOptions().chalk.common.v1.OnlineQueryResponseOptions response_options = 6 [json_name = "responseOptions"];- Specified by:
hasResponseOptionsin interfaceOnlineQueryRequestOrBuilder- Returns:
- Whether the responseOptions field is set.
-
getResponseOptions
.chalk.common.v1.OnlineQueryResponseOptions response_options = 6 [json_name = "responseOptions"];- Specified by:
getResponseOptionsin interfaceOnlineQueryRequestOrBuilder- Returns:
- The responseOptions.
-
getResponseOptionsOrBuilder
.chalk.common.v1.OnlineQueryResponseOptions response_options = 6 [json_name = "responseOptions"];- Specified by:
getResponseOptionsOrBuilderin interfaceOnlineQueryRequestOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static OnlineQueryRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OnlineQueryRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-