public static final class V1.ListOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.ListOptions.Builder> implements V1.ListOptionsOrBuilder
ListOptions is the query options to a standard REST list call. DEPRECATED: This type has been moved to meta/v1 and will be removed soon. +k8s:openapi-gen=falseProtobuf type
k8s.io.api.core.v1.ListOptions| Modifier and Type | Method and Description |
|---|---|
V1.ListOptions.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.ListOptions |
build() |
V1.ListOptions |
buildPartial() |
V1.ListOptions.Builder |
clear() |
V1.ListOptions.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.ListOptions.Builder |
clearFieldSelector()
A selector to restrict the list of returned objects by their fields.
|
V1.ListOptions.Builder |
clearIncludeUninitialized()
If true, partially initialized resources are included in the response.
|
V1.ListOptions.Builder |
clearLabelSelector()
A selector to restrict the list of returned objects by their labels.
|
V1.ListOptions.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.ListOptions.Builder |
clearResourceVersion()
When specified with a watch call, shows changes that occur after that particular version of a resource.
|
V1.ListOptions.Builder |
clearTimeoutSeconds()
Timeout for the list/watch call.
|
V1.ListOptions.Builder |
clearWatch()
Watch for changes to the described resources and return them as a stream of
add, update, and remove notifications.
|
V1.ListOptions.Builder |
clone() |
V1.ListOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
boolean |
getIncludeUninitialized()
If true, partially initialized resources are included in the response.
|
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.
|
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.
|
long |
getTimeoutSeconds()
Timeout for the list/watch call.
|
boolean |
getWatch()
Watch for changes to the described resources and return them as a stream of
add, update, and remove notifications.
|
boolean |
hasFieldSelector()
A selector to restrict the list of returned objects by their fields.
|
boolean |
hasIncludeUninitialized()
If true, partially initialized resources are included in the response.
|
boolean |
hasLabelSelector()
A selector to restrict the list of returned objects by their labels.
|
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() |
V1.ListOptions.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.ListOptions.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.ListOptions.Builder |
mergeFrom(V1.ListOptions other) |
V1.ListOptions.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.ListOptions.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.ListOptions.Builder |
setFieldSelector(String value)
A selector to restrict the list of returned objects by their fields.
|
V1.ListOptions.Builder |
setFieldSelectorBytes(com.google.protobuf.ByteString value)
A selector to restrict the list of returned objects by their fields.
|
V1.ListOptions.Builder |
setIncludeUninitialized(boolean value)
If true, partially initialized resources are included in the response.
|
V1.ListOptions.Builder |
setLabelSelector(String value)
A selector to restrict the list of returned objects by their labels.
|
V1.ListOptions.Builder |
setLabelSelectorBytes(com.google.protobuf.ByteString value)
A selector to restrict the list of returned objects by their labels.
|
V1.ListOptions.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.ListOptions.Builder |
setResourceVersion(String value)
When specified with a watch call, shows changes that occur after that particular version of a resource.
|
V1.ListOptions.Builder |
setResourceVersionBytes(com.google.protobuf.ByteString value)
When specified with a watch call, shows changes that occur after that particular version of a resource.
|
V1.ListOptions.Builder |
setTimeoutSeconds(long value)
Timeout for the list/watch call.
|
V1.ListOptions.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.ListOptions.Builder |
setWatch(boolean value)
Watch for changes to the described resources and return them as a stream of
add, update, and remove notifications.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ListOptions.Builder>public V1.ListOptions.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ListOptions.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ListOptions.Builder>public V1.ListOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.ListOptions build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.ListOptions buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.ListOptions.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ListOptions.Builder>public V1.ListOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ListOptions.Builder>public V1.ListOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ListOptions.Builder>public V1.ListOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ListOptions.Builder>public V1.ListOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ListOptions.Builder>public V1.ListOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ListOptions.Builder>public V1.ListOptions.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.ListOptions.Builder>public V1.ListOptions.Builder mergeFrom(V1.ListOptions other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ListOptions.Builder>public V1.ListOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.ListOptions.Builder>IOExceptionpublic 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 V1.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 V1.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 V1.ListOptionsOrBuilderpublic V1.ListOptions.Builder setLabelSelector(String value)
A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional
optional string labelSelector = 1;public V1.ListOptions.Builder clearLabelSelector()
A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional
optional string labelSelector = 1;public V1.ListOptions.Builder setLabelSelectorBytes(com.google.protobuf.ByteString value)
A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional
optional string labelSelector = 1;public 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 V1.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 V1.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 V1.ListOptionsOrBuilderpublic V1.ListOptions.Builder setFieldSelector(String value)
A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional
optional string fieldSelector = 2;public V1.ListOptions.Builder clearFieldSelector()
A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional
optional string fieldSelector = 2;public V1.ListOptions.Builder setFieldSelectorBytes(com.google.protobuf.ByteString value)
A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional
optional string fieldSelector = 2;public boolean hasIncludeUninitialized()
If true, partially initialized resources are included in the response. +optional
optional bool includeUninitialized = 6;hasIncludeUninitialized in interface V1.ListOptionsOrBuilderpublic boolean getIncludeUninitialized()
If true, partially initialized resources are included in the response. +optional
optional bool includeUninitialized = 6;getIncludeUninitialized in interface V1.ListOptionsOrBuilderpublic V1.ListOptions.Builder setIncludeUninitialized(boolean value)
If true, partially initialized resources are included in the response. +optional
optional bool includeUninitialized = 6;public V1.ListOptions.Builder clearIncludeUninitialized()
If true, partially initialized resources are included in the response. +optional
optional bool includeUninitialized = 6;public 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 V1.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 V1.ListOptionsOrBuilderpublic V1.ListOptions.Builder setWatch(boolean value)
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;public V1.ListOptions.Builder clearWatch()
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;public 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 V1.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 V1.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 V1.ListOptionsOrBuilderpublic V1.ListOptions.Builder setResourceVersion(String value)
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;public V1.ListOptions.Builder clearResourceVersion()
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;public V1.ListOptions.Builder setResourceVersionBytes(com.google.protobuf.ByteString value)
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;public boolean hasTimeoutSeconds()
Timeout for the list/watch call. +optional
optional int64 timeoutSeconds = 5;hasTimeoutSeconds in interface V1.ListOptionsOrBuilderpublic long getTimeoutSeconds()
Timeout for the list/watch call. +optional
optional int64 timeoutSeconds = 5;getTimeoutSeconds in interface V1.ListOptionsOrBuilderpublic V1.ListOptions.Builder setTimeoutSeconds(long value)
Timeout for the list/watch call. +optional
optional int64 timeoutSeconds = 5;public V1.ListOptions.Builder clearTimeoutSeconds()
Timeout for the list/watch call. +optional
optional int64 timeoutSeconds = 5;public final V1.ListOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ListOptions.Builder>public final V1.ListOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ListOptions.Builder>Copyright © 2018. All rights reserved.