Class QueryRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
studio.o7.octopus.sdk.v1.QueryRequest
- All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, QueryRequestOrBuilder
public final class QueryRequest
extends com.google.protobuf.GeneratedMessage
implements QueryRequestOrBuilder
* Filters and options for `Query` RPC.Protobuf type
octopus_sdk.v1.QueryRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* Filters and options for `Query` RPC.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested 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.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.protobuf.TimestampEnd timestamp to filter creation time.com.google.protobuf.TimestampOrBuilderEnd timestamp to filter creation time.com.google.protobuf.TimestampStart timestamp to filter creation time.com.google.protobuf.TimestampOrBuilderStart timestamp to filter creation time.Filter by json (use MongoDB filter pattern)com.google.protobuf.ByteStringFilter by json (use MongoDB filter pattern)Sort by json (use MongoDB sort pattern)com.google.protobuf.ByteStringSort by json (use MongoDB sort pattern)static QueryRequeststatic final com.google.protobuf.Descriptors.DescriptorbooleanWhether to include expired objects.Pattern to match keys.com.google.protobuf.ByteStringPattern to match keys.Entry paginatorEntry paginatorcom.google.protobuf.Parser<QueryRequest> intbooleanEnd timestamp to filter creation time.booleanStart timestamp to filter creation time.booleanFilter by json (use MongoDB filter pattern)booleanSort by json (use MongoDB sort pattern)inthashCode()booleanWhether to include expired objects.booleanEntry paginatorprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic QueryRequest.Builderstatic QueryRequest.BuildernewBuilder(QueryRequest prototype) protected QueryRequest.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static QueryRequestparseDelimitedFrom(InputStream input) static QueryRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueryRequestparseFrom(byte[] data) static QueryRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueryRequestparseFrom(com.google.protobuf.ByteString data) static QueryRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueryRequestparseFrom(com.google.protobuf.CodedInputStream input) static QueryRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueryRequestparseFrom(InputStream input) static QueryRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueryRequestparseFrom(ByteBuffer data) static QueryRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<QueryRequest> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
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, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods 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
-
KEY_PATTERN_FIELD_NUMBER
public static final int KEY_PATTERN_FIELD_NUMBER- See Also:
-
INCLUDE_EXPIRED_FIELD_NUMBER
public static final int INCLUDE_EXPIRED_FIELD_NUMBER- See Also:
-
CREATED_AT_RANGE_START_FIELD_NUMBER
public static final int CREATED_AT_RANGE_START_FIELD_NUMBER- See Also:
-
CREATED_AT_RANGE_END_FIELD_NUMBER
public static final int CREATED_AT_RANGE_END_FIELD_NUMBER- See Also:
-
DATA_FILTER_FIELD_NUMBER
public static final int DATA_FILTER_FIELD_NUMBER- See Also:
-
DATA_SORT_FIELD_NUMBER
public static final int DATA_SORT_FIELD_NUMBER- See Also:
-
PAGINATOR_FIELD_NUMBER
public static final int PAGINATOR_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getKeyPattern
Pattern to match keys. Supports wildcards: * — matches exactly one token (between dots), e.g., "foo.*.bar" matches "foo.x.bar" but not "foo.x.y.bar" > — matches one or more tokens until the end, e.g., "foo.>" matches "foo", "foo.bar", "foo.bar.baz", etc. Multiple wildcards can be used in a single pattern. Tokens are dot-separated.
string key_pattern = 1 [json_name = "keyPattern"];- Specified by:
getKeyPatternin interfaceQueryRequestOrBuilder- Returns:
- The keyPattern.
-
getKeyPatternBytes
public com.google.protobuf.ByteString getKeyPatternBytes()Pattern to match keys. Supports wildcards: * — matches exactly one token (between dots), e.g., "foo.*.bar" matches "foo.x.bar" but not "foo.x.y.bar" > — matches one or more tokens until the end, e.g., "foo.>" matches "foo", "foo.bar", "foo.bar.baz", etc. Multiple wildcards can be used in a single pattern. Tokens are dot-separated.
string key_pattern = 1 [json_name = "keyPattern"];- Specified by:
getKeyPatternBytesin interfaceQueryRequestOrBuilder- Returns:
- The bytes for keyPattern.
-
hasIncludeExpired
public boolean hasIncludeExpired()Whether to include expired objects.
optional bool include_expired = 2 [json_name = "includeExpired"];- Specified by:
hasIncludeExpiredin interfaceQueryRequestOrBuilder- Returns:
- Whether the includeExpired field is set.
-
getIncludeExpired
public boolean getIncludeExpired()Whether to include expired objects.
optional bool include_expired = 2 [json_name = "includeExpired"];- Specified by:
getIncludeExpiredin interfaceQueryRequestOrBuilder- Returns:
- The includeExpired.
-
hasCreatedAtRangeStart
public boolean hasCreatedAtRangeStart()Start timestamp to filter creation time.
optional .google.protobuf.Timestamp created_at_range_start = 3 [json_name = "createdAtRangeStart"];- Specified by:
hasCreatedAtRangeStartin interfaceQueryRequestOrBuilder- Returns:
- Whether the createdAtRangeStart field is set.
-
getCreatedAtRangeStart
public com.google.protobuf.Timestamp getCreatedAtRangeStart()Start timestamp to filter creation time.
optional .google.protobuf.Timestamp created_at_range_start = 3 [json_name = "createdAtRangeStart"];- Specified by:
getCreatedAtRangeStartin interfaceQueryRequestOrBuilder- Returns:
- The createdAtRangeStart.
-
getCreatedAtRangeStartOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreatedAtRangeStartOrBuilder()Start timestamp to filter creation time.
optional .google.protobuf.Timestamp created_at_range_start = 3 [json_name = "createdAtRangeStart"];- Specified by:
getCreatedAtRangeStartOrBuilderin interfaceQueryRequestOrBuilder
-
hasCreatedAtRangeEnd
public boolean hasCreatedAtRangeEnd()End timestamp to filter creation time.
optional .google.protobuf.Timestamp created_at_range_end = 4 [json_name = "createdAtRangeEnd"];- Specified by:
hasCreatedAtRangeEndin interfaceQueryRequestOrBuilder- Returns:
- Whether the createdAtRangeEnd field is set.
-
getCreatedAtRangeEnd
public com.google.protobuf.Timestamp getCreatedAtRangeEnd()End timestamp to filter creation time.
optional .google.protobuf.Timestamp created_at_range_end = 4 [json_name = "createdAtRangeEnd"];- Specified by:
getCreatedAtRangeEndin interfaceQueryRequestOrBuilder- Returns:
- The createdAtRangeEnd.
-
getCreatedAtRangeEndOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreatedAtRangeEndOrBuilder()End timestamp to filter creation time.
optional .google.protobuf.Timestamp created_at_range_end = 4 [json_name = "createdAtRangeEnd"];- Specified by:
getCreatedAtRangeEndOrBuilderin interfaceQueryRequestOrBuilder
-
hasDataFilter
public boolean hasDataFilter()Filter by json (use MongoDB filter pattern)
optional string data_filter = 5 [json_name = "dataFilter"];- Specified by:
hasDataFilterin interfaceQueryRequestOrBuilder- Returns:
- Whether the dataFilter field is set.
-
getDataFilter
Filter by json (use MongoDB filter pattern)
optional string data_filter = 5 [json_name = "dataFilter"];- Specified by:
getDataFilterin interfaceQueryRequestOrBuilder- Returns:
- The dataFilter.
-
getDataFilterBytes
public com.google.protobuf.ByteString getDataFilterBytes()Filter by json (use MongoDB filter pattern)
optional string data_filter = 5 [json_name = "dataFilter"];- Specified by:
getDataFilterBytesin interfaceQueryRequestOrBuilder- Returns:
- The bytes for dataFilter.
-
hasDataSort
public boolean hasDataSort()Sort by json (use MongoDB sort pattern)
optional string data_sort = 6 [json_name = "dataSort"];- Specified by:
hasDataSortin interfaceQueryRequestOrBuilder- Returns:
- Whether the dataSort field is set.
-
getDataSort
Sort by json (use MongoDB sort pattern)
optional string data_sort = 6 [json_name = "dataSort"];- Specified by:
getDataSortin interfaceQueryRequestOrBuilder- Returns:
- The dataSort.
-
getDataSortBytes
public com.google.protobuf.ByteString getDataSortBytes()Sort by json (use MongoDB sort pattern)
optional string data_sort = 6 [json_name = "dataSort"];- Specified by:
getDataSortBytesin interfaceQueryRequestOrBuilder- Returns:
- The bytes for dataSort.
-
hasPaginator
public boolean hasPaginator()Entry paginator
.octopus_sdk.v1.Paginator paginator = 7 [json_name = "paginator"];- Specified by:
hasPaginatorin interfaceQueryRequestOrBuilder- Returns:
- Whether the paginator field is set.
-
getPaginator
Entry paginator
.octopus_sdk.v1.Paginator paginator = 7 [json_name = "paginator"];- Specified by:
getPaginatorin interfaceQueryRequestOrBuilder- Returns:
- The paginator.
-
getPaginatorOrBuilder
Entry paginator
.octopus_sdk.v1.Paginator paginator = 7 [json_name = "paginator"];- Specified by:
getPaginatorOrBuilderin interfaceQueryRequestOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
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 QueryRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static QueryRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static QueryRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static QueryRequest 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 QueryRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-