Class Generated.ListMeta.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.ListMeta.Builder>
-
- k8s.io.apimachinery.pkg.apis.meta.v1.Generated.ListMeta.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.ListMetaOrBuilder
- Enclosing class:
- Generated.ListMeta
public static final class Generated.ListMeta.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.ListMeta.Builder> 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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.ListMeta.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.ListMetabuild()Generated.ListMetabuildPartial()Generated.ListMeta.Builderclear()Generated.ListMeta.BuilderclearContinue()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.Generated.ListMeta.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.ListMeta.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.ListMeta.BuilderclearRemainingItemCount()remainingItemCount is the number of subsequent items in the list which are not included in this list response.Generated.ListMeta.BuilderclearResourceVersion()String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed.Generated.ListMeta.BuilderclearSelfLink()Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.Generated.ListMeta.Builderclone()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.Generated.ListMetagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()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.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.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()Generated.ListMeta.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.ListMeta.BuildermergeFrom(com.google.protobuf.Message other)Generated.ListMeta.BuildermergeFrom(Generated.ListMeta other)Generated.ListMeta.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.ListMeta.BuildersetContinue(String value)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.Generated.ListMeta.BuildersetContinueBytes(com.google.protobuf.ByteString value)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.Generated.ListMeta.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.ListMeta.BuildersetRemainingItemCount(long value)remainingItemCount is the number of subsequent items in the list which are not included in this list response.Generated.ListMeta.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.ListMeta.BuildersetResourceVersion(String value)String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed.Generated.ListMeta.BuildersetResourceVersionBytes(com.google.protobuf.ByteString value)String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed.Generated.ListMeta.BuildersetSelfLink(String value)Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.Generated.ListMeta.BuildersetSelfLinkBytes(com.google.protobuf.ByteString value)Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.Generated.ListMeta.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<Generated.ListMeta.Builder>
-
clear
public Generated.ListMeta.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ListMeta.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ListMeta.Builder>
-
getDefaultInstanceForType
public Generated.ListMeta getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.ListMeta build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.ListMeta buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.ListMeta.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ListMeta.Builder>
-
setField
public Generated.ListMeta.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ListMeta.Builder>
-
clearField
public Generated.ListMeta.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ListMeta.Builder>
-
clearOneof
public Generated.ListMeta.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ListMeta.Builder>
-
setRepeatedField
public Generated.ListMeta.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ListMeta.Builder>
-
addRepeatedField
public Generated.ListMeta.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ListMeta.Builder>
-
mergeFrom
public Generated.ListMeta.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.ListMeta.Builder>
-
mergeFrom
public Generated.ListMeta.Builder mergeFrom(Generated.ListMeta other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ListMeta.Builder>
-
mergeFrom
public Generated.ListMeta.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.ListMeta.Builder>- Throws:
IOException
-
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.
-
setSelfLink
public Generated.ListMeta.Builder setSelfLink(String value)
Deprecated: selfLink is a legacy read-only field that is no longer populated by the system. +optional
optional string selfLink = 1;- Parameters:
value- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
public Generated.ListMeta.Builder clearSelfLink()
Deprecated: selfLink is a legacy read-only field that is no longer populated by the system. +optional
optional string selfLink = 1;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
public Generated.ListMeta.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
Deprecated: selfLink is a legacy read-only field that is no longer populated by the system. +optional
optional string selfLink = 1;- Parameters:
value- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
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.
-
setResourceVersion
public Generated.ListMeta.Builder setResourceVersion(String value)
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;- Parameters:
value- The resourceVersion to set.- Returns:
- This builder for chaining.
-
clearResourceVersion
public Generated.ListMeta.Builder clearResourceVersion()
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;- Returns:
- This builder for chaining.
-
setResourceVersionBytes
public Generated.ListMeta.Builder setResourceVersionBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for resourceVersion to set.- Returns:
- This builder for chaining.
-
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.
-
setContinue
public Generated.ListMeta.Builder setContinue(String value)
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;- Parameters:
value- The continue to set.- Returns:
- This builder for chaining.
-
clearContinue
public Generated.ListMeta.Builder clearContinue()
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;- Returns:
- This builder for chaining.
-
setContinueBytes
public Generated.ListMeta.Builder setContinueBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for continue to set.- Returns:
- This builder for chaining.
-
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.
-
setRemainingItemCount
public Generated.ListMeta.Builder setRemainingItemCount(long value)
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;- Parameters:
value- The remainingItemCount to set.- Returns:
- This builder for chaining.
-
clearRemainingItemCount
public Generated.ListMeta.Builder clearRemainingItemCount()
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;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Generated.ListMeta.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ListMeta.Builder>
-
mergeUnknownFields
public final Generated.ListMeta.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ListMeta.Builder>
-
-