Package ai.chalk.protos.chalk.engine.v2
Class GetQueryValuesRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ai.chalk.protos.chalk.engine.v2.GetQueryValuesRequest
- All Implemented Interfaces:
GetQueryValuesRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class GetQueryValuesRequest
extends com.google.protobuf.GeneratedMessageV3
implements GetQueryValuesRequestOrBuilder
Protobuf type
chalk.engine.v2.GetQueryValuesRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typechalk.engine.v2.GetQueryValuesRequeststatic enumNested 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 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 TypeMethodDescriptionbooleanstatic GetQueryValuesRequeststatic final com.google.protobuf.Descriptors.DescriptorgetFeatures(int index) If you're insterested in a subset of features, specify those here.com.google.protobuf.ByteStringgetFeaturesBytes(int index) If you're insterested in a subset of features, specify those here.intIf you're insterested in a subset of features, specify those here.com.google.protobuf.ProtocolStringListIf you're insterested in a subset of features, specify those here.Forcing the client to specify the table name can be a bit narly.Forcing the client to specify the table name can be a bit narly.intThe (maximum) page size for results.When dealing with paginated responses, specify the next token to resume where you left off.com.google.protobuf.ByteStringWhen dealing with paginated responses, specify the next token to resume where you left off.com.google.protobuf.Parser<GetQueryValuesRequest>com.google.protobuf.TimestampThe query log table is partitioned / sorted by timestamp, so we must provide these for the queries to be efficient, even if we are querying for a single operation id This is always required.com.google.protobuf.TimestampOrBuilderThe query log table is partitioned / sorted by timestamp, so we must provide these for the queries to be efficient, even if we are querying for a single operation id This is always required.com.google.protobuf.TimestampIf the upper bound is ommitted, then the lower bound will be used as an exact (equality) filtercom.google.protobuf.TimestampOrBuilderIf the upper bound is ommitted, then the lower bound will be used as an exact (equality) filterintFor use case 2, you have to specify which table name to look up, if you want to query across multiple queriesFor use case 2, you have to specify which table name to look up, if you want to query across multiple queriesinthashCode()booleanForcing the client to specify the table name can be a bit narly.booleanThe query log table is partitioned / sorted by timestamp, so we must provide these for the queries to be efficient, even if we are querying for a single operation id This is always required.booleanIf the upper bound is ommitted, then the lower bound will be used as an exact (equality) filterbooleanFor use case 2, you have to specify which table name to look up, if you want to query across multiple queriesprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(GetQueryValuesRequest prototype) protected GetQueryValuesRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static GetQueryValuesRequestparseDelimitedFrom(InputStream input) static GetQueryValuesRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetQueryValuesRequestparseFrom(byte[] data) static GetQueryValuesRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetQueryValuesRequestparseFrom(com.google.protobuf.ByteString data) static GetQueryValuesRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetQueryValuesRequestparseFrom(com.google.protobuf.CodedInputStream input) static GetQueryValuesRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetQueryValuesRequestparseFrom(InputStream input) static GetQueryValuesRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetQueryValuesRequestparseFrom(ByteBuffer data) static GetQueryValuesRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GetQueryValuesRequest>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, internalGetMapFieldReflection, 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
-
OPERATION_ID_IDENTIFIER_FIELD_NUMBER
public static final int OPERATION_ID_IDENTIFIER_FIELD_NUMBER- See Also:
-
TABLE_NAME_IDENTIFIER_FIELD_NUMBER
public static final int TABLE_NAME_IDENTIFIER_FIELD_NUMBER- See Also:
-
QUERY_TIMESTAMP_LOWER_BOUND_INCLUSIVE_FIELD_NUMBER
public static final int QUERY_TIMESTAMP_LOWER_BOUND_INCLUSIVE_FIELD_NUMBER- See Also:
-
QUERY_TIMESTAMP_UPPER_BOUND_EXCLUSIVE_FIELD_NUMBER
public static final int QUERY_TIMESTAMP_UPPER_BOUND_EXCLUSIVE_FIELD_NUMBER- See Also:
-
FEATURES_FIELD_NUMBER
public static final int FEATURES_FIELD_NUMBER- See Also:
-
PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER- See Also:
-
PAGE_TOKEN_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getTableIdentifierCase
- Specified by:
getTableIdentifierCasein interfaceGetQueryValuesRequestOrBuilder
-
hasOperationIdIdentifier
public boolean hasOperationIdIdentifier()Forcing the client to specify the table name can be a bit narly. Instead, for use case 1), it can be easier to allow the client to specify the operation id, and the engine can figure out what table to query.
.chalk.engine.v2.OperationIdTableIdentifier operation_id_identifier = 1 [json_name = "operationIdIdentifier"];- Specified by:
hasOperationIdIdentifierin interfaceGetQueryValuesRequestOrBuilder- Returns:
- Whether the operationIdIdentifier field is set.
-
getOperationIdIdentifier
Forcing the client to specify the table name can be a bit narly. Instead, for use case 1), it can be easier to allow the client to specify the operation id, and the engine can figure out what table to query.
.chalk.engine.v2.OperationIdTableIdentifier operation_id_identifier = 1 [json_name = "operationIdIdentifier"];- Specified by:
getOperationIdIdentifierin interfaceGetQueryValuesRequestOrBuilder- Returns:
- The operationIdIdentifier.
-
getOperationIdIdentifierOrBuilder
Forcing the client to specify the table name can be a bit narly. Instead, for use case 1), it can be easier to allow the client to specify the operation id, and the engine can figure out what table to query.
.chalk.engine.v2.OperationIdTableIdentifier operation_id_identifier = 1 [json_name = "operationIdIdentifier"];- Specified by:
getOperationIdIdentifierOrBuilderin interfaceGetQueryValuesRequestOrBuilder
-
hasTableNameIdentifier
public boolean hasTableNameIdentifier()For use case 2, you have to specify which table name to look up, if you want to query across multiple queries
.chalk.engine.v2.TableNameTableIdentifier table_name_identifier = 2 [json_name = "tableNameIdentifier"];- Specified by:
hasTableNameIdentifierin interfaceGetQueryValuesRequestOrBuilder- Returns:
- Whether the tableNameIdentifier field is set.
-
getTableNameIdentifier
For use case 2, you have to specify which table name to look up, if you want to query across multiple queries
.chalk.engine.v2.TableNameTableIdentifier table_name_identifier = 2 [json_name = "tableNameIdentifier"];- Specified by:
getTableNameIdentifierin interfaceGetQueryValuesRequestOrBuilder- Returns:
- The tableNameIdentifier.
-
getTableNameIdentifierOrBuilder
For use case 2, you have to specify which table name to look up, if you want to query across multiple queries
.chalk.engine.v2.TableNameTableIdentifier table_name_identifier = 2 [json_name = "tableNameIdentifier"];- Specified by:
getTableNameIdentifierOrBuilderin interfaceGetQueryValuesRequestOrBuilder
-
hasQueryTimestampLowerBoundInclusive
public boolean hasQueryTimestampLowerBoundInclusive()The query log table is partitioned / sorted by timestamp, so we must provide these for the queries to be efficient, even if we are querying for a single operation id This is always required. If you know the operation id, then its feasible that you know the exact query timestamp, too.
.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 3 [json_name = "queryTimestampLowerBoundInclusive"];- Specified by:
hasQueryTimestampLowerBoundInclusivein interfaceGetQueryValuesRequestOrBuilder- Returns:
- Whether the queryTimestampLowerBoundInclusive field is set.
-
getQueryTimestampLowerBoundInclusive
public com.google.protobuf.Timestamp getQueryTimestampLowerBoundInclusive()The query log table is partitioned / sorted by timestamp, so we must provide these for the queries to be efficient, even if we are querying for a single operation id This is always required. If you know the operation id, then its feasible that you know the exact query timestamp, too.
.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 3 [json_name = "queryTimestampLowerBoundInclusive"];- Specified by:
getQueryTimestampLowerBoundInclusivein interfaceGetQueryValuesRequestOrBuilder- Returns:
- The queryTimestampLowerBoundInclusive.
-
getQueryTimestampLowerBoundInclusiveOrBuilder
public com.google.protobuf.TimestampOrBuilder getQueryTimestampLowerBoundInclusiveOrBuilder()The query log table is partitioned / sorted by timestamp, so we must provide these for the queries to be efficient, even if we are querying for a single operation id This is always required. If you know the operation id, then its feasible that you know the exact query timestamp, too.
.google.protobuf.Timestamp query_timestamp_lower_bound_inclusive = 3 [json_name = "queryTimestampLowerBoundInclusive"];- Specified by:
getQueryTimestampLowerBoundInclusiveOrBuilderin interfaceGetQueryValuesRequestOrBuilder
-
hasQueryTimestampUpperBoundExclusive
public boolean hasQueryTimestampUpperBoundExclusive()If the upper bound is ommitted, then the lower bound will be used as an exact (equality) filter
optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 4 [json_name = "queryTimestampUpperBoundExclusive"];- Specified by:
hasQueryTimestampUpperBoundExclusivein interfaceGetQueryValuesRequestOrBuilder- Returns:
- Whether the queryTimestampUpperBoundExclusive field is set.
-
getQueryTimestampUpperBoundExclusive
public com.google.protobuf.Timestamp getQueryTimestampUpperBoundExclusive()If the upper bound is ommitted, then the lower bound will be used as an exact (equality) filter
optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 4 [json_name = "queryTimestampUpperBoundExclusive"];- Specified by:
getQueryTimestampUpperBoundExclusivein interfaceGetQueryValuesRequestOrBuilder- Returns:
- The queryTimestampUpperBoundExclusive.
-
getQueryTimestampUpperBoundExclusiveOrBuilder
public com.google.protobuf.TimestampOrBuilder getQueryTimestampUpperBoundExclusiveOrBuilder()If the upper bound is ommitted, then the lower bound will be used as an exact (equality) filter
optional .google.protobuf.Timestamp query_timestamp_upper_bound_exclusive = 4 [json_name = "queryTimestampUpperBoundExclusive"];- Specified by:
getQueryTimestampUpperBoundExclusiveOrBuilderin interfaceGetQueryValuesRequestOrBuilder
-
getFeaturesList
public com.google.protobuf.ProtocolStringList getFeaturesList()If you're insterested in a subset of features, specify those here. Other columns won't be selected from the database, which will help reduce query costs. If empty, all features will be returned
repeated string features = 5 [json_name = "features"];- Specified by:
getFeaturesListin interfaceGetQueryValuesRequestOrBuilder- Returns:
- A list containing the features.
-
getFeaturesCount
public int getFeaturesCount()If you're insterested in a subset of features, specify those here. Other columns won't be selected from the database, which will help reduce query costs. If empty, all features will be returned
repeated string features = 5 [json_name = "features"];- Specified by:
getFeaturesCountin interfaceGetQueryValuesRequestOrBuilder- Returns:
- The count of features.
-
getFeatures
If you're insterested in a subset of features, specify those here. Other columns won't be selected from the database, which will help reduce query costs. If empty, all features will be returned
repeated string features = 5 [json_name = "features"];- Specified by:
getFeaturesin interfaceGetQueryValuesRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The features at the given index.
-
getFeaturesBytes
public com.google.protobuf.ByteString getFeaturesBytes(int index) If you're insterested in a subset of features, specify those here. Other columns won't be selected from the database, which will help reduce query costs. If empty, all features will be returned
repeated string features = 5 [json_name = "features"];- Specified by:
getFeaturesBytesin interfaceGetQueryValuesRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the features at the given index.
-
getPageSize
public int getPageSize()The (maximum) page size for results. If zero, then the server picks.
int32 page_size = 7 [json_name = "pageSize"];- Specified by:
getPageSizein interfaceGetQueryValuesRequestOrBuilder- Returns:
- The pageSize.
-
getPageToken
When dealing with paginated responses, specify the next token to resume where you left off. The subsequent request must be identicial to the original (except for the value of the next_token) Leave empty if querying for the zeroth page.
string page_token = 8 [json_name = "pageToken"];- Specified by:
getPageTokenin interfaceGetQueryValuesRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()When dealing with paginated responses, specify the next token to resume where you left off. The subsequent request must be identicial to the original (except for the value of the next_token) Leave empty if querying for the zeroth page.
string page_token = 8 [json_name = "pageToken"];- Specified by:
getPageTokenBytesin interfaceGetQueryValuesRequestOrBuilder- Returns:
- The bytes for pageToken.
-
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 GetQueryValuesRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetQueryValuesRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetQueryValuesRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetQueryValuesRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetQueryValuesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetQueryValuesRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static GetQueryValuesRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static GetQueryValuesRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static GetQueryValuesRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static GetQueryValuesRequest 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 GetQueryValuesRequest.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
-