Package com.buildless.service.v1
Class QueryOptions
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.buildless.service.v1.QueryOptions
- All Implemented Interfaces:
QueryOptionsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class QueryOptions
extends com.google.protobuf.GeneratedMessageV3
implements QueryOptionsOrBuilder
## Query Options Specifies a combined set of generic query input parameters, including support for sort specifications, filter clauses and features like pagination and output control. An exhaustive list of features supported by this model is provided below. The Buildless API makes use of this model across multiple methods and multiple services. Some query options may only be supported by a subset of methods. See specific method documentation for more info.Protobuf type
buildless.service.v1.QueryOptions- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class## Query Options Specifies a combined set of generic query input parameters, including support for sort specifications, filter clauses and features like pagination and output control.static final classSpecifies a filter directive which should apply to a data query.static interfacestatic final classSpecifies an output directive which controls relationship expansion, property sub-setting, and so on.static interfacestatic final classSpecifies a pagination directive which controls the record window to return.static interfacestatic final classSpecifies a sort directive which should apply to a data query.static interfaceNested 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 TypeMethodDescriptionbooleanstatic QueryOptionsstatic final com.google.protobuf.Descriptors.DescriptorgetFilter(int index) Filter directives for the query.intFilter directives for the query.Filter directives for the query.getFilterOrBuilder(int index) Filter directives for the query.List<? extends QueryOptions.FilterOrBuilder>Filter directives for the query.getOut()Output controls for the query.Output controls for the query.getPage()Pagination control for the query.Pagination control for the query.com.google.protobuf.Parser<QueryOptions>intgetSort(int index) Sort directives for the query.intSort directives for the query.Sort directives for the query.getSortOrBuilder(int index) Sort directives for the query.List<? extends QueryOptions.SortOrBuilder>Sort directives for the query.inthashCode()booleanhasOut()Output controls for the query.booleanhasPage()Pagination control for the query.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic QueryOptions.Builderstatic QueryOptions.BuildernewBuilder(QueryOptions prototype) protected QueryOptions.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static QueryOptionsparseDelimitedFrom(InputStream input) static QueryOptionsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueryOptionsparseFrom(byte[] data) static QueryOptionsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueryOptionsparseFrom(com.google.protobuf.ByteString data) static QueryOptionsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueryOptionsparseFrom(com.google.protobuf.CodedInputStream input) static QueryOptionsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueryOptionsparseFrom(InputStream input) static QueryOptionsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueryOptionsparseFrom(ByteBuffer data) static QueryOptionsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<QueryOptions>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
-
PAGE_FIELD_NUMBER
public static final int PAGE_FIELD_NUMBER- See Also:
-
SORT_FIELD_NUMBER
public static final int SORT_FIELD_NUMBER- See Also:
-
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER- See Also:
-
OUT_FIELD_NUMBER
public static final int OUT_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
-
hasPage
public boolean hasPage()Pagination control for the query.
.buildless.service.v1.QueryOptions.Pagination page = 1 [json_name = "page"];- Specified by:
hasPagein interfaceQueryOptionsOrBuilder- Returns:
- Whether the page field is set.
-
getPage
Pagination control for the query.
.buildless.service.v1.QueryOptions.Pagination page = 1 [json_name = "page"];- Specified by:
getPagein interfaceQueryOptionsOrBuilder- Returns:
- The page.
-
getPageOrBuilder
Pagination control for the query.
.buildless.service.v1.QueryOptions.Pagination page = 1 [json_name = "page"];- Specified by:
getPageOrBuilderin interfaceQueryOptionsOrBuilder
-
getSortList
Sort directives for the query.
repeated .buildless.service.v1.QueryOptions.Sort sort = 2 [json_name = "sort"];- Specified by:
getSortListin interfaceQueryOptionsOrBuilder
-
getSortOrBuilderList
Sort directives for the query.
repeated .buildless.service.v1.QueryOptions.Sort sort = 2 [json_name = "sort"];- Specified by:
getSortOrBuilderListin interfaceQueryOptionsOrBuilder
-
getSortCount
public int getSortCount()Sort directives for the query.
repeated .buildless.service.v1.QueryOptions.Sort sort = 2 [json_name = "sort"];- Specified by:
getSortCountin interfaceQueryOptionsOrBuilder
-
getSort
Sort directives for the query.
repeated .buildless.service.v1.QueryOptions.Sort sort = 2 [json_name = "sort"];- Specified by:
getSortin interfaceQueryOptionsOrBuilder
-
getSortOrBuilder
Sort directives for the query.
repeated .buildless.service.v1.QueryOptions.Sort sort = 2 [json_name = "sort"];- Specified by:
getSortOrBuilderin interfaceQueryOptionsOrBuilder
-
getFilterList
Filter directives for the query.
repeated .buildless.service.v1.QueryOptions.Filter filter = 3 [json_name = "filter"];- Specified by:
getFilterListin interfaceQueryOptionsOrBuilder
-
getFilterOrBuilderList
Filter directives for the query.
repeated .buildless.service.v1.QueryOptions.Filter filter = 3 [json_name = "filter"];- Specified by:
getFilterOrBuilderListin interfaceQueryOptionsOrBuilder
-
getFilterCount
public int getFilterCount()Filter directives for the query.
repeated .buildless.service.v1.QueryOptions.Filter filter = 3 [json_name = "filter"];- Specified by:
getFilterCountin interfaceQueryOptionsOrBuilder
-
getFilter
Filter directives for the query.
repeated .buildless.service.v1.QueryOptions.Filter filter = 3 [json_name = "filter"];- Specified by:
getFilterin interfaceQueryOptionsOrBuilder
-
getFilterOrBuilder
Filter directives for the query.
repeated .buildless.service.v1.QueryOptions.Filter filter = 3 [json_name = "filter"];- Specified by:
getFilterOrBuilderin interfaceQueryOptionsOrBuilder
-
hasOut
public boolean hasOut()Output controls for the query.
.buildless.service.v1.QueryOptions.Output out = 4 [json_name = "out"];- Specified by:
hasOutin interfaceQueryOptionsOrBuilder- Returns:
- Whether the out field is set.
-
getOut
Output controls for the query.
.buildless.service.v1.QueryOptions.Output out = 4 [json_name = "out"];- Specified by:
getOutin interfaceQueryOptionsOrBuilder- Returns:
- The out.
-
getOutOrBuilder
Output controls for the query.
.buildless.service.v1.QueryOptions.Output out = 4 [json_name = "out"];- Specified by:
getOutOrBuilderin interfaceQueryOptionsOrBuilder
-
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 QueryOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static QueryOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static QueryOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static QueryOptions 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 QueryOptions.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
-