public static final class Meta.ListOptions extends com.google.protobuf.GeneratedMessageV3 implements Meta.ListOptionsOrBuilder
ListOptions is the query options to a standard REST list call.Protobuf type
k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions| Modifier and Type | Class and Description |
|---|---|
static class |
Meta.ListOptions.Builder
ListOptions is the query options to a standard REST list call.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CONTINUE_FIELD_NUMBER |
static int |
FIELDSELECTOR_FIELD_NUMBER |
static int |
LABELSELECTOR_FIELD_NUMBER |
static int |
LIMIT_FIELD_NUMBER |
static com.google.protobuf.Parser<Meta.ListOptions> |
PARSER
Deprecated.
|
static int |
RESOURCEVERSION_FIELD_NUMBER |
static int |
TIMEOUTSECONDS_FIELD_NUMBER |
static int |
WATCH_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getContinue()
The continue option should be set when retrieving more results from the server.
|
com.google.protobuf.ByteString |
getContinueBytes()
The continue option should be set when retrieving more results from the server.
|
static Meta.ListOptions |
getDefaultInstance() |
Meta.ListOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFieldSelector()
A selector to restrict the list of returned objects by their fields.
|
com.google.protobuf.ByteString |
getFieldSelectorBytes()
A selector to restrict the list of returned objects by their fields.
|
String |
getLabelSelector()
A selector to restrict the list of returned objects by their labels.
|
com.google.protobuf.ByteString |
getLabelSelectorBytes()
A selector to restrict the list of returned objects by their labels.
|
long |
getLimit()
limit is a maximum number of responses to return for a list call.
|
com.google.protobuf.Parser<Meta.ListOptions> |
getParserForType() |
String |
getResourceVersion()
When specified with a watch call, shows changes that occur after that particular version of a resource.
|
com.google.protobuf.ByteString |
getResourceVersionBytes()
When specified with a watch call, shows changes that occur after that particular version of a resource.
|
int |
getSerializedSize() |
long |
getTimeoutSeconds()
Timeout for the list/watch call.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
getWatch()
Watch for changes to the described resources and return them as a stream of
add, update, and remove notifications.
|
boolean |
hasContinue()
The continue option should be set when retrieving more results from the server.
|
boolean |
hasFieldSelector()
A selector to restrict the list of returned objects by their fields.
|
int |
hashCode() |
boolean |
hasLabelSelector()
A selector to restrict the list of returned objects by their labels.
|
boolean |
hasLimit()
limit is a maximum number of responses to return for a list call.
|
boolean |
hasResourceVersion()
When specified with a watch call, shows changes that occur after that particular version of a resource.
|
boolean |
hasTimeoutSeconds()
Timeout for the list/watch call.
|
boolean |
hasWatch()
Watch for changes to the described resources and return them as a stream of
add, update, and remove notifications.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Meta.ListOptions.Builder |
newBuilder() |
static Meta.ListOptions.Builder |
newBuilder(Meta.ListOptions prototype) |
Meta.ListOptions.Builder |
newBuilderForType() |
protected Meta.ListOptions.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Meta.ListOptions |
parseDelimitedFrom(InputStream input) |
static Meta.ListOptions |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.ListOptions |
parseFrom(byte[] data) |
static Meta.ListOptions |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.ListOptions |
parseFrom(ByteBuffer data) |
static Meta.ListOptions |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.ListOptions |
parseFrom(com.google.protobuf.ByteString data) |
static Meta.ListOptions |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.ListOptions |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Meta.ListOptions |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.ListOptions |
parseFrom(InputStream input) |
static Meta.ListOptions |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Meta.ListOptions> |
parser() |
Meta.ListOptions.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int LABELSELECTOR_FIELD_NUMBER
public static final int FIELDSELECTOR_FIELD_NUMBER
public static final int WATCH_FIELD_NUMBER
public static final int RESOURCEVERSION_FIELD_NUMBER
public static final int TIMEOUTSECONDS_FIELD_NUMBER
public static final int LIMIT_FIELD_NUMBER
public static final int CONTINUE_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Meta.ListOptions> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasLabelSelector()
A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional
optional string labelSelector = 1;hasLabelSelector in interface Meta.ListOptionsOrBuilderpublic String getLabelSelector()
A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional
optional string labelSelector = 1;getLabelSelector in interface Meta.ListOptionsOrBuilderpublic com.google.protobuf.ByteString getLabelSelectorBytes()
A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional
optional string labelSelector = 1;getLabelSelectorBytes in interface Meta.ListOptionsOrBuilderpublic boolean hasFieldSelector()
A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional
optional string fieldSelector = 2;hasFieldSelector in interface Meta.ListOptionsOrBuilderpublic String getFieldSelector()
A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional
optional string fieldSelector = 2;getFieldSelector in interface Meta.ListOptionsOrBuilderpublic com.google.protobuf.ByteString getFieldSelectorBytes()
A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional
optional string fieldSelector = 2;getFieldSelectorBytes in interface Meta.ListOptionsOrBuilderpublic boolean hasWatch()
Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional
optional bool watch = 3;hasWatch in interface Meta.ListOptionsOrBuilderpublic boolean getWatch()
Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional
optional bool watch = 3;getWatch in interface Meta.ListOptionsOrBuilderpublic boolean hasResourceVersion()
When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +optional
optional string resourceVersion = 4;hasResourceVersion in interface Meta.ListOptionsOrBuilderpublic String getResourceVersion()
When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +optional
optional string resourceVersion = 4;getResourceVersion in interface Meta.ListOptionsOrBuilderpublic com.google.protobuf.ByteString getResourceVersionBytes()
When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. +optional
optional string resourceVersion = 4;getResourceVersionBytes in interface Meta.ListOptionsOrBuilderpublic boolean hasTimeoutSeconds()
Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional
optional int64 timeoutSeconds = 5;hasTimeoutSeconds in interface Meta.ListOptionsOrBuilderpublic long getTimeoutSeconds()
Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional
optional int64 timeoutSeconds = 5;getTimeoutSeconds in interface Meta.ListOptionsOrBuilderpublic boolean hasLimit()
limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
optional int64 limit = 7;hasLimit in interface Meta.ListOptionsOrBuilderpublic long getLimit()
limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
optional int64 limit = 7;getLimit in interface Meta.ListOptionsOrBuilderpublic boolean hasContinue()
The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
optional string continue = 8;hasContinue in interface Meta.ListOptionsOrBuilderpublic String getContinue()
The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
optional string continue = 8;getContinue in interface Meta.ListOptionsOrBuilderpublic com.google.protobuf.ByteString getContinueBytes()
The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
optional string continue = 8;getContinueBytes in interface Meta.ListOptionsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Meta.ListOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.ListOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.ListOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.ListOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.ListOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.ListOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Meta.ListOptions parseFrom(InputStream input) throws IOException
IOExceptionpublic static Meta.ListOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Meta.ListOptions parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Meta.ListOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Meta.ListOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Meta.ListOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Meta.ListOptions.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Meta.ListOptions.Builder newBuilder()
public static Meta.ListOptions.Builder newBuilder(Meta.ListOptions prototype)
public Meta.ListOptions.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Meta.ListOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Meta.ListOptions getDefaultInstance()
public static com.google.protobuf.Parser<Meta.ListOptions> parser()
public com.google.protobuf.Parser<Meta.ListOptions> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Meta.ListOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020. All rights reserved.