Package ai.chalk.protos.chalk.common.v1
Class OnlineQueryResponseOptions
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ai.chalk.protos.chalk.common.v1.OnlineQueryResponseOptions
- All Implemented Interfaces:
OnlineQueryResponseOptionsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class OnlineQueryResponseOptions
extends com.google.protobuf.GeneratedMessageV3
implements OnlineQueryResponseOptionsOrBuilder
Options re: how we construct the response, shouldn't affect the query hashProtobuf type
chalk.common.v1.OnlineQueryResponseOptions- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classOptions re: how we construct the response, shouldn't affect the query hashNested 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 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 TypeMethodDescriptionbooleancontainsMetadata(String key) Customer-provided metadata that gets returned in the responsebooleanstatic OnlineQueryResponseOptionsstatic final com.google.protobuf.Descriptors.Descriptor.chalk.common.v1.FeatureEncodingOptions encoding_options = 3 [json_name = "encodingOptions"];.chalk.common.v1.FeatureEncodingOptions encoding_options = 3 [json_name = "encodingOptions"];.chalk.common.v1.ExplainOptions explain = 2 [json_name = "explain"];.chalk.common.v1.ExplainOptions explain = 2 [json_name = "explain"];booleanbool include_meta = 1 [json_name = "includeMeta"];Deprecated.intCustomer-provided metadata that gets returned in the responseCustomer-provided metadata that gets returned in the responsegetMetadataOrDefault(String key, String defaultValue) Customer-provided metadata that gets returned in the responsegetMetadataOrThrow(String key) Customer-provided metadata that gets returned in the responsecom.google.protobuf.Parser<OnlineQueryResponseOptions>intboolean.chalk.common.v1.FeatureEncodingOptions encoding_options = 3 [json_name = "encodingOptions"];boolean.chalk.common.v1.ExplainOptions explain = 2 [json_name = "explain"];inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleannewBuilder(OnlineQueryResponseOptions prototype) protected OnlineQueryResponseOptions.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static OnlineQueryResponseOptionsparseDelimitedFrom(InputStream input) static OnlineQueryResponseOptionsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OnlineQueryResponseOptionsparseFrom(byte[] data) static OnlineQueryResponseOptionsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OnlineQueryResponseOptionsparseFrom(com.google.protobuf.ByteString data) static OnlineQueryResponseOptionsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OnlineQueryResponseOptionsparseFrom(com.google.protobuf.CodedInputStream input) static OnlineQueryResponseOptionsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OnlineQueryResponseOptionsparseFrom(InputStream input) static OnlineQueryResponseOptionsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OnlineQueryResponseOptionsparseFrom(ByteBuffer data) static OnlineQueryResponseOptionsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<OnlineQueryResponseOptions>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
-
INCLUDE_META_FIELD_NUMBER
public static final int INCLUDE_META_FIELD_NUMBER- See Also:
-
EXPLAIN_FIELD_NUMBER
public static final int EXPLAIN_FIELD_NUMBER- See Also:
-
ENCODING_OPTIONS_FIELD_NUMBER
public static final int ENCODING_OPTIONS_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_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
-
getIncludeMeta
public boolean getIncludeMeta()bool include_meta = 1 [json_name = "includeMeta"];- Specified by:
getIncludeMetain interfaceOnlineQueryResponseOptionsOrBuilder- Returns:
- The includeMeta.
-
hasExplain
public boolean hasExplain().chalk.common.v1.ExplainOptions explain = 2 [json_name = "explain"];- Specified by:
hasExplainin interfaceOnlineQueryResponseOptionsOrBuilder- Returns:
- Whether the explain field is set.
-
getExplain
.chalk.common.v1.ExplainOptions explain = 2 [json_name = "explain"];- Specified by:
getExplainin interfaceOnlineQueryResponseOptionsOrBuilder- Returns:
- The explain.
-
getExplainOrBuilder
.chalk.common.v1.ExplainOptions explain = 2 [json_name = "explain"];- Specified by:
getExplainOrBuilderin interfaceOnlineQueryResponseOptionsOrBuilder
-
hasEncodingOptions
public boolean hasEncodingOptions().chalk.common.v1.FeatureEncodingOptions encoding_options = 3 [json_name = "encodingOptions"];- Specified by:
hasEncodingOptionsin interfaceOnlineQueryResponseOptionsOrBuilder- Returns:
- Whether the encodingOptions field is set.
-
getEncodingOptions
.chalk.common.v1.FeatureEncodingOptions encoding_options = 3 [json_name = "encodingOptions"];- Specified by:
getEncodingOptionsin interfaceOnlineQueryResponseOptionsOrBuilder- Returns:
- The encodingOptions.
-
getEncodingOptionsOrBuilder
.chalk.common.v1.FeatureEncodingOptions encoding_options = 3 [json_name = "encodingOptions"];- Specified by:
getEncodingOptionsOrBuilderin interfaceOnlineQueryResponseOptionsOrBuilder
-
getMetadataCount
public int getMetadataCount()Description copied from interface:OnlineQueryResponseOptionsOrBuilderCustomer-provided metadata that gets returned in the response
map<string, string> metadata = 4 [json_name = "metadata"];- Specified by:
getMetadataCountin interfaceOnlineQueryResponseOptionsOrBuilder
-
containsMetadata
Customer-provided metadata that gets returned in the response
map<string, string> metadata = 4 [json_name = "metadata"];- Specified by:
containsMetadatain interfaceOnlineQueryResponseOptionsOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceOnlineQueryResponseOptionsOrBuilder
-
getMetadataMap
Customer-provided metadata that gets returned in the response
map<string, string> metadata = 4 [json_name = "metadata"];- Specified by:
getMetadataMapin interfaceOnlineQueryResponseOptionsOrBuilder
-
getMetadataOrDefault
Customer-provided metadata that gets returned in the response
map<string, string> metadata = 4 [json_name = "metadata"];- Specified by:
getMetadataOrDefaultin interfaceOnlineQueryResponseOptionsOrBuilder
-
getMetadataOrThrow
Customer-provided metadata that gets returned in the response
map<string, string> metadata = 4 [json_name = "metadata"];- Specified by:
getMetadataOrThrowin interfaceOnlineQueryResponseOptionsOrBuilder
-
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 OnlineQueryResponseOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OnlineQueryResponseOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OnlineQueryResponseOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OnlineQueryResponseOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OnlineQueryResponseOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OnlineQueryResponseOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static OnlineQueryResponseOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static OnlineQueryResponseOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static OnlineQueryResponseOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static OnlineQueryResponseOptions 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 OnlineQueryResponseOptions.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
-