Class Generated.ListMeta
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.apimachinery.pkg.apis.meta.v1.Generated.ListMeta
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Generated.ListMetaOrBuilder
- Enclosing class:
- Generated
public static final class Generated.ListMeta extends com.google.protobuf.GeneratedMessageV3 implements Generated.ListMetaOrBuilder
ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.Protobuf typek8s.io.apimachinery.pkg.apis.meta.v1.ListMeta- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.ListMeta.BuilderListMeta describes metadata that synthetic resources must have, including lists and various status objects.-
Nested 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
-
-
Field Summary
Fields Modifier and Type Field Description static intCONTINUE_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.ListMeta>PARSERDeprecated.static intREMAININGITEMCOUNT_FIELD_NUMBERstatic intRESOURCEVERSION_FIELD_NUMBERstatic intSELFLINK_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetContinue()continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available.com.google.protobuf.ByteStringgetContinueBytes()continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available.static Generated.ListMetagetDefaultInstance()Generated.ListMetagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<Generated.ListMeta>getParserForType()longgetRemainingItemCount()remainingItemCount is the number of subsequent items in the list which are not included in this list response.StringgetResourceVersion()String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed.com.google.protobuf.ByteStringgetResourceVersionBytes()String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed.StringgetSelfLink()Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.com.google.protobuf.ByteStringgetSelfLinkBytes()Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.intgetSerializedSize()booleanhasContinue()continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available.inthashCode()booleanhasRemainingItemCount()remainingItemCount is the number of subsequent items in the list which are not included in this list response.booleanhasResourceVersion()String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed.booleanhasSelfLink()Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Generated.ListMeta.BuildernewBuilder()static Generated.ListMeta.BuildernewBuilder(Generated.ListMeta prototype)Generated.ListMeta.BuildernewBuilderForType()protected Generated.ListMeta.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.ListMetaparseDelimitedFrom(InputStream input)static Generated.ListMetaparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ListMetaparseFrom(byte[] data)static Generated.ListMetaparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ListMetaparseFrom(com.google.protobuf.ByteString data)static Generated.ListMetaparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ListMetaparseFrom(com.google.protobuf.CodedInputStream input)static Generated.ListMetaparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ListMetaparseFrom(InputStream input)static Generated.ListMetaparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.ListMetaparseFrom(ByteBuffer data)static Generated.ListMetaparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.ListMeta>parser()Generated.ListMeta.BuildertoBuilder()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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SELFLINK_FIELD_NUMBER
public static final int SELFLINK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCEVERSION_FIELD_NUMBER
public static final int RESOURCEVERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTINUE_FIELD_NUMBER
public static final int CONTINUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REMAININGITEMCOUNT_FIELD_NUMBER
public static final int REMAININGITEMCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.ListMeta> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 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
-
hasSelfLink
public boolean hasSelfLink()
Deprecated: selfLink is a legacy read-only field that is no longer populated by the system. +optional
optional string selfLink = 1;- Specified by:
hasSelfLinkin interfaceGenerated.ListMetaOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
public String getSelfLink()
Deprecated: selfLink is a legacy read-only field that is no longer populated by the system. +optional
optional string selfLink = 1;- Specified by:
getSelfLinkin interfaceGenerated.ListMetaOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()
Deprecated: selfLink is a legacy read-only field that is no longer populated by the system. +optional
optional string selfLink = 1;- Specified by:
getSelfLinkBytesin interfaceGenerated.ListMetaOrBuilder- Returns:
- The bytes for selfLink.
-
hasResourceVersion
public boolean hasResourceVersion()
String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency +optional
optional string resourceVersion = 2;- Specified by:
hasResourceVersionin interfaceGenerated.ListMetaOrBuilder- Returns:
- Whether the resourceVersion field is set.
-
getResourceVersion
public String getResourceVersion()
String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency +optional
optional string resourceVersion = 2;- Specified by:
getResourceVersionin interfaceGenerated.ListMetaOrBuilder- Returns:
- The resourceVersion.
-
getResourceVersionBytes
public com.google.protobuf.ByteString getResourceVersionBytes()
String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency +optional
optional string resourceVersion = 2;- Specified by:
getResourceVersionBytesin interfaceGenerated.ListMetaOrBuilder- Returns:
- The bytes for resourceVersion.
-
hasContinue
public boolean hasContinue()
continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.
optional string continue = 3;- Specified by:
hasContinuein interfaceGenerated.ListMetaOrBuilder- Returns:
- Whether the continue field is set.
-
getContinue
public String getContinue()
continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.
optional string continue = 3;- Specified by:
getContinuein interfaceGenerated.ListMetaOrBuilder- Returns:
- The continue.
-
getContinueBytes
public com.google.protobuf.ByteString getContinueBytes()
continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.
optional string continue = 3;- Specified by:
getContinueBytesin interfaceGenerated.ListMetaOrBuilder- Returns:
- The bytes for continue.
-
hasRemainingItemCount
public boolean hasRemainingItemCount()
remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact. +optional
optional int64 remainingItemCount = 4;- Specified by:
hasRemainingItemCountin interfaceGenerated.ListMetaOrBuilder- Returns:
- Whether the remainingItemCount field is set.
-
getRemainingItemCount
public long getRemainingItemCount()
remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact. +optional
optional int64 remainingItemCount = 4;- Specified by:
getRemainingItemCountin interfaceGenerated.ListMetaOrBuilder- Returns:
- The remainingItemCount.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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 Generated.ListMeta parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.ListMeta parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.ListMeta parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.ListMeta parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.ListMeta parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.ListMeta parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.ListMeta parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.ListMeta parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.ListMeta parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.ListMeta parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.ListMeta parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.ListMeta parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.ListMeta.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.ListMeta.Builder newBuilder()
-
newBuilder
public static Generated.ListMeta.Builder newBuilder(Generated.ListMeta prototype)
-
toBuilder
public Generated.ListMeta.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.ListMeta.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.ListMeta getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.ListMeta> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.ListMeta> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.ListMeta getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-