diff --git a/proto/src/main/java/io/kubernetes/client/proto/IntStr.java b/proto/src/main/java/io/kubernetes/client/proto/IntStr.java index 4fd210b7e3..cd5f6bee70 100644 --- a/proto/src/main/java/io/kubernetes/client/proto/IntStr.java +++ b/proto/src/main/java/io/kubernetes/client/proto/IntStr.java @@ -57,7 +57,6 @@ public interface IntOrStringOrBuilder extends * inner type. This allows you to have, for example, a JSON field that can * accept a name or number. * TODO: Rename to Int32OrString - * * +protobuf=true * +protobuf.options.(gogoproto.goproto_stringer)=false * +k8s:openapi-gen=true @@ -90,6 +89,9 @@ private IntOrString( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -101,13 +103,6 @@ private IntOrString( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; type_ = input.readInt64(); @@ -124,6 +119,13 @@ private IntOrString( strVal_ = bs; break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -141,6 +143,7 @@ private IntOrString( return io.kubernetes.client.proto.IntStr.internal_static_k8s_io_apimachinery_pkg_util_intstr_IntOrString_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.IntStr.internal_static_k8s_io_apimachinery_pkg_util_intstr_IntOrString_fieldAccessorTable @@ -222,6 +225,7 @@ public java.lang.String getStrVal() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -231,6 +235,7 @@ public final boolean isInitialized() { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -245,6 +250,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -391,6 +397,7 @@ public static io.kubernetes.client.proto.IntStr.IntOrString parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -398,6 +405,7 @@ public static Builder newBuilder() { public static Builder newBuilder(io.kubernetes.client.proto.IntStr.IntOrString prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -416,7 +424,6 @@ protected Builder newBuilderForType( * inner type. This allows you to have, for example, a JSON field that can * accept a name or number. * TODO: Rename to Int32OrString - * * +protobuf=true * +protobuf.options.(gogoproto.goproto_stringer)=false * +k8s:openapi-gen=true @@ -433,6 +440,7 @@ public static final class Builder extends return io.kubernetes.client.proto.IntStr.internal_static_k8s_io_apimachinery_pkg_util_intstr_IntOrString_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.IntStr.internal_static_k8s_io_apimachinery_pkg_util_intstr_IntOrString_fieldAccessorTable @@ -455,6 +463,7 @@ private void maybeForceBuilderInitialization() { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); type_ = 0L; @@ -466,15 +475,18 @@ public Builder clear() { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.IntStr.internal_static_k8s_io_apimachinery_pkg_util_intstr_IntOrString_descriptor; } + @java.lang.Override public io.kubernetes.client.proto.IntStr.IntOrString getDefaultInstanceForType() { return io.kubernetes.client.proto.IntStr.IntOrString.getDefaultInstance(); } + @java.lang.Override public io.kubernetes.client.proto.IntStr.IntOrString build() { io.kubernetes.client.proto.IntStr.IntOrString result = buildPartial(); if (!result.isInitialized()) { @@ -483,6 +495,7 @@ public io.kubernetes.client.proto.IntStr.IntOrString build() { return result; } + @java.lang.Override public io.kubernetes.client.proto.IntStr.IntOrString buildPartial() { io.kubernetes.client.proto.IntStr.IntOrString result = new io.kubernetes.client.proto.IntStr.IntOrString(this); int from_bitField0_ = bitField0_; @@ -504,32 +517,39 @@ public io.kubernetes.client.proto.IntStr.IntOrString buildPartial() { return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.IntStr.IntOrString) { return mergeFrom((io.kubernetes.client.proto.IntStr.IntOrString)other); @@ -557,10 +577,12 @@ public Builder mergeFrom(io.kubernetes.client.proto.IntStr.IntOrString other) { return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -719,11 +741,13 @@ public Builder setStrValBytes( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -745,11 +769,12 @@ public static io.kubernetes.client.proto.IntStr.IntOrString getDefaultInstance() @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public IntOrString parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new IntOrString(input, extensionRegistry); + return new IntOrString(input, extensionRegistry); } }; @@ -762,6 +787,7 @@ public com.google.protobuf.Parser getParserForType() { return PARSER; } + @java.lang.Override public io.kubernetes.client.proto.IntStr.IntOrString getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/proto/src/main/java/io/kubernetes/client/proto/Meta.java b/proto/src/main/java/io/kubernetes/client/proto/Meta.java index 2ed1505790..a7ca097a78 100644 --- a/proto/src/main/java/io/kubernetes/client/proto/Meta.java +++ b/proto/src/main/java/io/kubernetes/client/proto/Meta.java @@ -128,6 +128,7 @@ io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder getVersionsOrB * The server returns only those CIDRs that it thinks that the client can match. * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + * +optional * * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; @@ -143,6 +144,7 @@ io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder getVersionsOrB * The server returns only those CIDRs that it thinks that the client can match. * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + * +optional * * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; @@ -157,6 +159,7 @@ io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder getVersionsOrB * The server returns only those CIDRs that it thinks that the client can match. * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + * +optional * * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; @@ -171,6 +174,7 @@ io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder getVersionsOrB * The server returns only those CIDRs that it thinks that the client can match. * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + * +optional * * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; @@ -186,6 +190,7 @@ io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder getVersionsOrB * The server returns only those CIDRs that it thinks that the client can match. * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + * +optional * * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; @@ -226,6 +231,9 @@ private APIGroup( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -237,13 +245,6 @@ private APIGroup( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; @@ -281,6 +282,13 @@ private APIGroup( input.readMessage(io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.PARSER, extensionRegistry)); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -304,6 +312,7 @@ private APIGroup( return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIGroup_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIGroup_fieldAccessorTable @@ -471,6 +480,7 @@ public io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder getPref * The server returns only those CIDRs that it thinks that the client can match. * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + * +optional * * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; @@ -487,6 +497,7 @@ public java.util.List * The server returns only those CIDRs that it thinks that the client can match. * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + * +optional * * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; @@ -504,6 +515,7 @@ public java.util.List * The server returns only those CIDRs that it thinks that the client can match. * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + * +optional * * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; @@ -520,6 +532,7 @@ public int getServerAddressByClientCIDRsCount() { * The server returns only those CIDRs that it thinks that the client can match. * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + * +optional * * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; @@ -536,6 +549,7 @@ public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR getServerAddres * The server returns only those CIDRs that it thinks that the client can match. * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + * +optional * * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; @@ -546,6 +560,7 @@ public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDROrBuilder getSer } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -555,6 +570,7 @@ public final boolean isInitialized() { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -572,6 +588,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -724,6 +741,7 @@ public static io.kubernetes.client.proto.Meta.APIGroup parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -731,6 +749,7 @@ public static Builder newBuilder() { public static Builder newBuilder(io.kubernetes.client.proto.Meta.APIGroup prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -759,6 +778,7 @@ public static final class Builder extends return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIGroup_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIGroup_fieldAccessorTable @@ -784,6 +804,7 @@ private void maybeForceBuilderInitialization() { getServerAddressByClientCIDRsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); name_ = ""; @@ -809,15 +830,18 @@ public Builder clear() { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIGroup_descriptor; } + @java.lang.Override public io.kubernetes.client.proto.Meta.APIGroup getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.APIGroup.getDefaultInstance(); } + @java.lang.Override public io.kubernetes.client.proto.Meta.APIGroup build() { io.kubernetes.client.proto.Meta.APIGroup result = buildPartial(); if (!result.isInitialized()) { @@ -826,6 +850,7 @@ public io.kubernetes.client.proto.Meta.APIGroup build() { return result; } + @java.lang.Override public io.kubernetes.client.proto.Meta.APIGroup buildPartial() { io.kubernetes.client.proto.Meta.APIGroup result = new io.kubernetes.client.proto.Meta.APIGroup(this); int from_bitField0_ = bitField0_; @@ -865,32 +890,39 @@ public io.kubernetes.client.proto.Meta.APIGroup buildPartial() { return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.APIGroup) { return mergeFrom((io.kubernetes.client.proto.Meta.APIGroup)other); @@ -967,10 +999,12 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.APIGroup other) { return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1595,6 +1629,7 @@ private void ensureServerAddressByClientCIDRsIsMutable() { * The server returns only those CIDRs that it thinks that the client can match. * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + * +optional * * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; @@ -1615,6 +1650,7 @@ public java.util.List * The server returns only those CIDRs that it thinks that the client can match. * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + * +optional * * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; @@ -1635,6 +1671,7 @@ public int getServerAddressByClientCIDRsCount() { * The server returns only those CIDRs that it thinks that the client can match. * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + * +optional * * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; @@ -1655,6 +1692,7 @@ public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR getServerAddres * The server returns only those CIDRs that it thinks that the client can match. * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + * +optional * * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; @@ -1682,6 +1720,7 @@ public Builder setServerAddressByClientCIDRs( * The server returns only those CIDRs that it thinks that the client can match. * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + * +optional * * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; @@ -1706,6 +1745,7 @@ public Builder setServerAddressByClientCIDRs( * The server returns only those CIDRs that it thinks that the client can match. * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + * +optional * * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; @@ -1732,6 +1772,7 @@ public Builder addServerAddressByClientCIDRs(io.kubernetes.client.proto.Meta.Ser * The server returns only those CIDRs that it thinks that the client can match. * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + * +optional * * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; @@ -1759,6 +1800,7 @@ public Builder addServerAddressByClientCIDRs( * The server returns only those CIDRs that it thinks that the client can match. * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + * +optional * * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; @@ -1783,6 +1825,7 @@ public Builder addServerAddressByClientCIDRs( * The server returns only those CIDRs that it thinks that the client can match. * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + * +optional * * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; @@ -1807,6 +1850,7 @@ public Builder addServerAddressByClientCIDRs( * The server returns only those CIDRs that it thinks that the client can match. * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + * +optional * * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; @@ -1832,6 +1876,7 @@ public Builder addAllServerAddressByClientCIDRs( * The server returns only those CIDRs that it thinks that the client can match. * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + * +optional * * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; @@ -1855,6 +1900,7 @@ public Builder clearServerAddressByClientCIDRs() { * The server returns only those CIDRs that it thinks that the client can match. * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + * +optional * * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; @@ -1878,6 +1924,7 @@ public Builder removeServerAddressByClientCIDRs(int index) { * The server returns only those CIDRs that it thinks that the client can match. * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + * +optional * * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; @@ -1895,6 +1942,7 @@ public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.Builder getServ * The server returns only those CIDRs that it thinks that the client can match. * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + * +optional * * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; @@ -1915,6 +1963,7 @@ public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDROrBuilder getSer * The server returns only those CIDRs that it thinks that the client can match. * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + * +optional * * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; @@ -1936,6 +1985,7 @@ public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDROrBuilder getSer * The server returns only those CIDRs that it thinks that the client can match. * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + * +optional * * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; @@ -1953,6 +2003,7 @@ public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.Builder addServ * The server returns only those CIDRs that it thinks that the client can match. * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + * +optional * * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; @@ -1971,6 +2022,7 @@ public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.Builder addServ * The server returns only those CIDRs that it thinks that the client can match. * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + * +optional * * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; @@ -1993,11 +2045,13 @@ public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.Builder addServ } return serverAddressByClientCIDRsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -2019,11 +2073,12 @@ public static io.kubernetes.client.proto.Meta.APIGroup getDefaultInstance() { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public APIGroup parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new APIGroup(input, extensionRegistry); + return new APIGroup(input, extensionRegistry); } }; @@ -2036,6 +2091,7 @@ public com.google.protobuf.Parser getParserForType() { return PARSER; } + @java.lang.Override public io.kubernetes.client.proto.Meta.APIGroup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -2121,6 +2177,9 @@ private APIGroupList( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2132,13 +2191,6 @@ private APIGroupList( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { groups_ = new java.util.ArrayList(); @@ -2148,6 +2200,13 @@ private APIGroupList( input.readMessage(io.kubernetes.client.proto.Meta.APIGroup.PARSER, extensionRegistry)); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2168,6 +2227,7 @@ private APIGroupList( return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIGroupList_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIGroupList_fieldAccessorTable @@ -2231,6 +2291,7 @@ public io.kubernetes.client.proto.Meta.APIGroupOrBuilder getGroupsOrBuilder( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -2240,6 +2301,7 @@ public final boolean isInitialized() { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < groups_.size(); i++) { @@ -2248,6 +2310,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -2365,6 +2428,7 @@ public static io.kubernetes.client.proto.Meta.APIGroupList parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -2372,6 +2436,7 @@ public static Builder newBuilder() { public static Builder newBuilder(io.kubernetes.client.proto.Meta.APIGroupList prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -2400,6 +2465,7 @@ public static final class Builder extends return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIGroupList_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIGroupList_fieldAccessorTable @@ -2423,6 +2489,7 @@ private void maybeForceBuilderInitialization() { getGroupsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); if (groupsBuilder_ == null) { @@ -2434,15 +2501,18 @@ public Builder clear() { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIGroupList_descriptor; } + @java.lang.Override public io.kubernetes.client.proto.Meta.APIGroupList getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.APIGroupList.getDefaultInstance(); } + @java.lang.Override public io.kubernetes.client.proto.Meta.APIGroupList build() { io.kubernetes.client.proto.Meta.APIGroupList result = buildPartial(); if (!result.isInitialized()) { @@ -2451,6 +2521,7 @@ public io.kubernetes.client.proto.Meta.APIGroupList build() { return result; } + @java.lang.Override public io.kubernetes.client.proto.Meta.APIGroupList buildPartial() { io.kubernetes.client.proto.Meta.APIGroupList result = new io.kubernetes.client.proto.Meta.APIGroupList(this); int from_bitField0_ = bitField0_; @@ -2467,32 +2538,39 @@ public io.kubernetes.client.proto.Meta.APIGroupList buildPartial() { return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.APIGroupList) { return mergeFrom((io.kubernetes.client.proto.Meta.APIGroupList)other); @@ -2535,10 +2613,12 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.APIGroupList other) { return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2869,11 +2949,13 @@ public io.kubernetes.client.proto.Meta.APIGroup.Builder addGroupsBuilder( } return groupsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -2895,11 +2977,12 @@ public static io.kubernetes.client.proto.Meta.APIGroupList getDefaultInstance() @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public APIGroupList parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new APIGroupList(input, extensionRegistry); + return new APIGroupList(input, extensionRegistry); } }; @@ -2912,6 +2995,7 @@ public com.google.protobuf.Parser getParserForType() { return PARSER; } + @java.lang.Override public io.kubernetes.client.proto.Meta.APIGroupList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -2997,6 +3081,64 @@ public interface APIResourceOrBuilder extends */ boolean getNamespaced(); + /** + *
+     * group is the preferred group of the resource.  Empty implies the group of the containing resource list.
+     * For subresources, this may have a different value, for example: Scale".
+     * 
+ * + * optional string group = 8; + */ + boolean hasGroup(); + /** + *
+     * group is the preferred group of the resource.  Empty implies the group of the containing resource list.
+     * For subresources, this may have a different value, for example: Scale".
+     * 
+ * + * optional string group = 8; + */ + java.lang.String getGroup(); + /** + *
+     * group is the preferred group of the resource.  Empty implies the group of the containing resource list.
+     * For subresources, this may have a different value, for example: Scale".
+     * 
+ * + * optional string group = 8; + */ + com.google.protobuf.ByteString + getGroupBytes(); + + /** + *
+     * version is the preferred version of the resource.  Empty implies the version of the containing resource list
+     * For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
+     * 
+ * + * optional string version = 9; + */ + boolean hasVersion(); + /** + *
+     * version is the preferred version of the resource.  Empty implies the version of the containing resource list
+     * For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
+     * 
+ * + * optional string version = 9; + */ + java.lang.String getVersion(); + /** + *
+     * version is the preferred version of the resource.  Empty implies the version of the containing resource list
+     * For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
+     * 
+ * + * optional string version = 9; + */ + com.google.protobuf.ByteString + getVersionBytes(); + /** *
      * kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
@@ -3120,6 +3262,53 @@ public interface APIResourceOrBuilder extends
      */
     com.google.protobuf.ByteString
         getCategoriesBytes(int index);
+
+    /**
+     * 
+     * The hash value of the storage version, the version this resource is
+     * converted to when written to the data store. Value must be treated
+     * as opaque by clients. Only equality comparison on the value is valid.
+     * This is an alpha feature and may change or be removed in the future.
+     * The field is populated by the apiserver only if the
+     * StorageVersionHash feature gate is enabled.
+     * This field will remain optional even if it graduates.
+     * +optional
+     * 
+ * + * optional string storageVersionHash = 10; + */ + boolean hasStorageVersionHash(); + /** + *
+     * The hash value of the storage version, the version this resource is
+     * converted to when written to the data store. Value must be treated
+     * as opaque by clients. Only equality comparison on the value is valid.
+     * This is an alpha feature and may change or be removed in the future.
+     * The field is populated by the apiserver only if the
+     * StorageVersionHash feature gate is enabled.
+     * This field will remain optional even if it graduates.
+     * +optional
+     * 
+ * + * optional string storageVersionHash = 10; + */ + java.lang.String getStorageVersionHash(); + /** + *
+     * The hash value of the storage version, the version this resource is
+     * converted to when written to the data store. Value must be treated
+     * as opaque by clients. Only equality comparison on the value is valid.
+     * This is an alpha feature and may change or be removed in the future.
+     * The field is populated by the apiserver only if the
+     * StorageVersionHash feature gate is enabled.
+     * This field will remain optional even if it graduates.
+     * +optional
+     * 
+ * + * optional string storageVersionHash = 10; + */ + com.google.protobuf.ByteString + getStorageVersionHashBytes(); } /** *
@@ -3141,9 +3330,12 @@ private APIResource() {
       name_ = "";
       singularName_ = "";
       namespaced_ = false;
+      group_ = "";
+      version_ = "";
       kind_ = "";
       shortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       categories_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      storageVersionHash_ = "";
     }
 
     @java.lang.Override
@@ -3156,6 +3348,9 @@ private APIResource(
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       this();
+      if (extensionRegistry == null) {
+        throw new java.lang.NullPointerException();
+      }
       int mutable_bitField0_ = 0;
       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
           com.google.protobuf.UnknownFieldSet.newBuilder();
@@ -3167,13 +3362,6 @@ private APIResource(
             case 0:
               done = true;
               break;
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
             case 10: {
               com.google.protobuf.ByteString bs = input.readBytes();
               bitField0_ |= 0x00000001;
@@ -3187,13 +3375,13 @@ private APIResource(
             }
             case 26: {
               com.google.protobuf.ByteString bs = input.readBytes();
-              bitField0_ |= 0x00000008;
+              bitField0_ |= 0x00000020;
               kind_ = bs;
               break;
             }
             case 34: {
               io.kubernetes.client.proto.Meta.Verbs.Builder subBuilder = null;
-              if (((bitField0_ & 0x00000010) == 0x00000010)) {
+              if (((bitField0_ & 0x00000040) == 0x00000040)) {
                 subBuilder = verbs_.toBuilder();
               }
               verbs_ = input.readMessage(io.kubernetes.client.proto.Meta.Verbs.PARSER, extensionRegistry);
@@ -3201,14 +3389,14 @@ private APIResource(
                 subBuilder.mergeFrom(verbs_);
                 verbs_ = subBuilder.buildPartial();
               }
-              bitField0_ |= 0x00000010;
+              bitField0_ |= 0x00000040;
               break;
             }
             case 42: {
               com.google.protobuf.ByteString bs = input.readBytes();
-              if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
+              if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
                 shortNames_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000020;
+                mutable_bitField0_ |= 0x00000080;
               }
               shortNames_.add(bs);
               break;
@@ -3221,13 +3409,38 @@ private APIResource(
             }
             case 58: {
               com.google.protobuf.ByteString bs = input.readBytes();
-              if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
+              if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
                 categories_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000040;
+                mutable_bitField0_ |= 0x00000100;
               }
               categories_.add(bs);
               break;
             }
+            case 66: {
+              com.google.protobuf.ByteString bs = input.readBytes();
+              bitField0_ |= 0x00000008;
+              group_ = bs;
+              break;
+            }
+            case 74: {
+              com.google.protobuf.ByteString bs = input.readBytes();
+              bitField0_ |= 0x00000010;
+              version_ = bs;
+              break;
+            }
+            case 82: {
+              com.google.protobuf.ByteString bs = input.readBytes();
+              bitField0_ |= 0x00000080;
+              storageVersionHash_ = bs;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3236,10 +3449,10 @@ private APIResource(
         throw new com.google.protobuf.InvalidProtocolBufferException(
             e).setUnfinishedMessage(this);
       } finally {
-        if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
+        if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
           shortNames_ = shortNames_.getUnmodifiableView();
         }
-        if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
+        if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
           categories_ = categories_.getUnmodifiableView();
         }
         this.unknownFields = unknownFields.build();
@@ -3251,6 +3464,7 @@ private APIResource(
       return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIResource_descriptor;
     }
 
+    @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
       return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIResource_fieldAccessorTable
@@ -3396,6 +3610,120 @@ public boolean getNamespaced() {
       return namespaced_;
     }
 
+    public static final int GROUP_FIELD_NUMBER = 8;
+    private volatile java.lang.Object group_;
+    /**
+     * 
+     * group is the preferred group of the resource.  Empty implies the group of the containing resource list.
+     * For subresources, this may have a different value, for example: Scale".
+     * 
+ * + * optional string group = 8; + */ + public boolean hasGroup() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + *
+     * group is the preferred group of the resource.  Empty implies the group of the containing resource list.
+     * For subresources, this may have a different value, for example: Scale".
+     * 
+ * + * optional string group = 8; + */ + public java.lang.String getGroup() { + java.lang.Object ref = group_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + group_ = s; + } + return s; + } + } + /** + *
+     * group is the preferred group of the resource.  Empty implies the group of the containing resource list.
+     * For subresources, this may have a different value, for example: Scale".
+     * 
+ * + * optional string group = 8; + */ + public com.google.protobuf.ByteString + getGroupBytes() { + java.lang.Object ref = group_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + group_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int VERSION_FIELD_NUMBER = 9; + private volatile java.lang.Object version_; + /** + *
+     * version is the preferred version of the resource.  Empty implies the version of the containing resource list
+     * For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
+     * 
+ * + * optional string version = 9; + */ + public boolean hasVersion() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + *
+     * version is the preferred version of the resource.  Empty implies the version of the containing resource list
+     * For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
+     * 
+ * + * optional string version = 9; + */ + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + version_ = s; + } + return s; + } + } + /** + *
+     * version is the preferred version of the resource.  Empty implies the version of the containing resource list
+     * For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
+     * 
+ * + * optional string version = 9; + */ + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int KIND_FIELD_NUMBER = 3; private volatile java.lang.Object kind_; /** @@ -3406,7 +3734,7 @@ public boolean getNamespaced() { * optional string kind = 3; */ public boolean hasKind() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
@@ -3461,7 +3789,7 @@ public java.lang.String getKind() {
      * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4;
      */
     public boolean hasVerbs() {
-      return ((bitField0_ & 0x00000010) == 0x00000010);
+      return ((bitField0_ & 0x00000040) == 0x00000040);
     }
     /**
      * 
@@ -3576,7 +3904,83 @@ public java.lang.String getCategories(int index) {
       return categories_.getByteString(index);
     }
 
+    public static final int STORAGEVERSIONHASH_FIELD_NUMBER = 10;
+    private volatile java.lang.Object storageVersionHash_;
+    /**
+     * 
+     * The hash value of the storage version, the version this resource is
+     * converted to when written to the data store. Value must be treated
+     * as opaque by clients. Only equality comparison on the value is valid.
+     * This is an alpha feature and may change or be removed in the future.
+     * The field is populated by the apiserver only if the
+     * StorageVersionHash feature gate is enabled.
+     * This field will remain optional even if it graduates.
+     * +optional
+     * 
+ * + * optional string storageVersionHash = 10; + */ + public boolean hasStorageVersionHash() { + return ((bitField0_ & 0x00000080) == 0x00000080); + } + /** + *
+     * The hash value of the storage version, the version this resource is
+     * converted to when written to the data store. Value must be treated
+     * as opaque by clients. Only equality comparison on the value is valid.
+     * This is an alpha feature and may change or be removed in the future.
+     * The field is populated by the apiserver only if the
+     * StorageVersionHash feature gate is enabled.
+     * This field will remain optional even if it graduates.
+     * +optional
+     * 
+ * + * optional string storageVersionHash = 10; + */ + public java.lang.String getStorageVersionHash() { + java.lang.Object ref = storageVersionHash_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + storageVersionHash_ = s; + } + return s; + } + } + /** + *
+     * The hash value of the storage version, the version this resource is
+     * converted to when written to the data store. Value must be treated
+     * as opaque by clients. Only equality comparison on the value is valid.
+     * This is an alpha feature and may change or be removed in the future.
+     * The field is populated by the apiserver only if the
+     * StorageVersionHash feature gate is enabled.
+     * This field will remain optional even if it graduates.
+     * +optional
+     * 
+ * + * optional string storageVersionHash = 10; + */ + public com.google.protobuf.ByteString + getStorageVersionHashBytes() { + java.lang.Object ref = storageVersionHash_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + storageVersionHash_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -3586,6 +3990,7 @@ public final boolean isInitialized() { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -3594,10 +3999,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(2, namespaced_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000020) == 0x00000020)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, kind_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeMessage(4, getVerbs()); } for (int i = 0; i < shortNames_.size(); i++) { @@ -3609,9 +4014,19 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < categories_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, categories_.getRaw(i)); } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, group_); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 9, version_); + } + if (((bitField0_ & 0x00000080) == 0x00000080)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 10, storageVersionHash_); + } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -3624,10 +4039,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, namespaced_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, kind_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getVerbs()); } @@ -3650,6 +4065,15 @@ public int getSerializedSize() { size += dataSize; size += 1 * getCategoriesList().size(); } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, group_); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, version_); + } + if (((bitField0_ & 0x00000080) == 0x00000080)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, storageVersionHash_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -3681,6 +4105,16 @@ public boolean equals(final java.lang.Object obj) { result = result && (getNamespaced() == other.getNamespaced()); } + result = result && (hasGroup() == other.hasGroup()); + if (hasGroup()) { + result = result && getGroup() + .equals(other.getGroup()); + } + result = result && (hasVersion() == other.hasVersion()); + if (hasVersion()) { + result = result && getVersion() + .equals(other.getVersion()); + } result = result && (hasKind() == other.hasKind()); if (hasKind()) { result = result && getKind() @@ -3695,6 +4129,11 @@ public boolean equals(final java.lang.Object obj) { .equals(other.getShortNamesList()); result = result && getCategoriesList() .equals(other.getCategoriesList()); + result = result && (hasStorageVersionHash() == other.hasStorageVersionHash()); + if (hasStorageVersionHash()) { + result = result && getStorageVersionHash() + .equals(other.getStorageVersionHash()); + } result = result && unknownFields.equals(other.unknownFields); return result; } @@ -3719,6 +4158,14 @@ public int hashCode() { hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getNamespaced()); } + if (hasGroup()) { + hash = (37 * hash) + GROUP_FIELD_NUMBER; + hash = (53 * hash) + getGroup().hashCode(); + } + if (hasVersion()) { + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion().hashCode(); + } if (hasKind()) { hash = (37 * hash) + KIND_FIELD_NUMBER; hash = (53 * hash) + getKind().hashCode(); @@ -3735,6 +4182,10 @@ public int hashCode() { hash = (37 * hash) + CATEGORIES_FIELD_NUMBER; hash = (53 * hash) + getCategoriesList().hashCode(); } + if (hasStorageVersionHash()) { + hash = (37 * hash) + STORAGEVERSIONHASH_FIELD_NUMBER; + hash = (53 * hash) + getStorageVersionHash().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -3810,6 +4261,7 @@ public static io.kubernetes.client.proto.Meta.APIResource parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -3817,6 +4269,7 @@ public static Builder newBuilder() { public static Builder newBuilder(io.kubernetes.client.proto.Meta.APIResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -3844,6 +4297,7 @@ public static final class Builder extends return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIResource_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIResource_fieldAccessorTable @@ -3867,6 +4321,7 @@ private void maybeForceBuilderInitialization() { getVerbsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); name_ = ""; @@ -3875,30 +4330,39 @@ public Builder clear() { bitField0_ = (bitField0_ & ~0x00000002); namespaced_ = false; bitField0_ = (bitField0_ & ~0x00000004); - kind_ = ""; + group_ = ""; bitField0_ = (bitField0_ & ~0x00000008); + version_ = ""; + bitField0_ = (bitField0_ & ~0x00000010); + kind_ = ""; + bitField0_ = (bitField0_ & ~0x00000020); if (verbsBuilder_ == null) { verbs_ = null; } else { verbsBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000040); shortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000080); categories_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000100); + storageVersionHash_ = ""; + bitField0_ = (bitField0_ & ~0x00000200); return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIResource_descriptor; } + @java.lang.Override public io.kubernetes.client.proto.Meta.APIResource getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.APIResource.getDefaultInstance(); } + @java.lang.Override public io.kubernetes.client.proto.Meta.APIResource build() { io.kubernetes.client.proto.Meta.APIResource result = buildPartial(); if (!result.isInitialized()) { @@ -3907,6 +4371,7 @@ public io.kubernetes.client.proto.Meta.APIResource build() { return result; } + @java.lang.Override public io.kubernetes.client.proto.Meta.APIResource buildPartial() { io.kubernetes.client.proto.Meta.APIResource result = new io.kubernetes.client.proto.Meta.APIResource(this); int from_bitField0_ = bitField0_; @@ -3926,56 +4391,75 @@ public io.kubernetes.client.proto.Meta.APIResource buildPartial() { if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } - result.kind_ = kind_; + result.group_ = group_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } + result.version_ = version_; + if (((from_bitField0_ & 0x00000020) == 0x00000020)) { + to_bitField0_ |= 0x00000020; + } + result.kind_ = kind_; + if (((from_bitField0_ & 0x00000040) == 0x00000040)) { + to_bitField0_ |= 0x00000040; + } if (verbsBuilder_ == null) { result.verbs_ = verbs_; } else { result.verbs_ = verbsBuilder_.build(); } - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000080) == 0x00000080)) { shortNames_ = shortNames_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000080); } result.shortNames_ = shortNames_; - if (((bitField0_ & 0x00000040) == 0x00000040)) { + if (((bitField0_ & 0x00000100) == 0x00000100)) { categories_ = categories_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000100); } result.categories_ = categories_; + if (((from_bitField0_ & 0x00000200) == 0x00000200)) { + to_bitField0_ |= 0x00000080; + } + result.storageVersionHash_ = storageVersionHash_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.APIResource) { return mergeFrom((io.kubernetes.client.proto.Meta.APIResource)other); @@ -4000,8 +4484,18 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.APIResource other) { if (other.hasNamespaced()) { setNamespaced(other.getNamespaced()); } - if (other.hasKind()) { + if (other.hasGroup()) { bitField0_ |= 0x00000008; + group_ = other.group_; + onChanged(); + } + if (other.hasVersion()) { + bitField0_ |= 0x00000010; + version_ = other.version_; + onChanged(); + } + if (other.hasKind()) { + bitField0_ |= 0x00000020; kind_ = other.kind_; onChanged(); } @@ -4011,7 +4505,7 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.APIResource other) { if (!other.shortNames_.isEmpty()) { if (shortNames_.isEmpty()) { shortNames_ = other.shortNames_; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000080); } else { ensureShortNamesIsMutable(); shortNames_.addAll(other.shortNames_); @@ -4021,22 +4515,29 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.APIResource other) { if (!other.categories_.isEmpty()) { if (categories_.isEmpty()) { categories_ = other.categories_; - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000100); } else { ensureCategoriesIsMutable(); categories_.addAll(other.categories_); } onChanged(); } + if (other.hasStorageVersionHash()) { + bitField0_ |= 0x00000200; + storageVersionHash_ = other.storageVersionHash_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -4316,6 +4817,218 @@ public Builder clearNamespaced() { return this; } + private java.lang.Object group_ = ""; + /** + *
+       * group is the preferred group of the resource.  Empty implies the group of the containing resource list.
+       * For subresources, this may have a different value, for example: Scale".
+       * 
+ * + * optional string group = 8; + */ + public boolean hasGroup() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + *
+       * group is the preferred group of the resource.  Empty implies the group of the containing resource list.
+       * For subresources, this may have a different value, for example: Scale".
+       * 
+ * + * optional string group = 8; + */ + public java.lang.String getGroup() { + java.lang.Object ref = group_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + group_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * group is the preferred group of the resource.  Empty implies the group of the containing resource list.
+       * For subresources, this may have a different value, for example: Scale".
+       * 
+ * + * optional string group = 8; + */ + public com.google.protobuf.ByteString + getGroupBytes() { + java.lang.Object ref = group_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + group_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * group is the preferred group of the resource.  Empty implies the group of the containing resource list.
+       * For subresources, this may have a different value, for example: Scale".
+       * 
+ * + * optional string group = 8; + */ + public Builder setGroup( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + group_ = value; + onChanged(); + return this; + } + /** + *
+       * group is the preferred group of the resource.  Empty implies the group of the containing resource list.
+       * For subresources, this may have a different value, for example: Scale".
+       * 
+ * + * optional string group = 8; + */ + public Builder clearGroup() { + bitField0_ = (bitField0_ & ~0x00000008); + group_ = getDefaultInstance().getGroup(); + onChanged(); + return this; + } + /** + *
+       * group is the preferred group of the resource.  Empty implies the group of the containing resource list.
+       * For subresources, this may have a different value, for example: Scale".
+       * 
+ * + * optional string group = 8; + */ + public Builder setGroupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + group_ = value; + onChanged(); + return this; + } + + private java.lang.Object version_ = ""; + /** + *
+       * version is the preferred version of the resource.  Empty implies the version of the containing resource list
+       * For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
+       * 
+ * + * optional string version = 9; + */ + public boolean hasVersion() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + *
+       * version is the preferred version of the resource.  Empty implies the version of the containing resource list
+       * For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
+       * 
+ * + * optional string version = 9; + */ + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + version_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * version is the preferred version of the resource.  Empty implies the version of the containing resource list
+       * For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
+       * 
+ * + * optional string version = 9; + */ + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * version is the preferred version of the resource.  Empty implies the version of the containing resource list
+       * For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
+       * 
+ * + * optional string version = 9; + */ + public Builder setVersion( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; + version_ = value; + onChanged(); + return this; + } + /** + *
+       * version is the preferred version of the resource.  Empty implies the version of the containing resource list
+       * For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
+       * 
+ * + * optional string version = 9; + */ + public Builder clearVersion() { + bitField0_ = (bitField0_ & ~0x00000010); + version_ = getDefaultInstance().getVersion(); + onChanged(); + return this; + } + /** + *
+       * version is the preferred version of the resource.  Empty implies the version of the containing resource list
+       * For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
+       * 
+ * + * optional string version = 9; + */ + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; + version_ = value; + onChanged(); + return this; + } + private java.lang.Object kind_ = ""; /** *
@@ -4325,7 +5038,7 @@ public Builder clearNamespaced() {
        * optional string kind = 3;
        */
       public boolean hasKind() {
-        return ((bitField0_ & 0x00000008) == 0x00000008);
+        return ((bitField0_ & 0x00000020) == 0x00000020);
       }
       /**
        * 
@@ -4380,7 +5093,7 @@ public Builder setKind(
         if (value == null) {
     throw new NullPointerException();
   }
-  bitField0_ |= 0x00000008;
+  bitField0_ |= 0x00000020;
         kind_ = value;
         onChanged();
         return this;
@@ -4393,7 +5106,7 @@ public Builder setKind(
        * optional string kind = 3;
        */
       public Builder clearKind() {
-        bitField0_ = (bitField0_ & ~0x00000008);
+        bitField0_ = (bitField0_ & ~0x00000020);
         kind_ = getDefaultInstance().getKind();
         onChanged();
         return this;
@@ -4410,7 +5123,7 @@ public Builder setKindBytes(
         if (value == null) {
     throw new NullPointerException();
   }
-  bitField0_ |= 0x00000008;
+  bitField0_ |= 0x00000020;
         kind_ = value;
         onChanged();
         return this;
@@ -4428,7 +5141,7 @@ public Builder setKindBytes(
        * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4;
        */
       public boolean hasVerbs() {
-        return ((bitField0_ & 0x00000010) == 0x00000010);
+        return ((bitField0_ & 0x00000040) == 0x00000040);
       }
       /**
        * 
@@ -4463,7 +5176,7 @@ public Builder setVerbs(io.kubernetes.client.proto.Meta.Verbs value) {
         } else {
           verbsBuilder_.setMessage(value);
         }
-        bitField0_ |= 0x00000010;
+        bitField0_ |= 0x00000040;
         return this;
       }
       /**
@@ -4482,7 +5195,7 @@ public Builder setVerbs(
         } else {
           verbsBuilder_.setMessage(builderForValue.build());
         }
-        bitField0_ |= 0x00000010;
+        bitField0_ |= 0x00000040;
         return this;
       }
       /**
@@ -4495,7 +5208,7 @@ public Builder setVerbs(
        */
       public Builder mergeVerbs(io.kubernetes.client.proto.Meta.Verbs value) {
         if (verbsBuilder_ == null) {
-          if (((bitField0_ & 0x00000010) == 0x00000010) &&
+          if (((bitField0_ & 0x00000040) == 0x00000040) &&
               verbs_ != null &&
               verbs_ != io.kubernetes.client.proto.Meta.Verbs.getDefaultInstance()) {
             verbs_ =
@@ -4507,7 +5220,7 @@ public Builder mergeVerbs(io.kubernetes.client.proto.Meta.Verbs value) {
         } else {
           verbsBuilder_.mergeFrom(value);
         }
-        bitField0_ |= 0x00000010;
+        bitField0_ |= 0x00000040;
         return this;
       }
       /**
@@ -4525,7 +5238,7 @@ public Builder clearVerbs() {
         } else {
           verbsBuilder_.clear();
         }
-        bitField0_ = (bitField0_ & ~0x00000010);
+        bitField0_ = (bitField0_ & ~0x00000040);
         return this;
       }
       /**
@@ -4537,7 +5250,7 @@ public Builder clearVerbs() {
        * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4;
        */
       public io.kubernetes.client.proto.Meta.Verbs.Builder getVerbsBuilder() {
-        bitField0_ |= 0x00000010;
+        bitField0_ |= 0x00000040;
         onChanged();
         return getVerbsFieldBuilder().getBuilder();
       }
@@ -4581,9 +5294,9 @@ public io.kubernetes.client.proto.Meta.VerbsOrBuilder getVerbsOrBuilder() {
 
       private com.google.protobuf.LazyStringList shortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       private void ensureShortNamesIsMutable() {
-        if (!((bitField0_ & 0x00000020) == 0x00000020)) {
+        if (!((bitField0_ & 0x00000080) == 0x00000080)) {
           shortNames_ = new com.google.protobuf.LazyStringArrayList(shortNames_);
-          bitField0_ |= 0x00000020;
+          bitField0_ |= 0x00000080;
          }
       }
       /**
@@ -4686,7 +5399,7 @@ public Builder addAllShortNames(
        */
       public Builder clearShortNames() {
         shortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-        bitField0_ = (bitField0_ & ~0x00000020);
+        bitField0_ = (bitField0_ & ~0x00000080);
         onChanged();
         return this;
       }
@@ -4710,9 +5423,9 @@ public Builder addShortNamesBytes(
 
       private com.google.protobuf.LazyStringList categories_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       private void ensureCategoriesIsMutable() {
-        if (!((bitField0_ & 0x00000040) == 0x00000040)) {
+        if (!((bitField0_ & 0x00000100) == 0x00000100)) {
           categories_ = new com.google.protobuf.LazyStringArrayList(categories_);
-          bitField0_ |= 0x00000040;
+          bitField0_ |= 0x00000100;
          }
       }
       /**
@@ -4815,7 +5528,7 @@ public Builder addAllCategories(
        */
       public Builder clearCategories() {
         categories_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-        bitField0_ = (bitField0_ & ~0x00000040);
+        bitField0_ = (bitField0_ & ~0x00000100);
         onChanged();
         return this;
       }
@@ -4836,11 +5549,155 @@ public Builder addCategoriesBytes(
         onChanged();
         return this;
       }
+
+      private java.lang.Object storageVersionHash_ = "";
+      /**
+       * 
+       * The hash value of the storage version, the version this resource is
+       * converted to when written to the data store. Value must be treated
+       * as opaque by clients. Only equality comparison on the value is valid.
+       * This is an alpha feature and may change or be removed in the future.
+       * The field is populated by the apiserver only if the
+       * StorageVersionHash feature gate is enabled.
+       * This field will remain optional even if it graduates.
+       * +optional
+       * 
+ * + * optional string storageVersionHash = 10; + */ + public boolean hasStorageVersionHash() { + return ((bitField0_ & 0x00000200) == 0x00000200); + } + /** + *
+       * The hash value of the storage version, the version this resource is
+       * converted to when written to the data store. Value must be treated
+       * as opaque by clients. Only equality comparison on the value is valid.
+       * This is an alpha feature and may change or be removed in the future.
+       * The field is populated by the apiserver only if the
+       * StorageVersionHash feature gate is enabled.
+       * This field will remain optional even if it graduates.
+       * +optional
+       * 
+ * + * optional string storageVersionHash = 10; + */ + public java.lang.String getStorageVersionHash() { + java.lang.Object ref = storageVersionHash_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + storageVersionHash_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * The hash value of the storage version, the version this resource is
+       * converted to when written to the data store. Value must be treated
+       * as opaque by clients. Only equality comparison on the value is valid.
+       * This is an alpha feature and may change or be removed in the future.
+       * The field is populated by the apiserver only if the
+       * StorageVersionHash feature gate is enabled.
+       * This field will remain optional even if it graduates.
+       * +optional
+       * 
+ * + * optional string storageVersionHash = 10; + */ + public com.google.protobuf.ByteString + getStorageVersionHashBytes() { + java.lang.Object ref = storageVersionHash_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + storageVersionHash_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * The hash value of the storage version, the version this resource is
+       * converted to when written to the data store. Value must be treated
+       * as opaque by clients. Only equality comparison on the value is valid.
+       * This is an alpha feature and may change or be removed in the future.
+       * The field is populated by the apiserver only if the
+       * StorageVersionHash feature gate is enabled.
+       * This field will remain optional even if it graduates.
+       * +optional
+       * 
+ * + * optional string storageVersionHash = 10; + */ + public Builder setStorageVersionHash( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000200; + storageVersionHash_ = value; + onChanged(); + return this; + } + /** + *
+       * The hash value of the storage version, the version this resource is
+       * converted to when written to the data store. Value must be treated
+       * as opaque by clients. Only equality comparison on the value is valid.
+       * This is an alpha feature and may change or be removed in the future.
+       * The field is populated by the apiserver only if the
+       * StorageVersionHash feature gate is enabled.
+       * This field will remain optional even if it graduates.
+       * +optional
+       * 
+ * + * optional string storageVersionHash = 10; + */ + public Builder clearStorageVersionHash() { + bitField0_ = (bitField0_ & ~0x00000200); + storageVersionHash_ = getDefaultInstance().getStorageVersionHash(); + onChanged(); + return this; + } + /** + *
+       * The hash value of the storage version, the version this resource is
+       * converted to when written to the data store. Value must be treated
+       * as opaque by clients. Only equality comparison on the value is valid.
+       * This is an alpha feature and may change or be removed in the future.
+       * The field is populated by the apiserver only if the
+       * StorageVersionHash feature gate is enabled.
+       * This field will remain optional even if it graduates.
+       * +optional
+       * 
+ * + * optional string storageVersionHash = 10; + */ + public Builder setStorageVersionHashBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000200; + storageVersionHash_ = value; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -4862,11 +5719,12 @@ public static io.kubernetes.client.proto.Meta.APIResource getDefaultInstance() { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public APIResource parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new APIResource(input, extensionRegistry); + return new APIResource(input, extensionRegistry); } }; @@ -4879,6 +5737,7 @@ public com.google.protobuf.Parser getParserForType() { return PARSER; } + @java.lang.Override public io.kubernetes.client.proto.Meta.APIResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -4992,6 +5851,9 @@ private APIResourceList( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -5003,13 +5865,6 @@ private APIResourceList( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; @@ -5025,6 +5880,13 @@ private APIResourceList( input.readMessage(io.kubernetes.client.proto.Meta.APIResource.PARSER, extensionRegistry)); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5045,6 +5907,7 @@ private APIResourceList( return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIResourceList_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIResourceList_fieldAccessorTable @@ -5163,6 +6026,7 @@ public io.kubernetes.client.proto.Meta.APIResourceOrBuilder getResourcesOrBuilde } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -5172,6 +6036,7 @@ public final boolean isInitialized() { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -5183,6 +6048,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -5312,6 +6178,7 @@ public static io.kubernetes.client.proto.Meta.APIResourceList parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -5319,6 +6186,7 @@ public static Builder newBuilder() { public static Builder newBuilder(io.kubernetes.client.proto.Meta.APIResourceList prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -5348,6 +6216,7 @@ public static final class Builder extends return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIResourceList_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIResourceList_fieldAccessorTable @@ -5371,6 +6240,7 @@ private void maybeForceBuilderInitialization() { getResourcesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); groupVersion_ = ""; @@ -5384,15 +6254,18 @@ public Builder clear() { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIResourceList_descriptor; } + @java.lang.Override public io.kubernetes.client.proto.Meta.APIResourceList getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.APIResourceList.getDefaultInstance(); } + @java.lang.Override public io.kubernetes.client.proto.Meta.APIResourceList build() { io.kubernetes.client.proto.Meta.APIResourceList result = buildPartial(); if (!result.isInitialized()) { @@ -5401,6 +6274,7 @@ public io.kubernetes.client.proto.Meta.APIResourceList build() { return result; } + @java.lang.Override public io.kubernetes.client.proto.Meta.APIResourceList buildPartial() { io.kubernetes.client.proto.Meta.APIResourceList result = new io.kubernetes.client.proto.Meta.APIResourceList(this); int from_bitField0_ = bitField0_; @@ -5423,32 +6297,39 @@ public io.kubernetes.client.proto.Meta.APIResourceList buildPartial() { return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.APIResourceList) { return mergeFrom((io.kubernetes.client.proto.Meta.APIResourceList)other); @@ -5496,10 +6377,12 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.APIResourceList other) return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -5930,11 +6813,13 @@ public io.kubernetes.client.proto.Meta.APIResource.Builder addResourcesBuilder( } return resourcesBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -5956,11 +6841,12 @@ public static io.kubernetes.client.proto.Meta.APIResourceList getDefaultInstance @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public APIResourceList parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new APIResourceList(input, extensionRegistry); + return new APIResourceList(input, extensionRegistry); } }; @@ -5973,6 +6859,7 @@ public com.google.protobuf.Parser getParserForType() { return PARSER; } + @java.lang.Override public io.kubernetes.client.proto.Meta.APIResourceList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -6096,7 +6983,6 @@ io.kubernetes.client.proto.Meta.ServerAddressByClientCIDROrBuilder getServerAddr *
    * APIVersions lists the versions that are available, to allow clients to
    * discover the API at /api, which is the root path of the legacy v1 API.
-   * 
    * +protobuf.options.(gogoproto.goproto_stringer)=false
    * +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    * 
@@ -6127,6 +7013,9 @@ private APIVersions( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -6138,13 +7027,6 @@ private APIVersions( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { @@ -6163,6 +7045,13 @@ private APIVersions( input.readMessage(io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.PARSER, extensionRegistry)); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6186,6 +7075,7 @@ private APIVersions( return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIVersions_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIVersions_fieldAccessorTable @@ -6324,6 +7214,7 @@ public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDROrBuilder getSer } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -6333,6 +7224,7 @@ public final boolean isInitialized() { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < versions_.size(); i++) { @@ -6344,6 +7236,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -6475,6 +7368,7 @@ public static io.kubernetes.client.proto.Meta.APIVersions parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -6482,6 +7376,7 @@ public static Builder newBuilder() { public static Builder newBuilder(io.kubernetes.client.proto.Meta.APIVersions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -6497,7 +7392,6 @@ protected Builder newBuilderForType( *
      * APIVersions lists the versions that are available, to allow clients to
      * discover the API at /api, which is the root path of the legacy v1 API.
-     * 
      * +protobuf.options.(gogoproto.goproto_stringer)=false
      * +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
      * 
@@ -6513,6 +7407,7 @@ public static final class Builder extends return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIVersions_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIVersions_fieldAccessorTable @@ -6536,6 +7431,7 @@ private void maybeForceBuilderInitialization() { getServerAddressByClientCIDRsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); versions_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -6549,15 +7445,18 @@ public Builder clear() { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIVersions_descriptor; } + @java.lang.Override public io.kubernetes.client.proto.Meta.APIVersions getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.APIVersions.getDefaultInstance(); } + @java.lang.Override public io.kubernetes.client.proto.Meta.APIVersions build() { io.kubernetes.client.proto.Meta.APIVersions result = buildPartial(); if (!result.isInitialized()) { @@ -6566,6 +7465,7 @@ public io.kubernetes.client.proto.Meta.APIVersions build() { return result; } + @java.lang.Override public io.kubernetes.client.proto.Meta.APIVersions buildPartial() { io.kubernetes.client.proto.Meta.APIVersions result = new io.kubernetes.client.proto.Meta.APIVersions(this); int from_bitField0_ = bitField0_; @@ -6587,32 +7487,39 @@ public io.kubernetes.client.proto.Meta.APIVersions buildPartial() { return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.APIVersions) { return mergeFrom((io.kubernetes.client.proto.Meta.APIVersions)other); @@ -6665,10 +7572,12 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.APIVersions other) { return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -7236,11 +8145,13 @@ public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.Builder addServ } return serverAddressByClientCIDRsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -7262,11 +8173,12 @@ public static io.kubernetes.client.proto.Meta.APIVersions getDefaultInstance() { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public APIVersions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new APIVersions(input, extensionRegistry); + return new APIVersions(input, extensionRegistry); } }; @@ -7279,155 +8191,90 @@ public com.google.protobuf.Parser getParserForType() { return PARSER; } + @java.lang.Override public io.kubernetes.client.proto.Meta.APIVersions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface DeleteOptionsOrBuilder extends - // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions) + public interface CreateOptionsOrBuilder extends + // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.CreateOptions) com.google.protobuf.MessageOrBuilder { /** *
-     * The duration in seconds before the object should be deleted. Value must be non-negative integer.
-     * The value zero indicates delete immediately. If this value is nil, the default grace period for the
-     * specified type will be used.
-     * Defaults to a per object value if not specified. zero means delete immediately.
-     * +optional
-     * 
- * - * optional int64 gracePeriodSeconds = 1; - */ - boolean hasGracePeriodSeconds(); - /** - *
-     * The duration in seconds before the object should be deleted. Value must be non-negative integer.
-     * The value zero indicates delete immediately. If this value is nil, the default grace period for the
-     * specified type will be used.
-     * Defaults to a per object value if not specified. zero means delete immediately.
-     * +optional
-     * 
- * - * optional int64 gracePeriodSeconds = 1; - */ - long getGracePeriodSeconds(); - - /** - *
-     * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
-     * returned.
-     * +optional
-     * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; - */ - boolean hasPreconditions(); - /** - *
-     * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
-     * returned.
-     * +optional
-     * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; - */ - io.kubernetes.client.proto.Meta.Preconditions getPreconditions(); - /** - *
-     * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
-     * returned.
-     * +optional
-     * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; - */ - io.kubernetes.client.proto.Meta.PreconditionsOrBuilder getPreconditionsOrBuilder(); - - /** - *
-     * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
-     * Should the dependent objects be orphaned. If true/false, the "orphan"
-     * finalizer will be added to/removed from the object's finalizers list.
-     * Either this field or PropagationPolicy may be set, but not both.
-     * +optional
-     * 
- * - * optional bool orphanDependents = 3; - */ - boolean hasOrphanDependents(); - /** - *
-     * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
-     * Should the dependent objects be orphaned. If true/false, the "orphan"
-     * finalizer will be added to/removed from the object's finalizers list.
-     * Either this field or PropagationPolicy may be set, but not both.
+     * When present, indicates that modifications should not be
+     * persisted. An invalid or unrecognized dryRun directive will
+     * result in an error response and no further processing of the
+     * request. Valid values are:
+     * - All: all dry run stages will be processed
      * +optional
      * 
* - * optional bool orphanDependents = 3; + * repeated string dryRun = 1; */ - boolean getOrphanDependents(); - + java.util.List + getDryRunList(); /** *
-     * Whether and how garbage collection will be performed.
-     * Either this field or OrphanDependents may be set, but not both.
-     * The default policy is decided by the existing finalizer set in the
-     * metadata.finalizers and the resource-specific default policy.
+     * When present, indicates that modifications should not be
+     * persisted. An invalid or unrecognized dryRun directive will
+     * result in an error response and no further processing of the
+     * request. Valid values are:
+     * - All: all dry run stages will be processed
      * +optional
      * 
* - * optional string propagationPolicy = 4; + * repeated string dryRun = 1; */ - boolean hasPropagationPolicy(); + int getDryRunCount(); /** *
-     * Whether and how garbage collection will be performed.
-     * Either this field or OrphanDependents may be set, but not both.
-     * The default policy is decided by the existing finalizer set in the
-     * metadata.finalizers and the resource-specific default policy.
+     * When present, indicates that modifications should not be
+     * persisted. An invalid or unrecognized dryRun directive will
+     * result in an error response and no further processing of the
+     * request. Valid values are:
+     * - All: all dry run stages will be processed
      * +optional
      * 
* - * optional string propagationPolicy = 4; + * repeated string dryRun = 1; */ - java.lang.String getPropagationPolicy(); + java.lang.String getDryRun(int index); /** *
-     * Whether and how garbage collection will be performed.
-     * Either this field or OrphanDependents may be set, but not both.
-     * The default policy is decided by the existing finalizer set in the
-     * metadata.finalizers and the resource-specific default policy.
+     * When present, indicates that modifications should not be
+     * persisted. An invalid or unrecognized dryRun directive will
+     * result in an error response and no further processing of the
+     * request. Valid values are:
+     * - All: all dry run stages will be processed
      * +optional
      * 
* - * optional string propagationPolicy = 4; + * repeated string dryRun = 1; */ com.google.protobuf.ByteString - getPropagationPolicyBytes(); + getDryRunBytes(int index); } /** *
-   * DeleteOptions may be provided when deleting an API object.
+   * CreateOptions may be provided when creating an API object.
    * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.CreateOptions} */ - public static final class DeleteOptions extends + public static final class CreateOptions extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions) - DeleteOptionsOrBuilder { + // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.CreateOptions) + CreateOptionsOrBuilder { private static final long serialVersionUID = 0L; - // Use DeleteOptions.newBuilder() to construct. - private DeleteOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use CreateOptions.newBuilder() to construct. + private CreateOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteOptions() { - gracePeriodSeconds_ = 0L; - orphanDependents_ = false; - propagationPolicy_ = ""; + private CreateOptions() { + dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @@ -7435,11 +8282,14 @@ private DeleteOptions() { getUnknownFields() { return this.unknownFields; } - private DeleteOptions( + private CreateOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -7451,6 +8301,15 @@ private DeleteOptions( case 0: done = true; break; + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + dryRun_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + dryRun_.add(bs); + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -7458,35 +8317,6 @@ private DeleteOptions( } break; } - case 8: { - bitField0_ |= 0x00000001; - gracePeriodSeconds_ = input.readInt64(); - break; - } - case 18: { - io.kubernetes.client.proto.Meta.Preconditions.Builder subBuilder = null; - if (((bitField0_ & 0x00000002) == 0x00000002)) { - subBuilder = preconditions_.toBuilder(); - } - preconditions_ = input.readMessage(io.kubernetes.client.proto.Meta.Preconditions.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(preconditions_); - preconditions_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000002; - break; - } - case 24: { - bitField0_ |= 0x00000004; - orphanDependents_ = input.readBool(); - break; - } - case 34: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000008; - propagationPolicy_ = bs; - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7495,191 +8325,93 @@ private DeleteOptions( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { + if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + dryRun_ = dryRun_.getUnmodifiableView(); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_DeleteOptions_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_CreateOptions_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_DeleteOptions_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_CreateOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.DeleteOptions.class, io.kubernetes.client.proto.Meta.DeleteOptions.Builder.class); - } - - private int bitField0_; - public static final int GRACEPERIODSECONDS_FIELD_NUMBER = 1; - private long gracePeriodSeconds_; - /** - *
-     * The duration in seconds before the object should be deleted. Value must be non-negative integer.
-     * The value zero indicates delete immediately. If this value is nil, the default grace period for the
-     * specified type will be used.
-     * Defaults to a per object value if not specified. zero means delete immediately.
-     * +optional
-     * 
- * - * optional int64 gracePeriodSeconds = 1; - */ - public boolean hasGracePeriodSeconds() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - *
-     * The duration in seconds before the object should be deleted. Value must be non-negative integer.
-     * The value zero indicates delete immediately. If this value is nil, the default grace period for the
-     * specified type will be used.
-     * Defaults to a per object value if not specified. zero means delete immediately.
-     * +optional
-     * 
- * - * optional int64 gracePeriodSeconds = 1; - */ - public long getGracePeriodSeconds() { - return gracePeriodSeconds_; - } - - public static final int PRECONDITIONS_FIELD_NUMBER = 2; - private io.kubernetes.client.proto.Meta.Preconditions preconditions_; - /** - *
-     * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
-     * returned.
-     * +optional
-     * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; - */ - public boolean hasPreconditions() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - *
-     * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
-     * returned.
-     * +optional
-     * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; - */ - public io.kubernetes.client.proto.Meta.Preconditions getPreconditions() { - return preconditions_ == null ? io.kubernetes.client.proto.Meta.Preconditions.getDefaultInstance() : preconditions_; - } - /** - *
-     * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
-     * returned.
-     * +optional
-     * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; - */ - public io.kubernetes.client.proto.Meta.PreconditionsOrBuilder getPreconditionsOrBuilder() { - return preconditions_ == null ? io.kubernetes.client.proto.Meta.Preconditions.getDefaultInstance() : preconditions_; + io.kubernetes.client.proto.Meta.CreateOptions.class, io.kubernetes.client.proto.Meta.CreateOptions.Builder.class); } - public static final int ORPHANDEPENDENTS_FIELD_NUMBER = 3; - private boolean orphanDependents_; - /** - *
-     * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
-     * Should the dependent objects be orphaned. If true/false, the "orphan"
-     * finalizer will be added to/removed from the object's finalizers list.
-     * Either this field or PropagationPolicy may be set, but not both.
-     * +optional
-     * 
- * - * optional bool orphanDependents = 3; - */ - public boolean hasOrphanDependents() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } + public static final int DRYRUN_FIELD_NUMBER = 1; + private com.google.protobuf.LazyStringList dryRun_; /** *
-     * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
-     * Should the dependent objects be orphaned. If true/false, the "orphan"
-     * finalizer will be added to/removed from the object's finalizers list.
-     * Either this field or PropagationPolicy may be set, but not both.
+     * When present, indicates that modifications should not be
+     * persisted. An invalid or unrecognized dryRun directive will
+     * result in an error response and no further processing of the
+     * request. Valid values are:
+     * - All: all dry run stages will be processed
      * +optional
      * 
* - * optional bool orphanDependents = 3; + * repeated string dryRun = 1; */ - public boolean getOrphanDependents() { - return orphanDependents_; + public com.google.protobuf.ProtocolStringList + getDryRunList() { + return dryRun_; } - - public static final int PROPAGATIONPOLICY_FIELD_NUMBER = 4; - private volatile java.lang.Object propagationPolicy_; /** *
-     * Whether and how garbage collection will be performed.
-     * Either this field or OrphanDependents may be set, but not both.
-     * The default policy is decided by the existing finalizer set in the
-     * metadata.finalizers and the resource-specific default policy.
+     * When present, indicates that modifications should not be
+     * persisted. An invalid or unrecognized dryRun directive will
+     * result in an error response and no further processing of the
+     * request. Valid values are:
+     * - All: all dry run stages will be processed
      * +optional
      * 
* - * optional string propagationPolicy = 4; + * repeated string dryRun = 1; */ - public boolean hasPropagationPolicy() { - return ((bitField0_ & 0x00000008) == 0x00000008); + public int getDryRunCount() { + return dryRun_.size(); } /** *
-     * Whether and how garbage collection will be performed.
-     * Either this field or OrphanDependents may be set, but not both.
-     * The default policy is decided by the existing finalizer set in the
-     * metadata.finalizers and the resource-specific default policy.
+     * When present, indicates that modifications should not be
+     * persisted. An invalid or unrecognized dryRun directive will
+     * result in an error response and no further processing of the
+     * request. Valid values are:
+     * - All: all dry run stages will be processed
      * +optional
      * 
* - * optional string propagationPolicy = 4; + * repeated string dryRun = 1; */ - public java.lang.String getPropagationPolicy() { - java.lang.Object ref = propagationPolicy_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - propagationPolicy_ = s; - } - return s; - } + public java.lang.String getDryRun(int index) { + return dryRun_.get(index); } /** *
-     * Whether and how garbage collection will be performed.
-     * Either this field or OrphanDependents may be set, but not both.
-     * The default policy is decided by the existing finalizer set in the
-     * metadata.finalizers and the resource-specific default policy.
+     * When present, indicates that modifications should not be
+     * persisted. An invalid or unrecognized dryRun directive will
+     * result in an error response and no further processing of the
+     * request. Valid values are:
+     * - All: all dry run stages will be processed
      * +optional
      * 
* - * optional string propagationPolicy = 4; + * repeated string dryRun = 1; */ public com.google.protobuf.ByteString - getPropagationPolicyBytes() { - java.lang.Object ref = propagationPolicy_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - propagationPolicy_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + getDryRunBytes(int index) { + return dryRun_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -7689,42 +8421,28 @@ public final boolean isInitialized() { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeInt64(1, gracePeriodSeconds_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeMessage(2, getPreconditions()); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBool(3, orphanDependents_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, propagationPolicy_); + for (int i = 0; i < dryRun_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dryRun_.getRaw(i)); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, gracePeriodSeconds_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPreconditions()); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, orphanDependents_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, propagationPolicy_); + { + int dataSize = 0; + for (int i = 0; i < dryRun_.size(); i++) { + dataSize += computeStringSizeNoTag(dryRun_.getRaw(i)); + } + size += dataSize; + size += 1 * getDryRunList().size(); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -7736,32 +8454,14 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.kubernetes.client.proto.Meta.DeleteOptions)) { + if (!(obj instanceof io.kubernetes.client.proto.Meta.CreateOptions)) { return super.equals(obj); } - io.kubernetes.client.proto.Meta.DeleteOptions other = (io.kubernetes.client.proto.Meta.DeleteOptions) obj; + io.kubernetes.client.proto.Meta.CreateOptions other = (io.kubernetes.client.proto.Meta.CreateOptions) obj; boolean result = true; - result = result && (hasGracePeriodSeconds() == other.hasGracePeriodSeconds()); - if (hasGracePeriodSeconds()) { - result = result && (getGracePeriodSeconds() - == other.getGracePeriodSeconds()); - } - result = result && (hasPreconditions() == other.hasPreconditions()); - if (hasPreconditions()) { - result = result && getPreconditions() - .equals(other.getPreconditions()); - } - result = result && (hasOrphanDependents() == other.hasOrphanDependents()); - if (hasOrphanDependents()) { - result = result && (getOrphanDependents() - == other.getOrphanDependents()); - } - result = result && (hasPropagationPolicy() == other.hasPropagationPolicy()); - if (hasPropagationPolicy()) { - result = result && getPropagationPolicy() - .equals(other.getPropagationPolicy()); - } + result = result && getDryRunList() + .equals(other.getDryRunList()); result = result && unknownFields.equals(other.unknownFields); return result; } @@ -7773,92 +8473,78 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (hasGracePeriodSeconds()) { - hash = (37 * hash) + GRACEPERIODSECONDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getGracePeriodSeconds()); - } - if (hasPreconditions()) { - hash = (37 * hash) + PRECONDITIONS_FIELD_NUMBER; - hash = (53 * hash) + getPreconditions().hashCode(); - } - if (hasOrphanDependents()) { - hash = (37 * hash) + ORPHANDEPENDENTS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getOrphanDependents()); - } - if (hasPropagationPolicy()) { - hash = (37 * hash) + PROPAGATIONPOLICY_FIELD_NUMBER; - hash = (53 * hash) + getPropagationPolicy().hashCode(); + if (getDryRunCount() > 0) { + hash = (37 * hash) + DRYRUN_FIELD_NUMBER; + hash = (53 * hash) + getDryRunList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom( + public static io.kubernetes.client.proto.Meta.CreateOptions parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom( + public static io.kubernetes.client.proto.Meta.CreateOptions parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom( + public static io.kubernetes.client.proto.Meta.CreateOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom( + public static io.kubernetes.client.proto.Meta.CreateOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom(byte[] data) + public static io.kubernetes.client.proto.Meta.CreateOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom( + public static io.kubernetes.client.proto.Meta.CreateOptions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.CreateOptions parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom( + public static io.kubernetes.client.proto.Meta.CreateOptions parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.DeleteOptions parseDelimitedFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.CreateOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.DeleteOptions parseDelimitedFrom( + public static io.kubernetes.client.proto.Meta.CreateOptions parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom( + public static io.kubernetes.client.proto.Meta.CreateOptions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom( + public static io.kubernetes.client.proto.Meta.CreateOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -7866,13 +8552,15 @@ public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.kubernetes.client.proto.Meta.DeleteOptions prototype) { + public static Builder newBuilder(io.kubernetes.client.proto.Meta.CreateOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -7886,28 +8574,29 @@ protected Builder newBuilderForType( } /** *
-     * DeleteOptions may be provided when deleting an API object.
+     * CreateOptions may be provided when creating an API object.
      * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.CreateOptions} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions) - io.kubernetes.client.proto.Meta.DeleteOptionsOrBuilder { + // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.CreateOptions) + io.kubernetes.client.proto.Meta.CreateOptionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_DeleteOptions_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_CreateOptions_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_DeleteOptions_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_CreateOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.DeleteOptions.class, io.kubernetes.client.proto.Meta.DeleteOptions.Builder.class); + io.kubernetes.client.proto.Meta.CreateOptions.class, io.kubernetes.client.proto.Meta.CreateOptions.Builder.class); } - // Construct using io.kubernetes.client.proto.Meta.DeleteOptions.newBuilder() + // Construct using io.kubernetes.client.proto.Meta.CreateOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -7920,121 +8609,101 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { - getPreconditionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); - gracePeriodSeconds_ = 0L; + dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); - if (preconditionsBuilder_ == null) { - preconditions_ = null; - } else { - preconditionsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - orphanDependents_ = false; - bitField0_ = (bitField0_ & ~0x00000004); - propagationPolicy_ = ""; - bitField0_ = (bitField0_ & ~0x00000008); return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_DeleteOptions_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_CreateOptions_descriptor; } - public io.kubernetes.client.proto.Meta.DeleteOptions getDefaultInstanceForType() { - return io.kubernetes.client.proto.Meta.DeleteOptions.getDefaultInstance(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.CreateOptions getDefaultInstanceForType() { + return io.kubernetes.client.proto.Meta.CreateOptions.getDefaultInstance(); } - public io.kubernetes.client.proto.Meta.DeleteOptions build() { - io.kubernetes.client.proto.Meta.DeleteOptions result = buildPartial(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.CreateOptions build() { + io.kubernetes.client.proto.Meta.CreateOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public io.kubernetes.client.proto.Meta.DeleteOptions buildPartial() { - io.kubernetes.client.proto.Meta.DeleteOptions result = new io.kubernetes.client.proto.Meta.DeleteOptions(this); + @java.lang.Override + public io.kubernetes.client.proto.Meta.CreateOptions buildPartial() { + io.kubernetes.client.proto.Meta.CreateOptions result = new io.kubernetes.client.proto.Meta.CreateOptions(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.gracePeriodSeconds_ = gracePeriodSeconds_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - if (preconditionsBuilder_ == null) { - result.preconditions_ = preconditions_; - } else { - result.preconditions_ = preconditionsBuilder_.build(); - } - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.orphanDependents_ = orphanDependents_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { - to_bitField0_ |= 0x00000008; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + dryRun_ = dryRun_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); } - result.propagationPolicy_ = propagationPolicy_; - result.bitField0_ = to_bitField0_; + result.dryRun_ = dryRun_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.kubernetes.client.proto.Meta.DeleteOptions) { - return mergeFrom((io.kubernetes.client.proto.Meta.DeleteOptions)other); + if (other instanceof io.kubernetes.client.proto.Meta.CreateOptions) { + return mergeFrom((io.kubernetes.client.proto.Meta.CreateOptions)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.kubernetes.client.proto.Meta.DeleteOptions other) { - if (other == io.kubernetes.client.proto.Meta.DeleteOptions.getDefaultInstance()) return this; - if (other.hasGracePeriodSeconds()) { - setGracePeriodSeconds(other.getGracePeriodSeconds()); - } - if (other.hasPreconditions()) { - mergePreconditions(other.getPreconditions()); - } - if (other.hasOrphanDependents()) { - setOrphanDependents(other.getOrphanDependents()); - } - if (other.hasPropagationPolicy()) { - bitField0_ |= 0x00000008; - propagationPolicy_ = other.propagationPolicy_; + public Builder mergeFrom(io.kubernetes.client.proto.Meta.CreateOptions other) { + if (other == io.kubernetes.client.proto.Meta.CreateOptions.getDefaultInstance()) return this; + if (!other.dryRun_.isEmpty()) { + if (dryRun_.isEmpty()) { + dryRun_ = other.dryRun_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureDryRunIsMutable(); + dryRun_.addAll(other.dryRun_); + } onChanged(); } this.mergeUnknownFields(other.unknownFields); @@ -8042,19 +8711,21 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.DeleteOptions other) { return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.kubernetes.client.proto.Meta.DeleteOptions parsedMessage = null; + io.kubernetes.client.proto.Meta.CreateOptions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.kubernetes.client.proto.Meta.DeleteOptions) e.getUnfinishedMessage(); + parsedMessage = (io.kubernetes.client.proto.Meta.CreateOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -8065,523 +8736,458 @@ public Builder mergeFrom( } private int bitField0_; - private long gracePeriodSeconds_ ; - /** - *
-       * The duration in seconds before the object should be deleted. Value must be non-negative integer.
-       * The value zero indicates delete immediately. If this value is nil, the default grace period for the
-       * specified type will be used.
-       * Defaults to a per object value if not specified. zero means delete immediately.
-       * +optional
-       * 
- * - * optional int64 gracePeriodSeconds = 1; - */ - public boolean hasGracePeriodSeconds() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - *
-       * The duration in seconds before the object should be deleted. Value must be non-negative integer.
-       * The value zero indicates delete immediately. If this value is nil, the default grace period for the
-       * specified type will be used.
-       * Defaults to a per object value if not specified. zero means delete immediately.
-       * +optional
-       * 
- * - * optional int64 gracePeriodSeconds = 1; - */ - public long getGracePeriodSeconds() { - return gracePeriodSeconds_; - } - /** - *
-       * The duration in seconds before the object should be deleted. Value must be non-negative integer.
-       * The value zero indicates delete immediately. If this value is nil, the default grace period for the
-       * specified type will be used.
-       * Defaults to a per object value if not specified. zero means delete immediately.
-       * +optional
-       * 
- * - * optional int64 gracePeriodSeconds = 1; - */ - public Builder setGracePeriodSeconds(long value) { - bitField0_ |= 0x00000001; - gracePeriodSeconds_ = value; - onChanged(); - return this; - } - /** - *
-       * The duration in seconds before the object should be deleted. Value must be non-negative integer.
-       * The value zero indicates delete immediately. If this value is nil, the default grace period for the
-       * specified type will be used.
-       * Defaults to a per object value if not specified. zero means delete immediately.
-       * +optional
-       * 
- * - * optional int64 gracePeriodSeconds = 1; - */ - public Builder clearGracePeriodSeconds() { - bitField0_ = (bitField0_ & ~0x00000001); - gracePeriodSeconds_ = 0L; - onChanged(); - return this; - } - - private io.kubernetes.client.proto.Meta.Preconditions preconditions_ = null; - private com.google.protobuf.SingleFieldBuilderV3< - io.kubernetes.client.proto.Meta.Preconditions, io.kubernetes.client.proto.Meta.Preconditions.Builder, io.kubernetes.client.proto.Meta.PreconditionsOrBuilder> preconditionsBuilder_; - /** - *
-       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
-       * returned.
-       * +optional
-       * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; - */ - public boolean hasPreconditions() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - *
-       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
-       * returned.
-       * +optional
-       * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; - */ - public io.kubernetes.client.proto.Meta.Preconditions getPreconditions() { - if (preconditionsBuilder_ == null) { - return preconditions_ == null ? io.kubernetes.client.proto.Meta.Preconditions.getDefaultInstance() : preconditions_; - } else { - return preconditionsBuilder_.getMessage(); - } - } - /** - *
-       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
-       * returned.
-       * +optional
-       * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; - */ - public Builder setPreconditions(io.kubernetes.client.proto.Meta.Preconditions value) { - if (preconditionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - preconditions_ = value; - onChanged(); - } else { - preconditionsBuilder_.setMessage(value); - } - bitField0_ |= 0x00000002; - return this; - } - /** - *
-       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
-       * returned.
-       * +optional
-       * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; - */ - public Builder setPreconditions( - io.kubernetes.client.proto.Meta.Preconditions.Builder builderForValue) { - if (preconditionsBuilder_ == null) { - preconditions_ = builderForValue.build(); - onChanged(); - } else { - preconditionsBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000002; - return this; - } - /** - *
-       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
-       * returned.
-       * +optional
-       * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; - */ - public Builder mergePreconditions(io.kubernetes.client.proto.Meta.Preconditions value) { - if (preconditionsBuilder_ == null) { - if (((bitField0_ & 0x00000002) == 0x00000002) && - preconditions_ != null && - preconditions_ != io.kubernetes.client.proto.Meta.Preconditions.getDefaultInstance()) { - preconditions_ = - io.kubernetes.client.proto.Meta.Preconditions.newBuilder(preconditions_).mergeFrom(value).buildPartial(); - } else { - preconditions_ = value; - } - onChanged(); - } else { - preconditionsBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000002; - return this; - } - /** - *
-       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
-       * returned.
-       * +optional
-       * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; - */ - public Builder clearPreconditions() { - if (preconditionsBuilder_ == null) { - preconditions_ = null; - onChanged(); - } else { - preconditionsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - /** - *
-       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
-       * returned.
-       * +optional
-       * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; - */ - public io.kubernetes.client.proto.Meta.Preconditions.Builder getPreconditionsBuilder() { - bitField0_ |= 0x00000002; - onChanged(); - return getPreconditionsFieldBuilder().getBuilder(); + private com.google.protobuf.LazyStringList dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureDryRunIsMutable() { + if (!((bitField0_ & 0x00000001) == 0x00000001)) { + dryRun_ = new com.google.protobuf.LazyStringArrayList(dryRun_); + bitField0_ |= 0x00000001; + } } /** *
-       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
-       * returned.
+       * When present, indicates that modifications should not be
+       * persisted. An invalid or unrecognized dryRun directive will
+       * result in an error response and no further processing of the
+       * request. Valid values are:
+       * - All: all dry run stages will be processed
        * +optional
        * 
* - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; + * repeated string dryRun = 1; */ - public io.kubernetes.client.proto.Meta.PreconditionsOrBuilder getPreconditionsOrBuilder() { - if (preconditionsBuilder_ != null) { - return preconditionsBuilder_.getMessageOrBuilder(); - } else { - return preconditions_ == null ? - io.kubernetes.client.proto.Meta.Preconditions.getDefaultInstance() : preconditions_; - } + public com.google.protobuf.ProtocolStringList + getDryRunList() { + return dryRun_.getUnmodifiableView(); } /** *
-       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
-       * returned.
+       * When present, indicates that modifications should not be
+       * persisted. An invalid or unrecognized dryRun directive will
+       * result in an error response and no further processing of the
+       * request. Valid values are:
+       * - All: all dry run stages will be processed
        * +optional
        * 
* - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; + * repeated string dryRun = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< - io.kubernetes.client.proto.Meta.Preconditions, io.kubernetes.client.proto.Meta.Preconditions.Builder, io.kubernetes.client.proto.Meta.PreconditionsOrBuilder> - getPreconditionsFieldBuilder() { - if (preconditionsBuilder_ == null) { - preconditionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.kubernetes.client.proto.Meta.Preconditions, io.kubernetes.client.proto.Meta.Preconditions.Builder, io.kubernetes.client.proto.Meta.PreconditionsOrBuilder>( - getPreconditions(), - getParentForChildren(), - isClean()); - preconditions_ = null; - } - return preconditionsBuilder_; + public int getDryRunCount() { + return dryRun_.size(); } - - private boolean orphanDependents_ ; /** *
-       * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
-       * Should the dependent objects be orphaned. If true/false, the "orphan"
-       * finalizer will be added to/removed from the object's finalizers list.
-       * Either this field or PropagationPolicy may be set, but not both.
+       * When present, indicates that modifications should not be
+       * persisted. An invalid or unrecognized dryRun directive will
+       * result in an error response and no further processing of the
+       * request. Valid values are:
+       * - All: all dry run stages will be processed
        * +optional
        * 
* - * optional bool orphanDependents = 3; + * repeated string dryRun = 1; */ - public boolean hasOrphanDependents() { - return ((bitField0_ & 0x00000004) == 0x00000004); + public java.lang.String getDryRun(int index) { + return dryRun_.get(index); } /** *
-       * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
-       * Should the dependent objects be orphaned. If true/false, the "orphan"
-       * finalizer will be added to/removed from the object's finalizers list.
-       * Either this field or PropagationPolicy may be set, but not both.
+       * When present, indicates that modifications should not be
+       * persisted. An invalid or unrecognized dryRun directive will
+       * result in an error response and no further processing of the
+       * request. Valid values are:
+       * - All: all dry run stages will be processed
        * +optional
        * 
* - * optional bool orphanDependents = 3; + * repeated string dryRun = 1; */ - public boolean getOrphanDependents() { - return orphanDependents_; + public com.google.protobuf.ByteString + getDryRunBytes(int index) { + return dryRun_.getByteString(index); } /** *
-       * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
-       * Should the dependent objects be orphaned. If true/false, the "orphan"
-       * finalizer will be added to/removed from the object's finalizers list.
-       * Either this field or PropagationPolicy may be set, but not both.
+       * When present, indicates that modifications should not be
+       * persisted. An invalid or unrecognized dryRun directive will
+       * result in an error response and no further processing of the
+       * request. Valid values are:
+       * - All: all dry run stages will be processed
        * +optional
        * 
* - * optional bool orphanDependents = 3; + * repeated string dryRun = 1; */ - public Builder setOrphanDependents(boolean value) { - bitField0_ |= 0x00000004; - orphanDependents_ = value; + public Builder setDryRun( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureDryRunIsMutable(); + dryRun_.set(index, value); onChanged(); return this; } /** *
-       * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
-       * Should the dependent objects be orphaned. If true/false, the "orphan"
-       * finalizer will be added to/removed from the object's finalizers list.
-       * Either this field or PropagationPolicy may be set, but not both.
+       * When present, indicates that modifications should not be
+       * persisted. An invalid or unrecognized dryRun directive will
+       * result in an error response and no further processing of the
+       * request. Valid values are:
+       * - All: all dry run stages will be processed
        * +optional
        * 
* - * optional bool orphanDependents = 3; + * repeated string dryRun = 1; */ - public Builder clearOrphanDependents() { - bitField0_ = (bitField0_ & ~0x00000004); - orphanDependents_ = false; + public Builder addDryRun( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureDryRunIsMutable(); + dryRun_.add(value); onChanged(); return this; } - - private java.lang.Object propagationPolicy_ = ""; - /** - *
-       * Whether and how garbage collection will be performed.
-       * Either this field or OrphanDependents may be set, but not both.
-       * The default policy is decided by the existing finalizer set in the
-       * metadata.finalizers and the resource-specific default policy.
-       * +optional
-       * 
- * - * optional string propagationPolicy = 4; - */ - public boolean hasPropagationPolicy() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - /** - *
-       * Whether and how garbage collection will be performed.
-       * Either this field or OrphanDependents may be set, but not both.
-       * The default policy is decided by the existing finalizer set in the
-       * metadata.finalizers and the resource-specific default policy.
-       * +optional
-       * 
- * - * optional string propagationPolicy = 4; - */ - public java.lang.String getPropagationPolicy() { - java.lang.Object ref = propagationPolicy_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - propagationPolicy_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Whether and how garbage collection will be performed.
-       * Either this field or OrphanDependents may be set, but not both.
-       * The default policy is decided by the existing finalizer set in the
-       * metadata.finalizers and the resource-specific default policy.
-       * +optional
-       * 
- * - * optional string propagationPolicy = 4; - */ - public com.google.protobuf.ByteString - getPropagationPolicyBytes() { - java.lang.Object ref = propagationPolicy_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - propagationPolicy_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } /** *
-       * Whether and how garbage collection will be performed.
-       * Either this field or OrphanDependents may be set, but not both.
-       * The default policy is decided by the existing finalizer set in the
-       * metadata.finalizers and the resource-specific default policy.
+       * When present, indicates that modifications should not be
+       * persisted. An invalid or unrecognized dryRun directive will
+       * result in an error response and no further processing of the
+       * request. Valid values are:
+       * - All: all dry run stages will be processed
        * +optional
        * 
* - * optional string propagationPolicy = 4; + * repeated string dryRun = 1; */ - public Builder setPropagationPolicy( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; - propagationPolicy_ = value; + public Builder addAllDryRun( + java.lang.Iterable values) { + ensureDryRunIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dryRun_); onChanged(); return this; } /** *
-       * Whether and how garbage collection will be performed.
-       * Either this field or OrphanDependents may be set, but not both.
-       * The default policy is decided by the existing finalizer set in the
-       * metadata.finalizers and the resource-specific default policy.
+       * When present, indicates that modifications should not be
+       * persisted. An invalid or unrecognized dryRun directive will
+       * result in an error response and no further processing of the
+       * request. Valid values are:
+       * - All: all dry run stages will be processed
        * +optional
        * 
* - * optional string propagationPolicy = 4; + * repeated string dryRun = 1; */ - public Builder clearPropagationPolicy() { - bitField0_ = (bitField0_ & ~0x00000008); - propagationPolicy_ = getDefaultInstance().getPropagationPolicy(); + public Builder clearDryRun() { + dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
-       * Whether and how garbage collection will be performed.
-       * Either this field or OrphanDependents may be set, but not both.
-       * The default policy is decided by the existing finalizer set in the
-       * metadata.finalizers and the resource-specific default policy.
+       * When present, indicates that modifications should not be
+       * persisted. An invalid or unrecognized dryRun directive will
+       * result in an error response and no further processing of the
+       * request. Valid values are:
+       * - All: all dry run stages will be processed
        * +optional
        * 
* - * optional string propagationPolicy = 4; + * repeated string dryRun = 1; */ - public Builder setPropagationPolicyBytes( + public Builder addDryRunBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000008; - propagationPolicy_ = value; + ensureDryRunIsMutable(); + dryRun_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions) + // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.CreateOptions) } - // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions) - private static final io.kubernetes.client.proto.Meta.DeleteOptions DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.CreateOptions) + private static final io.kubernetes.client.proto.Meta.CreateOptions DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.DeleteOptions(); + DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.CreateOptions(); } - public static io.kubernetes.client.proto.Meta.DeleteOptions getDefaultInstance() { + public static io.kubernetes.client.proto.Meta.CreateOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - public DeleteOptions parsePartialFrom( + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteOptions(input, extensionRegistry); + return new CreateOptions(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } - public io.kubernetes.client.proto.Meta.DeleteOptions getDefaultInstanceForType() { + @java.lang.Override + public io.kubernetes.client.proto.Meta.CreateOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface DurationOrBuilder extends - // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.Duration) + public interface DeleteOptionsOrBuilder extends + // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions) com.google.protobuf.MessageOrBuilder { /** - * optional int64 duration = 1; + *
+     * The duration in seconds before the object should be deleted. Value must be non-negative integer.
+     * The value zero indicates delete immediately. If this value is nil, the default grace period for the
+     * specified type will be used.
+     * Defaults to a per object value if not specified. zero means delete immediately.
+     * +optional
+     * 
+ * + * optional int64 gracePeriodSeconds = 1; */ - boolean hasDuration(); + boolean hasGracePeriodSeconds(); /** - * optional int64 duration = 1; + *
+     * The duration in seconds before the object should be deleted. Value must be non-negative integer.
+     * The value zero indicates delete immediately. If this value is nil, the default grace period for the
+     * specified type will be used.
+     * Defaults to a per object value if not specified. zero means delete immediately.
+     * +optional
+     * 
+ * + * optional int64 gracePeriodSeconds = 1; */ - long getDuration(); - } - /** - *
-   * Duration is a wrapper around time.Duration which supports correct
-   * marshaling to YAML and JSON. In particular, it marshals into strings, which
-   * can be used as map keys in json.
-   * 
- * - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Duration} - */ - public static final class Duration extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Duration) - DurationOrBuilder { - private static final long serialVersionUID = 0L; - // Use Duration.newBuilder() to construct. - private Duration(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Duration() { - duration_ = 0L; - } + long getGracePeriodSeconds(); - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Duration( + /** + *
+     * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
+     * returned.
+     * +optional
+     * 
+ * + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; + */ + boolean hasPreconditions(); + /** + *
+     * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
+     * returned.
+     * +optional
+     * 
+ * + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; + */ + io.kubernetes.client.proto.Meta.Preconditions getPreconditions(); + /** + *
+     * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
+     * returned.
+     * +optional
+     * 
+ * + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; + */ + io.kubernetes.client.proto.Meta.PreconditionsOrBuilder getPreconditionsOrBuilder(); + + /** + *
+     * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
+     * Should the dependent objects be orphaned. If true/false, the "orphan"
+     * finalizer will be added to/removed from the object's finalizers list.
+     * Either this field or PropagationPolicy may be set, but not both.
+     * +optional
+     * 
+ * + * optional bool orphanDependents = 3; + */ + boolean hasOrphanDependents(); + /** + *
+     * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
+     * Should the dependent objects be orphaned. If true/false, the "orphan"
+     * finalizer will be added to/removed from the object's finalizers list.
+     * Either this field or PropagationPolicy may be set, but not both.
+     * +optional
+     * 
+ * + * optional bool orphanDependents = 3; + */ + boolean getOrphanDependents(); + + /** + *
+     * Whether and how garbage collection will be performed.
+     * Either this field or OrphanDependents may be set, but not both.
+     * The default policy is decided by the existing finalizer set in the
+     * metadata.finalizers and the resource-specific default policy.
+     * Acceptable values are: 'Orphan' - orphan the dependents; 'Background' -
+     * allow the garbage collector to delete the dependents in the background;
+     * 'Foreground' - a cascading policy that deletes all dependents in the
+     * foreground.
+     * +optional
+     * 
+ * + * optional string propagationPolicy = 4; + */ + boolean hasPropagationPolicy(); + /** + *
+     * Whether and how garbage collection will be performed.
+     * Either this field or OrphanDependents may be set, but not both.
+     * The default policy is decided by the existing finalizer set in the
+     * metadata.finalizers and the resource-specific default policy.
+     * Acceptable values are: 'Orphan' - orphan the dependents; 'Background' -
+     * allow the garbage collector to delete the dependents in the background;
+     * 'Foreground' - a cascading policy that deletes all dependents in the
+     * foreground.
+     * +optional
+     * 
+ * + * optional string propagationPolicy = 4; + */ + java.lang.String getPropagationPolicy(); + /** + *
+     * Whether and how garbage collection will be performed.
+     * Either this field or OrphanDependents may be set, but not both.
+     * The default policy is decided by the existing finalizer set in the
+     * metadata.finalizers and the resource-specific default policy.
+     * Acceptable values are: 'Orphan' - orphan the dependents; 'Background' -
+     * allow the garbage collector to delete the dependents in the background;
+     * 'Foreground' - a cascading policy that deletes all dependents in the
+     * foreground.
+     * +optional
+     * 
+ * + * optional string propagationPolicy = 4; + */ + com.google.protobuf.ByteString + getPropagationPolicyBytes(); + + /** + *
+     * When present, indicates that modifications should not be
+     * persisted. An invalid or unrecognized dryRun directive will
+     * result in an error response and no further processing of the
+     * request. Valid values are:
+     * - All: all dry run stages will be processed
+     * +optional
+     * 
+ * + * repeated string dryRun = 5; + */ + java.util.List + getDryRunList(); + /** + *
+     * When present, indicates that modifications should not be
+     * persisted. An invalid or unrecognized dryRun directive will
+     * result in an error response and no further processing of the
+     * request. Valid values are:
+     * - All: all dry run stages will be processed
+     * +optional
+     * 
+ * + * repeated string dryRun = 5; + */ + int getDryRunCount(); + /** + *
+     * When present, indicates that modifications should not be
+     * persisted. An invalid or unrecognized dryRun directive will
+     * result in an error response and no further processing of the
+     * request. Valid values are:
+     * - All: all dry run stages will be processed
+     * +optional
+     * 
+ * + * repeated string dryRun = 5; + */ + java.lang.String getDryRun(int index); + /** + *
+     * When present, indicates that modifications should not be
+     * persisted. An invalid or unrecognized dryRun directive will
+     * result in an error response and no further processing of the
+     * request. Valid values are:
+     * - All: all dry run stages will be processed
+     * +optional
+     * 
+ * + * repeated string dryRun = 5; + */ + com.google.protobuf.ByteString + getDryRunBytes(int index); + } + /** + *
+   * DeleteOptions may be provided when deleting an API object.
+   * 
+ * + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions} + */ + public static final class DeleteOptions extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions) + DeleteOptionsOrBuilder { + private static final long serialVersionUID = 0L; + // Use DeleteOptions.newBuilder() to construct. + private DeleteOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private DeleteOptions() { + gracePeriodSeconds_ = 0L; + orphanDependents_ = false; + propagationPolicy_ = ""; + dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DeleteOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -8593,6 +9199,44 @@ private Duration( case 0: done = true; break; + case 8: { + bitField0_ |= 0x00000001; + gracePeriodSeconds_ = input.readInt64(); + break; + } + case 18: { + io.kubernetes.client.proto.Meta.Preconditions.Builder subBuilder = null; + if (((bitField0_ & 0x00000002) == 0x00000002)) { + subBuilder = preconditions_.toBuilder(); + } + preconditions_ = input.readMessage(io.kubernetes.client.proto.Meta.Preconditions.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(preconditions_); + preconditions_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000002; + break; + } + case 24: { + bitField0_ |= 0x00000004; + orphanDependents_ = input.readBool(); + break; + } + case 34: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000008; + propagationPolicy_ = bs; + break; + } + case 42: { + com.google.protobuf.ByteString bs = input.readBytes(); + if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { + dryRun_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000010; + } + dryRun_.add(bs); + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -8600,11 +9244,6 @@ private Duration( } break; } - case 8: { - bitField0_ |= 0x00000001; - duration_ = input.readInt64(); - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -8613,39 +9252,273 @@ private Duration( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { + if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { + dryRun_ = dryRun_.getUnmodifiableView(); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Duration_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_DeleteOptions_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Duration_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_DeleteOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.Duration.class, io.kubernetes.client.proto.Meta.Duration.Builder.class); + io.kubernetes.client.proto.Meta.DeleteOptions.class, io.kubernetes.client.proto.Meta.DeleteOptions.Builder.class); } private int bitField0_; - public static final int DURATION_FIELD_NUMBER = 1; - private long duration_; + public static final int GRACEPERIODSECONDS_FIELD_NUMBER = 1; + private long gracePeriodSeconds_; /** - * optional int64 duration = 1; + *
+     * The duration in seconds before the object should be deleted. Value must be non-negative integer.
+     * The value zero indicates delete immediately. If this value is nil, the default grace period for the
+     * specified type will be used.
+     * Defaults to a per object value if not specified. zero means delete immediately.
+     * +optional
+     * 
+ * + * optional int64 gracePeriodSeconds = 1; */ - public boolean hasDuration() { + public boolean hasGracePeriodSeconds() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * optional int64 duration = 1; + *
+     * The duration in seconds before the object should be deleted. Value must be non-negative integer.
+     * The value zero indicates delete immediately. If this value is nil, the default grace period for the
+     * specified type will be used.
+     * Defaults to a per object value if not specified. zero means delete immediately.
+     * +optional
+     * 
+ * + * optional int64 gracePeriodSeconds = 1; */ - public long getDuration() { - return duration_; + public long getGracePeriodSeconds() { + return gracePeriodSeconds_; + } + + public static final int PRECONDITIONS_FIELD_NUMBER = 2; + private io.kubernetes.client.proto.Meta.Preconditions preconditions_; + /** + *
+     * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
+     * returned.
+     * +optional
+     * 
+ * + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; + */ + public boolean hasPreconditions() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + *
+     * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
+     * returned.
+     * +optional
+     * 
+ * + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; + */ + public io.kubernetes.client.proto.Meta.Preconditions getPreconditions() { + return preconditions_ == null ? io.kubernetes.client.proto.Meta.Preconditions.getDefaultInstance() : preconditions_; + } + /** + *
+     * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
+     * returned.
+     * +optional
+     * 
+ * + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; + */ + public io.kubernetes.client.proto.Meta.PreconditionsOrBuilder getPreconditionsOrBuilder() { + return preconditions_ == null ? io.kubernetes.client.proto.Meta.Preconditions.getDefaultInstance() : preconditions_; + } + + public static final int ORPHANDEPENDENTS_FIELD_NUMBER = 3; + private boolean orphanDependents_; + /** + *
+     * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
+     * Should the dependent objects be orphaned. If true/false, the "orphan"
+     * finalizer will be added to/removed from the object's finalizers list.
+     * Either this field or PropagationPolicy may be set, but not both.
+     * +optional
+     * 
+ * + * optional bool orphanDependents = 3; + */ + public boolean hasOrphanDependents() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + *
+     * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
+     * Should the dependent objects be orphaned. If true/false, the "orphan"
+     * finalizer will be added to/removed from the object's finalizers list.
+     * Either this field or PropagationPolicy may be set, but not both.
+     * +optional
+     * 
+ * + * optional bool orphanDependents = 3; + */ + public boolean getOrphanDependents() { + return orphanDependents_; + } + + public static final int PROPAGATIONPOLICY_FIELD_NUMBER = 4; + private volatile java.lang.Object propagationPolicy_; + /** + *
+     * Whether and how garbage collection will be performed.
+     * Either this field or OrphanDependents may be set, but not both.
+     * The default policy is decided by the existing finalizer set in the
+     * metadata.finalizers and the resource-specific default policy.
+     * Acceptable values are: 'Orphan' - orphan the dependents; 'Background' -
+     * allow the garbage collector to delete the dependents in the background;
+     * 'Foreground' - a cascading policy that deletes all dependents in the
+     * foreground.
+     * +optional
+     * 
+ * + * optional string propagationPolicy = 4; + */ + public boolean hasPropagationPolicy() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + *
+     * Whether and how garbage collection will be performed.
+     * Either this field or OrphanDependents may be set, but not both.
+     * The default policy is decided by the existing finalizer set in the
+     * metadata.finalizers and the resource-specific default policy.
+     * Acceptable values are: 'Orphan' - orphan the dependents; 'Background' -
+     * allow the garbage collector to delete the dependents in the background;
+     * 'Foreground' - a cascading policy that deletes all dependents in the
+     * foreground.
+     * +optional
+     * 
+ * + * optional string propagationPolicy = 4; + */ + public java.lang.String getPropagationPolicy() { + java.lang.Object ref = propagationPolicy_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + propagationPolicy_ = s; + } + return s; + } + } + /** + *
+     * Whether and how garbage collection will be performed.
+     * Either this field or OrphanDependents may be set, but not both.
+     * The default policy is decided by the existing finalizer set in the
+     * metadata.finalizers and the resource-specific default policy.
+     * Acceptable values are: 'Orphan' - orphan the dependents; 'Background' -
+     * allow the garbage collector to delete the dependents in the background;
+     * 'Foreground' - a cascading policy that deletes all dependents in the
+     * foreground.
+     * +optional
+     * 
+ * + * optional string propagationPolicy = 4; + */ + public com.google.protobuf.ByteString + getPropagationPolicyBytes() { + java.lang.Object ref = propagationPolicy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + propagationPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DRYRUN_FIELD_NUMBER = 5; + private com.google.protobuf.LazyStringList dryRun_; + /** + *
+     * When present, indicates that modifications should not be
+     * persisted. An invalid or unrecognized dryRun directive will
+     * result in an error response and no further processing of the
+     * request. Valid values are:
+     * - All: all dry run stages will be processed
+     * +optional
+     * 
+ * + * repeated string dryRun = 5; + */ + public com.google.protobuf.ProtocolStringList + getDryRunList() { + return dryRun_; + } + /** + *
+     * When present, indicates that modifications should not be
+     * persisted. An invalid or unrecognized dryRun directive will
+     * result in an error response and no further processing of the
+     * request. Valid values are:
+     * - All: all dry run stages will be processed
+     * +optional
+     * 
+ * + * repeated string dryRun = 5; + */ + public int getDryRunCount() { + return dryRun_.size(); + } + /** + *
+     * When present, indicates that modifications should not be
+     * persisted. An invalid or unrecognized dryRun directive will
+     * result in an error response and no further processing of the
+     * request. Valid values are:
+     * - All: all dry run stages will be processed
+     * +optional
+     * 
+ * + * repeated string dryRun = 5; + */ + public java.lang.String getDryRun(int index) { + return dryRun_.get(index); + } + /** + *
+     * When present, indicates that modifications should not be
+     * persisted. An invalid or unrecognized dryRun directive will
+     * result in an error response and no further processing of the
+     * request. Valid values are:
+     * - All: all dry run stages will be processed
+     * +optional
+     * 
+ * + * repeated string dryRun = 5; + */ + public com.google.protobuf.ByteString + getDryRunBytes(int index) { + return dryRun_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -8655,14 +9528,28 @@ public final boolean isInitialized() { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeInt64(1, duration_); + output.writeInt64(1, gracePeriodSeconds_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeMessage(2, getPreconditions()); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeBool(3, orphanDependents_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, propagationPolicy_); + } + for (int i = 0; i < dryRun_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, dryRun_.getRaw(i)); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -8670,7 +9557,26 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, duration_); + .computeInt64Size(1, gracePeriodSeconds_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPreconditions()); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, orphanDependents_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, propagationPolicy_); + } + { + int dataSize = 0; + for (int i = 0; i < dryRun_.size(); i++) { + dataSize += computeStringSizeNoTag(dryRun_.getRaw(i)); + } + size += dataSize; + size += 1 * getDryRunList().size(); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -8682,17 +9588,34 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.kubernetes.client.proto.Meta.Duration)) { + if (!(obj instanceof io.kubernetes.client.proto.Meta.DeleteOptions)) { return super.equals(obj); } - io.kubernetes.client.proto.Meta.Duration other = (io.kubernetes.client.proto.Meta.Duration) obj; + io.kubernetes.client.proto.Meta.DeleteOptions other = (io.kubernetes.client.proto.Meta.DeleteOptions) obj; boolean result = true; - result = result && (hasDuration() == other.hasDuration()); - if (hasDuration()) { - result = result && (getDuration() - == other.getDuration()); + result = result && (hasGracePeriodSeconds() == other.hasGracePeriodSeconds()); + if (hasGracePeriodSeconds()) { + result = result && (getGracePeriodSeconds() + == other.getGracePeriodSeconds()); + } + result = result && (hasPreconditions() == other.hasPreconditions()); + if (hasPreconditions()) { + result = result && getPreconditions() + .equals(other.getPreconditions()); + } + result = result && (hasOrphanDependents() == other.hasOrphanDependents()); + if (hasOrphanDependents()) { + result = result && (getOrphanDependents() + == other.getOrphanDependents()); + } + result = result && (hasPropagationPolicy() == other.hasPropagationPolicy()); + if (hasPropagationPolicy()) { + result = result && getPropagationPolicy() + .equals(other.getPropagationPolicy()); } + result = result && getDryRunList() + .equals(other.getDryRunList()); result = result && unknownFields.equals(other.unknownFields); return result; } @@ -8704,79 +9627,96 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (hasDuration()) { - hash = (37 * hash) + DURATION_FIELD_NUMBER; + if (hasGracePeriodSeconds()) { + hash = (37 * hash) + GRACEPERIODSECONDS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getDuration()); + getGracePeriodSeconds()); + } + if (hasPreconditions()) { + hash = (37 * hash) + PRECONDITIONS_FIELD_NUMBER; + hash = (53 * hash) + getPreconditions().hashCode(); + } + if (hasOrphanDependents()) { + hash = (37 * hash) + ORPHANDEPENDENTS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getOrphanDependents()); + } + if (hasPropagationPolicy()) { + hash = (37 * hash) + PROPAGATIONPOLICY_FIELD_NUMBER; + hash = (53 * hash) + getPropagationPolicy().hashCode(); + } + if (getDryRunCount() > 0) { + hash = (37 * hash) + DRYRUN_FIELD_NUMBER; + hash = (53 * hash) + getDryRunList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static io.kubernetes.client.proto.Meta.Duration parseFrom( + public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.Duration parseFrom( + public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.Duration parseFrom( + public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.Duration parseFrom( + public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.Duration parseFrom(byte[] data) + public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.Duration parseFrom( + public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.Duration parseFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.Duration parseFrom( + public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.Duration parseDelimitedFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.DeleteOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.Duration parseDelimitedFrom( + public static io.kubernetes.client.proto.Meta.DeleteOptions parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.Duration parseFrom( + public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.Duration parseFrom( + public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -8784,13 +9724,15 @@ public static io.kubernetes.client.proto.Meta.Duration parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.kubernetes.client.proto.Meta.Duration prototype) { + public static Builder newBuilder(io.kubernetes.client.proto.Meta.DeleteOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -8804,30 +9746,29 @@ protected Builder newBuilderForType( } /** *
-     * Duration is a wrapper around time.Duration which supports correct
-     * marshaling to YAML and JSON. In particular, it marshals into strings, which
-     * can be used as map keys in json.
+     * DeleteOptions may be provided when deleting an API object.
      * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Duration} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Duration) - io.kubernetes.client.proto.Meta.DurationOrBuilder { + // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions) + io.kubernetes.client.proto.Meta.DeleteOptionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Duration_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_DeleteOptions_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Duration_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_DeleteOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.Duration.class, io.kubernetes.client.proto.Meta.Duration.Builder.class); + io.kubernetes.client.proto.Meta.DeleteOptions.class, io.kubernetes.client.proto.Meta.DeleteOptions.Builder.class); } - // Construct using io.kubernetes.client.proto.Meta.Duration.newBuilder() + // Construct using io.kubernetes.client.proto.Meta.DeleteOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -8840,103 +9781,172 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { + getPreconditionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); - duration_ = 0L; + gracePeriodSeconds_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); + if (preconditionsBuilder_ == null) { + preconditions_ = null; + } else { + preconditionsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + orphanDependents_ = false; + bitField0_ = (bitField0_ & ~0x00000004); + propagationPolicy_ = ""; + bitField0_ = (bitField0_ & ~0x00000008); + dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000010); return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Duration_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_DeleteOptions_descriptor; } - public io.kubernetes.client.proto.Meta.Duration getDefaultInstanceForType() { - return io.kubernetes.client.proto.Meta.Duration.getDefaultInstance(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.DeleteOptions getDefaultInstanceForType() { + return io.kubernetes.client.proto.Meta.DeleteOptions.getDefaultInstance(); } - public io.kubernetes.client.proto.Meta.Duration build() { - io.kubernetes.client.proto.Meta.Duration result = buildPartial(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.DeleteOptions build() { + io.kubernetes.client.proto.Meta.DeleteOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public io.kubernetes.client.proto.Meta.Duration buildPartial() { - io.kubernetes.client.proto.Meta.Duration result = new io.kubernetes.client.proto.Meta.Duration(this); + @java.lang.Override + public io.kubernetes.client.proto.Meta.DeleteOptions buildPartial() { + io.kubernetes.client.proto.Meta.DeleteOptions result = new io.kubernetes.client.proto.Meta.DeleteOptions(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.duration_ = duration_; + result.gracePeriodSeconds_ = gracePeriodSeconds_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + if (preconditionsBuilder_ == null) { + result.preconditions_ = preconditions_; + } else { + result.preconditions_ = preconditionsBuilder_.build(); + } + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.orphanDependents_ = orphanDependents_; + if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + to_bitField0_ |= 0x00000008; + } + result.propagationPolicy_ = propagationPolicy_; + if (((bitField0_ & 0x00000010) == 0x00000010)) { + dryRun_ = dryRun_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.dryRun_ = dryRun_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.kubernetes.client.proto.Meta.Duration) { - return mergeFrom((io.kubernetes.client.proto.Meta.Duration)other); + if (other instanceof io.kubernetes.client.proto.Meta.DeleteOptions) { + return mergeFrom((io.kubernetes.client.proto.Meta.DeleteOptions)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.kubernetes.client.proto.Meta.Duration other) { - if (other == io.kubernetes.client.proto.Meta.Duration.getDefaultInstance()) return this; - if (other.hasDuration()) { - setDuration(other.getDuration()); + public Builder mergeFrom(io.kubernetes.client.proto.Meta.DeleteOptions other) { + if (other == io.kubernetes.client.proto.Meta.DeleteOptions.getDefaultInstance()) return this; + if (other.hasGracePeriodSeconds()) { + setGracePeriodSeconds(other.getGracePeriodSeconds()); + } + if (other.hasPreconditions()) { + mergePreconditions(other.getPreconditions()); + } + if (other.hasOrphanDependents()) { + setOrphanDependents(other.getOrphanDependents()); + } + if (other.hasPropagationPolicy()) { + bitField0_ |= 0x00000008; + propagationPolicy_ = other.propagationPolicy_; + onChanged(); + } + if (!other.dryRun_.isEmpty()) { + if (dryRun_.isEmpty()) { + dryRun_ = other.dryRun_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureDryRunIsMutable(); + dryRun_.addAll(other.dryRun_); + } + onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.kubernetes.client.proto.Meta.Duration parsedMessage = null; + io.kubernetes.client.proto.Meta.DeleteOptions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.kubernetes.client.proto.Meta.Duration) e.getUnfinishedMessage(); + parsedMessage = (io.kubernetes.client.proto.Meta.DeleteOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -8947,801 +9957,713 @@ public Builder mergeFrom( } private int bitField0_; - private long duration_ ; + private long gracePeriodSeconds_ ; /** - * optional int64 duration = 1; + *
+       * The duration in seconds before the object should be deleted. Value must be non-negative integer.
+       * The value zero indicates delete immediately. If this value is nil, the default grace period for the
+       * specified type will be used.
+       * Defaults to a per object value if not specified. zero means delete immediately.
+       * +optional
+       * 
+ * + * optional int64 gracePeriodSeconds = 1; */ - public boolean hasDuration() { + public boolean hasGracePeriodSeconds() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * optional int64 duration = 1; + *
+       * The duration in seconds before the object should be deleted. Value must be non-negative integer.
+       * The value zero indicates delete immediately. If this value is nil, the default grace period for the
+       * specified type will be used.
+       * Defaults to a per object value if not specified. zero means delete immediately.
+       * +optional
+       * 
+ * + * optional int64 gracePeriodSeconds = 1; */ - public long getDuration() { - return duration_; + public long getGracePeriodSeconds() { + return gracePeriodSeconds_; } /** - * optional int64 duration = 1; + *
+       * The duration in seconds before the object should be deleted. Value must be non-negative integer.
+       * The value zero indicates delete immediately. If this value is nil, the default grace period for the
+       * specified type will be used.
+       * Defaults to a per object value if not specified. zero means delete immediately.
+       * +optional
+       * 
+ * + * optional int64 gracePeriodSeconds = 1; */ - public Builder setDuration(long value) { + public Builder setGracePeriodSeconds(long value) { bitField0_ |= 0x00000001; - duration_ = value; + gracePeriodSeconds_ = value; onChanged(); return this; } /** - * optional int64 duration = 1; + *
+       * The duration in seconds before the object should be deleted. Value must be non-negative integer.
+       * The value zero indicates delete immediately. If this value is nil, the default grace period for the
+       * specified type will be used.
+       * Defaults to a per object value if not specified. zero means delete immediately.
+       * +optional
+       * 
+ * + * optional int64 gracePeriodSeconds = 1; */ - public Builder clearDuration() { + public Builder clearGracePeriodSeconds() { bitField0_ = (bitField0_ & ~0x00000001); - duration_ = 0L; + gracePeriodSeconds_ = 0L; onChanged(); return this; } - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); + private io.kubernetes.client.proto.Meta.Preconditions preconditions_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + io.kubernetes.client.proto.Meta.Preconditions, io.kubernetes.client.proto.Meta.Preconditions.Builder, io.kubernetes.client.proto.Meta.PreconditionsOrBuilder> preconditionsBuilder_; + /** + *
+       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
+       * returned.
+       * +optional
+       * 
+ * + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; + */ + public boolean hasPreconditions() { + return ((bitField0_ & 0x00000002) == 0x00000002); } - - - // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Duration) - } - - // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Duration) - private static final io.kubernetes.client.proto.Meta.Duration DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.Duration(); - } - - public static io.kubernetes.client.proto.Meta.Duration getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - public Duration parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Duration(input, extensionRegistry); + /** + *
+       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
+       * returned.
+       * +optional
+       * 
+ * + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; + */ + public io.kubernetes.client.proto.Meta.Preconditions getPreconditions() { + if (preconditionsBuilder_ == null) { + return preconditions_ == null ? io.kubernetes.client.proto.Meta.Preconditions.getDefaultInstance() : preconditions_; + } else { + return preconditionsBuilder_.getMessage(); + } } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - public io.kubernetes.client.proto.Meta.Duration getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ExportOptionsOrBuilder extends - // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.ExportOptions) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Should this value be exported.  Export strips fields that a user can not specify.
-     * 
- * - * optional bool export = 1; - */ - boolean hasExport(); - /** - *
-     * Should this value be exported.  Export strips fields that a user can not specify.
-     * 
- * - * optional bool export = 1; - */ - boolean getExport(); - - /** - *
-     * Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
-     * 
- * - * optional bool exact = 2; - */ - boolean hasExact(); - /** - *
-     * Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
-     * 
- * - * optional bool exact = 2; - */ - boolean getExact(); - } - /** - *
-   * ExportOptions is the query options to the standard REST get call.
-   * 
- * - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ExportOptions} - */ - public static final class ExportOptions extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.ExportOptions) - ExportOptionsOrBuilder { - private static final long serialVersionUID = 0L; - // Use ExportOptions.newBuilder() to construct. - private ExportOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ExportOptions() { - export_ = false; - exact_ = false; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ExportOptions( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - case 8: { - bitField0_ |= 0x00000001; - export_ = input.readBool(); - break; - } - case 16: { - bitField0_ |= 0x00000002; - exact_ = input.readBool(); - break; - } + /** + *
+       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
+       * returned.
+       * +optional
+       * 
+ * + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; + */ + public Builder setPreconditions(io.kubernetes.client.proto.Meta.Preconditions value) { + if (preconditionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); } + preconditions_ = value; + onChanged(); + } else { + preconditionsBuilder_.setMessage(value); } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); + bitField0_ |= 0x00000002; + return this; } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ExportOptions_descriptor; - } - - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ExportOptions_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.ExportOptions.class, io.kubernetes.client.proto.Meta.ExportOptions.Builder.class); - } - - private int bitField0_; - public static final int EXPORT_FIELD_NUMBER = 1; - private boolean export_; - /** - *
-     * Should this value be exported.  Export strips fields that a user can not specify.
-     * 
- * - * optional bool export = 1; - */ - public boolean hasExport() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - *
-     * Should this value be exported.  Export strips fields that a user can not specify.
-     * 
- * - * optional bool export = 1; - */ - public boolean getExport() { - return export_; - } - - public static final int EXACT_FIELD_NUMBER = 2; - private boolean exact_; - /** - *
-     * Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
-     * 
- * - * optional bool exact = 2; - */ - public boolean hasExact() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - *
-     * Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
-     * 
- * - * optional bool exact = 2; - */ - public boolean getExact() { - return exact_; - } - - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeBool(1, export_); + /** + *
+       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
+       * returned.
+       * +optional
+       * 
+ * + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; + */ + public Builder setPreconditions( + io.kubernetes.client.proto.Meta.Preconditions.Builder builderForValue) { + if (preconditionsBuilder_ == null) { + preconditions_ = builderForValue.build(); + onChanged(); + } else { + preconditionsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + return this; } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBool(2, exact_); + /** + *
+       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
+       * returned.
+       * +optional
+       * 
+ * + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; + */ + public Builder mergePreconditions(io.kubernetes.client.proto.Meta.Preconditions value) { + if (preconditionsBuilder_ == null) { + if (((bitField0_ & 0x00000002) == 0x00000002) && + preconditions_ != null && + preconditions_ != io.kubernetes.client.proto.Meta.Preconditions.getDefaultInstance()) { + preconditions_ = + io.kubernetes.client.proto.Meta.Preconditions.newBuilder(preconditions_).mergeFrom(value).buildPartial(); + } else { + preconditions_ = value; + } + onChanged(); + } else { + preconditionsBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + return this; } - unknownFields.writeTo(output); - } - - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, export_); + /** + *
+       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
+       * returned.
+       * +optional
+       * 
+ * + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; + */ + public Builder clearPreconditions() { + if (preconditionsBuilder_ == null) { + preconditions_ = null; + onChanged(); + } else { + preconditionsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, exact_); + /** + *
+       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
+       * returned.
+       * +optional
+       * 
+ * + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; + */ + public io.kubernetes.client.proto.Meta.Preconditions.Builder getPreconditionsBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getPreconditionsFieldBuilder().getBuilder(); } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.kubernetes.client.proto.Meta.ExportOptions)) { - return super.equals(obj); - } - io.kubernetes.client.proto.Meta.ExportOptions other = (io.kubernetes.client.proto.Meta.ExportOptions) obj; - - boolean result = true; - result = result && (hasExport() == other.hasExport()); - if (hasExport()) { - result = result && (getExport() - == other.getExport()); - } - result = result && (hasExact() == other.hasExact()); - if (hasExact()) { - result = result && (getExact() - == other.getExact()); - } - result = result && unknownFields.equals(other.unknownFields); - return result; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasExport()) { - hash = (37 * hash) + EXPORT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getExport()); - } - if (hasExact()) { - hash = (37 * hash) + EXACT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getExact()); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.kubernetes.client.proto.Meta.ExportOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.kubernetes.client.proto.Meta.ExportOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.kubernetes.client.proto.Meta.ExportOptions prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - *
-     * ExportOptions is the query options to the standard REST get call.
-     * 
- * - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ExportOptions} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.ExportOptions) - io.kubernetes.client.proto.Meta.ExportOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ExportOptions_descriptor; - } - - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ExportOptions_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.ExportOptions.class, io.kubernetes.client.proto.Meta.ExportOptions.Builder.class); - } - - // Construct using io.kubernetes.client.proto.Meta.ExportOptions.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - public Builder clear() { - super.clear(); - export_ = false; - bitField0_ = (bitField0_ & ~0x00000001); - exact_ = false; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ExportOptions_descriptor; - } - - public io.kubernetes.client.proto.Meta.ExportOptions getDefaultInstanceForType() { - return io.kubernetes.client.proto.Meta.ExportOptions.getDefaultInstance(); - } - - public io.kubernetes.client.proto.Meta.ExportOptions build() { - io.kubernetes.client.proto.Meta.ExportOptions result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); + /** + *
+       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
+       * returned.
+       * +optional
+       * 
+ * + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; + */ + public io.kubernetes.client.proto.Meta.PreconditionsOrBuilder getPreconditionsOrBuilder() { + if (preconditionsBuilder_ != null) { + return preconditionsBuilder_.getMessageOrBuilder(); + } else { + return preconditions_ == null ? + io.kubernetes.client.proto.Meta.Preconditions.getDefaultInstance() : preconditions_; } - return result; } - - public io.kubernetes.client.proto.Meta.ExportOptions buildPartial() { - io.kubernetes.client.proto.Meta.ExportOptions result = new io.kubernetes.client.proto.Meta.ExportOptions(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.export_ = export_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; + /** + *
+       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
+       * returned.
+       * +optional
+       * 
+ * + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.kubernetes.client.proto.Meta.Preconditions, io.kubernetes.client.proto.Meta.Preconditions.Builder, io.kubernetes.client.proto.Meta.PreconditionsOrBuilder> + getPreconditionsFieldBuilder() { + if (preconditionsBuilder_ == null) { + preconditionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.kubernetes.client.proto.Meta.Preconditions, io.kubernetes.client.proto.Meta.Preconditions.Builder, io.kubernetes.client.proto.Meta.PreconditionsOrBuilder>( + getPreconditions(), + getParentForChildren(), + isClean()); + preconditions_ = null; } - result.exact_ = exact_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + return preconditionsBuilder_; } - public Builder clone() { - return (Builder) super.clone(); - } - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return (Builder) super.setField(field, value); - } - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); - } - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); - } - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + private boolean orphanDependents_ ; + /** + *
+       * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
+       * Should the dependent objects be orphaned. If true/false, the "orphan"
+       * finalizer will be added to/removed from the object's finalizers list.
+       * Either this field or PropagationPolicy may be set, but not both.
+       * +optional
+       * 
+ * + * optional bool orphanDependents = 3; + */ + public boolean hasOrphanDependents() { + return ((bitField0_ & 0x00000004) == 0x00000004); } - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + /** + *
+       * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
+       * Should the dependent objects be orphaned. If true/false, the "orphan"
+       * finalizer will be added to/removed from the object's finalizers list.
+       * Either this field or PropagationPolicy may be set, but not both.
+       * +optional
+       * 
+ * + * optional bool orphanDependents = 3; + */ + public boolean getOrphanDependents() { + return orphanDependents_; } - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.kubernetes.client.proto.Meta.ExportOptions) { - return mergeFrom((io.kubernetes.client.proto.Meta.ExportOptions)other); - } else { - super.mergeFrom(other); - return this; - } + /** + *
+       * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
+       * Should the dependent objects be orphaned. If true/false, the "orphan"
+       * finalizer will be added to/removed from the object's finalizers list.
+       * Either this field or PropagationPolicy may be set, but not both.
+       * +optional
+       * 
+ * + * optional bool orphanDependents = 3; + */ + public Builder setOrphanDependents(boolean value) { + bitField0_ |= 0x00000004; + orphanDependents_ = value; + onChanged(); + return this; } - - public Builder mergeFrom(io.kubernetes.client.proto.Meta.ExportOptions other) { - if (other == io.kubernetes.client.proto.Meta.ExportOptions.getDefaultInstance()) return this; - if (other.hasExport()) { - setExport(other.getExport()); - } - if (other.hasExact()) { - setExact(other.getExact()); - } - this.mergeUnknownFields(other.unknownFields); + /** + *
+       * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
+       * Should the dependent objects be orphaned. If true/false, the "orphan"
+       * finalizer will be added to/removed from the object's finalizers list.
+       * Either this field or PropagationPolicy may be set, but not both.
+       * +optional
+       * 
+ * + * optional bool orphanDependents = 3; + */ + public Builder clearOrphanDependents() { + bitField0_ = (bitField0_ & ~0x00000004); + orphanDependents_ = false; onChanged(); return this; } - public final boolean isInitialized() { - return true; + private java.lang.Object propagationPolicy_ = ""; + /** + *
+       * Whether and how garbage collection will be performed.
+       * Either this field or OrphanDependents may be set, but not both.
+       * The default policy is decided by the existing finalizer set in the
+       * metadata.finalizers and the resource-specific default policy.
+       * Acceptable values are: 'Orphan' - orphan the dependents; 'Background' -
+       * allow the garbage collector to delete the dependents in the background;
+       * 'Foreground' - a cascading policy that deletes all dependents in the
+       * foreground.
+       * +optional
+       * 
+ * + * optional string propagationPolicy = 4; + */ + public boolean hasPropagationPolicy() { + return ((bitField0_ & 0x00000008) == 0x00000008); } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.kubernetes.client.proto.Meta.ExportOptions parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.kubernetes.client.proto.Meta.ExportOptions) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + /** + *
+       * Whether and how garbage collection will be performed.
+       * Either this field or OrphanDependents may be set, but not both.
+       * The default policy is decided by the existing finalizer set in the
+       * metadata.finalizers and the resource-specific default policy.
+       * Acceptable values are: 'Orphan' - orphan the dependents; 'Background' -
+       * allow the garbage collector to delete the dependents in the background;
+       * 'Foreground' - a cascading policy that deletes all dependents in the
+       * foreground.
+       * +optional
+       * 
+ * + * optional string propagationPolicy = 4; + */ + public java.lang.String getPropagationPolicy() { + java.lang.Object ref = propagationPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + propagationPolicy_ = s; } + return s; + } else { + return (java.lang.String) ref; } - return this; } - private int bitField0_; - - private boolean export_ ; /** *
-       * Should this value be exported.  Export strips fields that a user can not specify.
+       * Whether and how garbage collection will be performed.
+       * Either this field or OrphanDependents may be set, but not both.
+       * The default policy is decided by the existing finalizer set in the
+       * metadata.finalizers and the resource-specific default policy.
+       * Acceptable values are: 'Orphan' - orphan the dependents; 'Background' -
+       * allow the garbage collector to delete the dependents in the background;
+       * 'Foreground' - a cascading policy that deletes all dependents in the
+       * foreground.
+       * +optional
        * 
* - * optional bool export = 1; + * optional string propagationPolicy = 4; */ - public boolean hasExport() { - return ((bitField0_ & 0x00000001) == 0x00000001); + public com.google.protobuf.ByteString + getPropagationPolicyBytes() { + java.lang.Object ref = propagationPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + propagationPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } /** *
-       * Should this value be exported.  Export strips fields that a user can not specify.
+       * Whether and how garbage collection will be performed.
+       * Either this field or OrphanDependents may be set, but not both.
+       * The default policy is decided by the existing finalizer set in the
+       * metadata.finalizers and the resource-specific default policy.
+       * Acceptable values are: 'Orphan' - orphan the dependents; 'Background' -
+       * allow the garbage collector to delete the dependents in the background;
+       * 'Foreground' - a cascading policy that deletes all dependents in the
+       * foreground.
+       * +optional
        * 
* - * optional bool export = 1; + * optional string propagationPolicy = 4; */ - public boolean getExport() { - return export_; + public Builder setPropagationPolicy( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + propagationPolicy_ = value; + onChanged(); + return this; } /** *
-       * Should this value be exported.  Export strips fields that a user can not specify.
+       * Whether and how garbage collection will be performed.
+       * Either this field or OrphanDependents may be set, but not both.
+       * The default policy is decided by the existing finalizer set in the
+       * metadata.finalizers and the resource-specific default policy.
+       * Acceptable values are: 'Orphan' - orphan the dependents; 'Background' -
+       * allow the garbage collector to delete the dependents in the background;
+       * 'Foreground' - a cascading policy that deletes all dependents in the
+       * foreground.
+       * +optional
        * 
* - * optional bool export = 1; + * optional string propagationPolicy = 4; */ - public Builder setExport(boolean value) { - bitField0_ |= 0x00000001; - export_ = value; + public Builder clearPropagationPolicy() { + bitField0_ = (bitField0_ & ~0x00000008); + propagationPolicy_ = getDefaultInstance().getPropagationPolicy(); onChanged(); return this; } /** *
-       * Should this value be exported.  Export strips fields that a user can not specify.
+       * Whether and how garbage collection will be performed.
+       * Either this field or OrphanDependents may be set, but not both.
+       * The default policy is decided by the existing finalizer set in the
+       * metadata.finalizers and the resource-specific default policy.
+       * Acceptable values are: 'Orphan' - orphan the dependents; 'Background' -
+       * allow the garbage collector to delete the dependents in the background;
+       * 'Foreground' - a cascading policy that deletes all dependents in the
+       * foreground.
+       * +optional
        * 
* - * optional bool export = 1; + * optional string propagationPolicy = 4; */ - public Builder clearExport() { - bitField0_ = (bitField0_ & ~0x00000001); - export_ = false; + public Builder setPropagationPolicyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + propagationPolicy_ = value; onChanged(); return this; } - private boolean exact_ ; + private com.google.protobuf.LazyStringList dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureDryRunIsMutable() { + if (!((bitField0_ & 0x00000010) == 0x00000010)) { + dryRun_ = new com.google.protobuf.LazyStringArrayList(dryRun_); + bitField0_ |= 0x00000010; + } + } /** *
-       * Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
+       * When present, indicates that modifications should not be
+       * persisted. An invalid or unrecognized dryRun directive will
+       * result in an error response and no further processing of the
+       * request. Valid values are:
+       * - All: all dry run stages will be processed
+       * +optional
        * 
* - * optional bool exact = 2; + * repeated string dryRun = 5; */ - public boolean hasExact() { - return ((bitField0_ & 0x00000002) == 0x00000002); + public com.google.protobuf.ProtocolStringList + getDryRunList() { + return dryRun_.getUnmodifiableView(); } /** *
-       * Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
+       * When present, indicates that modifications should not be
+       * persisted. An invalid or unrecognized dryRun directive will
+       * result in an error response and no further processing of the
+       * request. Valid values are:
+       * - All: all dry run stages will be processed
+       * +optional
        * 
* - * optional bool exact = 2; + * repeated string dryRun = 5; */ - public boolean getExact() { - return exact_; + public int getDryRunCount() { + return dryRun_.size(); } /** *
-       * Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
+       * When present, indicates that modifications should not be
+       * persisted. An invalid or unrecognized dryRun directive will
+       * result in an error response and no further processing of the
+       * request. Valid values are:
+       * - All: all dry run stages will be processed
+       * +optional
        * 
* - * optional bool exact = 2; + * repeated string dryRun = 5; */ - public Builder setExact(boolean value) { - bitField0_ |= 0x00000002; - exact_ = value; - onChanged(); - return this; + public java.lang.String getDryRun(int index) { + return dryRun_.get(index); } /** *
-       * Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
+       * When present, indicates that modifications should not be
+       * persisted. An invalid or unrecognized dryRun directive will
+       * result in an error response and no further processing of the
+       * request. Valid values are:
+       * - All: all dry run stages will be processed
+       * +optional
        * 
* - * optional bool exact = 2; + * repeated string dryRun = 5; */ - public Builder clearExact() { - bitField0_ = (bitField0_ & ~0x00000002); - exact_ = false; - onChanged(); - return this; + public com.google.protobuf.ByteString + getDryRunBytes(int index) { + return dryRun_.getByteString(index); } - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); + /** + *
+       * When present, indicates that modifications should not be
+       * persisted. An invalid or unrecognized dryRun directive will
+       * result in an error response and no further processing of the
+       * request. Valid values are:
+       * - All: all dry run stages will be processed
+       * +optional
+       * 
+ * + * repeated string dryRun = 5; + */ + public Builder setDryRun( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureDryRunIsMutable(); + dryRun_.set(index, value); + onChanged(); + return this; + } + /** + *
+       * When present, indicates that modifications should not be
+       * persisted. An invalid or unrecognized dryRun directive will
+       * result in an error response and no further processing of the
+       * request. Valid values are:
+       * - All: all dry run stages will be processed
+       * +optional
+       * 
+ * + * repeated string dryRun = 5; + */ + public Builder addDryRun( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureDryRunIsMutable(); + dryRun_.add(value); + onChanged(); + return this; + } + /** + *
+       * When present, indicates that modifications should not be
+       * persisted. An invalid or unrecognized dryRun directive will
+       * result in an error response and no further processing of the
+       * request. Valid values are:
+       * - All: all dry run stages will be processed
+       * +optional
+       * 
+ * + * repeated string dryRun = 5; + */ + public Builder addAllDryRun( + java.lang.Iterable values) { + ensureDryRunIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dryRun_); + onChanged(); + return this; + } + /** + *
+       * When present, indicates that modifications should not be
+       * persisted. An invalid or unrecognized dryRun directive will
+       * result in an error response and no further processing of the
+       * request. Valid values are:
+       * - All: all dry run stages will be processed
+       * +optional
+       * 
+ * + * repeated string dryRun = 5; + */ + public Builder clearDryRun() { + dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + *
+       * When present, indicates that modifications should not be
+       * persisted. An invalid or unrecognized dryRun directive will
+       * result in an error response and no further processing of the
+       * request. Valid values are:
+       * - All: all dry run stages will be processed
+       * +optional
+       * 
+ * + * repeated string dryRun = 5; + */ + public Builder addDryRunBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + ensureDryRunIsMutable(); + dryRun_.add(value); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.ExportOptions) + // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions) } - // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.ExportOptions) - private static final io.kubernetes.client.proto.Meta.ExportOptions DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions) + private static final io.kubernetes.client.proto.Meta.DeleteOptions DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.ExportOptions(); + DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.DeleteOptions(); } - public static io.kubernetes.client.proto.Meta.ExportOptions getDefaultInstance() { + public static io.kubernetes.client.proto.Meta.DeleteOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - public ExportOptions parsePartialFrom( + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ExportOptions(input, extensionRegistry); + return new DeleteOptions(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } - public io.kubernetes.client.proto.Meta.ExportOptions getDefaultInstanceForType() { + @java.lang.Override + public io.kubernetes.client.proto.Meta.DeleteOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface GetOptionsOrBuilder extends - // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions) + public interface DurationOrBuilder extends + // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.Duration) com.google.protobuf.MessageOrBuilder { /** - *
-     * When specified:
-     * - 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 string resourceVersion = 1; - */ - boolean hasResourceVersion(); - /** - *
-     * When specified:
-     * - 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 string resourceVersion = 1; - */ - java.lang.String getResourceVersion(); - /** - *
-     * When specified:
-     * - 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 string resourceVersion = 1; - */ - com.google.protobuf.ByteString - getResourceVersionBytes(); - - /** - *
-     * If true, partially initialized resources are included in the response.
-     * +optional
-     * 
- * - * optional bool includeUninitialized = 2; + * optional int64 duration = 1; */ - boolean hasIncludeUninitialized(); + boolean hasDuration(); /** - *
-     * If true, partially initialized resources are included in the response.
-     * +optional
-     * 
- * - * optional bool includeUninitialized = 2; + * optional int64 duration = 1; */ - boolean getIncludeUninitialized(); + long getDuration(); } /** *
-   * GetOptions is the standard query options to the standard REST get call.
+   * Duration is a wrapper around time.Duration which supports correct
+   * marshaling to YAML and JSON. In particular, it marshals into strings, which
+   * can be used as map keys in json.
    * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Duration} */ - public static final class GetOptions extends + public static final class Duration extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions) - GetOptionsOrBuilder { + // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Duration) + DurationOrBuilder { private static final long serialVersionUID = 0L; - // Use GetOptions.newBuilder() to construct. - private GetOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use Duration.newBuilder() to construct. + private Duration(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetOptions() { - resourceVersion_ = ""; - includeUninitialized_ = false; + private Duration() { + duration_ = 0L; } @java.lang.Override @@ -9749,11 +10671,14 @@ private GetOptions() { getUnknownFields() { return this.unknownFields; } - private GetOptions( + private Duration( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -9765,6 +10690,11 @@ private GetOptions( case 0: done = true; break; + case 8: { + bitField0_ |= 0x00000001; + duration_ = input.readInt64(); + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -9772,17 +10702,6 @@ private GetOptions( } break; } - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - resourceVersion_ = bs; - break; - } - case 16: { - bitField0_ |= 0x00000002; - includeUninitialized_ = input.readBool(); - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -9797,106 +10716,35 @@ private GetOptions( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GetOptions_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Duration_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GetOptions_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Duration_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.GetOptions.class, io.kubernetes.client.proto.Meta.GetOptions.Builder.class); + io.kubernetes.client.proto.Meta.Duration.class, io.kubernetes.client.proto.Meta.Duration.Builder.class); } private int bitField0_; - public static final int RESOURCEVERSION_FIELD_NUMBER = 1; - private volatile java.lang.Object resourceVersion_; + public static final int DURATION_FIELD_NUMBER = 1; + private long duration_; /** - *
-     * When specified:
-     * - 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 string resourceVersion = 1; + * optional int64 duration = 1; */ - public boolean hasResourceVersion() { + public boolean hasDuration() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - *
-     * When specified:
-     * - 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 string resourceVersion = 1; - */ - public java.lang.String getResourceVersion() { - java.lang.Object ref = resourceVersion_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - resourceVersion_ = s; - } - return s; - } - } - /** - *
-     * When specified:
-     * - 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 string resourceVersion = 1; - */ - public com.google.protobuf.ByteString - getResourceVersionBytes() { - java.lang.Object ref = resourceVersion_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - resourceVersion_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int INCLUDEUNINITIALIZED_FIELD_NUMBER = 2; - private boolean includeUninitialized_; - /** - *
-     * If true, partially initialized resources are included in the response.
-     * +optional
-     * 
- * - * optional bool includeUninitialized = 2; - */ - public boolean hasIncludeUninitialized() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - *
-     * If true, partially initialized resources are included in the response.
-     * +optional
-     * 
- * - * optional bool includeUninitialized = 2; + * optional int64 duration = 1; */ - public boolean getIncludeUninitialized() { - return includeUninitialized_; + public long getDuration() { + return duration_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -9906,28 +10754,24 @@ public final boolean isInitialized() { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceVersion_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBool(2, includeUninitialized_); + output.writeInt64(1, duration_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resourceVersion_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, includeUninitialized_); + .computeInt64Size(1, duration_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -9939,21 +10783,16 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.kubernetes.client.proto.Meta.GetOptions)) { + if (!(obj instanceof io.kubernetes.client.proto.Meta.Duration)) { return super.equals(obj); } - io.kubernetes.client.proto.Meta.GetOptions other = (io.kubernetes.client.proto.Meta.GetOptions) obj; + io.kubernetes.client.proto.Meta.Duration other = (io.kubernetes.client.proto.Meta.Duration) obj; boolean result = true; - result = result && (hasResourceVersion() == other.hasResourceVersion()); - if (hasResourceVersion()) { - result = result && getResourceVersion() - .equals(other.getResourceVersion()); - } - result = result && (hasIncludeUninitialized() == other.hasIncludeUninitialized()); - if (hasIncludeUninitialized()) { - result = result && (getIncludeUninitialized() - == other.getIncludeUninitialized()); + result = result && (hasDuration() == other.hasDuration()); + if (hasDuration()) { + result = result && (getDuration() + == other.getDuration()); } result = result && unknownFields.equals(other.unknownFields); return result; @@ -9966,83 +10805,79 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (hasResourceVersion()) { - hash = (37 * hash) + RESOURCEVERSION_FIELD_NUMBER; - hash = (53 * hash) + getResourceVersion().hashCode(); - } - if (hasIncludeUninitialized()) { - hash = (37 * hash) + INCLUDEUNINITIALIZED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIncludeUninitialized()); + if (hasDuration()) { + hash = (37 * hash) + DURATION_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getDuration()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static io.kubernetes.client.proto.Meta.GetOptions parseFrom( + public static io.kubernetes.client.proto.Meta.Duration parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.GetOptions parseFrom( + public static io.kubernetes.client.proto.Meta.Duration parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GetOptions parseFrom( + public static io.kubernetes.client.proto.Meta.Duration parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.GetOptions parseFrom( + public static io.kubernetes.client.proto.Meta.Duration parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GetOptions parseFrom(byte[] data) + public static io.kubernetes.client.proto.Meta.Duration parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.GetOptions parseFrom( + public static io.kubernetes.client.proto.Meta.Duration parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GetOptions parseFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.Duration parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.GetOptions parseFrom( + public static io.kubernetes.client.proto.Meta.Duration parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GetOptions parseDelimitedFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.Duration parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.GetOptions parseDelimitedFrom( + public static io.kubernetes.client.proto.Meta.Duration parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GetOptions parseFrom( + public static io.kubernetes.client.proto.Meta.Duration parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.GetOptions parseFrom( + public static io.kubernetes.client.proto.Meta.Duration parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -10050,13 +10885,15 @@ public static io.kubernetes.client.proto.Meta.GetOptions parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.kubernetes.client.proto.Meta.GetOptions prototype) { + public static Builder newBuilder(io.kubernetes.client.proto.Meta.Duration prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -10070,28 +10907,31 @@ protected Builder newBuilderForType( } /** *
-     * GetOptions is the standard query options to the standard REST get call.
+     * Duration is a wrapper around time.Duration which supports correct
+     * marshaling to YAML and JSON. In particular, it marshals into strings, which
+     * can be used as map keys in json.
      * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Duration} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions) - io.kubernetes.client.proto.Meta.GetOptionsOrBuilder { + // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Duration) + io.kubernetes.client.proto.Meta.DurationOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GetOptions_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Duration_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GetOptions_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Duration_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.GetOptions.class, io.kubernetes.client.proto.Meta.GetOptions.Builder.class); + io.kubernetes.client.proto.Meta.Duration.class, io.kubernetes.client.proto.Meta.Duration.Builder.class); } - // Construct using io.kubernetes.client.proto.Meta.GetOptions.newBuilder() + // Construct using io.kubernetes.client.proto.Meta.Duration.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -10106,112 +10946,115 @@ private void maybeForceBuilderInitialization() { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); - resourceVersion_ = ""; + duration_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); - includeUninitialized_ = false; - bitField0_ = (bitField0_ & ~0x00000002); return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GetOptions_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Duration_descriptor; } - public io.kubernetes.client.proto.Meta.GetOptions getDefaultInstanceForType() { - return io.kubernetes.client.proto.Meta.GetOptions.getDefaultInstance(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.Duration getDefaultInstanceForType() { + return io.kubernetes.client.proto.Meta.Duration.getDefaultInstance(); } - public io.kubernetes.client.proto.Meta.GetOptions build() { - io.kubernetes.client.proto.Meta.GetOptions result = buildPartial(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.Duration build() { + io.kubernetes.client.proto.Meta.Duration result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public io.kubernetes.client.proto.Meta.GetOptions buildPartial() { - io.kubernetes.client.proto.Meta.GetOptions result = new io.kubernetes.client.proto.Meta.GetOptions(this); + @java.lang.Override + public io.kubernetes.client.proto.Meta.Duration buildPartial() { + io.kubernetes.client.proto.Meta.Duration result = new io.kubernetes.client.proto.Meta.Duration(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.resourceVersion_ = resourceVersion_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.includeUninitialized_ = includeUninitialized_; + result.duration_ = duration_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.kubernetes.client.proto.Meta.GetOptions) { - return mergeFrom((io.kubernetes.client.proto.Meta.GetOptions)other); + if (other instanceof io.kubernetes.client.proto.Meta.Duration) { + return mergeFrom((io.kubernetes.client.proto.Meta.Duration)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.kubernetes.client.proto.Meta.GetOptions other) { - if (other == io.kubernetes.client.proto.Meta.GetOptions.getDefaultInstance()) return this; - if (other.hasResourceVersion()) { - bitField0_ |= 0x00000001; - resourceVersion_ = other.resourceVersion_; - onChanged(); - } - if (other.hasIncludeUninitialized()) { - setIncludeUninitialized(other.getIncludeUninitialized()); + public Builder mergeFrom(io.kubernetes.client.proto.Meta.Duration other) { + if (other == io.kubernetes.client.proto.Meta.Duration.getDefaultInstance()) return this; + if (other.hasDuration()) { + setDuration(other.getDuration()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.kubernetes.client.proto.Meta.GetOptions parsedMessage = null; + io.kubernetes.client.proto.Meta.Duration parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.kubernetes.client.proto.Meta.GetOptions) e.getUnfinishedMessage(); + parsedMessage = (io.kubernetes.client.proto.Meta.Duration) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -10222,278 +11065,147 @@ public Builder mergeFrom( } private int bitField0_; - private java.lang.Object resourceVersion_ = ""; + private long duration_ ; /** - *
-       * When specified:
-       * - 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 string resourceVersion = 1; + * optional int64 duration = 1; */ - public boolean hasResourceVersion() { + public boolean hasDuration() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - *
-       * When specified:
-       * - 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 string resourceVersion = 1; - */ - public java.lang.String getResourceVersion() { - java.lang.Object ref = resourceVersion_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - resourceVersion_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * When specified:
-       * - 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 string resourceVersion = 1; + * optional int64 duration = 1; */ - public com.google.protobuf.ByteString - getResourceVersionBytes() { - java.lang.Object ref = resourceVersion_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - resourceVersion_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public long getDuration() { + return duration_; } /** - *
-       * When specified:
-       * - 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 string resourceVersion = 1; + * optional int64 duration = 1; */ - public Builder setResourceVersion( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - resourceVersion_ = value; + public Builder setDuration(long value) { + bitField0_ |= 0x00000001; + duration_ = value; onChanged(); return this; } /** - *
-       * When specified:
-       * - 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 string resourceVersion = 1; + * optional int64 duration = 1; */ - public Builder clearResourceVersion() { + public Builder clearDuration() { bitField0_ = (bitField0_ & ~0x00000001); - resourceVersion_ = getDefaultInstance().getResourceVersion(); + duration_ = 0L; onChanged(); return this; } - /** - *
-       * When specified:
-       * - 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 string resourceVersion = 1; - */ - public Builder setResourceVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - resourceVersion_ = value; - onChanged(); - return this; + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); } - private boolean includeUninitialized_ ; - /** - *
-       * If true, partially initialized resources are included in the response.
-       * +optional
-       * 
- * - * optional bool includeUninitialized = 2; - */ - public boolean hasIncludeUninitialized() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - *
-       * If true, partially initialized resources are included in the response.
-       * +optional
-       * 
- * - * optional bool includeUninitialized = 2; - */ - public boolean getIncludeUninitialized() { - return includeUninitialized_; - } - /** - *
-       * If true, partially initialized resources are included in the response.
-       * +optional
-       * 
- * - * optional bool includeUninitialized = 2; - */ - public Builder setIncludeUninitialized(boolean value) { - bitField0_ |= 0x00000002; - includeUninitialized_ = value; - onChanged(); - return this; - } - /** - *
-       * If true, partially initialized resources are included in the response.
-       * +optional
-       * 
- * - * optional bool includeUninitialized = 2; - */ - public Builder clearIncludeUninitialized() { - bitField0_ = (bitField0_ & ~0x00000002); - includeUninitialized_ = false; - onChanged(); - return this; - } - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions) + // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Duration) } - // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions) - private static final io.kubernetes.client.proto.Meta.GetOptions DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Duration) + private static final io.kubernetes.client.proto.Meta.Duration DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.GetOptions(); + DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.Duration(); } - public static io.kubernetes.client.proto.Meta.GetOptions getDefaultInstance() { + public static io.kubernetes.client.proto.Meta.Duration getDefaultInstance() { return DEFAULT_INSTANCE; } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - public GetOptions parsePartialFrom( + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Duration parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetOptions(input, extensionRegistry); + return new Duration(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } - public io.kubernetes.client.proto.Meta.GetOptions getDefaultInstanceForType() { + @java.lang.Override + public io.kubernetes.client.proto.Meta.Duration getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface GroupKindOrBuilder extends - // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.GroupKind) + public interface ExportOptionsOrBuilder extends + // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.ExportOptions) com.google.protobuf.MessageOrBuilder { /** - * optional string group = 1; - */ - boolean hasGroup(); - /** - * optional string group = 1; + *
+     * Should this value be exported.  Export strips fields that a user can not specify.
+     * 
+ * + * optional bool export = 1; */ - java.lang.String getGroup(); + boolean hasExport(); /** - * optional string group = 1; + *
+     * Should this value be exported.  Export strips fields that a user can not specify.
+     * 
+ * + * optional bool export = 1; */ - com.google.protobuf.ByteString - getGroupBytes(); + boolean getExport(); /** - * optional string kind = 2; - */ - boolean hasKind(); - /** - * optional string kind = 2; + *
+     * Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
+     * 
+ * + * optional bool exact = 2; */ - java.lang.String getKind(); + boolean hasExact(); /** - * optional string kind = 2; + *
+     * Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
+     * 
+ * + * optional bool exact = 2; */ - com.google.protobuf.ByteString - getKindBytes(); + boolean getExact(); } /** *
-   * GroupKind specifies a Group and a Kind, but does not force a version.  This is useful for identifying
-   * concepts during lookup stages without having partially valid types
-   * 
-   * +protobuf.options.(gogoproto.goproto_stringer)=false
+   * ExportOptions is the query options to the standard REST get call.
    * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupKind} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ExportOptions} */ - public static final class GroupKind extends + public static final class ExportOptions extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupKind) - GroupKindOrBuilder { + // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.ExportOptions) + ExportOptionsOrBuilder { private static final long serialVersionUID = 0L; - // Use GroupKind.newBuilder() to construct. - private GroupKind(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use ExportOptions.newBuilder() to construct. + private ExportOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GroupKind() { - group_ = ""; - kind_ = ""; + private ExportOptions() { + export_ = false; + exact_ = false; } @java.lang.Override @@ -10501,11 +11213,14 @@ private GroupKind() { getUnknownFields() { return this.unknownFields; } - private GroupKind( + private ExportOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -10517,6 +11232,16 @@ private GroupKind( case 0: done = true; break; + case 8: { + bitField0_ |= 0x00000001; + export_ = input.readBool(); + break; + } + case 16: { + bitField0_ |= 0x00000002; + exact_ = input.readBool(); + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -10524,18 +11249,6 @@ private GroupKind( } break; } - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - group_ = bs; - break; - } - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000002; - kind_ = bs; - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -10550,102 +11263,66 @@ private GroupKind( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupKind_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ExportOptions_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupKind_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ExportOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.GroupKind.class, io.kubernetes.client.proto.Meta.GroupKind.Builder.class); + io.kubernetes.client.proto.Meta.ExportOptions.class, io.kubernetes.client.proto.Meta.ExportOptions.Builder.class); } private int bitField0_; - public static final int GROUP_FIELD_NUMBER = 1; - private volatile java.lang.Object group_; + public static final int EXPORT_FIELD_NUMBER = 1; + private boolean export_; /** - * optional string group = 1; + *
+     * Should this value be exported.  Export strips fields that a user can not specify.
+     * 
+ * + * optional bool export = 1; */ - public boolean hasGroup() { + public boolean hasExport() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * optional string group = 1; - */ - public java.lang.String getGroup() { - java.lang.Object ref = group_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - group_ = s; - } - return s; - } - } - /** - * optional string group = 1; + *
+     * Should this value be exported.  Export strips fields that a user can not specify.
+     * 
+ * + * optional bool export = 1; */ - public com.google.protobuf.ByteString - getGroupBytes() { - java.lang.Object ref = group_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - group_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public boolean getExport() { + return export_; } - public static final int KIND_FIELD_NUMBER = 2; - private volatile java.lang.Object kind_; + public static final int EXACT_FIELD_NUMBER = 2; + private boolean exact_; /** - * optional string kind = 2; + *
+     * Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
+     * 
+ * + * optional bool exact = 2; */ - public boolean hasKind() { + public boolean hasExact() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * optional string kind = 2; - */ - public java.lang.String getKind() { - java.lang.Object ref = kind_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - kind_ = s; - } - return s; - } - } - /** - * optional string kind = 2; + *
+     * Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
+     * 
+ * + * optional bool exact = 2; */ - public com.google.protobuf.ByteString - getKindBytes() { - java.lang.Object ref = kind_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - kind_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public boolean getExact() { + return exact_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -10655,27 +11332,31 @@ public final boolean isInitialized() { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_); + output.writeBool(1, export_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, kind_); + output.writeBool(2, exact_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, group_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, export_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kind_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, exact_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -10687,21 +11368,21 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.kubernetes.client.proto.Meta.GroupKind)) { + if (!(obj instanceof io.kubernetes.client.proto.Meta.ExportOptions)) { return super.equals(obj); } - io.kubernetes.client.proto.Meta.GroupKind other = (io.kubernetes.client.proto.Meta.GroupKind) obj; + io.kubernetes.client.proto.Meta.ExportOptions other = (io.kubernetes.client.proto.Meta.ExportOptions) obj; boolean result = true; - result = result && (hasGroup() == other.hasGroup()); - if (hasGroup()) { - result = result && getGroup() - .equals(other.getGroup()); + result = result && (hasExport() == other.hasExport()); + if (hasExport()) { + result = result && (getExport() + == other.getExport()); } - result = result && (hasKind() == other.hasKind()); - if (hasKind()) { - result = result && getKind() - .equals(other.getKind()); + result = result && (hasExact() == other.hasExact()); + if (hasExact()) { + result = result && (getExact() + == other.getExact()); } result = result && unknownFields.equals(other.unknownFields); return result; @@ -10714,82 +11395,84 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (hasGroup()) { - hash = (37 * hash) + GROUP_FIELD_NUMBER; - hash = (53 * hash) + getGroup().hashCode(); + if (hasExport()) { + hash = (37 * hash) + EXPORT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getExport()); } - if (hasKind()) { - hash = (37 * hash) + KIND_FIELD_NUMBER; - hash = (53 * hash) + getKind().hashCode(); + if (hasExact()) { + hash = (37 * hash) + EXACT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getExact()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static io.kubernetes.client.proto.Meta.GroupKind parseFrom( + public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.GroupKind parseFrom( + public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupKind parseFrom( + public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.GroupKind parseFrom( + public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupKind parseFrom(byte[] data) + public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.GroupKind parseFrom( + public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupKind parseFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.GroupKind parseFrom( + public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupKind parseDelimitedFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.ExportOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.GroupKind parseDelimitedFrom( + public static io.kubernetes.client.proto.Meta.ExportOptions parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupKind parseFrom( + public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.GroupKind parseFrom( + public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -10797,13 +11480,15 @@ public static io.kubernetes.client.proto.Meta.GroupKind parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.kubernetes.client.proto.Meta.GroupKind prototype) { + public static Builder newBuilder(io.kubernetes.client.proto.Meta.ExportOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -10817,31 +11502,29 @@ protected Builder newBuilderForType( } /** *
-     * GroupKind specifies a Group and a Kind, but does not force a version.  This is useful for identifying
-     * concepts during lookup stages without having partially valid types
-     * 
-     * +protobuf.options.(gogoproto.goproto_stringer)=false
+     * ExportOptions is the query options to the standard REST get call.
      * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupKind} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ExportOptions} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupKind) - io.kubernetes.client.proto.Meta.GroupKindOrBuilder { + // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.ExportOptions) + io.kubernetes.client.proto.Meta.ExportOptionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupKind_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ExportOptions_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupKind_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ExportOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.GroupKind.class, io.kubernetes.client.proto.Meta.GroupKind.Builder.class); + io.kubernetes.client.proto.Meta.ExportOptions.class, io.kubernetes.client.proto.Meta.ExportOptions.Builder.class); } - // Construct using io.kubernetes.client.proto.Meta.GroupKind.newBuilder() + // Construct using io.kubernetes.client.proto.Meta.ExportOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -10856,114 +11539,124 @@ private void maybeForceBuilderInitialization() { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); - group_ = ""; + export_ = false; bitField0_ = (bitField0_ & ~0x00000001); - kind_ = ""; + exact_ = false; bitField0_ = (bitField0_ & ~0x00000002); return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupKind_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ExportOptions_descriptor; } - public io.kubernetes.client.proto.Meta.GroupKind getDefaultInstanceForType() { - return io.kubernetes.client.proto.Meta.GroupKind.getDefaultInstance(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.ExportOptions getDefaultInstanceForType() { + return io.kubernetes.client.proto.Meta.ExportOptions.getDefaultInstance(); } - public io.kubernetes.client.proto.Meta.GroupKind build() { - io.kubernetes.client.proto.Meta.GroupKind result = buildPartial(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.ExportOptions build() { + io.kubernetes.client.proto.Meta.ExportOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public io.kubernetes.client.proto.Meta.GroupKind buildPartial() { - io.kubernetes.client.proto.Meta.GroupKind result = new io.kubernetes.client.proto.Meta.GroupKind(this); + @java.lang.Override + public io.kubernetes.client.proto.Meta.ExportOptions buildPartial() { + io.kubernetes.client.proto.Meta.ExportOptions result = new io.kubernetes.client.proto.Meta.ExportOptions(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.group_ = group_; + result.export_ = export_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.kind_ = kind_; + result.exact_ = exact_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.kubernetes.client.proto.Meta.GroupKind) { - return mergeFrom((io.kubernetes.client.proto.Meta.GroupKind)other); + if (other instanceof io.kubernetes.client.proto.Meta.ExportOptions) { + return mergeFrom((io.kubernetes.client.proto.Meta.ExportOptions)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.kubernetes.client.proto.Meta.GroupKind other) { - if (other == io.kubernetes.client.proto.Meta.GroupKind.getDefaultInstance()) return this; - if (other.hasGroup()) { - bitField0_ |= 0x00000001; - group_ = other.group_; - onChanged(); + public Builder mergeFrom(io.kubernetes.client.proto.Meta.ExportOptions other) { + if (other == io.kubernetes.client.proto.Meta.ExportOptions.getDefaultInstance()) return this; + if (other.hasExport()) { + setExport(other.getExport()); } - if (other.hasKind()) { - bitField0_ |= 0x00000002; - kind_ = other.kind_; - onChanged(); + if (other.hasExact()) { + setExact(other.getExact()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.kubernetes.client.proto.Meta.GroupKind parsedMessage = null; + io.kubernetes.client.proto.Meta.ExportOptions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.kubernetes.client.proto.Meta.GroupKind) e.getUnfinishedMessage(); + parsedMessage = (io.kubernetes.client.proto.Meta.ExportOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -10974,260 +11667,211 @@ public Builder mergeFrom( } private int bitField0_; - private java.lang.Object group_ = ""; + private boolean export_ ; /** - * optional string group = 1; + *
+       * Should this value be exported.  Export strips fields that a user can not specify.
+       * 
+ * + * optional bool export = 1; */ - public boolean hasGroup() { + public boolean hasExport() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * optional string group = 1; - */ - public java.lang.String getGroup() { - java.lang.Object ref = group_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - group_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string group = 1; + *
+       * Should this value be exported.  Export strips fields that a user can not specify.
+       * 
+ * + * optional bool export = 1; */ - public com.google.protobuf.ByteString - getGroupBytes() { - java.lang.Object ref = group_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - group_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public boolean getExport() { + return export_; } /** - * optional string group = 1; + *
+       * Should this value be exported.  Export strips fields that a user can not specify.
+       * 
+ * + * optional bool export = 1; */ - public Builder setGroup( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - group_ = value; + public Builder setExport(boolean value) { + bitField0_ |= 0x00000001; + export_ = value; onChanged(); return this; } /** - * optional string group = 1; + *
+       * Should this value be exported.  Export strips fields that a user can not specify.
+       * 
+ * + * optional bool export = 1; */ - public Builder clearGroup() { + public Builder clearExport() { bitField0_ = (bitField0_ & ~0x00000001); - group_ = getDefaultInstance().getGroup(); - onChanged(); - return this; - } - /** - * optional string group = 1; - */ - public Builder setGroupBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - group_ = value; + export_ = false; onChanged(); return this; } - private java.lang.Object kind_ = ""; + private boolean exact_ ; /** - * optional string kind = 2; + *
+       * Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
+       * 
+ * + * optional bool exact = 2; */ - public boolean hasKind() { + public boolean hasExact() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * optional string kind = 2; + *
+       * Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
+       * 
+ * + * optional bool exact = 2; */ - public java.lang.String getKind() { - java.lang.Object ref = kind_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - kind_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } + public boolean getExact() { + return exact_; } /** - * optional string kind = 2; + *
+       * Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
+       * 
+ * + * optional bool exact = 2; */ - public com.google.protobuf.ByteString - getKindBytes() { - java.lang.Object ref = kind_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - kind_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string kind = 2; - */ - public Builder setKind( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - kind_ = value; + public Builder setExact(boolean value) { + bitField0_ |= 0x00000002; + exact_ = value; onChanged(); return this; } /** - * optional string kind = 2; + *
+       * Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
+       * 
+ * + * optional bool exact = 2; */ - public Builder clearKind() { + public Builder clearExact() { bitField0_ = (bitField0_ & ~0x00000002); - kind_ = getDefaultInstance().getKind(); - onChanged(); - return this; - } - /** - * optional string kind = 2; - */ - public Builder setKindBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - kind_ = value; + exact_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupKind) + // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.ExportOptions) } - // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupKind) - private static final io.kubernetes.client.proto.Meta.GroupKind DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.ExportOptions) + private static final io.kubernetes.client.proto.Meta.ExportOptions DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.GroupKind(); + DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.ExportOptions(); } - public static io.kubernetes.client.proto.Meta.GroupKind getDefaultInstance() { + public static io.kubernetes.client.proto.Meta.ExportOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - public GroupKind parsePartialFrom( + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GroupKind(input, extensionRegistry); + return new ExportOptions(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } - public io.kubernetes.client.proto.Meta.GroupKind getDefaultInstanceForType() { + @java.lang.Override + public io.kubernetes.client.proto.Meta.ExportOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface GroupResourceOrBuilder extends - // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.GroupResource) + public interface GetOptionsOrBuilder extends + // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions) com.google.protobuf.MessageOrBuilder { /** - * optional string group = 1; - */ - boolean hasGroup(); - /** - * optional string group = 1; - */ - java.lang.String getGroup(); - /** - * optional string group = 1; - */ - com.google.protobuf.ByteString - getGroupBytes(); - - /** - * optional string resource = 2; + *
+     * When specified:
+     * - 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 string resourceVersion = 1; */ - boolean hasResource(); + boolean hasResourceVersion(); /** - * optional string resource = 2; + *
+     * When specified:
+     * - 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 string resourceVersion = 1; */ - java.lang.String getResource(); + java.lang.String getResourceVersion(); /** - * optional string resource = 2; + *
+     * When specified:
+     * - 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 string resourceVersion = 1; */ com.google.protobuf.ByteString - getResourceBytes(); + getResourceVersionBytes(); } /** *
-   * GroupResource specifies a Group and a Resource, but does not force a version.  This is useful for identifying
-   * concepts during lookup stages without having partially valid types
-   * 
-   * +protobuf.options.(gogoproto.goproto_stringer)=false
+   * GetOptions is the standard query options to the standard REST get call.
    * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupResource} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions} */ - public static final class GroupResource extends + public static final class GetOptions extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupResource) - GroupResourceOrBuilder { + // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions) + GetOptionsOrBuilder { private static final long serialVersionUID = 0L; - // Use GroupResource.newBuilder() to construct. - private GroupResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use GetOptions.newBuilder() to construct. + private GetOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GroupResource() { - group_ = ""; - resource_ = ""; + private GetOptions() { + resourceVersion_ = ""; } @java.lang.Override @@ -11235,11 +11879,14 @@ private GroupResource() { getUnknownFields() { return this.unknownFields; } - private GroupResource( + private GetOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -11251,23 +11898,17 @@ private GroupResource( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - group_ = bs; + resourceVersion_ = bs; break; } - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000002; - resource_ = bs; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } break; } } @@ -11284,72 +11925,45 @@ private GroupResource( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupResource_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GetOptions_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupResource_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GetOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.GroupResource.class, io.kubernetes.client.proto.Meta.GroupResource.Builder.class); + io.kubernetes.client.proto.Meta.GetOptions.class, io.kubernetes.client.proto.Meta.GetOptions.Builder.class); } private int bitField0_; - public static final int GROUP_FIELD_NUMBER = 1; - private volatile java.lang.Object group_; + public static final int RESOURCEVERSION_FIELD_NUMBER = 1; + private volatile java.lang.Object resourceVersion_; /** - * optional string group = 1; + *
+     * When specified:
+     * - 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 string resourceVersion = 1; */ - public boolean hasGroup() { + public boolean hasResourceVersion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * optional string group = 1; - */ - public java.lang.String getGroup() { - java.lang.Object ref = group_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - group_ = s; - } - return s; - } - } - /** - * optional string group = 1; - */ - public com.google.protobuf.ByteString - getGroupBytes() { - java.lang.Object ref = group_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - group_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int RESOURCE_FIELD_NUMBER = 2; - private volatile java.lang.Object resource_; - /** - * optional string resource = 2; - */ - public boolean hasResource() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - * optional string resource = 2; + *
+     * When specified:
+     * - 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 string resourceVersion = 1; */ - public java.lang.String getResource() { - java.lang.Object ref = resource_; + public java.lang.String getResourceVersion() { + java.lang.Object ref = resourceVersion_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { @@ -11357,22 +11971,29 @@ public java.lang.String getResource() { (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { - resource_ = s; + resourceVersion_ = s; } return s; } } /** - * optional string resource = 2; + *
+     * When specified:
+     * - 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 string resourceVersion = 1; */ public com.google.protobuf.ByteString - getResourceBytes() { - java.lang.Object ref = resource_; + getResourceVersionBytes() { + java.lang.Object ref = resourceVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - resource_ = b; + resourceVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; @@ -11380,6 +12001,7 @@ public java.lang.String getResource() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -11389,27 +12011,23 @@ public final boolean isInitialized() { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resource_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceVersion_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, group_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resource_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resourceVersion_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -11421,21 +12039,16 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.kubernetes.client.proto.Meta.GroupResource)) { + if (!(obj instanceof io.kubernetes.client.proto.Meta.GetOptions)) { return super.equals(obj); } - io.kubernetes.client.proto.Meta.GroupResource other = (io.kubernetes.client.proto.Meta.GroupResource) obj; + io.kubernetes.client.proto.Meta.GetOptions other = (io.kubernetes.client.proto.Meta.GetOptions) obj; boolean result = true; - result = result && (hasGroup() == other.hasGroup()); - if (hasGroup()) { - result = result && getGroup() - .equals(other.getGroup()); - } - result = result && (hasResource() == other.hasResource()); - if (hasResource()) { - result = result && getResource() - .equals(other.getResource()); + result = result && (hasResourceVersion() == other.hasResourceVersion()); + if (hasResourceVersion()) { + result = result && getResourceVersion() + .equals(other.getResourceVersion()); } result = result && unknownFields.equals(other.unknownFields); return result; @@ -11448,82 +12061,78 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (hasGroup()) { - hash = (37 * hash) + GROUP_FIELD_NUMBER; - hash = (53 * hash) + getGroup().hashCode(); - } - if (hasResource()) { - hash = (37 * hash) + RESOURCE_FIELD_NUMBER; - hash = (53 * hash) + getResource().hashCode(); + if (hasResourceVersion()) { + hash = (37 * hash) + RESOURCEVERSION_FIELD_NUMBER; + hash = (53 * hash) + getResourceVersion().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static io.kubernetes.client.proto.Meta.GroupResource parseFrom( + public static io.kubernetes.client.proto.Meta.GetOptions parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.GroupResource parseFrom( + public static io.kubernetes.client.proto.Meta.GetOptions parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupResource parseFrom( + public static io.kubernetes.client.proto.Meta.GetOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.GroupResource parseFrom( + public static io.kubernetes.client.proto.Meta.GetOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupResource parseFrom(byte[] data) + public static io.kubernetes.client.proto.Meta.GetOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.GroupResource parseFrom( + public static io.kubernetes.client.proto.Meta.GetOptions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupResource parseFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.GetOptions parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.GroupResource parseFrom( + public static io.kubernetes.client.proto.Meta.GetOptions parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupResource parseDelimitedFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.GetOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.GroupResource parseDelimitedFrom( + public static io.kubernetes.client.proto.Meta.GetOptions parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupResource parseFrom( + public static io.kubernetes.client.proto.Meta.GetOptions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.GroupResource parseFrom( + public static io.kubernetes.client.proto.Meta.GetOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -11531,13 +12140,15 @@ public static io.kubernetes.client.proto.Meta.GroupResource parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.kubernetes.client.proto.Meta.GroupResource prototype) { + public static Builder newBuilder(io.kubernetes.client.proto.Meta.GetOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -11551,31 +12162,29 @@ protected Builder newBuilderForType( } /** *
-     * GroupResource specifies a Group and a Resource, but does not force a version.  This is useful for identifying
-     * concepts during lookup stages without having partially valid types
-     * 
-     * +protobuf.options.(gogoproto.goproto_stringer)=false
+     * GetOptions is the standard query options to the standard REST get call.
      * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupResource} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupResource) - io.kubernetes.client.proto.Meta.GroupResourceOrBuilder { + // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions) + io.kubernetes.client.proto.Meta.GetOptionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupResource_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GetOptions_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupResource_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GetOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.GroupResource.class, io.kubernetes.client.proto.Meta.GroupResource.Builder.class); + io.kubernetes.client.proto.Meta.GetOptions.class, io.kubernetes.client.proto.Meta.GetOptions.Builder.class); } - // Construct using io.kubernetes.client.proto.Meta.GroupResource.newBuilder() + // Construct using io.kubernetes.client.proto.Meta.GetOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -11590,94 +12199,95 @@ private void maybeForceBuilderInitialization() { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); - group_ = ""; + resourceVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000001); - resource_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupResource_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GetOptions_descriptor; } - public io.kubernetes.client.proto.Meta.GroupResource getDefaultInstanceForType() { - return io.kubernetes.client.proto.Meta.GroupResource.getDefaultInstance(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.GetOptions getDefaultInstanceForType() { + return io.kubernetes.client.proto.Meta.GetOptions.getDefaultInstance(); } - public io.kubernetes.client.proto.Meta.GroupResource build() { - io.kubernetes.client.proto.Meta.GroupResource result = buildPartial(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.GetOptions build() { + io.kubernetes.client.proto.Meta.GetOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public io.kubernetes.client.proto.Meta.GroupResource buildPartial() { - io.kubernetes.client.proto.Meta.GroupResource result = new io.kubernetes.client.proto.Meta.GroupResource(this); + @java.lang.Override + public io.kubernetes.client.proto.Meta.GetOptions buildPartial() { + io.kubernetes.client.proto.Meta.GetOptions result = new io.kubernetes.client.proto.Meta.GetOptions(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.group_ = group_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.resource_ = resource_; + result.resourceVersion_ = resourceVersion_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.kubernetes.client.proto.Meta.GroupResource) { - return mergeFrom((io.kubernetes.client.proto.Meta.GroupResource)other); + if (other instanceof io.kubernetes.client.proto.Meta.GetOptions) { + return mergeFrom((io.kubernetes.client.proto.Meta.GetOptions)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.kubernetes.client.proto.Meta.GroupResource other) { - if (other == io.kubernetes.client.proto.Meta.GroupResource.getDefaultInstance()) return this; - if (other.hasGroup()) { + public Builder mergeFrom(io.kubernetes.client.proto.Meta.GetOptions other) { + if (other == io.kubernetes.client.proto.Meta.GetOptions.getDefaultInstance()) return this; + if (other.hasResourceVersion()) { bitField0_ |= 0x00000001; - group_ = other.group_; - onChanged(); - } - if (other.hasResource()) { - bitField0_ |= 0x00000002; - resource_ = other.resource_; + resourceVersion_ = other.resourceVersion_; onChanged(); } this.mergeUnknownFields(other.unknownFields); @@ -11685,19 +12295,21 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.GroupResource other) { return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.kubernetes.client.proto.Meta.GroupResource parsedMessage = null; + io.kubernetes.client.proto.Meta.GetOptions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.kubernetes.client.proto.Meta.GroupResource) e.getUnfinishedMessage(); + parsedMessage = (io.kubernetes.client.proto.Meta.GetOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -11708,24 +12320,38 @@ public Builder mergeFrom( } private int bitField0_; - private java.lang.Object group_ = ""; + private java.lang.Object resourceVersion_ = ""; /** - * optional string group = 1; + *
+       * When specified:
+       * - 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 string resourceVersion = 1; */ - public boolean hasGroup() { + public boolean hasResourceVersion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * optional string group = 1; + *
+       * When specified:
+       * - 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 string resourceVersion = 1; */ - public java.lang.String getGroup() { - java.lang.Object ref = group_; + public java.lang.String getResourceVersion() { + java.lang.Object ref = resourceVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { - group_ = s; + resourceVersion_ = s; } return s; } else { @@ -11733,183 +12359,139 @@ public java.lang.String getGroup() { } } /** - * optional string group = 1; + *
+       * When specified:
+       * - 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 string resourceVersion = 1; */ public com.google.protobuf.ByteString - getGroupBytes() { - java.lang.Object ref = group_; + getResourceVersionBytes() { + java.lang.Object ref = resourceVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - group_ = b; + resourceVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** - * optional string group = 1; + *
+       * When specified:
+       * - 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 string resourceVersion = 1; */ - public Builder setGroup( + public Builder setResourceVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; - group_ = value; + resourceVersion_ = value; onChanged(); return this; } /** - * optional string group = 1; + *
+       * When specified:
+       * - 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 string resourceVersion = 1; */ - public Builder clearGroup() { + public Builder clearResourceVersion() { bitField0_ = (bitField0_ & ~0x00000001); - group_ = getDefaultInstance().getGroup(); + resourceVersion_ = getDefaultInstance().getResourceVersion(); onChanged(); return this; } /** - * optional string group = 1; + *
+       * When specified:
+       * - 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 string resourceVersion = 1; */ - public Builder setGroupBytes( + public Builder setResourceVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; - group_ = value; + resourceVersion_ = value; onChanged(); return this; } - - private java.lang.Object resource_ = ""; - /** - * optional string resource = 2; - */ - public boolean hasResource() { - return ((bitField0_ & 0x00000002) == 0x00000002); + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); } - /** - * optional string resource = 2; - */ - public java.lang.String getResource() { - java.lang.Object ref = resource_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - resource_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string resource = 2; - */ - public com.google.protobuf.ByteString - getResourceBytes() { - java.lang.Object ref = resource_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - resource_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string resource = 2; - */ - public Builder setResource( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - resource_ = value; - onChanged(); - return this; - } - /** - * optional string resource = 2; - */ - public Builder clearResource() { - bitField0_ = (bitField0_ & ~0x00000002); - resource_ = getDefaultInstance().getResource(); - onChanged(); - return this; - } - /** - * optional string resource = 2; - */ - public Builder setResourceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - resource_ = value; - onChanged(); - return this; - } - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupResource) + // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions) } - // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupResource) - private static final io.kubernetes.client.proto.Meta.GroupResource DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions) + private static final io.kubernetes.client.proto.Meta.GetOptions DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.GroupResource(); + DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.GetOptions(); } - public static io.kubernetes.client.proto.Meta.GroupResource getDefaultInstance() { + public static io.kubernetes.client.proto.Meta.GetOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - public GroupResource parsePartialFrom( + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GroupResource(input, extensionRegistry); + return new GetOptions(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } - public io.kubernetes.client.proto.Meta.GroupResource getDefaultInstanceForType() { + @java.lang.Override + public io.kubernetes.client.proto.Meta.GetOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface GroupVersionOrBuilder extends - // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersion) + public interface GroupKindOrBuilder extends + // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.GroupKind) com.google.protobuf.MessageOrBuilder { /** @@ -11927,40 +12509,40 @@ public interface GroupVersionOrBuilder extends getGroupBytes(); /** - * optional string version = 2; + * optional string kind = 2; */ - boolean hasVersion(); + boolean hasKind(); /** - * optional string version = 2; + * optional string kind = 2; */ - java.lang.String getVersion(); + java.lang.String getKind(); /** - * optional string version = 2; + * optional string kind = 2; */ com.google.protobuf.ByteString - getVersionBytes(); + getKindBytes(); } /** *
-   * GroupVersion contains the "group" and the "version", which uniquely identifies the API.
-   * 
+   * GroupKind specifies a Group and a Kind, but does not force a version.  This is useful for identifying
+   * concepts during lookup stages without having partially valid types
    * +protobuf.options.(gogoproto.goproto_stringer)=false
    * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersion} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupKind} */ - public static final class GroupVersion extends + public static final class GroupKind extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersion) - GroupVersionOrBuilder { + // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupKind) + GroupKindOrBuilder { private static final long serialVersionUID = 0L; - // Use GroupVersion.newBuilder() to construct. - private GroupVersion(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use GroupKind.newBuilder() to construct. + private GroupKind(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GroupVersion() { + private GroupKind() { group_ = ""; - version_ = ""; + kind_ = ""; } @java.lang.Override @@ -11968,11 +12550,14 @@ private GroupVersion() { getUnknownFields() { return this.unknownFields; } - private GroupVersion( + private GroupKind( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -11984,13 +12569,6 @@ private GroupVersion( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; @@ -12000,7 +12578,14 @@ private GroupVersion( case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - version_ = bs; + kind_ = bs; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } break; } } @@ -12017,14 +12602,15 @@ private GroupVersion( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersion_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupKind_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersion_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupKind_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.GroupVersion.class, io.kubernetes.client.proto.Meta.GroupVersion.Builder.class); + io.kubernetes.client.proto.Meta.GroupKind.class, io.kubernetes.client.proto.Meta.GroupKind.Builder.class); } private int bitField0_; @@ -12070,19 +12656,19 @@ public java.lang.String getGroup() { } } - public static final int VERSION_FIELD_NUMBER = 2; - private volatile java.lang.Object version_; + public static final int KIND_FIELD_NUMBER = 2; + private volatile java.lang.Object kind_; /** - * optional string version = 2; + * optional string kind = 2; */ - public boolean hasVersion() { + public boolean hasKind() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * optional string version = 2; + * optional string kind = 2; */ - public java.lang.String getVersion() { - java.lang.Object ref = version_; + public java.lang.String getKind() { + java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { @@ -12090,22 +12676,22 @@ public java.lang.String getVersion() { (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { - version_ = s; + kind_ = s; } return s; } } /** - * optional string version = 2; + * optional string kind = 2; */ public com.google.protobuf.ByteString - getVersionBytes() { - java.lang.Object ref = version_; + getKindBytes() { + java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - version_ = b; + kind_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; @@ -12113,6 +12699,7 @@ public java.lang.String getVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -12122,17 +12709,19 @@ public final boolean isInitialized() { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, kind_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -12142,7 +12731,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, group_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kind_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -12154,10 +12743,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.kubernetes.client.proto.Meta.GroupVersion)) { + if (!(obj instanceof io.kubernetes.client.proto.Meta.GroupKind)) { return super.equals(obj); } - io.kubernetes.client.proto.Meta.GroupVersion other = (io.kubernetes.client.proto.Meta.GroupVersion) obj; + io.kubernetes.client.proto.Meta.GroupKind other = (io.kubernetes.client.proto.Meta.GroupKind) obj; boolean result = true; result = result && (hasGroup() == other.hasGroup()); @@ -12165,10 +12754,10 @@ public boolean equals(final java.lang.Object obj) { result = result && getGroup() .equals(other.getGroup()); } - result = result && (hasVersion() == other.hasVersion()); - if (hasVersion()) { - result = result && getVersion() - .equals(other.getVersion()); + result = result && (hasKind() == other.hasKind()); + if (hasKind()) { + result = result && getKind() + .equals(other.getKind()); } result = result && unknownFields.equals(other.unknownFields); return result; @@ -12185,78 +12774,78 @@ public int hashCode() { hash = (37 * hash) + GROUP_FIELD_NUMBER; hash = (53 * hash) + getGroup().hashCode(); } - if (hasVersion()) { - hash = (37 * hash) + VERSION_FIELD_NUMBER; - hash = (53 * hash) + getVersion().hashCode(); + if (hasKind()) { + hash = (37 * hash) + KIND_FIELD_NUMBER; + hash = (53 * hash) + getKind().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom( + public static io.kubernetes.client.proto.Meta.GroupKind parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom( + public static io.kubernetes.client.proto.Meta.GroupKind parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom( + public static io.kubernetes.client.proto.Meta.GroupKind parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom( + public static io.kubernetes.client.proto.Meta.GroupKind parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom(byte[] data) + public static io.kubernetes.client.proto.Meta.GroupKind parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom( + public static io.kubernetes.client.proto.Meta.GroupKind parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.GroupKind parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom( + public static io.kubernetes.client.proto.Meta.GroupKind parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupVersion parseDelimitedFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.GroupKind parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.GroupVersion parseDelimitedFrom( + public static io.kubernetes.client.proto.Meta.GroupKind parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom( + public static io.kubernetes.client.proto.Meta.GroupKind parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom( + public static io.kubernetes.client.proto.Meta.GroupKind parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -12264,13 +12853,15 @@ public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.kubernetes.client.proto.Meta.GroupVersion prototype) { + public static Builder newBuilder(io.kubernetes.client.proto.Meta.GroupKind prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -12284,30 +12875,31 @@ protected Builder newBuilderForType( } /** *
-     * GroupVersion contains the "group" and the "version", which uniquely identifies the API.
-     * 
+     * GroupKind specifies a Group and a Kind, but does not force a version.  This is useful for identifying
+     * concepts during lookup stages without having partially valid types
      * +protobuf.options.(gogoproto.goproto_stringer)=false
      * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersion} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupKind} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersion) - io.kubernetes.client.proto.Meta.GroupVersionOrBuilder { + // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupKind) + io.kubernetes.client.proto.Meta.GroupKindOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersion_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupKind_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersion_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupKind_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.GroupVersion.class, io.kubernetes.client.proto.Meta.GroupVersion.Builder.class); + io.kubernetes.client.proto.Meta.GroupKind.class, io.kubernetes.client.proto.Meta.GroupKind.Builder.class); } - // Construct using io.kubernetes.client.proto.Meta.GroupVersion.newBuilder() + // Construct using io.kubernetes.client.proto.Meta.GroupKind.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -12322,34 +12914,39 @@ private void maybeForceBuilderInitialization() { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); group_ = ""; bitField0_ = (bitField0_ & ~0x00000001); - version_ = ""; + kind_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersion_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupKind_descriptor; } - public io.kubernetes.client.proto.Meta.GroupVersion getDefaultInstanceForType() { - return io.kubernetes.client.proto.Meta.GroupVersion.getDefaultInstance(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.GroupKind getDefaultInstanceForType() { + return io.kubernetes.client.proto.Meta.GroupKind.getDefaultInstance(); } - public io.kubernetes.client.proto.Meta.GroupVersion build() { - io.kubernetes.client.proto.Meta.GroupVersion result = buildPartial(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.GroupKind build() { + io.kubernetes.client.proto.Meta.GroupKind result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public io.kubernetes.client.proto.Meta.GroupVersion buildPartial() { - io.kubernetes.client.proto.Meta.GroupVersion result = new io.kubernetes.client.proto.Meta.GroupVersion(this); + @java.lang.Override + public io.kubernetes.client.proto.Meta.GroupKind buildPartial() { + io.kubernetes.client.proto.Meta.GroupKind result = new io.kubernetes.client.proto.Meta.GroupKind(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -12359,57 +12956,64 @@ public io.kubernetes.client.proto.Meta.GroupVersion buildPartial() { if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.version_ = version_; + result.kind_ = kind_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.kubernetes.client.proto.Meta.GroupVersion) { - return mergeFrom((io.kubernetes.client.proto.Meta.GroupVersion)other); + if (other instanceof io.kubernetes.client.proto.Meta.GroupKind) { + return mergeFrom((io.kubernetes.client.proto.Meta.GroupKind)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.kubernetes.client.proto.Meta.GroupVersion other) { - if (other == io.kubernetes.client.proto.Meta.GroupVersion.getDefaultInstance()) return this; + public Builder mergeFrom(io.kubernetes.client.proto.Meta.GroupKind other) { + if (other == io.kubernetes.client.proto.Meta.GroupKind.getDefaultInstance()) return this; if (other.hasGroup()) { bitField0_ |= 0x00000001; group_ = other.group_; onChanged(); } - if (other.hasVersion()) { + if (other.hasKind()) { bitField0_ |= 0x00000002; - version_ = other.version_; + kind_ = other.kind_; onChanged(); } this.mergeUnknownFields(other.unknownFields); @@ -12417,19 +13021,21 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.GroupVersion other) { return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.kubernetes.client.proto.Meta.GroupVersion parsedMessage = null; + io.kubernetes.client.proto.Meta.GroupKind parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.kubernetes.client.proto.Meta.GroupVersion) e.getUnfinishedMessage(); + parsedMessage = (io.kubernetes.client.proto.Meta.GroupKind) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -12516,24 +13122,24 @@ public Builder setGroupBytes( return this; } - private java.lang.Object version_ = ""; + private java.lang.Object kind_ = ""; /** - * optional string version = 2; + * optional string kind = 2; */ - public boolean hasVersion() { + public boolean hasKind() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * optional string version = 2; + * optional string kind = 2; */ - public java.lang.String getVersion() { - java.lang.Object ref = version_; + public java.lang.String getKind() { + java.lang.Object ref = kind_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { - version_ = s; + kind_ = s; } return s; } else { @@ -12541,184 +13147,162 @@ public java.lang.String getVersion() { } } /** - * optional string version = 2; + * optional string kind = 2; */ public com.google.protobuf.ByteString - getVersionBytes() { - java.lang.Object ref = version_; + getKindBytes() { + java.lang.Object ref = kind_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - version_ = b; + kind_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** - * optional string version = 2; + * optional string kind = 2; */ - public Builder setVersion( + public Builder setKind( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; - version_ = value; + kind_ = value; onChanged(); return this; } /** - * optional string version = 2; + * optional string kind = 2; */ - public Builder clearVersion() { + public Builder clearKind() { bitField0_ = (bitField0_ & ~0x00000002); - version_ = getDefaultInstance().getVersion(); + kind_ = getDefaultInstance().getKind(); onChanged(); return this; } /** - * optional string version = 2; + * optional string kind = 2; */ - public Builder setVersionBytes( + public Builder setKindBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; - version_ = value; + kind_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersion) + // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupKind) } - // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersion) - private static final io.kubernetes.client.proto.Meta.GroupVersion DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupKind) + private static final io.kubernetes.client.proto.Meta.GroupKind DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.GroupVersion(); + DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.GroupKind(); } - public static io.kubernetes.client.proto.Meta.GroupVersion getDefaultInstance() { + public static io.kubernetes.client.proto.Meta.GroupKind getDefaultInstance() { return DEFAULT_INSTANCE; } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - public GroupVersion parsePartialFrom( + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GroupKind parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GroupVersion(input, extensionRegistry); + return new GroupKind(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } - public io.kubernetes.client.proto.Meta.GroupVersion getDefaultInstanceForType() { + @java.lang.Override + public io.kubernetes.client.proto.Meta.GroupKind getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface GroupVersionForDiscoveryOrBuilder extends - // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery) + public interface GroupResourceOrBuilder extends + // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.GroupResource) com.google.protobuf.MessageOrBuilder { /** - *
-     * groupVersion specifies the API group and version in the form "group/version"
-     * 
- * - * optional string groupVersion = 1; + * optional string group = 1; */ - boolean hasGroupVersion(); + boolean hasGroup(); /** - *
-     * groupVersion specifies the API group and version in the form "group/version"
-     * 
- * - * optional string groupVersion = 1; + * optional string group = 1; */ - java.lang.String getGroupVersion(); + java.lang.String getGroup(); /** - *
-     * groupVersion specifies the API group and version in the form "group/version"
-     * 
- * - * optional string groupVersion = 1; + * optional string group = 1; */ com.google.protobuf.ByteString - getGroupVersionBytes(); + getGroupBytes(); /** - *
-     * version specifies the version in the form of "version". This is to save
-     * the clients the trouble of splitting the GroupVersion.
-     * 
- * - * optional string version = 2; + * optional string resource = 2; */ - boolean hasVersion(); + boolean hasResource(); /** - *
-     * version specifies the version in the form of "version". This is to save
-     * the clients the trouble of splitting the GroupVersion.
-     * 
- * - * optional string version = 2; + * optional string resource = 2; */ - java.lang.String getVersion(); + java.lang.String getResource(); /** - *
-     * version specifies the version in the form of "version". This is to save
-     * the clients the trouble of splitting the GroupVersion.
-     * 
- * - * optional string version = 2; + * optional string resource = 2; */ com.google.protobuf.ByteString - getVersionBytes(); + getResourceBytes(); } /** *
-   * GroupVersion contains the "group/version" and "version" string of a version.
-   * It is made a struct to keep extensibility.
+   * GroupResource specifies a Group and a Resource, but does not force a version.  This is useful for identifying
+   * concepts during lookup stages without having partially valid types
+   * +protobuf.options.(gogoproto.goproto_stringer)=false
    * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupResource} */ - public static final class GroupVersionForDiscovery extends + public static final class GroupResource extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery) - GroupVersionForDiscoveryOrBuilder { + // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupResource) + GroupResourceOrBuilder { private static final long serialVersionUID = 0L; - // Use GroupVersionForDiscovery.newBuilder() to construct. - private GroupVersionForDiscovery(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use GroupResource.newBuilder() to construct. + private GroupResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GroupVersionForDiscovery() { - groupVersion_ = ""; - version_ = ""; + private GroupResource() { + group_ = ""; + resource_ = ""; } @java.lang.Override @@ -12726,11 +13310,14 @@ private GroupVersionForDiscovery() { getUnknownFields() { return this.unknownFields; } - private GroupVersionForDiscovery( + private GroupResource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -12742,23 +13329,23 @@ private GroupVersionForDiscovery( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - groupVersion_ = bs; + group_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - version_ = bs; + resource_ = bs; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } break; } } @@ -12775,38 +13362,31 @@ private GroupVersionForDiscovery( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionForDiscovery_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupResource_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionForDiscovery_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.class, io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.Builder.class); + io.kubernetes.client.proto.Meta.GroupResource.class, io.kubernetes.client.proto.Meta.GroupResource.Builder.class); } private int bitField0_; - public static final int GROUPVERSION_FIELD_NUMBER = 1; - private volatile java.lang.Object groupVersion_; + public static final int GROUP_FIELD_NUMBER = 1; + private volatile java.lang.Object group_; /** - *
-     * groupVersion specifies the API group and version in the form "group/version"
-     * 
- * - * optional string groupVersion = 1; + * optional string group = 1; */ - public boolean hasGroupVersion() { + public boolean hasGroup() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - *
-     * groupVersion specifies the API group and version in the form "group/version"
-     * 
- * - * optional string groupVersion = 1; + * optional string group = 1; */ - public java.lang.String getGroupVersion() { - java.lang.Object ref = groupVersion_; + public java.lang.String getGroup() { + java.lang.Object ref = group_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { @@ -12814,55 +13394,41 @@ public java.lang.String getGroupVersion() { (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { - groupVersion_ = s; + group_ = s; } return s; } } /** - *
-     * groupVersion specifies the API group and version in the form "group/version"
-     * 
- * - * optional string groupVersion = 1; + * optional string group = 1; */ public com.google.protobuf.ByteString - getGroupVersionBytes() { - java.lang.Object ref = groupVersion_; + getGroupBytes() { + java.lang.Object ref = group_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - groupVersion_ = b; + group_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int VERSION_FIELD_NUMBER = 2; - private volatile java.lang.Object version_; + public static final int RESOURCE_FIELD_NUMBER = 2; + private volatile java.lang.Object resource_; /** - *
-     * version specifies the version in the form of "version". This is to save
-     * the clients the trouble of splitting the GroupVersion.
-     * 
- * - * optional string version = 2; + * optional string resource = 2; */ - public boolean hasVersion() { + public boolean hasResource() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** - *
-     * version specifies the version in the form of "version". This is to save
-     * the clients the trouble of splitting the GroupVersion.
-     * 
- * - * optional string version = 2; + * optional string resource = 2; */ - public java.lang.String getVersion() { - java.lang.Object ref = version_; + public java.lang.String getResource() { + java.lang.Object ref = resource_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { @@ -12870,27 +13436,22 @@ public java.lang.String getVersion() { (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { - version_ = s; + resource_ = s; } return s; } } /** - *
-     * version specifies the version in the form of "version". This is to save
-     * the clients the trouble of splitting the GroupVersion.
-     * 
- * - * optional string version = 2; + * optional string resource = 2; */ public com.google.protobuf.ByteString - getVersionBytes() { - java.lang.Object ref = version_; + getResourceBytes() { + java.lang.Object ref = resource_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - version_ = b; + resource_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; @@ -12898,6 +13459,7 @@ public java.lang.String getVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -12907,27 +13469,29 @@ public final boolean isInitialized() { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, groupVersion_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resource_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, groupVersion_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, group_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resource_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -12939,21 +13503,21 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.kubernetes.client.proto.Meta.GroupVersionForDiscovery)) { + if (!(obj instanceof io.kubernetes.client.proto.Meta.GroupResource)) { return super.equals(obj); } - io.kubernetes.client.proto.Meta.GroupVersionForDiscovery other = (io.kubernetes.client.proto.Meta.GroupVersionForDiscovery) obj; + io.kubernetes.client.proto.Meta.GroupResource other = (io.kubernetes.client.proto.Meta.GroupResource) obj; boolean result = true; - result = result && (hasGroupVersion() == other.hasGroupVersion()); - if (hasGroupVersion()) { - result = result && getGroupVersion() - .equals(other.getGroupVersion()); + result = result && (hasGroup() == other.hasGroup()); + if (hasGroup()) { + result = result && getGroup() + .equals(other.getGroup()); } - result = result && (hasVersion() == other.hasVersion()); - if (hasVersion()) { - result = result && getVersion() - .equals(other.getVersion()); + result = result && (hasResource() == other.hasResource()); + if (hasResource()) { + result = result && getResource() + .equals(other.getResource()); } result = result && unknownFields.equals(other.unknownFields); return result; @@ -12966,82 +13530,82 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (hasGroupVersion()) { - hash = (37 * hash) + GROUPVERSION_FIELD_NUMBER; - hash = (53 * hash) + getGroupVersion().hashCode(); + if (hasGroup()) { + hash = (37 * hash) + GROUP_FIELD_NUMBER; + hash = (53 * hash) + getGroup().hashCode(); } - if (hasVersion()) { - hash = (37 * hash) + VERSION_FIELD_NUMBER; - hash = (53 * hash) + getVersion().hashCode(); + if (hasResource()) { + hash = (37 * hash) + RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getResource().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom( + public static io.kubernetes.client.proto.Meta.GroupResource parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom( + public static io.kubernetes.client.proto.Meta.GroupResource parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom( + public static io.kubernetes.client.proto.Meta.GroupResource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom( + public static io.kubernetes.client.proto.Meta.GroupResource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom(byte[] data) + public static io.kubernetes.client.proto.Meta.GroupResource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom( + public static io.kubernetes.client.proto.Meta.GroupResource parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.GroupResource parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom( + public static io.kubernetes.client.proto.Meta.GroupResource parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseDelimitedFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.GroupResource parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseDelimitedFrom( + public static io.kubernetes.client.proto.Meta.GroupResource parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom( + public static io.kubernetes.client.proto.Meta.GroupResource parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom( + public static io.kubernetes.client.proto.Meta.GroupResource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -13049,13 +13613,15 @@ public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.kubernetes.client.proto.Meta.GroupVersionForDiscovery prototype) { + public static Builder newBuilder(io.kubernetes.client.proto.Meta.GroupResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -13069,29 +13635,31 @@ protected Builder newBuilderForType( } /** *
-     * GroupVersion contains the "group/version" and "version" string of a version.
-     * It is made a struct to keep extensibility.
+     * GroupResource specifies a Group and a Resource, but does not force a version.  This is useful for identifying
+     * concepts during lookup stages without having partially valid types
+     * +protobuf.options.(gogoproto.goproto_stringer)=false
      * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupResource} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery) - io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder { + // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupResource) + io.kubernetes.client.proto.Meta.GroupResourceOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionForDiscovery_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupResource_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionForDiscovery_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.class, io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.Builder.class); + io.kubernetes.client.proto.Meta.GroupResource.class, io.kubernetes.client.proto.Meta.GroupResource.Builder.class); } - // Construct using io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.newBuilder() + // Construct using io.kubernetes.client.proto.Meta.GroupResource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -13106,94 +13674,106 @@ private void maybeForceBuilderInitialization() { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); - groupVersion_ = ""; + group_ = ""; bitField0_ = (bitField0_ & ~0x00000001); - version_ = ""; + resource_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionForDiscovery_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupResource_descriptor; } - public io.kubernetes.client.proto.Meta.GroupVersionForDiscovery getDefaultInstanceForType() { - return io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.getDefaultInstance(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.GroupResource getDefaultInstanceForType() { + return io.kubernetes.client.proto.Meta.GroupResource.getDefaultInstance(); } - public io.kubernetes.client.proto.Meta.GroupVersionForDiscovery build() { - io.kubernetes.client.proto.Meta.GroupVersionForDiscovery result = buildPartial(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.GroupResource build() { + io.kubernetes.client.proto.Meta.GroupResource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public io.kubernetes.client.proto.Meta.GroupVersionForDiscovery buildPartial() { - io.kubernetes.client.proto.Meta.GroupVersionForDiscovery result = new io.kubernetes.client.proto.Meta.GroupVersionForDiscovery(this); + @java.lang.Override + public io.kubernetes.client.proto.Meta.GroupResource buildPartial() { + io.kubernetes.client.proto.Meta.GroupResource result = new io.kubernetes.client.proto.Meta.GroupResource(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.groupVersion_ = groupVersion_; + result.group_ = group_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.version_ = version_; + result.resource_ = resource_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.kubernetes.client.proto.Meta.GroupVersionForDiscovery) { - return mergeFrom((io.kubernetes.client.proto.Meta.GroupVersionForDiscovery)other); + if (other instanceof io.kubernetes.client.proto.Meta.GroupResource) { + return mergeFrom((io.kubernetes.client.proto.Meta.GroupResource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.kubernetes.client.proto.Meta.GroupVersionForDiscovery other) { - if (other == io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.getDefaultInstance()) return this; - if (other.hasGroupVersion()) { + public Builder mergeFrom(io.kubernetes.client.proto.Meta.GroupResource other) { + if (other == io.kubernetes.client.proto.Meta.GroupResource.getDefaultInstance()) return this; + if (other.hasGroup()) { bitField0_ |= 0x00000001; - groupVersion_ = other.groupVersion_; + group_ = other.group_; onChanged(); } - if (other.hasVersion()) { + if (other.hasResource()) { bitField0_ |= 0x00000002; - version_ = other.version_; + resource_ = other.resource_; onChanged(); } this.mergeUnknownFields(other.unknownFields); @@ -13201,19 +13781,21 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.GroupVersionForDiscover return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parsedMessage = null; + io.kubernetes.client.proto.Meta.GroupResource parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.kubernetes.client.proto.Meta.GroupVersionForDiscovery) e.getUnfinishedMessage(); + parsedMessage = (io.kubernetes.client.proto.Meta.GroupResource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -13224,32 +13806,24 @@ public Builder mergeFrom( } private int bitField0_; - private java.lang.Object groupVersion_ = ""; + private java.lang.Object group_ = ""; /** - *
-       * groupVersion specifies the API group and version in the form "group/version"
-       * 
- * - * optional string groupVersion = 1; + * optional string group = 1; */ - public boolean hasGroupVersion() { + public boolean hasGroup() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - *
-       * groupVersion specifies the API group and version in the form "group/version"
-       * 
- * - * optional string groupVersion = 1; + * optional string group = 1; */ - public java.lang.String getGroupVersion() { - java.lang.Object ref = groupVersion_; + public java.lang.String getGroup() { + java.lang.Object ref = group_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { - groupVersion_ = s; + group_ = s; } return s; } else { @@ -13257,101 +13831,75 @@ public java.lang.String getGroupVersion() { } } /** - *
-       * groupVersion specifies the API group and version in the form "group/version"
-       * 
- * - * optional string groupVersion = 1; + * optional string group = 1; */ public com.google.protobuf.ByteString - getGroupVersionBytes() { - java.lang.Object ref = groupVersion_; + getGroupBytes() { + java.lang.Object ref = group_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - groupVersion_ = b; + group_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** - *
-       * groupVersion specifies the API group and version in the form "group/version"
-       * 
- * - * optional string groupVersion = 1; + * optional string group = 1; */ - public Builder setGroupVersion( + public Builder setGroup( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; - groupVersion_ = value; + group_ = value; onChanged(); return this; } /** - *
-       * groupVersion specifies the API group and version in the form "group/version"
-       * 
- * - * optional string groupVersion = 1; + * optional string group = 1; */ - public Builder clearGroupVersion() { + public Builder clearGroup() { bitField0_ = (bitField0_ & ~0x00000001); - groupVersion_ = getDefaultInstance().getGroupVersion(); + group_ = getDefaultInstance().getGroup(); onChanged(); return this; } /** - *
-       * groupVersion specifies the API group and version in the form "group/version"
-       * 
- * - * optional string groupVersion = 1; + * optional string group = 1; */ - public Builder setGroupVersionBytes( + public Builder setGroupBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; - groupVersion_ = value; + group_ = value; onChanged(); return this; } - private java.lang.Object version_ = ""; + private java.lang.Object resource_ = ""; /** - *
-       * version specifies the version in the form of "version". This is to save
-       * the clients the trouble of splitting the GroupVersion.
-       * 
- * - * optional string version = 2; + * optional string resource = 2; */ - public boolean hasVersion() { + public boolean hasResource() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** - *
-       * version specifies the version in the form of "version". This is to save
-       * the clients the trouble of splitting the GroupVersion.
-       * 
- * - * optional string version = 2; + * optional string resource = 2; */ - public java.lang.String getVersion() { - java.lang.Object ref = version_; + public java.lang.String getResource() { + java.lang.Object ref = resource_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { - version_ = s; + resource_ = s; } return s; } else { @@ -13359,127 +13907,111 @@ public java.lang.String getVersion() { } } /** - *
-       * version specifies the version in the form of "version". This is to save
-       * the clients the trouble of splitting the GroupVersion.
-       * 
- * - * optional string version = 2; + * optional string resource = 2; */ public com.google.protobuf.ByteString - getVersionBytes() { - java.lang.Object ref = version_; + getResourceBytes() { + java.lang.Object ref = resource_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - version_ = b; + resource_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** - *
-       * version specifies the version in the form of "version". This is to save
-       * the clients the trouble of splitting the GroupVersion.
-       * 
- * - * optional string version = 2; + * optional string resource = 2; */ - public Builder setVersion( + public Builder setResource( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; - version_ = value; + resource_ = value; onChanged(); return this; } /** - *
-       * version specifies the version in the form of "version". This is to save
-       * the clients the trouble of splitting the GroupVersion.
-       * 
- * - * optional string version = 2; + * optional string resource = 2; */ - public Builder clearVersion() { + public Builder clearResource() { bitField0_ = (bitField0_ & ~0x00000002); - version_ = getDefaultInstance().getVersion(); + resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** - *
-       * version specifies the version in the form of "version". This is to save
-       * the clients the trouble of splitting the GroupVersion.
-       * 
- * - * optional string version = 2; + * optional string resource = 2; */ - public Builder setVersionBytes( + public Builder setResourceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; - version_ = value; + resource_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery) + // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupResource) } - // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery) - private static final io.kubernetes.client.proto.Meta.GroupVersionForDiscovery DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupResource) + private static final io.kubernetes.client.proto.Meta.GroupResource DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.GroupVersionForDiscovery(); + DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.GroupResource(); } - public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery getDefaultInstance() { + public static io.kubernetes.client.proto.Meta.GroupResource getDefaultInstance() { return DEFAULT_INSTANCE; } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - public GroupVersionForDiscovery parsePartialFrom( + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GroupResource parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GroupVersionForDiscovery(input, extensionRegistry); + return new GroupResource(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } - public io.kubernetes.client.proto.Meta.GroupVersionForDiscovery getDefaultInstanceForType() { + @java.lang.Override + public io.kubernetes.client.proto.Meta.GroupResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface GroupVersionKindOrBuilder extends - // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind) + public interface GroupVersionOrBuilder extends + // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersion) com.google.protobuf.MessageOrBuilder { /** @@ -13509,44 +14041,27 @@ public interface GroupVersionKindOrBuilder extends */ com.google.protobuf.ByteString getVersionBytes(); - - /** - * optional string kind = 3; - */ - boolean hasKind(); - /** - * optional string kind = 3; - */ - java.lang.String getKind(); - /** - * optional string kind = 3; - */ - com.google.protobuf.ByteString - getKindBytes(); } /** *
-   * GroupVersionKind unambiguously identifies a kind.  It doesn't anonymously include GroupVersion
-   * to avoid automatic coersion.  It doesn't use a GroupVersion to avoid custom marshalling
-   * 
+   * GroupVersion contains the "group" and the "version", which uniquely identifies the API.
    * +protobuf.options.(gogoproto.goproto_stringer)=false
    * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersion} */ - public static final class GroupVersionKind extends + public static final class GroupVersion extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind) - GroupVersionKindOrBuilder { + // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersion) + GroupVersionOrBuilder { private static final long serialVersionUID = 0L; - // Use GroupVersionKind.newBuilder() to construct. - private GroupVersionKind(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use GroupVersion.newBuilder() to construct. + private GroupVersion(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GroupVersionKind() { + private GroupVersion() { group_ = ""; version_ = ""; - kind_ = ""; } @java.lang.Override @@ -13554,11 +14069,14 @@ private GroupVersionKind() { getUnknownFields() { return this.unknownFields; } - private GroupVersionKind( + private GroupVersion( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -13570,13 +14088,6 @@ private GroupVersionKind( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; @@ -13589,10 +14100,11 @@ private GroupVersionKind( version_ = bs; break; } - case 26: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000004; - kind_ = bs; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } break; } } @@ -13609,14 +14121,15 @@ private GroupVersionKind( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionKind_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersion_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionKind_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.GroupVersionKind.class, io.kubernetes.client.proto.Meta.GroupVersionKind.Builder.class); + io.kubernetes.client.proto.Meta.GroupVersion.class, io.kubernetes.client.proto.Meta.GroupVersion.Builder.class); } private int bitField0_; @@ -13704,49 +14217,8 @@ public java.lang.String getVersion() { } } - public static final int KIND_FIELD_NUMBER = 3; - private volatile java.lang.Object kind_; - /** - * optional string kind = 3; - */ - public boolean hasKind() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * optional string kind = 3; - */ - public java.lang.String getKind() { - java.lang.Object ref = kind_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - kind_ = s; - } - return s; - } - } - /** - * optional string kind = 3; - */ - public com.google.protobuf.ByteString - getKindBytes() { - java.lang.Object ref = kind_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - kind_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -13756,6 +14228,7 @@ public final boolean isInitialized() { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -13764,12 +14237,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, kind_); - } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -13781,9 +14252,6 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, kind_); - } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -13794,10 +14262,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.kubernetes.client.proto.Meta.GroupVersionKind)) { + if (!(obj instanceof io.kubernetes.client.proto.Meta.GroupVersion)) { return super.equals(obj); } - io.kubernetes.client.proto.Meta.GroupVersionKind other = (io.kubernetes.client.proto.Meta.GroupVersionKind) obj; + io.kubernetes.client.proto.Meta.GroupVersion other = (io.kubernetes.client.proto.Meta.GroupVersion) obj; boolean result = true; result = result && (hasGroup() == other.hasGroup()); @@ -13810,11 +14278,6 @@ public boolean equals(final java.lang.Object obj) { result = result && getVersion() .equals(other.getVersion()); } - result = result && (hasKind() == other.hasKind()); - if (hasKind()) { - result = result && getKind() - .equals(other.getKind()); - } result = result && unknownFields.equals(other.unknownFields); return result; } @@ -13834,78 +14297,74 @@ public int hashCode() { hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + getVersion().hashCode(); } - if (hasKind()) { - hash = (37 * hash) + KIND_FIELD_NUMBER; - hash = (53 * hash) + getKind().hashCode(); - } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom(byte[] data) + public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupVersionKind parseDelimitedFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.GroupVersion parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.GroupVersionKind parseDelimitedFrom( + public static io.kubernetes.client.proto.Meta.GroupVersion parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -13913,13 +14372,15 @@ public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.kubernetes.client.proto.Meta.GroupVersionKind prototype) { + public static Builder newBuilder(io.kubernetes.client.proto.Meta.GroupVersion prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -13933,31 +14394,30 @@ protected Builder newBuilderForType( } /** *
-     * GroupVersionKind unambiguously identifies a kind.  It doesn't anonymously include GroupVersion
-     * to avoid automatic coersion.  It doesn't use a GroupVersion to avoid custom marshalling
-     * 
+     * GroupVersion contains the "group" and the "version", which uniquely identifies the API.
      * +protobuf.options.(gogoproto.goproto_stringer)=false
      * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersion} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind) - io.kubernetes.client.proto.Meta.GroupVersionKindOrBuilder { + // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersion) + io.kubernetes.client.proto.Meta.GroupVersionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionKind_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersion_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionKind_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.GroupVersionKind.class, io.kubernetes.client.proto.Meta.GroupVersionKind.Builder.class); + io.kubernetes.client.proto.Meta.GroupVersion.class, io.kubernetes.client.proto.Meta.GroupVersion.Builder.class); } - // Construct using io.kubernetes.client.proto.Meta.GroupVersionKind.newBuilder() + // Construct using io.kubernetes.client.proto.Meta.GroupVersion.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -13972,36 +14432,39 @@ private void maybeForceBuilderInitialization() { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); group_ = ""; bitField0_ = (bitField0_ & ~0x00000001); version_ = ""; bitField0_ = (bitField0_ & ~0x00000002); - kind_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionKind_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersion_descriptor; } - public io.kubernetes.client.proto.Meta.GroupVersionKind getDefaultInstanceForType() { - return io.kubernetes.client.proto.Meta.GroupVersionKind.getDefaultInstance(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.GroupVersion getDefaultInstanceForType() { + return io.kubernetes.client.proto.Meta.GroupVersion.getDefaultInstance(); } - public io.kubernetes.client.proto.Meta.GroupVersionKind build() { - io.kubernetes.client.proto.Meta.GroupVersionKind result = buildPartial(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.GroupVersion build() { + io.kubernetes.client.proto.Meta.GroupVersion result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public io.kubernetes.client.proto.Meta.GroupVersionKind buildPartial() { - io.kubernetes.client.proto.Meta.GroupVersionKind result = new io.kubernetes.client.proto.Meta.GroupVersionKind(this); + @java.lang.Override + public io.kubernetes.client.proto.Meta.GroupVersion buildPartial() { + io.kubernetes.client.proto.Meta.GroupVersion result = new io.kubernetes.client.proto.Meta.GroupVersion(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -14012,52 +14475,55 @@ public io.kubernetes.client.proto.Meta.GroupVersionKind buildPartial() { to_bitField0_ |= 0x00000002; } result.version_ = version_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.kind_ = kind_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.kubernetes.client.proto.Meta.GroupVersionKind) { - return mergeFrom((io.kubernetes.client.proto.Meta.GroupVersionKind)other); + if (other instanceof io.kubernetes.client.proto.Meta.GroupVersion) { + return mergeFrom((io.kubernetes.client.proto.Meta.GroupVersion)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.kubernetes.client.proto.Meta.GroupVersionKind other) { - if (other == io.kubernetes.client.proto.Meta.GroupVersionKind.getDefaultInstance()) return this; + public Builder mergeFrom(io.kubernetes.client.proto.Meta.GroupVersion other) { + if (other == io.kubernetes.client.proto.Meta.GroupVersion.getDefaultInstance()) return this; if (other.hasGroup()) { bitField0_ |= 0x00000001; group_ = other.group_; @@ -14068,29 +14534,26 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.GroupVersionKind other) version_ = other.version_; onChanged(); } - if (other.hasKind()) { - bitField0_ |= 0x00000004; - kind_ = other.kind_; - onChanged(); - } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.kubernetes.client.proto.Meta.GroupVersionKind parsedMessage = null; + io.kubernetes.client.proto.Meta.GroupVersion parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.kubernetes.client.proto.Meta.GroupVersionKind) e.getUnfinishedMessage(); + parsedMessage = (io.kubernetes.client.proto.Meta.GroupVersion) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -14252,200 +14715,138 @@ public Builder setVersionBytes( onChanged(); return this; } - - private java.lang.Object kind_ = ""; - /** - * optional string kind = 3; - */ - public boolean hasKind() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * optional string kind = 3; - */ - public java.lang.String getKind() { - java.lang.Object ref = kind_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - kind_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string kind = 3; - */ - public com.google.protobuf.ByteString - getKindBytes() { - java.lang.Object ref = kind_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - kind_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string kind = 3; - */ - public Builder setKind( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - kind_ = value; - onChanged(); - return this; - } - /** - * optional string kind = 3; - */ - public Builder clearKind() { - bitField0_ = (bitField0_ & ~0x00000004); - kind_ = getDefaultInstance().getKind(); - onChanged(); - return this; - } - /** - * optional string kind = 3; - */ - public Builder setKindBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - kind_ = value; - onChanged(); - return this; - } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind) + // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersion) } - // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind) - private static final io.kubernetes.client.proto.Meta.GroupVersionKind DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersion) + private static final io.kubernetes.client.proto.Meta.GroupVersion DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.GroupVersionKind(); + DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.GroupVersion(); } - public static io.kubernetes.client.proto.Meta.GroupVersionKind getDefaultInstance() { + public static io.kubernetes.client.proto.Meta.GroupVersion getDefaultInstance() { return DEFAULT_INSTANCE; } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - public GroupVersionKind parsePartialFrom( + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GroupVersion parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GroupVersionKind(input, extensionRegistry); + return new GroupVersion(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } - public io.kubernetes.client.proto.Meta.GroupVersionKind getDefaultInstanceForType() { + @java.lang.Override + public io.kubernetes.client.proto.Meta.GroupVersion getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface GroupVersionResourceOrBuilder extends - // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource) + public interface GroupVersionForDiscoveryOrBuilder extends + // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery) com.google.protobuf.MessageOrBuilder { /** - * optional string group = 1; + *
+     * groupVersion specifies the API group and version in the form "group/version"
+     * 
+ * + * optional string groupVersion = 1; */ - boolean hasGroup(); + boolean hasGroupVersion(); /** - * optional string group = 1; + *
+     * groupVersion specifies the API group and version in the form "group/version"
+     * 
+ * + * optional string groupVersion = 1; */ - java.lang.String getGroup(); + java.lang.String getGroupVersion(); /** - * optional string group = 1; + *
+     * groupVersion specifies the API group and version in the form "group/version"
+     * 
+ * + * optional string groupVersion = 1; */ com.google.protobuf.ByteString - getGroupBytes(); + getGroupVersionBytes(); /** + *
+     * version specifies the version in the form of "version". This is to save
+     * the clients the trouble of splitting the GroupVersion.
+     * 
+ * * optional string version = 2; */ boolean hasVersion(); /** + *
+     * version specifies the version in the form of "version". This is to save
+     * the clients the trouble of splitting the GroupVersion.
+     * 
+ * * optional string version = 2; */ java.lang.String getVersion(); /** + *
+     * version specifies the version in the form of "version". This is to save
+     * the clients the trouble of splitting the GroupVersion.
+     * 
+ * * optional string version = 2; */ com.google.protobuf.ByteString getVersionBytes(); - - /** - * optional string resource = 3; - */ - boolean hasResource(); - /** - * optional string resource = 3; - */ - java.lang.String getResource(); - /** - * optional string resource = 3; - */ - com.google.protobuf.ByteString - getResourceBytes(); } /** *
-   * GroupVersionResource unambiguously identifies a resource.  It doesn't anonymously include GroupVersion
-   * to avoid automatic coersion.  It doesn't use a GroupVersion to avoid custom marshalling
-   * 
-   * +protobuf.options.(gogoproto.goproto_stringer)=false
+   * GroupVersion contains the "group/version" and "version" string of a version.
+   * It is made a struct to keep extensibility.
    * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery} */ - public static final class GroupVersionResource extends + public static final class GroupVersionForDiscovery extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource) - GroupVersionResourceOrBuilder { + // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery) + GroupVersionForDiscoveryOrBuilder { private static final long serialVersionUID = 0L; - // Use GroupVersionResource.newBuilder() to construct. - private GroupVersionResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use GroupVersionForDiscovery.newBuilder() to construct. + private GroupVersionForDiscovery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GroupVersionResource() { - group_ = ""; + private GroupVersionForDiscovery() { + groupVersion_ = ""; version_ = ""; - resource_ = ""; } @java.lang.Override @@ -14453,11 +14854,14 @@ private GroupVersionResource() { getUnknownFields() { return this.unknownFields; } - private GroupVersionResource( + private GroupVersionForDiscovery( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -14469,17 +14873,10 @@ private GroupVersionResource( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - group_ = bs; + groupVersion_ = bs; break; } case 18: { @@ -14488,10 +14885,11 @@ private GroupVersionResource( version_ = bs; break; } - case 26: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000004; - resource_ = bs; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } break; } } @@ -14508,30 +14906,39 @@ private GroupVersionResource( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionResource_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionForDiscovery_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionResource_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionForDiscovery_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.GroupVersionResource.class, io.kubernetes.client.proto.Meta.GroupVersionResource.Builder.class); + io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.class, io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.Builder.class); } private int bitField0_; - public static final int GROUP_FIELD_NUMBER = 1; - private volatile java.lang.Object group_; + public static final int GROUPVERSION_FIELD_NUMBER = 1; + private volatile java.lang.Object groupVersion_; /** - * optional string group = 1; + *
+     * groupVersion specifies the API group and version in the form "group/version"
+     * 
+ * + * optional string groupVersion = 1; */ - public boolean hasGroup() { + public boolean hasGroupVersion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * optional string group = 1; + *
+     * groupVersion specifies the API group and version in the form "group/version"
+     * 
+ * + * optional string groupVersion = 1; */ - public java.lang.String getGroup() { - java.lang.Object ref = group_; + public java.lang.String getGroupVersion() { + java.lang.Object ref = groupVersion_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { @@ -14539,22 +14946,26 @@ public java.lang.String getGroup() { (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { - group_ = s; + groupVersion_ = s; } return s; } } /** - * optional string group = 1; + *
+     * groupVersion specifies the API group and version in the form "group/version"
+     * 
+ * + * optional string groupVersion = 1; */ public com.google.protobuf.ByteString - getGroupBytes() { - java.lang.Object ref = group_; + getGroupVersionBytes() { + java.lang.Object ref = groupVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - group_ = b; + groupVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; @@ -14564,12 +14975,22 @@ public java.lang.String getGroup() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** + *
+     * version specifies the version in the form of "version". This is to save
+     * the clients the trouble of splitting the GroupVersion.
+     * 
+ * * optional string version = 2; */ public boolean hasVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** + *
+     * version specifies the version in the form of "version". This is to save
+     * the clients the trouble of splitting the GroupVersion.
+     * 
+ * * optional string version = 2; */ public java.lang.String getVersion() { @@ -14587,6 +15008,11 @@ public java.lang.String getVersion() { } } /** + *
+     * version specifies the version in the form of "version". This is to save
+     * the clients the trouble of splitting the GroupVersion.
+     * 
+ * * optional string version = 2; */ public com.google.protobuf.ByteString @@ -14603,86 +15029,41 @@ public java.lang.String getVersion() { } } - public static final int RESOURCE_FIELD_NUMBER = 3; - private volatile java.lang.Object resource_; - /** - * optional string resource = 3; - */ - public boolean hasResource() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * optional string resource = 3; - */ - public java.lang.String getResource() { - java.lang.Object ref = resource_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - resource_ = s; - } - return s; - } - } - /** - * optional string resource = 3; - */ - public com.google.protobuf.ByteString - getResourceBytes() { - java.lang.Object ref = resource_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - resource_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, groupVersion_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, resource_); - } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, group_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, groupVersion_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, resource_); - } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -14693,27 +15074,22 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.kubernetes.client.proto.Meta.GroupVersionResource)) { + if (!(obj instanceof io.kubernetes.client.proto.Meta.GroupVersionForDiscovery)) { return super.equals(obj); } - io.kubernetes.client.proto.Meta.GroupVersionResource other = (io.kubernetes.client.proto.Meta.GroupVersionResource) obj; + io.kubernetes.client.proto.Meta.GroupVersionForDiscovery other = (io.kubernetes.client.proto.Meta.GroupVersionForDiscovery) obj; boolean result = true; - result = result && (hasGroup() == other.hasGroup()); - if (hasGroup()) { - result = result && getGroup() - .equals(other.getGroup()); + result = result && (hasGroupVersion() == other.hasGroupVersion()); + if (hasGroupVersion()) { + result = result && getGroupVersion() + .equals(other.getGroupVersion()); } result = result && (hasVersion() == other.hasVersion()); if (hasVersion()) { result = result && getVersion() .equals(other.getVersion()); } - result = result && (hasResource() == other.hasResource()); - if (hasResource()) { - result = result && getResource() - .equals(other.getResource()); - } result = result && unknownFields.equals(other.unknownFields); return result; } @@ -14725,86 +15101,82 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (hasGroup()) { - hash = (37 * hash) + GROUP_FIELD_NUMBER; - hash = (53 * hash) + getGroup().hashCode(); + if (hasGroupVersion()) { + hash = (37 * hash) + GROUPVERSION_FIELD_NUMBER; + hash = (53 * hash) + getGroupVersion().hashCode(); } if (hasVersion()) { hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + getVersion().hashCode(); } - if (hasResource()) { - hash = (37 * hash) + RESOURCE_FIELD_NUMBER; - hash = (53 * hash) + getResource().hashCode(); - } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom(byte[] data) + public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupVersionResource parseDelimitedFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.GroupVersionResource parseDelimitedFrom( + public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -14812,13 +15184,15 @@ public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.kubernetes.client.proto.Meta.GroupVersionResource prototype) { + public static Builder newBuilder(io.kubernetes.client.proto.Meta.GroupVersionForDiscovery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -14832,31 +15206,30 @@ protected Builder newBuilderForType( } /** *
-     * GroupVersionResource unambiguously identifies a resource.  It doesn't anonymously include GroupVersion
-     * to avoid automatic coersion.  It doesn't use a GroupVersion to avoid custom marshalling
-     * 
-     * +protobuf.options.(gogoproto.goproto_stringer)=false
+     * GroupVersion contains the "group/version" and "version" string of a version.
+     * It is made a struct to keep extensibility.
      * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource) - io.kubernetes.client.proto.Meta.GroupVersionResourceOrBuilder { + // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery) + io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionResource_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionForDiscovery_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionResource_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionForDiscovery_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.GroupVersionResource.class, io.kubernetes.client.proto.Meta.GroupVersionResource.Builder.class); + io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.class, io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.Builder.class); } - // Construct using io.kubernetes.client.proto.Meta.GroupVersionResource.newBuilder() + // Construct using io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -14871,95 +15244,101 @@ private void maybeForceBuilderInitialization() { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); - group_ = ""; + groupVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000001); version_ = ""; bitField0_ = (bitField0_ & ~0x00000002); - resource_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionResource_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionForDiscovery_descriptor; } - public io.kubernetes.client.proto.Meta.GroupVersionResource getDefaultInstanceForType() { - return io.kubernetes.client.proto.Meta.GroupVersionResource.getDefaultInstance(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.GroupVersionForDiscovery getDefaultInstanceForType() { + return io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.getDefaultInstance(); } - public io.kubernetes.client.proto.Meta.GroupVersionResource build() { - io.kubernetes.client.proto.Meta.GroupVersionResource result = buildPartial(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.GroupVersionForDiscovery build() { + io.kubernetes.client.proto.Meta.GroupVersionForDiscovery result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public io.kubernetes.client.proto.Meta.GroupVersionResource buildPartial() { - io.kubernetes.client.proto.Meta.GroupVersionResource result = new io.kubernetes.client.proto.Meta.GroupVersionResource(this); + @java.lang.Override + public io.kubernetes.client.proto.Meta.GroupVersionForDiscovery buildPartial() { + io.kubernetes.client.proto.Meta.GroupVersionForDiscovery result = new io.kubernetes.client.proto.Meta.GroupVersionForDiscovery(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.group_ = group_; + result.groupVersion_ = groupVersion_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.version_ = version_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.resource_ = resource_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.kubernetes.client.proto.Meta.GroupVersionResource) { - return mergeFrom((io.kubernetes.client.proto.Meta.GroupVersionResource)other); + if (other instanceof io.kubernetes.client.proto.Meta.GroupVersionForDiscovery) { + return mergeFrom((io.kubernetes.client.proto.Meta.GroupVersionForDiscovery)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.kubernetes.client.proto.Meta.GroupVersionResource other) { - if (other == io.kubernetes.client.proto.Meta.GroupVersionResource.getDefaultInstance()) return this; - if (other.hasGroup()) { + public Builder mergeFrom(io.kubernetes.client.proto.Meta.GroupVersionForDiscovery other) { + if (other == io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.getDefaultInstance()) return this; + if (other.hasGroupVersion()) { bitField0_ |= 0x00000001; - group_ = other.group_; + groupVersion_ = other.groupVersion_; onChanged(); } if (other.hasVersion()) { @@ -14967,29 +15346,26 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.GroupVersionResource ot version_ = other.version_; onChanged(); } - if (other.hasResource()) { - bitField0_ |= 0x00000004; - resource_ = other.resource_; - onChanged(); - } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.kubernetes.client.proto.Meta.GroupVersionResource parsedMessage = null; + io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.kubernetes.client.proto.Meta.GroupVersionResource) e.getUnfinishedMessage(); + parsedMessage = (io.kubernetes.client.proto.Meta.GroupVersionForDiscovery) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -15000,24 +15376,32 @@ public Builder mergeFrom( } private int bitField0_; - private java.lang.Object group_ = ""; + private java.lang.Object groupVersion_ = ""; /** - * optional string group = 1; + *
+       * groupVersion specifies the API group and version in the form "group/version"
+       * 
+ * + * optional string groupVersion = 1; */ - public boolean hasGroup() { + public boolean hasGroupVersion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * optional string group = 1; + *
+       * groupVersion specifies the API group and version in the form "group/version"
+       * 
+ * + * optional string groupVersion = 1; */ - public java.lang.String getGroup() { - java.lang.Object ref = group_; + public java.lang.String getGroupVersion() { + java.lang.Object ref = groupVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { - group_ = s; + groupVersion_ = s; } return s; } else { @@ -15025,65 +15409,91 @@ public java.lang.String getGroup() { } } /** - * optional string group = 1; + *
+       * groupVersion specifies the API group and version in the form "group/version"
+       * 
+ * + * optional string groupVersion = 1; */ public com.google.protobuf.ByteString - getGroupBytes() { - java.lang.Object ref = group_; + getGroupVersionBytes() { + java.lang.Object ref = groupVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - group_ = b; + groupVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** - * optional string group = 1; + *
+       * groupVersion specifies the API group and version in the form "group/version"
+       * 
+ * + * optional string groupVersion = 1; */ - public Builder setGroup( + public Builder setGroupVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; - group_ = value; + groupVersion_ = value; onChanged(); return this; } /** - * optional string group = 1; + *
+       * groupVersion specifies the API group and version in the form "group/version"
+       * 
+ * + * optional string groupVersion = 1; */ - public Builder clearGroup() { + public Builder clearGroupVersion() { bitField0_ = (bitField0_ & ~0x00000001); - group_ = getDefaultInstance().getGroup(); + groupVersion_ = getDefaultInstance().getGroupVersion(); onChanged(); return this; } /** - * optional string group = 1; + *
+       * groupVersion specifies the API group and version in the form "group/version"
+       * 
+ * + * optional string groupVersion = 1; */ - public Builder setGroupBytes( + public Builder setGroupVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; - group_ = value; + groupVersion_ = value; onChanged(); return this; } private java.lang.Object version_ = ""; /** + *
+       * version specifies the version in the form of "version". This is to save
+       * the clients the trouble of splitting the GroupVersion.
+       * 
+ * * optional string version = 2; */ public boolean hasVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** + *
+       * version specifies the version in the form of "version". This is to save
+       * the clients the trouble of splitting the GroupVersion.
+       * 
+ * * optional string version = 2; */ public java.lang.String getVersion() { @@ -15101,6 +15511,11 @@ public java.lang.String getVersion() { } } /** + *
+       * version specifies the version in the form of "version". This is to save
+       * the clients the trouble of splitting the GroupVersion.
+       * 
+ * * optional string version = 2; */ public com.google.protobuf.ByteString @@ -15117,6 +15532,11 @@ public java.lang.String getVersion() { } } /** + *
+       * version specifies the version in the form of "version". This is to save
+       * the clients the trouble of splitting the GroupVersion.
+       * 
+ * * optional string version = 2; */ public Builder setVersion( @@ -15130,6 +15550,11 @@ public Builder setVersion( return this; } /** + *
+       * version specifies the version in the form of "version". This is to save
+       * the clients the trouble of splitting the GroupVersion.
+       * 
+ * * optional string version = 2; */ public Builder clearVersion() { @@ -15139,6 +15564,11 @@ public Builder clearVersion() { return this; } /** + *
+       * version specifies the version in the form of "version". This is to save
+       * the clients the trouble of splitting the GroupVersion.
+       * 
+ * * optional string version = 2; */ public Builder setVersionBytes( @@ -15151,179 +15581,127 @@ public Builder setVersionBytes( onChanged(); return this; } - - private java.lang.Object resource_ = ""; - /** - * optional string resource = 3; - */ - public boolean hasResource() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - * optional string resource = 3; - */ - public java.lang.String getResource() { - java.lang.Object ref = resource_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - resource_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string resource = 3; - */ - public com.google.protobuf.ByteString - getResourceBytes() { - java.lang.Object ref = resource_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - resource_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string resource = 3; - */ - public Builder setResource( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - resource_ = value; - onChanged(); - return this; - } - /** - * optional string resource = 3; - */ - public Builder clearResource() { - bitField0_ = (bitField0_ & ~0x00000004); - resource_ = getDefaultInstance().getResource(); - onChanged(); - return this; - } - /** - * optional string resource = 3; - */ - public Builder setResourceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - resource_ = value; - onChanged(); - return this; - } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource) + // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery) } - // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource) - private static final io.kubernetes.client.proto.Meta.GroupVersionResource DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery) + private static final io.kubernetes.client.proto.Meta.GroupVersionForDiscovery DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.GroupVersionResource(); + DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.GroupVersionForDiscovery(); } - public static io.kubernetes.client.proto.Meta.GroupVersionResource getDefaultInstance() { + public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery getDefaultInstance() { return DEFAULT_INSTANCE; } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - public GroupVersionResource parsePartialFrom( + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GroupVersionForDiscovery parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GroupVersionResource(input, extensionRegistry); + return new GroupVersionForDiscovery(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } - public io.kubernetes.client.proto.Meta.GroupVersionResource getDefaultInstanceForType() { + @java.lang.Override + public io.kubernetes.client.proto.Meta.GroupVersionForDiscovery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface InitializerOrBuilder extends - // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.Initializer) + public interface GroupVersionKindOrBuilder extends + // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind) com.google.protobuf.MessageOrBuilder { /** - *
-     * name of the process that is responsible for initializing this object.
-     * 
- * - * optional string name = 1; + * optional string group = 1; */ - boolean hasName(); + boolean hasGroup(); /** - *
-     * name of the process that is responsible for initializing this object.
-     * 
- * - * optional string name = 1; + * optional string group = 1; */ - java.lang.String getName(); + java.lang.String getGroup(); /** - *
-     * name of the process that is responsible for initializing this object.
-     * 
- * - * optional string name = 1; + * optional string group = 1; */ com.google.protobuf.ByteString - getNameBytes(); + getGroupBytes(); + + /** + * optional string version = 2; + */ + boolean hasVersion(); + /** + * optional string version = 2; + */ + java.lang.String getVersion(); + /** + * optional string version = 2; + */ + com.google.protobuf.ByteString + getVersionBytes(); + + /** + * optional string kind = 3; + */ + boolean hasKind(); + /** + * optional string kind = 3; + */ + java.lang.String getKind(); + /** + * optional string kind = 3; + */ + com.google.protobuf.ByteString + getKindBytes(); } /** *
-   * Initializer is information about an initializer that has not yet completed.
+   * GroupVersionKind unambiguously identifies a kind.  It doesn't anonymously include GroupVersion
+   * to avoid automatic coersion.  It doesn't use a GroupVersion to avoid custom marshalling
+   * +protobuf.options.(gogoproto.goproto_stringer)=false
    * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Initializer} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind} */ - public static final class Initializer extends + public static final class GroupVersionKind extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Initializer) - InitializerOrBuilder { + // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind) + GroupVersionKindOrBuilder { private static final long serialVersionUID = 0L; - // Use Initializer.newBuilder() to construct. - private Initializer(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use GroupVersionKind.newBuilder() to construct. + private GroupVersionKind(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Initializer() { - name_ = ""; + private GroupVersionKind() { + group_ = ""; + version_ = ""; + kind_ = ""; } @java.lang.Override @@ -15331,11 +15709,14 @@ private Initializer() { getUnknownFields() { return this.unknownFields; } - private Initializer( + private GroupVersionKind( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -15347,6 +15728,24 @@ private Initializer( case 0: done = true; break; + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + group_ = bs; + break; + } + case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000002; + version_ = bs; + break; + } + case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000004; + kind_ = bs; + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -15354,12 +15753,6 @@ private Initializer( } break; } - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - name_ = bs; - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -15374,38 +15767,31 @@ private Initializer( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Initializer_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionKind_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Initializer_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionKind_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.Initializer.class, io.kubernetes.client.proto.Meta.Initializer.Builder.class); + io.kubernetes.client.proto.Meta.GroupVersionKind.class, io.kubernetes.client.proto.Meta.GroupVersionKind.Builder.class); } private int bitField0_; - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; + public static final int GROUP_FIELD_NUMBER = 1; + private volatile java.lang.Object group_; /** - *
-     * name of the process that is responsible for initializing this object.
-     * 
- * - * optional string name = 1; + * optional string group = 1; */ - public boolean hasName() { + public boolean hasGroup() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - *
-     * name of the process that is responsible for initializing this object.
-     * 
- * - * optional string name = 1; + * optional string group = 1; */ - public java.lang.String getName() { - java.lang.Object ref = name_; + public java.lang.String getGroup() { + java.lang.Object ref = group_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { @@ -15413,57 +15799,152 @@ public java.lang.String getName() { (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { - name_ = s; + group_ = s; } return s; } } /** - *
-     * name of the process that is responsible for initializing this object.
-     * 
- * - * optional string name = 1; + * optional string group = 1; */ public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; + getGroupBytes() { + java.lang.Object ref = group_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - name_ = b; + group_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; + public static final int VERSION_FIELD_NUMBER = 2; + private volatile java.lang.Object version_; + /** + * optional string version = 2; + */ + public boolean hasVersion() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional string version = 2; + */ + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + version_ = s; + } + return s; + } + } + /** + * optional string version = 2; + */ + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int KIND_FIELD_NUMBER = 3; + private volatile java.lang.Object kind_; + /** + * optional string kind = 3; + */ + public boolean hasKind() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional string kind = 3; + */ + public java.lang.String getKind() { + java.lang.Object ref = kind_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + kind_ = s; + } + return s; + } + } + /** + * optional string kind = 3; + */ + public com.google.protobuf.ByteString + getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, kind_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, group_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, kind_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -15475,16 +15956,26 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.kubernetes.client.proto.Meta.Initializer)) { + if (!(obj instanceof io.kubernetes.client.proto.Meta.GroupVersionKind)) { return super.equals(obj); } - io.kubernetes.client.proto.Meta.Initializer other = (io.kubernetes.client.proto.Meta.Initializer) obj; + io.kubernetes.client.proto.Meta.GroupVersionKind other = (io.kubernetes.client.proto.Meta.GroupVersionKind) obj; boolean result = true; - result = result && (hasName() == other.hasName()); - if (hasName()) { - result = result && getName() - .equals(other.getName()); + result = result && (hasGroup() == other.hasGroup()); + if (hasGroup()) { + result = result && getGroup() + .equals(other.getGroup()); + } + result = result && (hasVersion() == other.hasVersion()); + if (hasVersion()) { + result = result && getVersion() + .equals(other.getVersion()); + } + result = result && (hasKind() == other.hasKind()); + if (hasKind()) { + result = result && getKind() + .equals(other.getKind()); } result = result && unknownFields.equals(other.unknownFields); return result; @@ -15497,78 +15988,86 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (hasName()) { - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); + if (hasGroup()) { + hash = (37 * hash) + GROUP_FIELD_NUMBER; + hash = (53 * hash) + getGroup().hashCode(); + } + if (hasVersion()) { + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion().hashCode(); + } + if (hasKind()) { + hash = (37 * hash) + KIND_FIELD_NUMBER; + hash = (53 * hash) + getKind().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static io.kubernetes.client.proto.Meta.Initializer parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.Initializer parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.Initializer parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.Initializer parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.Initializer parseFrom(byte[] data) + public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.Initializer parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.Initializer parseFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.Initializer parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.Initializer parseDelimitedFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.GroupVersionKind parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.Initializer parseDelimitedFrom( + public static io.kubernetes.client.proto.Meta.GroupVersionKind parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.Initializer parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.Initializer parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -15576,13 +16075,15 @@ public static io.kubernetes.client.proto.Meta.Initializer parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.kubernetes.client.proto.Meta.Initializer prototype) { + public static Builder newBuilder(io.kubernetes.client.proto.Meta.GroupVersionKind prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -15596,28 +16097,31 @@ protected Builder newBuilderForType( } /** *
-     * Initializer is information about an initializer that has not yet completed.
+     * GroupVersionKind unambiguously identifies a kind.  It doesn't anonymously include GroupVersion
+     * to avoid automatic coersion.  It doesn't use a GroupVersion to avoid custom marshalling
+     * +protobuf.options.(gogoproto.goproto_stringer)=false
      * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Initializer} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Initializer) - io.kubernetes.client.proto.Meta.InitializerOrBuilder { + // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind) + io.kubernetes.client.proto.Meta.GroupVersionKindOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Initializer_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionKind_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Initializer_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionKind_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.Initializer.class, io.kubernetes.client.proto.Meta.Initializer.Builder.class); + io.kubernetes.client.proto.Meta.GroupVersionKind.class, io.kubernetes.client.proto.Meta.GroupVersionKind.Builder.class); } - // Construct using io.kubernetes.client.proto.Meta.Initializer.newBuilder() + // Construct using io.kubernetes.client.proto.Meta.GroupVersionKind.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -15632,83 +16136,117 @@ private void maybeForceBuilderInitialization() { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); - name_ = ""; + group_ = ""; bitField0_ = (bitField0_ & ~0x00000001); + version_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + kind_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Initializer_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionKind_descriptor; } - public io.kubernetes.client.proto.Meta.Initializer getDefaultInstanceForType() { - return io.kubernetes.client.proto.Meta.Initializer.getDefaultInstance(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.GroupVersionKind getDefaultInstanceForType() { + return io.kubernetes.client.proto.Meta.GroupVersionKind.getDefaultInstance(); } - public io.kubernetes.client.proto.Meta.Initializer build() { - io.kubernetes.client.proto.Meta.Initializer result = buildPartial(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.GroupVersionKind build() { + io.kubernetes.client.proto.Meta.GroupVersionKind result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public io.kubernetes.client.proto.Meta.Initializer buildPartial() { - io.kubernetes.client.proto.Meta.Initializer result = new io.kubernetes.client.proto.Meta.Initializer(this); + @java.lang.Override + public io.kubernetes.client.proto.Meta.GroupVersionKind buildPartial() { + io.kubernetes.client.proto.Meta.GroupVersionKind result = new io.kubernetes.client.proto.Meta.GroupVersionKind(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.name_ = name_; + result.group_ = group_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.version_ = version_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.kind_ = kind_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.kubernetes.client.proto.Meta.Initializer) { - return mergeFrom((io.kubernetes.client.proto.Meta.Initializer)other); + if (other instanceof io.kubernetes.client.proto.Meta.GroupVersionKind) { + return mergeFrom((io.kubernetes.client.proto.Meta.GroupVersionKind)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.kubernetes.client.proto.Meta.Initializer other) { - if (other == io.kubernetes.client.proto.Meta.Initializer.getDefaultInstance()) return this; - if (other.hasName()) { + public Builder mergeFrom(io.kubernetes.client.proto.Meta.GroupVersionKind other) { + if (other == io.kubernetes.client.proto.Meta.GroupVersionKind.getDefaultInstance()) return this; + if (other.hasGroup()) { bitField0_ |= 0x00000001; - name_ = other.name_; + group_ = other.group_; + onChanged(); + } + if (other.hasVersion()) { + bitField0_ |= 0x00000002; + version_ = other.version_; + onChanged(); + } + if (other.hasKind()) { + bitField0_ |= 0x00000004; + kind_ = other.kind_; onChanged(); } this.mergeUnknownFields(other.unknownFields); @@ -15716,19 +16254,21 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.Initializer other) { return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.kubernetes.client.proto.Meta.Initializer parsedMessage = null; + io.kubernetes.client.proto.Meta.GroupVersionKind parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.kubernetes.client.proto.Meta.Initializer) e.getUnfinishedMessage(); + parsedMessage = (io.kubernetes.client.proto.Meta.GroupVersionKind) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -15739,32 +16279,24 @@ public Builder mergeFrom( } private int bitField0_; - private java.lang.Object name_ = ""; + private java.lang.Object group_ = ""; /** - *
-       * name of the process that is responsible for initializing this object.
-       * 
- * - * optional string name = 1; + * optional string group = 1; */ - public boolean hasName() { + public boolean hasGroup() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - *
-       * name of the process that is responsible for initializing this object.
-       * 
- * - * optional string name = 1; + * optional string group = 1; */ - public java.lang.String getName() { - java.lang.Object ref = name_; + public java.lang.String getGroup() { + java.lang.Object ref = group_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { - name_ = s; + group_ = s; } return s; } else { @@ -15772,230 +16304,329 @@ public java.lang.String getName() { } } /** - *
-       * name of the process that is responsible for initializing this object.
-       * 
- * - * optional string name = 1; + * optional string group = 1; */ public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; + getGroupBytes() { + java.lang.Object ref = group_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - name_ = b; + group_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** - *
-       * name of the process that is responsible for initializing this object.
-       * 
- * - * optional string name = 1; + * optional string group = 1; */ - public Builder setName( + public Builder setGroup( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; - name_ = value; + group_ = value; onChanged(); return this; } /** - *
-       * name of the process that is responsible for initializing this object.
-       * 
- * - * optional string name = 1; + * optional string group = 1; */ - public Builder clearName() { + public Builder clearGroup() { bitField0_ = (bitField0_ & ~0x00000001); - name_ = getDefaultInstance().getName(); + group_ = getDefaultInstance().getGroup(); onChanged(); return this; } /** - *
-       * name of the process that is responsible for initializing this object.
-       * 
- * - * optional string name = 1; + * optional string group = 1; */ - public Builder setNameBytes( + public Builder setGroupBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; - name_ = value; + group_ = value; + onChanged(); + return this; + } + + private java.lang.Object version_ = ""; + /** + * optional string version = 2; + */ + public boolean hasVersion() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional string version = 2; + */ + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + version_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string version = 2; + */ + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string version = 2; + */ + public Builder setVersion( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + version_ = value; + onChanged(); + return this; + } + /** + * optional string version = 2; + */ + public Builder clearVersion() { + bitField0_ = (bitField0_ & ~0x00000002); + version_ = getDefaultInstance().getVersion(); + onChanged(); + return this; + } + /** + * optional string version = 2; + */ + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + version_ = value; + onChanged(); + return this; + } + + private java.lang.Object kind_ = ""; + /** + * optional string kind = 3; + */ + public boolean hasKind() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional string kind = 3; + */ + public java.lang.String getKind() { + java.lang.Object ref = kind_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + kind_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string kind = 3; + */ + public com.google.protobuf.ByteString + getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string kind = 3; + */ + public Builder setKind( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + kind_ = value; + onChanged(); + return this; + } + /** + * optional string kind = 3; + */ + public Builder clearKind() { + bitField0_ = (bitField0_ & ~0x00000004); + kind_ = getDefaultInstance().getKind(); + onChanged(); + return this; + } + /** + * optional string kind = 3; + */ + public Builder setKindBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + kind_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Initializer) + // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind) } - // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Initializer) - private static final io.kubernetes.client.proto.Meta.Initializer DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind) + private static final io.kubernetes.client.proto.Meta.GroupVersionKind DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.Initializer(); + DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.GroupVersionKind(); } - public static io.kubernetes.client.proto.Meta.Initializer getDefaultInstance() { + public static io.kubernetes.client.proto.Meta.GroupVersionKind getDefaultInstance() { return DEFAULT_INSTANCE; } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - public Initializer parsePartialFrom( + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GroupVersionKind parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Initializer(input, extensionRegistry); + return new GroupVersionKind(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } - public io.kubernetes.client.proto.Meta.Initializer getDefaultInstanceForType() { + @java.lang.Override + public io.kubernetes.client.proto.Meta.GroupVersionKind getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface InitializersOrBuilder extends - // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.Initializers) + public interface GroupVersionResourceOrBuilder extends + // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource) com.google.protobuf.MessageOrBuilder { /** - *
-     * Pending is a list of initializers that must execute in order before this object is visible.
-     * When the last pending initializer is removed, and no failing result is set, the initializers
-     * struct will be set to nil and the object is considered as initialized and visible to all
-     * clients.
-     * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; + * optional string group = 1; */ - java.util.List - getPendingList(); + boolean hasGroup(); /** - *
-     * Pending is a list of initializers that must execute in order before this object is visible.
-     * When the last pending initializer is removed, and no failing result is set, the initializers
-     * struct will be set to nil and the object is considered as initialized and visible to all
-     * clients.
-     * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; + * optional string group = 1; */ - io.kubernetes.client.proto.Meta.Initializer getPending(int index); + java.lang.String getGroup(); /** - *
-     * Pending is a list of initializers that must execute in order before this object is visible.
-     * When the last pending initializer is removed, and no failing result is set, the initializers
-     * struct will be set to nil and the object is considered as initialized and visible to all
-     * clients.
-     * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; + * optional string group = 1; */ - int getPendingCount(); + com.google.protobuf.ByteString + getGroupBytes(); + /** - *
-     * Pending is a list of initializers that must execute in order before this object is visible.
-     * When the last pending initializer is removed, and no failing result is set, the initializers
-     * struct will be set to nil and the object is considered as initialized and visible to all
-     * clients.
-     * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; + * optional string version = 2; */ - java.util.List - getPendingOrBuilderList(); + boolean hasVersion(); /** - *
-     * Pending is a list of initializers that must execute in order before this object is visible.
-     * When the last pending initializer is removed, and no failing result is set, the initializers
-     * struct will be set to nil and the object is considered as initialized and visible to all
-     * clients.
-     * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; + * optional string version = 2; */ - io.kubernetes.client.proto.Meta.InitializerOrBuilder getPendingOrBuilder( - int index); + java.lang.String getVersion(); + /** + * optional string version = 2; + */ + com.google.protobuf.ByteString + getVersionBytes(); /** - *
-     * If result is set with the Failure field, the object will be persisted to storage and then deleted,
-     * ensuring that other clients can observe the deletion.
-     * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; + * optional string resource = 3; */ - boolean hasResult(); + boolean hasResource(); /** - *
-     * If result is set with the Failure field, the object will be persisted to storage and then deleted,
-     * ensuring that other clients can observe the deletion.
-     * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; + * optional string resource = 3; */ - io.kubernetes.client.proto.Meta.Status getResult(); + java.lang.String getResource(); /** - *
-     * If result is set with the Failure field, the object will be persisted to storage and then deleted,
-     * ensuring that other clients can observe the deletion.
-     * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; + * optional string resource = 3; */ - io.kubernetes.client.proto.Meta.StatusOrBuilder getResultOrBuilder(); + com.google.protobuf.ByteString + getResourceBytes(); } /** *
-   * Initializers tracks the progress of initialization.
+   * GroupVersionResource unambiguously identifies a resource.  It doesn't anonymously include GroupVersion
+   * to avoid automatic coersion.  It doesn't use a GroupVersion to avoid custom marshalling
+   * +protobuf.options.(gogoproto.goproto_stringer)=false
    * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Initializers} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource} */ - public static final class Initializers extends + public static final class GroupVersionResource extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Initializers) - InitializersOrBuilder { + // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource) + GroupVersionResourceOrBuilder { private static final long serialVersionUID = 0L; - // Use Initializers.newBuilder() to construct. - private Initializers(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use GroupVersionResource.newBuilder() to construct. + private GroupVersionResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Initializers() { - pending_ = java.util.Collections.emptyList(); + private GroupVersionResource() { + group_ = ""; + version_ = ""; + resource_ = ""; } @java.lang.Override @@ -16003,11 +16634,14 @@ private Initializers() { getUnknownFields() { return this.unknownFields; } - private Initializers( + private GroupVersionResource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -16019,33 +16653,29 @@ private Initializers( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { - pending_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - pending_.add( - input.readMessage(io.kubernetes.client.proto.Meta.Initializer.PARSER, extensionRegistry)); + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + group_ = bs; break; } case 18: { - io.kubernetes.client.proto.Meta.Status.Builder subBuilder = null; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - subBuilder = result_.toBuilder(); - } - result_ = input.readMessage(io.kubernetes.client.proto.Meta.Status.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(result_); - result_ = subBuilder.buildPartial(); + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000002; + version_ = bs; + break; + } + case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000004; + resource_ = bs; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } - bitField0_ |= 0x00000001; break; } } @@ -16056,133 +16686,152 @@ private Initializers( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { - pending_ = java.util.Collections.unmodifiableList(pending_); - } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Initializers_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionResource_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Initializers_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.Initializers.class, io.kubernetes.client.proto.Meta.Initializers.Builder.class); + io.kubernetes.client.proto.Meta.GroupVersionResource.class, io.kubernetes.client.proto.Meta.GroupVersionResource.Builder.class); } private int bitField0_; - public static final int PENDING_FIELD_NUMBER = 1; - private java.util.List pending_; + public static final int GROUP_FIELD_NUMBER = 1; + private volatile java.lang.Object group_; /** - *
-     * Pending is a list of initializers that must execute in order before this object is visible.
-     * When the last pending initializer is removed, and no failing result is set, the initializers
-     * struct will be set to nil and the object is considered as initialized and visible to all
-     * clients.
-     * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; + * optional string group = 1; */ - public java.util.List getPendingList() { - return pending_; + public boolean hasGroup() { + return ((bitField0_ & 0x00000001) == 0x00000001); } /** - *
-     * Pending is a list of initializers that must execute in order before this object is visible.
-     * When the last pending initializer is removed, and no failing result is set, the initializers
-     * struct will be set to nil and the object is considered as initialized and visible to all
-     * clients.
-     * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; + * optional string group = 1; */ - public java.util.List - getPendingOrBuilderList() { - return pending_; + public java.lang.String getGroup() { + java.lang.Object ref = group_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + group_ = s; + } + return s; + } } /** - *
-     * Pending is a list of initializers that must execute in order before this object is visible.
-     * When the last pending initializer is removed, and no failing result is set, the initializers
-     * struct will be set to nil and the object is considered as initialized and visible to all
-     * clients.
-     * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; + * optional string group = 1; */ - public int getPendingCount() { - return pending_.size(); + public com.google.protobuf.ByteString + getGroupBytes() { + java.lang.Object ref = group_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + group_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } + + public static final int VERSION_FIELD_NUMBER = 2; + private volatile java.lang.Object version_; /** - *
-     * Pending is a list of initializers that must execute in order before this object is visible.
-     * When the last pending initializer is removed, and no failing result is set, the initializers
-     * struct will be set to nil and the object is considered as initialized and visible to all
-     * clients.
-     * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; + * optional string version = 2; */ - public io.kubernetes.client.proto.Meta.Initializer getPending(int index) { - return pending_.get(index); + public boolean hasVersion() { + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - *
-     * Pending is a list of initializers that must execute in order before this object is visible.
-     * When the last pending initializer is removed, and no failing result is set, the initializers
-     * struct will be set to nil and the object is considered as initialized and visible to all
-     * clients.
-     * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; + * optional string version = 2; */ - public io.kubernetes.client.proto.Meta.InitializerOrBuilder getPendingOrBuilder( - int index) { - return pending_.get(index); + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + version_ = s; + } + return s; + } + } + /** + * optional string version = 2; + */ + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } - public static final int RESULT_FIELD_NUMBER = 2; - private io.kubernetes.client.proto.Meta.Status result_; + public static final int RESOURCE_FIELD_NUMBER = 3; + private volatile java.lang.Object resource_; /** - *
-     * If result is set with the Failure field, the object will be persisted to storage and then deleted,
-     * ensuring that other clients can observe the deletion.
-     * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; + * optional string resource = 3; */ - public boolean hasResult() { - return ((bitField0_ & 0x00000001) == 0x00000001); + public boolean hasResource() { + return ((bitField0_ & 0x00000004) == 0x00000004); } /** - *
-     * If result is set with the Failure field, the object will be persisted to storage and then deleted,
-     * ensuring that other clients can observe the deletion.
-     * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; + * optional string resource = 3; */ - public io.kubernetes.client.proto.Meta.Status getResult() { - return result_ == null ? io.kubernetes.client.proto.Meta.Status.getDefaultInstance() : result_; + public java.lang.String getResource() { + java.lang.Object ref = resource_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + resource_ = s; + } + return s; + } } /** - *
-     * If result is set with the Failure field, the object will be persisted to storage and then deleted,
-     * ensuring that other clients can observe the deletion.
-     * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; + * optional string resource = 3; */ - public io.kubernetes.client.proto.Meta.StatusOrBuilder getResultOrBuilder() { - return result_ == null ? io.kubernetes.client.proto.Meta.Status.getDefaultInstance() : result_; + public com.google.protobuf.ByteString + getResourceBytes() { + java.lang.Object ref = resource_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + resource_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -16192,29 +16841,35 @@ public final boolean isInitialized() { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < pending_.size(); i++) { - output.writeMessage(1, pending_.get(i)); - } if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeMessage(2, getResult()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, resource_); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - for (int i = 0; i < pending_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, pending_.get(i)); - } if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getResult()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, group_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, resource_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -16226,18 +16881,26 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.kubernetes.client.proto.Meta.Initializers)) { + if (!(obj instanceof io.kubernetes.client.proto.Meta.GroupVersionResource)) { return super.equals(obj); } - io.kubernetes.client.proto.Meta.Initializers other = (io.kubernetes.client.proto.Meta.Initializers) obj; + io.kubernetes.client.proto.Meta.GroupVersionResource other = (io.kubernetes.client.proto.Meta.GroupVersionResource) obj; boolean result = true; - result = result && getPendingList() - .equals(other.getPendingList()); - result = result && (hasResult() == other.hasResult()); - if (hasResult()) { - result = result && getResult() - .equals(other.getResult()); + result = result && (hasGroup() == other.hasGroup()); + if (hasGroup()) { + result = result && getGroup() + .equals(other.getGroup()); + } + result = result && (hasVersion() == other.hasVersion()); + if (hasVersion()) { + result = result && getVersion() + .equals(other.getVersion()); + } + result = result && (hasResource() == other.hasResource()); + if (hasResource()) { + result = result && getResource() + .equals(other.getResource()); } result = result && unknownFields.equals(other.unknownFields); return result; @@ -16250,82 +16913,86 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (getPendingCount() > 0) { - hash = (37 * hash) + PENDING_FIELD_NUMBER; - hash = (53 * hash) + getPendingList().hashCode(); + if (hasGroup()) { + hash = (37 * hash) + GROUP_FIELD_NUMBER; + hash = (53 * hash) + getGroup().hashCode(); } - if (hasResult()) { - hash = (37 * hash) + RESULT_FIELD_NUMBER; - hash = (53 * hash) + getResult().hashCode(); + if (hasVersion()) { + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion().hashCode(); + } + if (hasResource()) { + hash = (37 * hash) + RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getResource().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static io.kubernetes.client.proto.Meta.Initializers parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.Initializers parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.Initializers parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.Initializers parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.Initializers parseFrom(byte[] data) + public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.Initializers parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.Initializers parseFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.Initializers parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.Initializers parseDelimitedFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.GroupVersionResource parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.Initializers parseDelimitedFrom( + public static io.kubernetes.client.proto.Meta.GroupVersionResource parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.Initializers parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.Initializers parseFrom( + public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -16333,13 +17000,15 @@ public static io.kubernetes.client.proto.Meta.Initializers parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.kubernetes.client.proto.Meta.Initializers prototype) { + public static Builder newBuilder(io.kubernetes.client.proto.Meta.GroupVersionResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -16353,28 +17022,31 @@ protected Builder newBuilderForType( } /** *
-     * Initializers tracks the progress of initialization.
+     * GroupVersionResource unambiguously identifies a resource.  It doesn't anonymously include GroupVersion
+     * to avoid automatic coersion.  It doesn't use a GroupVersion to avoid custom marshalling
+     * +protobuf.options.(gogoproto.goproto_stringer)=false
      * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Initializers} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Initializers) - io.kubernetes.client.proto.Meta.InitializersOrBuilder { + // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource) + io.kubernetes.client.proto.Meta.GroupVersionResourceOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Initializers_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionResource_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Initializers_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.Initializers.class, io.kubernetes.client.proto.Meta.Initializers.Builder.class); + io.kubernetes.client.proto.Meta.GroupVersionResource.class, io.kubernetes.client.proto.Meta.GroupVersionResource.Builder.class); } - // Construct using io.kubernetes.client.proto.Meta.Initializers.newBuilder() + // Construct using io.kubernetes.client.proto.Meta.GroupVersionResource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -16387,154 +17059,141 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { - getPendingFieldBuilder(); - getResultFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); - if (pendingBuilder_ == null) { - pending_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - pendingBuilder_.clear(); - } - if (resultBuilder_ == null) { - result_ = null; - } else { - resultBuilder_.clear(); - } + group_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + version_ = ""; bitField0_ = (bitField0_ & ~0x00000002); + resource_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Initializers_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionResource_descriptor; } - public io.kubernetes.client.proto.Meta.Initializers getDefaultInstanceForType() { - return io.kubernetes.client.proto.Meta.Initializers.getDefaultInstance(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.GroupVersionResource getDefaultInstanceForType() { + return io.kubernetes.client.proto.Meta.GroupVersionResource.getDefaultInstance(); } - public io.kubernetes.client.proto.Meta.Initializers build() { - io.kubernetes.client.proto.Meta.Initializers result = buildPartial(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.GroupVersionResource build() { + io.kubernetes.client.proto.Meta.GroupVersionResource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public io.kubernetes.client.proto.Meta.Initializers buildPartial() { - io.kubernetes.client.proto.Meta.Initializers result = new io.kubernetes.client.proto.Meta.Initializers(this); + @java.lang.Override + public io.kubernetes.client.proto.Meta.GroupVersionResource buildPartial() { + io.kubernetes.client.proto.Meta.GroupVersionResource result = new io.kubernetes.client.proto.Meta.GroupVersionResource(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (pendingBuilder_ == null) { - if (((bitField0_ & 0x00000001) == 0x00000001)) { - pending_ = java.util.Collections.unmodifiableList(pending_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.pending_ = pending_; - } else { - result.pending_ = pendingBuilder_.build(); + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; } + result.group_ = group_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000001; + to_bitField0_ |= 0x00000002; } - if (resultBuilder_ == null) { - result.result_ = result_; - } else { - result.result_ = resultBuilder_.build(); + result.version_ = version_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; } + result.resource_ = resource_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.kubernetes.client.proto.Meta.Initializers) { - return mergeFrom((io.kubernetes.client.proto.Meta.Initializers)other); + if (other instanceof io.kubernetes.client.proto.Meta.GroupVersionResource) { + return mergeFrom((io.kubernetes.client.proto.Meta.GroupVersionResource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.kubernetes.client.proto.Meta.Initializers other) { - if (other == io.kubernetes.client.proto.Meta.Initializers.getDefaultInstance()) return this; - if (pendingBuilder_ == null) { - if (!other.pending_.isEmpty()) { - if (pending_.isEmpty()) { - pending_ = other.pending_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensurePendingIsMutable(); - pending_.addAll(other.pending_); - } - onChanged(); - } - } else { - if (!other.pending_.isEmpty()) { - if (pendingBuilder_.isEmpty()) { - pendingBuilder_.dispose(); - pendingBuilder_ = null; - pending_ = other.pending_; - bitField0_ = (bitField0_ & ~0x00000001); - pendingBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPendingFieldBuilder() : null; - } else { - pendingBuilder_.addAllMessages(other.pending_); - } - } + public Builder mergeFrom(io.kubernetes.client.proto.Meta.GroupVersionResource other) { + if (other == io.kubernetes.client.proto.Meta.GroupVersionResource.getDefaultInstance()) return this; + if (other.hasGroup()) { + bitField0_ |= 0x00000001; + group_ = other.group_; + onChanged(); } - if (other.hasResult()) { - mergeResult(other.getResult()); + if (other.hasVersion()) { + bitField0_ |= 0x00000002; + version_ = other.version_; + onChanged(); + } + if (other.hasResource()) { + bitField0_ |= 0x00000004; + resource_ = other.resource_; + onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.kubernetes.client.proto.Meta.Initializers parsedMessage = null; + io.kubernetes.client.proto.Meta.GroupVersionResource parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.kubernetes.client.proto.Meta.Initializers) e.getUnfinishedMessage(); + parsedMessage = (io.kubernetes.client.proto.Meta.GroupVersionResource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -16545,725 +17204,334 @@ public Builder mergeFrom( } private int bitField0_; - private java.util.List pending_ = - java.util.Collections.emptyList(); - private void ensurePendingIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { - pending_ = new java.util.ArrayList(pending_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.kubernetes.client.proto.Meta.Initializer, io.kubernetes.client.proto.Meta.Initializer.Builder, io.kubernetes.client.proto.Meta.InitializerOrBuilder> pendingBuilder_; - + private java.lang.Object group_ = ""; /** - *
-       * Pending is a list of initializers that must execute in order before this object is visible.
-       * When the last pending initializer is removed, and no failing result is set, the initializers
-       * struct will be set to nil and the object is considered as initialized and visible to all
-       * clients.
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; + * optional string group = 1; */ - public java.util.List getPendingList() { - if (pendingBuilder_ == null) { - return java.util.Collections.unmodifiableList(pending_); - } else { - return pendingBuilder_.getMessageList(); - } + public boolean hasGroup() { + return ((bitField0_ & 0x00000001) == 0x00000001); } /** - *
-       * Pending is a list of initializers that must execute in order before this object is visible.
-       * When the last pending initializer is removed, and no failing result is set, the initializers
-       * struct will be set to nil and the object is considered as initialized and visible to all
-       * clients.
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; + * optional string group = 1; */ - public int getPendingCount() { - if (pendingBuilder_ == null) { - return pending_.size(); + public java.lang.String getGroup() { + java.lang.Object ref = group_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + group_ = s; + } + return s; } else { - return pendingBuilder_.getCount(); + return (java.lang.String) ref; } } /** - *
-       * Pending is a list of initializers that must execute in order before this object is visible.
-       * When the last pending initializer is removed, and no failing result is set, the initializers
-       * struct will be set to nil and the object is considered as initialized and visible to all
-       * clients.
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; + * optional string group = 1; */ - public io.kubernetes.client.proto.Meta.Initializer getPending(int index) { - if (pendingBuilder_ == null) { - return pending_.get(index); + public com.google.protobuf.ByteString + getGroupBytes() { + java.lang.Object ref = group_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + group_ = b; + return b; } else { - return pendingBuilder_.getMessage(index); + return (com.google.protobuf.ByteString) ref; } } /** - *
-       * Pending is a list of initializers that must execute in order before this object is visible.
-       * When the last pending initializer is removed, and no failing result is set, the initializers
-       * struct will be set to nil and the object is considered as initialized and visible to all
-       * clients.
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; + * optional string group = 1; */ - public Builder setPending( - int index, io.kubernetes.client.proto.Meta.Initializer value) { - if (pendingBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePendingIsMutable(); - pending_.set(index, value); - onChanged(); - } else { - pendingBuilder_.setMessage(index, value); - } + public Builder setGroup( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + group_ = value; + onChanged(); return this; } /** - *
-       * Pending is a list of initializers that must execute in order before this object is visible.
-       * When the last pending initializer is removed, and no failing result is set, the initializers
-       * struct will be set to nil and the object is considered as initialized and visible to all
-       * clients.
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; + * optional string group = 1; */ - public Builder setPending( - int index, io.kubernetes.client.proto.Meta.Initializer.Builder builderForValue) { - if (pendingBuilder_ == null) { - ensurePendingIsMutable(); - pending_.set(index, builderForValue.build()); - onChanged(); - } else { - pendingBuilder_.setMessage(index, builderForValue.build()); - } + public Builder clearGroup() { + bitField0_ = (bitField0_ & ~0x00000001); + group_ = getDefaultInstance().getGroup(); + onChanged(); return this; } /** - *
-       * Pending is a list of initializers that must execute in order before this object is visible.
-       * When the last pending initializer is removed, and no failing result is set, the initializers
-       * struct will be set to nil and the object is considered as initialized and visible to all
-       * clients.
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; + * optional string group = 1; */ - public Builder addPending(io.kubernetes.client.proto.Meta.Initializer value) { - if (pendingBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePendingIsMutable(); - pending_.add(value); - onChanged(); - } else { - pendingBuilder_.addMessage(value); - } + public Builder setGroupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + group_ = value; + onChanged(); return this; } + + private java.lang.Object version_ = ""; /** - *
-       * Pending is a list of initializers that must execute in order before this object is visible.
-       * When the last pending initializer is removed, and no failing result is set, the initializers
-       * struct will be set to nil and the object is considered as initialized and visible to all
-       * clients.
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; + * optional string version = 2; */ - public Builder addPending( - int index, io.kubernetes.client.proto.Meta.Initializer value) { - if (pendingBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePendingIsMutable(); - pending_.add(index, value); - onChanged(); - } else { - pendingBuilder_.addMessage(index, value); - } - return this; + public boolean hasVersion() { + return ((bitField0_ & 0x00000002) == 0x00000002); } /** - *
-       * Pending is a list of initializers that must execute in order before this object is visible.
-       * When the last pending initializer is removed, and no failing result is set, the initializers
-       * struct will be set to nil and the object is considered as initialized and visible to all
-       * clients.
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; + * optional string version = 2; */ - public Builder addPending( - io.kubernetes.client.proto.Meta.Initializer.Builder builderForValue) { - if (pendingBuilder_ == null) { - ensurePendingIsMutable(); - pending_.add(builderForValue.build()); - onChanged(); + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + version_ = s; + } + return s; } else { - pendingBuilder_.addMessage(builderForValue.build()); + return (java.lang.String) ref; } - return this; } /** - *
-       * Pending is a list of initializers that must execute in order before this object is visible.
-       * When the last pending initializer is removed, and no failing result is set, the initializers
-       * struct will be set to nil and the object is considered as initialized and visible to all
-       * clients.
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; + * optional string version = 2; */ - public Builder addPending( - int index, io.kubernetes.client.proto.Meta.Initializer.Builder builderForValue) { - if (pendingBuilder_ == null) { - ensurePendingIsMutable(); - pending_.add(index, builderForValue.build()); - onChanged(); + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; } else { - pendingBuilder_.addMessage(index, builderForValue.build()); + return (com.google.protobuf.ByteString) ref; } - return this; } /** - *
-       * Pending is a list of initializers that must execute in order before this object is visible.
-       * When the last pending initializer is removed, and no failing result is set, the initializers
-       * struct will be set to nil and the object is considered as initialized and visible to all
-       * clients.
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; + * optional string version = 2; */ - public Builder addAllPending( - java.lang.Iterable values) { - if (pendingBuilder_ == null) { - ensurePendingIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, pending_); - onChanged(); - } else { - pendingBuilder_.addAllMessages(values); - } + public Builder setVersion( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + version_ = value; + onChanged(); return this; } /** - *
-       * Pending is a list of initializers that must execute in order before this object is visible.
-       * When the last pending initializer is removed, and no failing result is set, the initializers
-       * struct will be set to nil and the object is considered as initialized and visible to all
-       * clients.
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; + * optional string version = 2; */ - public Builder clearPending() { - if (pendingBuilder_ == null) { - pending_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - pendingBuilder_.clear(); - } + public Builder clearVersion() { + bitField0_ = (bitField0_ & ~0x00000002); + version_ = getDefaultInstance().getVersion(); + onChanged(); return this; } /** - *
-       * Pending is a list of initializers that must execute in order before this object is visible.
-       * When the last pending initializer is removed, and no failing result is set, the initializers
-       * struct will be set to nil and the object is considered as initialized and visible to all
-       * clients.
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; + * optional string version = 2; */ - public Builder removePending(int index) { - if (pendingBuilder_ == null) { - ensurePendingIsMutable(); - pending_.remove(index); - onChanged(); - } else { - pendingBuilder_.remove(index); - } + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + version_ = value; + onChanged(); return this; } + + private java.lang.Object resource_ = ""; /** - *
-       * Pending is a list of initializers that must execute in order before this object is visible.
-       * When the last pending initializer is removed, and no failing result is set, the initializers
-       * struct will be set to nil and the object is considered as initialized and visible to all
-       * clients.
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; + * optional string resource = 3; */ - public io.kubernetes.client.proto.Meta.Initializer.Builder getPendingBuilder( - int index) { - return getPendingFieldBuilder().getBuilder(index); + public boolean hasResource() { + return ((bitField0_ & 0x00000004) == 0x00000004); } /** - *
-       * Pending is a list of initializers that must execute in order before this object is visible.
-       * When the last pending initializer is removed, and no failing result is set, the initializers
-       * struct will be set to nil and the object is considered as initialized and visible to all
-       * clients.
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; + * optional string resource = 3; */ - public io.kubernetes.client.proto.Meta.InitializerOrBuilder getPendingOrBuilder( - int index) { - if (pendingBuilder_ == null) { - return pending_.get(index); } else { - return pendingBuilder_.getMessageOrBuilder(index); + public java.lang.String getResource() { + java.lang.Object ref = resource_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + resource_ = s; + } + return s; + } else { + return (java.lang.String) ref; } } /** - *
-       * Pending is a list of initializers that must execute in order before this object is visible.
-       * When the last pending initializer is removed, and no failing result is set, the initializers
-       * struct will be set to nil and the object is considered as initialized and visible to all
-       * clients.
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; + * optional string resource = 3; */ - public java.util.List - getPendingOrBuilderList() { - if (pendingBuilder_ != null) { - return pendingBuilder_.getMessageOrBuilderList(); + public com.google.protobuf.ByteString + getResourceBytes() { + java.lang.Object ref = resource_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + resource_ = b; + return b; } else { - return java.util.Collections.unmodifiableList(pending_); + return (com.google.protobuf.ByteString) ref; } } /** - *
-       * Pending is a list of initializers that must execute in order before this object is visible.
-       * When the last pending initializer is removed, and no failing result is set, the initializers
-       * struct will be set to nil and the object is considered as initialized and visible to all
-       * clients.
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; + * optional string resource = 3; */ - public io.kubernetes.client.proto.Meta.Initializer.Builder addPendingBuilder() { - return getPendingFieldBuilder().addBuilder( - io.kubernetes.client.proto.Meta.Initializer.getDefaultInstance()); + public Builder setResource( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + resource_ = value; + onChanged(); + return this; } /** - *
-       * Pending is a list of initializers that must execute in order before this object is visible.
-       * When the last pending initializer is removed, and no failing result is set, the initializers
-       * struct will be set to nil and the object is considered as initialized and visible to all
-       * clients.
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; + * optional string resource = 3; */ - public io.kubernetes.client.proto.Meta.Initializer.Builder addPendingBuilder( - int index) { - return getPendingFieldBuilder().addBuilder( - index, io.kubernetes.client.proto.Meta.Initializer.getDefaultInstance()); + public Builder clearResource() { + bitField0_ = (bitField0_ & ~0x00000004); + resource_ = getDefaultInstance().getResource(); + onChanged(); + return this; } /** - *
-       * Pending is a list of initializers that must execute in order before this object is visible.
-       * When the last pending initializer is removed, and no failing result is set, the initializers
-       * struct will be set to nil and the object is considered as initialized and visible to all
-       * clients.
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; + * optional string resource = 3; */ - public java.util.List - getPendingBuilderList() { - return getPendingFieldBuilder().getBuilderList(); + public Builder setResourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + resource_ = value; + onChanged(); + return this; } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.kubernetes.client.proto.Meta.Initializer, io.kubernetes.client.proto.Meta.Initializer.Builder, io.kubernetes.client.proto.Meta.InitializerOrBuilder> - getPendingFieldBuilder() { - if (pendingBuilder_ == null) { - pendingBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.kubernetes.client.proto.Meta.Initializer, io.kubernetes.client.proto.Meta.Initializer.Builder, io.kubernetes.client.proto.Meta.InitializerOrBuilder>( - pending_, - ((bitField0_ & 0x00000001) == 0x00000001), - getParentForChildren(), - isClean()); - pending_ = null; - } - return pendingBuilder_; + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); } - private io.kubernetes.client.proto.Meta.Status result_ = null; - private com.google.protobuf.SingleFieldBuilderV3< - io.kubernetes.client.proto.Meta.Status, io.kubernetes.client.proto.Meta.Status.Builder, io.kubernetes.client.proto.Meta.StatusOrBuilder> resultBuilder_; - /** - *
-       * If result is set with the Failure field, the object will be persisted to storage and then deleted,
-       * ensuring that other clients can observe the deletion.
-       * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; - */ - public boolean hasResult() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - /** - *
-       * If result is set with the Failure field, the object will be persisted to storage and then deleted,
-       * ensuring that other clients can observe the deletion.
-       * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; - */ - public io.kubernetes.client.proto.Meta.Status getResult() { - if (resultBuilder_ == null) { - return result_ == null ? io.kubernetes.client.proto.Meta.Status.getDefaultInstance() : result_; - } else { - return resultBuilder_.getMessage(); - } - } - /** - *
-       * If result is set with the Failure field, the object will be persisted to storage and then deleted,
-       * ensuring that other clients can observe the deletion.
-       * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; - */ - public Builder setResult(io.kubernetes.client.proto.Meta.Status value) { - if (resultBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - result_ = value; - onChanged(); - } else { - resultBuilder_.setMessage(value); - } - bitField0_ |= 0x00000002; - return this; - } - /** - *
-       * If result is set with the Failure field, the object will be persisted to storage and then deleted,
-       * ensuring that other clients can observe the deletion.
-       * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; - */ - public Builder setResult( - io.kubernetes.client.proto.Meta.Status.Builder builderForValue) { - if (resultBuilder_ == null) { - result_ = builderForValue.build(); - onChanged(); - } else { - resultBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000002; - return this; - } - /** - *
-       * If result is set with the Failure field, the object will be persisted to storage and then deleted,
-       * ensuring that other clients can observe the deletion.
-       * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; - */ - public Builder mergeResult(io.kubernetes.client.proto.Meta.Status value) { - if (resultBuilder_ == null) { - if (((bitField0_ & 0x00000002) == 0x00000002) && - result_ != null && - result_ != io.kubernetes.client.proto.Meta.Status.getDefaultInstance()) { - result_ = - io.kubernetes.client.proto.Meta.Status.newBuilder(result_).mergeFrom(value).buildPartial(); - } else { - result_ = value; - } - onChanged(); - } else { - resultBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000002; - return this; - } - /** - *
-       * If result is set with the Failure field, the object will be persisted to storage and then deleted,
-       * ensuring that other clients can observe the deletion.
-       * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; - */ - public Builder clearResult() { - if (resultBuilder_ == null) { - result_ = null; - onChanged(); - } else { - resultBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - /** - *
-       * If result is set with the Failure field, the object will be persisted to storage and then deleted,
-       * ensuring that other clients can observe the deletion.
-       * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; - */ - public io.kubernetes.client.proto.Meta.Status.Builder getResultBuilder() { - bitField0_ |= 0x00000002; - onChanged(); - return getResultFieldBuilder().getBuilder(); - } - /** - *
-       * If result is set with the Failure field, the object will be persisted to storage and then deleted,
-       * ensuring that other clients can observe the deletion.
-       * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; - */ - public io.kubernetes.client.proto.Meta.StatusOrBuilder getResultOrBuilder() { - if (resultBuilder_ != null) { - return resultBuilder_.getMessageOrBuilder(); - } else { - return result_ == null ? - io.kubernetes.client.proto.Meta.Status.getDefaultInstance() : result_; - } - } - /** - *
-       * If result is set with the Failure field, the object will be persisted to storage and then deleted,
-       * ensuring that other clients can observe the deletion.
-       * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.kubernetes.client.proto.Meta.Status, io.kubernetes.client.proto.Meta.Status.Builder, io.kubernetes.client.proto.Meta.StatusOrBuilder> - getResultFieldBuilder() { - if (resultBuilder_ == null) { - resultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.kubernetes.client.proto.Meta.Status, io.kubernetes.client.proto.Meta.Status.Builder, io.kubernetes.client.proto.Meta.StatusOrBuilder>( - getResult(), - getParentForChildren(), - isClean()); - result_ = null; - } - return resultBuilder_; - } - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Initializers) + // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource) } - // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Initializers) - private static final io.kubernetes.client.proto.Meta.Initializers DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource) + private static final io.kubernetes.client.proto.Meta.GroupVersionResource DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.Initializers(); + DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.GroupVersionResource(); } - public static io.kubernetes.client.proto.Meta.Initializers getDefaultInstance() { + public static io.kubernetes.client.proto.Meta.GroupVersionResource getDefaultInstance() { return DEFAULT_INSTANCE; } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - public Initializers parsePartialFrom( + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GroupVersionResource parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Initializers(input, extensionRegistry); + return new GroupVersionResource(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } - public io.kubernetes.client.proto.Meta.Initializers getDefaultInstanceForType() { + @java.lang.Override + public io.kubernetes.client.proto.Meta.GroupVersionResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface LabelSelectorOrBuilder extends - // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector) + public interface InitializerOrBuilder extends + // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.Initializer) com.google.protobuf.MessageOrBuilder { /** *
-     * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
-     * map is equivalent to an element of matchExpressions, whose key field is "key", the
-     * operator is "In", and the values array contains only "value". The requirements are ANDed.
-     * +optional
-     * 
- * - * map<string, string> matchLabels = 1; - */ - int getMatchLabelsCount(); - /** - *
-     * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
-     * map is equivalent to an element of matchExpressions, whose key field is "key", the
-     * operator is "In", and the values array contains only "value". The requirements are ANDed.
-     * +optional
-     * 
- * - * map<string, string> matchLabels = 1; - */ - boolean containsMatchLabels( - java.lang.String key); - /** - * Use {@link #getMatchLabelsMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getMatchLabels(); - /** - *
-     * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
-     * map is equivalent to an element of matchExpressions, whose key field is "key", the
-     * operator is "In", and the values array contains only "value". The requirements are ANDed.
-     * +optional
-     * 
- * - * map<string, string> matchLabels = 1; - */ - java.util.Map - getMatchLabelsMap(); - /** - *
-     * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
-     * map is equivalent to an element of matchExpressions, whose key field is "key", the
-     * operator is "In", and the values array contains only "value". The requirements are ANDed.
-     * +optional
-     * 
- * - * map<string, string> matchLabels = 1; - */ - - java.lang.String getMatchLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue); - /** - *
-     * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
-     * map is equivalent to an element of matchExpressions, whose key field is "key", the
-     * operator is "In", and the values array contains only "value". The requirements are ANDed.
-     * +optional
-     * 
- * - * map<string, string> matchLabels = 1; - */ - - java.lang.String getMatchLabelsOrThrow( - java.lang.String key); - - /** - *
-     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
-     * +optional
-     * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; - */ - java.util.List - getMatchExpressionsList(); - /** - *
-     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
-     * +optional
-     * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; - */ - io.kubernetes.client.proto.Meta.LabelSelectorRequirement getMatchExpressions(int index); - /** - *
-     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
-     * +optional
+     * name of the process that is responsible for initializing this object.
      * 
* - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; + * optional string name = 1; */ - int getMatchExpressionsCount(); + boolean hasName(); /** *
-     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
-     * +optional
+     * name of the process that is responsible for initializing this object.
      * 
* - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; + * optional string name = 1; */ - java.util.List - getMatchExpressionsOrBuilderList(); + java.lang.String getName(); /** *
-     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
-     * +optional
+     * name of the process that is responsible for initializing this object.
      * 
* - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; + * optional string name = 1; */ - io.kubernetes.client.proto.Meta.LabelSelectorRequirementOrBuilder getMatchExpressionsOrBuilder( - int index); + com.google.protobuf.ByteString + getNameBytes(); } /** *
-   * A label selector is a label query over a set of resources. The result of matchLabels and
-   * matchExpressions are ANDed. An empty label selector matches all objects. A null
-   * label selector matches no objects.
+   * Initializer is information about an initializer that has not yet completed.
    * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Initializer} */ - public static final class LabelSelector extends + public static final class Initializer extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector) - LabelSelectorOrBuilder { + // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Initializer) + InitializerOrBuilder { private static final long serialVersionUID = 0L; - // Use LabelSelector.newBuilder() to construct. - private LabelSelector(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use Initializer.newBuilder() to construct. + private Initializer(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LabelSelector() { - matchExpressions_ = java.util.Collections.emptyList(); + private Initializer() { + name_ = ""; } @java.lang.Override @@ -17271,11 +17539,14 @@ private LabelSelector() { getUnknownFields() { return this.unknownFields; } - private LabelSelector( + private Initializer( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -17287,6 +17558,12 @@ private LabelSelector( case 0: done = true; break; + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + name_ = bs; + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -17294,28 +17571,6 @@ private LabelSelector( } break; } - case 10: { - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { - matchLabels_ = com.google.protobuf.MapField.newMapField( - MatchLabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - matchLabels__ = input.readMessage( - MatchLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - matchLabels_.getMutableMap().put( - matchLabels__.getKey(), matchLabels__.getValue()); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { - matchExpressions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - matchExpressions_.add( - input.readMessage(io.kubernetes.client.proto.Meta.LabelSelectorRequirement.PARSER, extensionRegistry)); - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -17324,242 +17579,106 @@ private LabelSelector( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { - matchExpressions_ = java.util.Collections.unmodifiableList(matchExpressions_); - } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelector_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Initializer_descriptor; } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetMatchLabels(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelector_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Initializer_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.LabelSelector.class, io.kubernetes.client.proto.Meta.LabelSelector.Builder.class); - } - - public static final int MATCHLABELS_FIELD_NUMBER = 1; - private static final class MatchLabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelector_MatchLabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> matchLabels_; - private com.google.protobuf.MapField - internalGetMatchLabels() { - if (matchLabels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - MatchLabelsDefaultEntryHolder.defaultEntry); - } - return matchLabels_; + io.kubernetes.client.proto.Meta.Initializer.class, io.kubernetes.client.proto.Meta.Initializer.Builder.class); } - public int getMatchLabelsCount() { - return internalGetMatchLabels().getMap().size(); - } + private int bitField0_; + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; /** *
-     * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
-     * map is equivalent to an element of matchExpressions, whose key field is "key", the
-     * operator is "In", and the values array contains only "value". The requirements are ANDed.
-     * +optional
+     * name of the process that is responsible for initializing this object.
      * 
* - * map<string, string> matchLabels = 1; - */ - - public boolean containsMatchLabels( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetMatchLabels().getMap().containsKey(key); - } - /** - * Use {@link #getMatchLabelsMap()} instead. + * optional string name = 1; */ - @java.lang.Deprecated - public java.util.Map getMatchLabels() { - return getMatchLabelsMap(); + public boolean hasName() { + return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
-     * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
-     * map is equivalent to an element of matchExpressions, whose key field is "key", the
-     * operator is "In", and the values array contains only "value". The requirements are ANDed.
-     * +optional
+     * name of the process that is responsible for initializing this object.
      * 
* - * map<string, string> matchLabels = 1; + * optional string name = 1; */ - - public java.util.Map getMatchLabelsMap() { - return internalGetMatchLabels().getMap(); + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + name_ = s; + } + return s; + } } /** *
-     * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
-     * map is equivalent to an element of matchExpressions, whose key field is "key", the
-     * operator is "In", and the values array contains only "value". The requirements are ANDed.
-     * +optional
+     * name of the process that is responsible for initializing this object.
      * 
* - * map<string, string> matchLabels = 1; + * optional string name = 1; */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public java.lang.String getMatchLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetMatchLabels().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; } - /** - *
-     * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
-     * map is equivalent to an element of matchExpressions, whose key field is "key", the
-     * operator is "In", and the values array contains only "value". The requirements are ANDed.
-     * +optional
-     * 
- * - * map<string, string> matchLabels = 1; - */ - public java.lang.String getMatchLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetMatchLabels().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) == 0x00000001)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - return map.get(key); - } - - public static final int MATCHEXPRESSIONS_FIELD_NUMBER = 2; - private java.util.List matchExpressions_; - /** - *
-     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
-     * +optional
-     * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; - */ - public java.util.List getMatchExpressionsList() { - return matchExpressions_; - } - /** - *
-     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
-     * +optional
-     * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; - */ - public java.util.List - getMatchExpressionsOrBuilderList() { - return matchExpressions_; - } - /** - *
-     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
-     * +optional
-     * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; - */ - public int getMatchExpressionsCount() { - return matchExpressions_.size(); - } - /** - *
-     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
-     * +optional
-     * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; - */ - public io.kubernetes.client.proto.Meta.LabelSelectorRequirement getMatchExpressions(int index) { - return matchExpressions_.get(index); - } - /** - *
-     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
-     * +optional
-     * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; - */ - public io.kubernetes.client.proto.Meta.LabelSelectorRequirementOrBuilder getMatchExpressionsOrBuilder( - int index) { - return matchExpressions_.get(index); - } - - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetMatchLabels(), - MatchLabelsDefaultEntryHolder.defaultEntry, - 1); - for (int i = 0; i < matchExpressions_.size(); i++) { - output.writeMessage(2, matchExpressions_.get(i)); - } - unknownFields.writeTo(output); + unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - for (java.util.Map.Entry entry - : internalGetMatchLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - matchLabels__ = MatchLabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, matchLabels__); - } - for (int i = 0; i < matchExpressions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, matchExpressions_.get(i)); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -17571,16 +17690,17 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.kubernetes.client.proto.Meta.LabelSelector)) { + if (!(obj instanceof io.kubernetes.client.proto.Meta.Initializer)) { return super.equals(obj); } - io.kubernetes.client.proto.Meta.LabelSelector other = (io.kubernetes.client.proto.Meta.LabelSelector) obj; + io.kubernetes.client.proto.Meta.Initializer other = (io.kubernetes.client.proto.Meta.Initializer) obj; boolean result = true; - result = result && internalGetMatchLabels().equals( - other.internalGetMatchLabels()); - result = result && getMatchExpressionsList() - .equals(other.getMatchExpressionsList()); + result = result && (hasName() == other.hasName()); + if (hasName()) { + result = result && getName() + .equals(other.getName()); + } result = result && unknownFields.equals(other.unknownFields); return result; } @@ -17592,82 +17712,78 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (!internalGetMatchLabels().getMap().isEmpty()) { - hash = (37 * hash) + MATCHLABELS_FIELD_NUMBER; - hash = (53 * hash) + internalGetMatchLabels().hashCode(); - } - if (getMatchExpressionsCount() > 0) { - hash = (37 * hash) + MATCHEXPRESSIONS_FIELD_NUMBER; - hash = (53 * hash) + getMatchExpressionsList().hashCode(); + if (hasName()) { + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom( + public static io.kubernetes.client.proto.Meta.Initializer parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom( + public static io.kubernetes.client.proto.Meta.Initializer parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom( + public static io.kubernetes.client.proto.Meta.Initializer parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom( + public static io.kubernetes.client.proto.Meta.Initializer parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom(byte[] data) + public static io.kubernetes.client.proto.Meta.Initializer parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom( + public static io.kubernetes.client.proto.Meta.Initializer parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.Initializer parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom( + public static io.kubernetes.client.proto.Meta.Initializer parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.LabelSelector parseDelimitedFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.Initializer parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.LabelSelector parseDelimitedFrom( + public static io.kubernetes.client.proto.Meta.Initializer parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom( + public static io.kubernetes.client.proto.Meta.Initializer parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom( + public static io.kubernetes.client.proto.Meta.Initializer parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -17675,13 +17791,15 @@ public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.kubernetes.client.proto.Meta.LabelSelector prototype) { + public static Builder newBuilder(io.kubernetes.client.proto.Meta.Initializer prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -17695,52 +17813,29 @@ protected Builder newBuilderForType( } /** *
-     * A label selector is a label query over a set of resources. The result of matchLabels and
-     * matchExpressions are ANDed. An empty label selector matches all objects. A null
-     * label selector matches no objects.
+     * Initializer is information about an initializer that has not yet completed.
      * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Initializer} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector) - io.kubernetes.client.proto.Meta.LabelSelectorOrBuilder { + // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Initializer) + io.kubernetes.client.proto.Meta.InitializerOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelector_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Initializer_descriptor; } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetMatchLabels(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 1: - return internalGetMutableMatchLabels(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelector_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Initializer_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.LabelSelector.class, io.kubernetes.client.proto.Meta.LabelSelector.Builder.class); + io.kubernetes.client.proto.Meta.Initializer.class, io.kubernetes.client.proto.Meta.Initializer.Builder.class); } - // Construct using io.kubernetes.client.proto.Meta.LabelSelector.newBuilder() + // Construct using io.kubernetes.client.proto.Meta.Initializer.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -17753,139 +17848,119 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { - getMatchExpressionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); - internalGetMutableMatchLabels().clear(); - if (matchExpressionsBuilder_ == null) { - matchExpressions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - matchExpressionsBuilder_.clear(); - } + name_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelector_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Initializer_descriptor; } - public io.kubernetes.client.proto.Meta.LabelSelector getDefaultInstanceForType() { - return io.kubernetes.client.proto.Meta.LabelSelector.getDefaultInstance(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.Initializer getDefaultInstanceForType() { + return io.kubernetes.client.proto.Meta.Initializer.getDefaultInstance(); } - public io.kubernetes.client.proto.Meta.LabelSelector build() { - io.kubernetes.client.proto.Meta.LabelSelector result = buildPartial(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.Initializer build() { + io.kubernetes.client.proto.Meta.Initializer result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public io.kubernetes.client.proto.Meta.LabelSelector buildPartial() { - io.kubernetes.client.proto.Meta.LabelSelector result = new io.kubernetes.client.proto.Meta.LabelSelector(this); + @java.lang.Override + public io.kubernetes.client.proto.Meta.Initializer buildPartial() { + io.kubernetes.client.proto.Meta.Initializer result = new io.kubernetes.client.proto.Meta.Initializer(this); int from_bitField0_ = bitField0_; - result.matchLabels_ = internalGetMatchLabels(); - result.matchLabels_.makeImmutable(); - if (matchExpressionsBuilder_ == null) { - if (((bitField0_ & 0x00000002) == 0x00000002)) { - matchExpressions_ = java.util.Collections.unmodifiableList(matchExpressions_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.matchExpressions_ = matchExpressions_; - } else { - result.matchExpressions_ = matchExpressionsBuilder_.build(); + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; } + result.name_ = name_; + result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.kubernetes.client.proto.Meta.LabelSelector) { - return mergeFrom((io.kubernetes.client.proto.Meta.LabelSelector)other); + if (other instanceof io.kubernetes.client.proto.Meta.Initializer) { + return mergeFrom((io.kubernetes.client.proto.Meta.Initializer)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.kubernetes.client.proto.Meta.LabelSelector other) { - if (other == io.kubernetes.client.proto.Meta.LabelSelector.getDefaultInstance()) return this; - internalGetMutableMatchLabels().mergeFrom( - other.internalGetMatchLabels()); - if (matchExpressionsBuilder_ == null) { - if (!other.matchExpressions_.isEmpty()) { - if (matchExpressions_.isEmpty()) { - matchExpressions_ = other.matchExpressions_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureMatchExpressionsIsMutable(); - matchExpressions_.addAll(other.matchExpressions_); - } - onChanged(); - } - } else { - if (!other.matchExpressions_.isEmpty()) { - if (matchExpressionsBuilder_.isEmpty()) { - matchExpressionsBuilder_.dispose(); - matchExpressionsBuilder_ = null; - matchExpressions_ = other.matchExpressions_; - bitField0_ = (bitField0_ & ~0x00000002); - matchExpressionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMatchExpressionsFieldBuilder() : null; - } else { - matchExpressionsBuilder_.addAllMessages(other.matchExpressions_); - } - } + public Builder mergeFrom(io.kubernetes.client.proto.Meta.Initializer other) { + if (other == io.kubernetes.client.proto.Meta.Initializer.getDefaultInstance()) return this; + if (other.hasName()) { + bitField0_ |= 0x00000001; + name_ = other.name_; + onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.kubernetes.client.proto.Meta.LabelSelector parsedMessage = null; + io.kubernetes.client.proto.Meta.Initializer parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.kubernetes.client.proto.Meta.LabelSelector) e.getUnfinishedMessage(); + parsedMessage = (io.kubernetes.client.proto.Meta.Initializer) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -17896,693 +17971,277 @@ public Builder mergeFrom( } private int bitField0_; - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> matchLabels_; - private com.google.protobuf.MapField - internalGetMatchLabels() { - if (matchLabels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - MatchLabelsDefaultEntryHolder.defaultEntry); - } - return matchLabels_; - } - private com.google.protobuf.MapField - internalGetMutableMatchLabels() { - onChanged();; - if (matchLabels_ == null) { - matchLabels_ = com.google.protobuf.MapField.newMapField( - MatchLabelsDefaultEntryHolder.defaultEntry); - } - if (!matchLabels_.isMutable()) { - matchLabels_ = matchLabels_.copy(); - } - return matchLabels_; - } - - public int getMatchLabelsCount() { - return internalGetMatchLabels().getMap().size(); - } - /** - *
-       * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
-       * map is equivalent to an element of matchExpressions, whose key field is "key", the
-       * operator is "In", and the values array contains only "value". The requirements are ANDed.
-       * +optional
-       * 
- * - * map<string, string> matchLabels = 1; - */ - - public boolean containsMatchLabels( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetMatchLabels().getMap().containsKey(key); - } - /** - * Use {@link #getMatchLabelsMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getMatchLabels() { - return getMatchLabelsMap(); - } + private java.lang.Object name_ = ""; /** *
-       * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
-       * map is equivalent to an element of matchExpressions, whose key field is "key", the
-       * operator is "In", and the values array contains only "value". The requirements are ANDed.
-       * +optional
+       * name of the process that is responsible for initializing this object.
        * 
* - * map<string, string> matchLabels = 1; + * optional string name = 1; */ - - public java.util.Map getMatchLabelsMap() { - return internalGetMatchLabels().getMap(); + public boolean hasName() { + return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
-       * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
-       * map is equivalent to an element of matchExpressions, whose key field is "key", the
-       * operator is "In", and the values array contains only "value". The requirements are ANDed.
-       * +optional
+       * name of the process that is responsible for initializing this object.
        * 
* - * map<string, string> matchLabels = 1; + * optional string name = 1; */ - - public java.lang.String getMatchLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetMatchLabels().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + name_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } } /** *
-       * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
-       * map is equivalent to an element of matchExpressions, whose key field is "key", the
-       * operator is "In", and the values array contains only "value". The requirements are ANDed.
-       * +optional
+       * name of the process that is responsible for initializing this object.
        * 
* - * map<string, string> matchLabels = 1; + * optional string name = 1; */ - - public java.lang.String getMatchLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetMatchLabels().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } - return map.get(key); - } - - public Builder clearMatchLabels() { - internalGetMutableMatchLabels().getMutableMap() - .clear(); - return this; } /** *
-       * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
-       * map is equivalent to an element of matchExpressions, whose key field is "key", the
-       * operator is "In", and the values array contains only "value". The requirements are ANDed.
-       * +optional
+       * name of the process that is responsible for initializing this object.
        * 
* - * map<string, string> matchLabels = 1; + * optional string name = 1; */ - - public Builder removeMatchLabels( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableMatchLabels().getMutableMap() - .remove(key); + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + name_ = value; + onChanged(); return this; } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableMatchLabels() { - return internalGetMutableMatchLabels().getMutableMap(); - } /** *
-       * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
-       * map is equivalent to an element of matchExpressions, whose key field is "key", the
-       * operator is "In", and the values array contains only "value". The requirements are ANDed.
-       * +optional
+       * name of the process that is responsible for initializing this object.
        * 
* - * map<string, string> matchLabels = 1; + * optional string name = 1; */ - public Builder putMatchLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableMatchLabels().getMutableMap() - .put(key, value); + public Builder clearName() { + bitField0_ = (bitField0_ & ~0x00000001); + name_ = getDefaultInstance().getName(); + onChanged(); return this; } /** *
-       * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
-       * map is equivalent to an element of matchExpressions, whose key field is "key", the
-       * operator is "In", and the values array contains only "value". The requirements are ANDed.
-       * +optional
+       * name of the process that is responsible for initializing this object.
        * 
* - * map<string, string> matchLabels = 1; + * optional string name = 1; */ - - public Builder putAllMatchLabels( - java.util.Map values) { - internalGetMutableMatchLabels().getMutableMap() - .putAll(values); + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + name_ = value; + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } - private java.util.List matchExpressions_ = - java.util.Collections.emptyList(); - private void ensureMatchExpressionsIsMutable() { - if (!((bitField0_ & 0x00000002) == 0x00000002)) { - matchExpressions_ = new java.util.ArrayList(matchExpressions_); - bitField0_ |= 0x00000002; - } + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.kubernetes.client.proto.Meta.LabelSelectorRequirement, io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder, io.kubernetes.client.proto.Meta.LabelSelectorRequirementOrBuilder> matchExpressionsBuilder_; - /** - *
-       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
-       * +optional
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; - */ - public java.util.List getMatchExpressionsList() { - if (matchExpressionsBuilder_ == null) { - return java.util.Collections.unmodifiableList(matchExpressions_); - } else { - return matchExpressionsBuilder_.getMessageList(); - } - } - /** - *
-       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
-       * +optional
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; - */ - public int getMatchExpressionsCount() { - if (matchExpressionsBuilder_ == null) { - return matchExpressions_.size(); - } else { - return matchExpressionsBuilder_.getCount(); - } - } - /** - *
-       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
-       * +optional
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; - */ - public io.kubernetes.client.proto.Meta.LabelSelectorRequirement getMatchExpressions(int index) { - if (matchExpressionsBuilder_ == null) { - return matchExpressions_.get(index); - } else { - return matchExpressionsBuilder_.getMessage(index); - } - } - /** - *
-       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
-       * +optional
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; - */ - public Builder setMatchExpressions( - int index, io.kubernetes.client.proto.Meta.LabelSelectorRequirement value) { - if (matchExpressionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMatchExpressionsIsMutable(); - matchExpressions_.set(index, value); - onChanged(); - } else { - matchExpressionsBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
-       * +optional
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; - */ - public Builder setMatchExpressions( - int index, io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder builderForValue) { - if (matchExpressionsBuilder_ == null) { - ensureMatchExpressionsIsMutable(); - matchExpressions_.set(index, builderForValue.build()); - onChanged(); - } else { - matchExpressionsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
-       * +optional
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; - */ - public Builder addMatchExpressions(io.kubernetes.client.proto.Meta.LabelSelectorRequirement value) { - if (matchExpressionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMatchExpressionsIsMutable(); - matchExpressions_.add(value); - onChanged(); - } else { - matchExpressionsBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
-       * +optional
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; - */ - public Builder addMatchExpressions( - int index, io.kubernetes.client.proto.Meta.LabelSelectorRequirement value) { - if (matchExpressionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMatchExpressionsIsMutable(); - matchExpressions_.add(index, value); - onChanged(); - } else { - matchExpressionsBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
-       * +optional
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; - */ - public Builder addMatchExpressions( - io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder builderForValue) { - if (matchExpressionsBuilder_ == null) { - ensureMatchExpressionsIsMutable(); - matchExpressions_.add(builderForValue.build()); - onChanged(); - } else { - matchExpressionsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
-       * +optional
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; - */ - public Builder addMatchExpressions( - int index, io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder builderForValue) { - if (matchExpressionsBuilder_ == null) { - ensureMatchExpressionsIsMutable(); - matchExpressions_.add(index, builderForValue.build()); - onChanged(); - } else { - matchExpressionsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
-       * +optional
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; - */ - public Builder addAllMatchExpressions( - java.lang.Iterable values) { - if (matchExpressionsBuilder_ == null) { - ensureMatchExpressionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, matchExpressions_); - onChanged(); - } else { - matchExpressionsBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
-       * +optional
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; - */ - public Builder clearMatchExpressions() { - if (matchExpressionsBuilder_ == null) { - matchExpressions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - matchExpressionsBuilder_.clear(); - } - return this; - } - /** - *
-       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
-       * +optional
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; - */ - public Builder removeMatchExpressions(int index) { - if (matchExpressionsBuilder_ == null) { - ensureMatchExpressionsIsMutable(); - matchExpressions_.remove(index); - onChanged(); - } else { - matchExpressionsBuilder_.remove(index); - } - return this; - } - /** - *
-       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
-       * +optional
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; - */ - public io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder getMatchExpressionsBuilder( - int index) { - return getMatchExpressionsFieldBuilder().getBuilder(index); - } - /** - *
-       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
-       * +optional
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; - */ - public io.kubernetes.client.proto.Meta.LabelSelectorRequirementOrBuilder getMatchExpressionsOrBuilder( - int index) { - if (matchExpressionsBuilder_ == null) { - return matchExpressions_.get(index); } else { - return matchExpressionsBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
-       * +optional
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; - */ - public java.util.List - getMatchExpressionsOrBuilderList() { - if (matchExpressionsBuilder_ != null) { - return matchExpressionsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(matchExpressions_); - } - } - /** - *
-       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
-       * +optional
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; - */ - public io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder addMatchExpressionsBuilder() { - return getMatchExpressionsFieldBuilder().addBuilder( - io.kubernetes.client.proto.Meta.LabelSelectorRequirement.getDefaultInstance()); - } - /** - *
-       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
-       * +optional
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; - */ - public io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder addMatchExpressionsBuilder( - int index) { - return getMatchExpressionsFieldBuilder().addBuilder( - index, io.kubernetes.client.proto.Meta.LabelSelectorRequirement.getDefaultInstance()); - } - /** - *
-       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
-       * +optional
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; - */ - public java.util.List - getMatchExpressionsBuilderList() { - return getMatchExpressionsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.kubernetes.client.proto.Meta.LabelSelectorRequirement, io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder, io.kubernetes.client.proto.Meta.LabelSelectorRequirementOrBuilder> - getMatchExpressionsFieldBuilder() { - if (matchExpressionsBuilder_ == null) { - matchExpressionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.kubernetes.client.proto.Meta.LabelSelectorRequirement, io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder, io.kubernetes.client.proto.Meta.LabelSelectorRequirementOrBuilder>( - matchExpressions_, - ((bitField0_ & 0x00000002) == 0x00000002), - getParentForChildren(), - isClean()); - matchExpressions_ = null; - } - return matchExpressionsBuilder_; - } - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector) - } - - // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector) - private static final io.kubernetes.client.proto.Meta.LabelSelector DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.LabelSelector(); - } - - public static io.kubernetes.client.proto.Meta.LabelSelector getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - public LabelSelector parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelSelector(input, extensionRegistry); + // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Initializer) + } + + // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Initializer) + private static final io.kubernetes.client.proto.Meta.Initializer DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.Initializer(); + } + + public static io.kubernetes.client.proto.Meta.Initializer getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Initializer parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Initializer(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } - public io.kubernetes.client.proto.Meta.LabelSelector getDefaultInstanceForType() { + @java.lang.Override + public io.kubernetes.client.proto.Meta.Initializer getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface LabelSelectorRequirementOrBuilder extends - // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement) + public interface InitializersOrBuilder extends + // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.Initializers) com.google.protobuf.MessageOrBuilder { /** *
-     * key is the label key that the selector applies to.
-     * +patchMergeKey=key
+     * Pending is a list of initializers that must execute in order before this object is visible.
+     * When the last pending initializer is removed, and no failing result is set, the initializers
+     * struct will be set to nil and the object is considered as initialized and visible to all
+     * clients.
+     * +patchMergeKey=name
      * +patchStrategy=merge
      * 
* - * optional string key = 1; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ - boolean hasKey(); + java.util.List + getPendingList(); /** *
-     * key is the label key that the selector applies to.
-     * +patchMergeKey=key
+     * Pending is a list of initializers that must execute in order before this object is visible.
+     * When the last pending initializer is removed, and no failing result is set, the initializers
+     * struct will be set to nil and the object is considered as initialized and visible to all
+     * clients.
+     * +patchMergeKey=name
      * +patchStrategy=merge
      * 
* - * optional string key = 1; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ - java.lang.String getKey(); + io.kubernetes.client.proto.Meta.Initializer getPending(int index); /** *
-     * key is the label key that the selector applies to.
-     * +patchMergeKey=key
+     * Pending is a list of initializers that must execute in order before this object is visible.
+     * When the last pending initializer is removed, and no failing result is set, the initializers
+     * struct will be set to nil and the object is considered as initialized and visible to all
+     * clients.
+     * +patchMergeKey=name
      * +patchStrategy=merge
      * 
* - * optional string key = 1; - */ - com.google.protobuf.ByteString - getKeyBytes(); - - /** - *
-     * operator represents a key's relationship to a set of values.
-     * Valid operators ard In, NotIn, Exists and DoesNotExist.
-     * 
- * - * optional string operator = 2; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ - boolean hasOperator(); + int getPendingCount(); /** *
-     * operator represents a key's relationship to a set of values.
-     * Valid operators ard In, NotIn, Exists and DoesNotExist.
+     * Pending is a list of initializers that must execute in order before this object is visible.
+     * When the last pending initializer is removed, and no failing result is set, the initializers
+     * struct will be set to nil and the object is considered as initialized and visible to all
+     * clients.
+     * +patchMergeKey=name
+     * +patchStrategy=merge
      * 
* - * optional string operator = 2; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ - java.lang.String getOperator(); + java.util.List + getPendingOrBuilderList(); /** *
-     * operator represents a key's relationship to a set of values.
-     * Valid operators ard In, NotIn, Exists and DoesNotExist.
+     * Pending is a list of initializers that must execute in order before this object is visible.
+     * When the last pending initializer is removed, and no failing result is set, the initializers
+     * struct will be set to nil and the object is considered as initialized and visible to all
+     * clients.
+     * +patchMergeKey=name
+     * +patchStrategy=merge
      * 
* - * optional string operator = 2; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ - com.google.protobuf.ByteString - getOperatorBytes(); + io.kubernetes.client.proto.Meta.InitializerOrBuilder getPendingOrBuilder( + int index); /** *
-     * values is an array of string values. If the operator is In or NotIn,
-     * the values array must be non-empty. If the operator is Exists or DoesNotExist,
-     * the values array must be empty. This array is replaced during a strategic
-     * merge patch.
-     * +optional
-     * 
- * - * repeated string values = 3; - */ - java.util.List - getValuesList(); - /** - *
-     * values is an array of string values. If the operator is In or NotIn,
-     * the values array must be non-empty. If the operator is Exists or DoesNotExist,
-     * the values array must be empty. This array is replaced during a strategic
-     * merge patch.
-     * +optional
+     * If result is set with the Failure field, the object will be persisted to storage and then deleted,
+     * ensuring that other clients can observe the deletion.
      * 
* - * repeated string values = 3; + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; */ - int getValuesCount(); + boolean hasResult(); /** *
-     * values is an array of string values. If the operator is In or NotIn,
-     * the values array must be non-empty. If the operator is Exists or DoesNotExist,
-     * the values array must be empty. This array is replaced during a strategic
-     * merge patch.
-     * +optional
+     * If result is set with the Failure field, the object will be persisted to storage and then deleted,
+     * ensuring that other clients can observe the deletion.
      * 
* - * repeated string values = 3; + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; */ - java.lang.String getValues(int index); + io.kubernetes.client.proto.Meta.Status getResult(); /** *
-     * values is an array of string values. If the operator is In or NotIn,
-     * the values array must be non-empty. If the operator is Exists or DoesNotExist,
-     * the values array must be empty. This array is replaced during a strategic
-     * merge patch.
-     * +optional
+     * If result is set with the Failure field, the object will be persisted to storage and then deleted,
+     * ensuring that other clients can observe the deletion.
      * 
* - * repeated string values = 3; + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; */ - com.google.protobuf.ByteString - getValuesBytes(int index); + io.kubernetes.client.proto.Meta.StatusOrBuilder getResultOrBuilder(); } /** *
-   * A label selector requirement is a selector that contains values, a key, and an operator that
-   * relates the key and values.
+   * Initializers tracks the progress of initialization.
    * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Initializers} */ - public static final class LabelSelectorRequirement extends + public static final class Initializers extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement) - LabelSelectorRequirementOrBuilder { + // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Initializers) + InitializersOrBuilder { private static final long serialVersionUID = 0L; - // Use LabelSelectorRequirement.newBuilder() to construct. - private LabelSelectorRequirement(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use Initializers.newBuilder() to construct. + private Initializers(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LabelSelectorRequirement() { - key_ = ""; - operator_ = ""; - values_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private Initializers() { + pending_ = java.util.Collections.emptyList(); } @java.lang.Override @@ -18590,11 +18249,14 @@ private LabelSelectorRequirement() { getUnknownFields() { return this.unknownFields; } - private LabelSelectorRequirement( + private Initializers( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -18606,32 +18268,33 @@ private LabelSelectorRequirement( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - key_ = bs; + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + pending_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + pending_.add( + input.readMessage(io.kubernetes.client.proto.Meta.Initializer.PARSER, extensionRegistry)); break; } case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000002; - operator_ = bs; + io.kubernetes.client.proto.Meta.Status.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + subBuilder = result_.toBuilder(); + } + result_ = input.readMessage(io.kubernetes.client.proto.Meta.Status.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(result_); + result_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; break; } - case 26: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { - values_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } - values_.add(bs); break; } } @@ -18642,8 +18305,8 @@ private LabelSelectorRequirement( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { - values_ = values_.getUnmodifiableView(); + if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + pending_ = java.util.Collections.unmodifiableList(pending_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -18651,196 +18314,136 @@ private LabelSelectorRequirement( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Initializers_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Initializers_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.LabelSelectorRequirement.class, io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder.class); + io.kubernetes.client.proto.Meta.Initializers.class, io.kubernetes.client.proto.Meta.Initializers.Builder.class); } private int bitField0_; - public static final int KEY_FIELD_NUMBER = 1; - private volatile java.lang.Object key_; + public static final int PENDING_FIELD_NUMBER = 1; + private java.util.List pending_; /** *
-     * key is the label key that the selector applies to.
-     * +patchMergeKey=key
+     * Pending is a list of initializers that must execute in order before this object is visible.
+     * When the last pending initializer is removed, and no failing result is set, the initializers
+     * struct will be set to nil and the object is considered as initialized and visible to all
+     * clients.
+     * +patchMergeKey=name
      * +patchStrategy=merge
      * 
* - * optional string key = 1; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ - public boolean hasKey() { - return ((bitField0_ & 0x00000001) == 0x00000001); + public java.util.List getPendingList() { + return pending_; } /** *
-     * key is the label key that the selector applies to.
-     * +patchMergeKey=key
+     * Pending is a list of initializers that must execute in order before this object is visible.
+     * When the last pending initializer is removed, and no failing result is set, the initializers
+     * struct will be set to nil and the object is considered as initialized and visible to all
+     * clients.
+     * +patchMergeKey=name
      * +patchStrategy=merge
      * 
* - * optional string key = 1; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ - public java.lang.String getKey() { - java.lang.Object ref = key_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - key_ = s; - } - return s; - } + public java.util.List + getPendingOrBuilderList() { + return pending_; } /** *
-     * key is the label key that the selector applies to.
-     * +patchMergeKey=key
+     * Pending is a list of initializers that must execute in order before this object is visible.
+     * When the last pending initializer is removed, and no failing result is set, the initializers
+     * struct will be set to nil and the object is considered as initialized and visible to all
+     * clients.
+     * +patchMergeKey=name
      * +patchStrategy=merge
      * 
* - * optional string key = 1; - */ - public com.google.protobuf.ByteString - getKeyBytes() { - java.lang.Object ref = key_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - key_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int OPERATOR_FIELD_NUMBER = 2; - private volatile java.lang.Object operator_; - /** - *
-     * operator represents a key's relationship to a set of values.
-     * Valid operators ard In, NotIn, Exists and DoesNotExist.
-     * 
- * - * optional string operator = 2; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ - public boolean hasOperator() { - return ((bitField0_ & 0x00000002) == 0x00000002); + public int getPendingCount() { + return pending_.size(); } /** *
-     * operator represents a key's relationship to a set of values.
-     * Valid operators ard In, NotIn, Exists and DoesNotExist.
+     * Pending is a list of initializers that must execute in order before this object is visible.
+     * When the last pending initializer is removed, and no failing result is set, the initializers
+     * struct will be set to nil and the object is considered as initialized and visible to all
+     * clients.
+     * +patchMergeKey=name
+     * +patchStrategy=merge
      * 
* - * optional string operator = 2; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ - public java.lang.String getOperator() { - java.lang.Object ref = operator_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - operator_ = s; - } - return s; - } + public io.kubernetes.client.proto.Meta.Initializer getPending(int index) { + return pending_.get(index); } /** *
-     * operator represents a key's relationship to a set of values.
-     * Valid operators ard In, NotIn, Exists and DoesNotExist.
+     * Pending is a list of initializers that must execute in order before this object is visible.
+     * When the last pending initializer is removed, and no failing result is set, the initializers
+     * struct will be set to nil and the object is considered as initialized and visible to all
+     * clients.
+     * +patchMergeKey=name
+     * +patchStrategy=merge
      * 
* - * optional string operator = 2; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ - public com.google.protobuf.ByteString - getOperatorBytes() { - java.lang.Object ref = operator_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - operator_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public io.kubernetes.client.proto.Meta.InitializerOrBuilder getPendingOrBuilder( + int index) { + return pending_.get(index); } - public static final int VALUES_FIELD_NUMBER = 3; - private com.google.protobuf.LazyStringList values_; - /** - *
-     * values is an array of string values. If the operator is In or NotIn,
-     * the values array must be non-empty. If the operator is Exists or DoesNotExist,
-     * the values array must be empty. This array is replaced during a strategic
-     * merge patch.
-     * +optional
-     * 
- * - * repeated string values = 3; - */ - public com.google.protobuf.ProtocolStringList - getValuesList() { - return values_; - } + public static final int RESULT_FIELD_NUMBER = 2; + private io.kubernetes.client.proto.Meta.Status result_; /** *
-     * values is an array of string values. If the operator is In or NotIn,
-     * the values array must be non-empty. If the operator is Exists or DoesNotExist,
-     * the values array must be empty. This array is replaced during a strategic
-     * merge patch.
-     * +optional
+     * If result is set with the Failure field, the object will be persisted to storage and then deleted,
+     * ensuring that other clients can observe the deletion.
      * 
* - * repeated string values = 3; + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; */ - public int getValuesCount() { - return values_.size(); + public boolean hasResult() { + return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
-     * values is an array of string values. If the operator is In or NotIn,
-     * the values array must be non-empty. If the operator is Exists or DoesNotExist,
-     * the values array must be empty. This array is replaced during a strategic
-     * merge patch.
-     * +optional
+     * If result is set with the Failure field, the object will be persisted to storage and then deleted,
+     * ensuring that other clients can observe the deletion.
      * 
* - * repeated string values = 3; + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; */ - public java.lang.String getValues(int index) { - return values_.get(index); + public io.kubernetes.client.proto.Meta.Status getResult() { + return result_ == null ? io.kubernetes.client.proto.Meta.Status.getDefaultInstance() : result_; } /** *
-     * values is an array of string values. If the operator is In or NotIn,
-     * the values array must be non-empty. If the operator is Exists or DoesNotExist,
-     * the values array must be empty. This array is replaced during a strategic
-     * merge patch.
-     * +optional
+     * If result is set with the Failure field, the object will be persisted to storage and then deleted,
+     * ensuring that other clients can observe the deletion.
      * 
* - * repeated string values = 3; + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; */ - public com.google.protobuf.ByteString - getValuesBytes(int index) { - return values_.getByteString(index); + public io.kubernetes.client.proto.Meta.StatusOrBuilder getResultOrBuilder() { + return result_ == null ? io.kubernetes.client.proto.Meta.Status.getDefaultInstance() : result_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -18850,38 +18453,31 @@ public final boolean isInitialized() { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, operator_); + for (int i = 0; i < pending_.size(); i++) { + output.writeMessage(1, pending_.get(i)); } - for (int i = 0; i < values_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, values_.getRaw(i)); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeMessage(2, getResult()); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, operator_); + for (int i = 0; i < pending_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, pending_.get(i)); } - { - int dataSize = 0; - for (int i = 0; i < values_.size(); i++) { - dataSize += computeStringSizeNoTag(values_.getRaw(i)); - } - size += dataSize; - size += 1 * getValuesList().size(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getResult()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -18893,24 +18489,19 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.kubernetes.client.proto.Meta.LabelSelectorRequirement)) { + if (!(obj instanceof io.kubernetes.client.proto.Meta.Initializers)) { return super.equals(obj); } - io.kubernetes.client.proto.Meta.LabelSelectorRequirement other = (io.kubernetes.client.proto.Meta.LabelSelectorRequirement) obj; + io.kubernetes.client.proto.Meta.Initializers other = (io.kubernetes.client.proto.Meta.Initializers) obj; boolean result = true; - result = result && (hasKey() == other.hasKey()); - if (hasKey()) { - result = result && getKey() - .equals(other.getKey()); - } - result = result && (hasOperator() == other.hasOperator()); - if (hasOperator()) { - result = result && getOperator() - .equals(other.getOperator()); + result = result && getPendingList() + .equals(other.getPendingList()); + result = result && (hasResult() == other.hasResult()); + if (hasResult()) { + result = result && getResult() + .equals(other.getResult()); } - result = result && getValuesList() - .equals(other.getValuesList()); result = result && unknownFields.equals(other.unknownFields); return result; } @@ -18922,86 +18513,82 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (hasKey()) { - hash = (37 * hash) + KEY_FIELD_NUMBER; - hash = (53 * hash) + getKey().hashCode(); - } - if (hasOperator()) { - hash = (37 * hash) + OPERATOR_FIELD_NUMBER; - hash = (53 * hash) + getOperator().hashCode(); + if (getPendingCount() > 0) { + hash = (37 * hash) + PENDING_FIELD_NUMBER; + hash = (53 * hash) + getPendingList().hashCode(); } - if (getValuesCount() > 0) { - hash = (37 * hash) + VALUES_FIELD_NUMBER; - hash = (53 * hash) + getValuesList().hashCode(); + if (hasResult()) { + hash = (37 * hash) + RESULT_FIELD_NUMBER; + hash = (53 * hash) + getResult().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom( + public static io.kubernetes.client.proto.Meta.Initializers parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom( + public static io.kubernetes.client.proto.Meta.Initializers parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom( + public static io.kubernetes.client.proto.Meta.Initializers parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom( + public static io.kubernetes.client.proto.Meta.Initializers parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom(byte[] data) + public static io.kubernetes.client.proto.Meta.Initializers parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom( + public static io.kubernetes.client.proto.Meta.Initializers parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.Initializers parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom( + public static io.kubernetes.client.proto.Meta.Initializers parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseDelimitedFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.Initializers parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseDelimitedFrom( + public static io.kubernetes.client.proto.Meta.Initializers parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom( + public static io.kubernetes.client.proto.Meta.Initializers parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom( + public static io.kubernetes.client.proto.Meta.Initializers parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -19009,13 +18596,15 @@ public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.kubernetes.client.proto.Meta.LabelSelectorRequirement prototype) { + public static Builder newBuilder(io.kubernetes.client.proto.Meta.Initializers prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -19029,29 +18618,29 @@ protected Builder newBuilderForType( } /** *
-     * A label selector requirement is a selector that contains values, a key, and an operator that
-     * relates the key and values.
+     * Initializers tracks the progress of initialization.
      * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Initializers} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement) - io.kubernetes.client.proto.Meta.LabelSelectorRequirementOrBuilder { + // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Initializers) + io.kubernetes.client.proto.Meta.InitializersOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Initializers_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Initializers_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.LabelSelectorRequirement.class, io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder.class); + io.kubernetes.client.proto.Meta.Initializers.class, io.kubernetes.client.proto.Meta.Initializers.Builder.class); } - // Construct using io.kubernetes.client.proto.Meta.LabelSelectorRequirement.newBuilder() + // Construct using io.kubernetes.client.proto.Meta.Initializers.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -19064,133 +18653,168 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { + getPendingFieldBuilder(); + getResultFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); - key_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - operator_ = ""; + if (pendingBuilder_ == null) { + pending_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + pendingBuilder_.clear(); + } + if (resultBuilder_ == null) { + result_ = null; + } else { + resultBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000002); - values_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Initializers_descriptor; } - public io.kubernetes.client.proto.Meta.LabelSelectorRequirement getDefaultInstanceForType() { - return io.kubernetes.client.proto.Meta.LabelSelectorRequirement.getDefaultInstance(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.Initializers getDefaultInstanceForType() { + return io.kubernetes.client.proto.Meta.Initializers.getDefaultInstance(); } - public io.kubernetes.client.proto.Meta.LabelSelectorRequirement build() { - io.kubernetes.client.proto.Meta.LabelSelectorRequirement result = buildPartial(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.Initializers build() { + io.kubernetes.client.proto.Meta.Initializers result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public io.kubernetes.client.proto.Meta.LabelSelectorRequirement buildPartial() { - io.kubernetes.client.proto.Meta.LabelSelectorRequirement result = new io.kubernetes.client.proto.Meta.LabelSelectorRequirement(this); + @java.lang.Override + public io.kubernetes.client.proto.Meta.Initializers buildPartial() { + io.kubernetes.client.proto.Meta.Initializers result = new io.kubernetes.client.proto.Meta.Initializers(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; + if (pendingBuilder_ == null) { + if (((bitField0_ & 0x00000001) == 0x00000001)) { + pending_ = java.util.Collections.unmodifiableList(pending_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.pending_ = pending_; + } else { + result.pending_ = pendingBuilder_.build(); } - result.key_ = key_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; + to_bitField0_ |= 0x00000001; } - result.operator_ = operator_; - if (((bitField0_ & 0x00000004) == 0x00000004)) { - values_ = values_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000004); + if (resultBuilder_ == null) { + result.result_ = result_; + } else { + result.result_ = resultBuilder_.build(); } - result.values_ = values_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.kubernetes.client.proto.Meta.LabelSelectorRequirement) { - return mergeFrom((io.kubernetes.client.proto.Meta.LabelSelectorRequirement)other); + if (other instanceof io.kubernetes.client.proto.Meta.Initializers) { + return mergeFrom((io.kubernetes.client.proto.Meta.Initializers)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.kubernetes.client.proto.Meta.LabelSelectorRequirement other) { - if (other == io.kubernetes.client.proto.Meta.LabelSelectorRequirement.getDefaultInstance()) return this; - if (other.hasKey()) { - bitField0_ |= 0x00000001; - key_ = other.key_; - onChanged(); - } - if (other.hasOperator()) { - bitField0_ |= 0x00000002; - operator_ = other.operator_; - onChanged(); - } - if (!other.values_.isEmpty()) { - if (values_.isEmpty()) { - values_ = other.values_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureValuesIsMutable(); - values_.addAll(other.values_); + public Builder mergeFrom(io.kubernetes.client.proto.Meta.Initializers other) { + if (other == io.kubernetes.client.proto.Meta.Initializers.getDefaultInstance()) return this; + if (pendingBuilder_ == null) { + if (!other.pending_.isEmpty()) { + if (pending_.isEmpty()) { + pending_ = other.pending_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensurePendingIsMutable(); + pending_.addAll(other.pending_); + } + onChanged(); } - onChanged(); + } else { + if (!other.pending_.isEmpty()) { + if (pendingBuilder_.isEmpty()) { + pendingBuilder_.dispose(); + pendingBuilder_ = null; + pending_ = other.pending_; + bitField0_ = (bitField0_ & ~0x00000001); + pendingBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPendingFieldBuilder() : null; + } else { + pendingBuilder_.addAllMessages(other.pending_); + } + } + } + if (other.hasResult()) { + mergeResult(other.getResult()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.kubernetes.client.proto.Meta.LabelSelectorRequirement parsedMessage = null; + io.kubernetes.client.proto.Meta.Initializers parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.kubernetes.client.proto.Meta.LabelSelectorRequirement) e.getUnfinishedMessage(); + parsedMessage = (io.kubernetes.client.proto.Meta.Initializers) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -19201,540 +18825,765 @@ public Builder mergeFrom( } private int bitField0_; - private java.lang.Object key_ = ""; + private java.util.List pending_ = + java.util.Collections.emptyList(); + private void ensurePendingIsMutable() { + if (!((bitField0_ & 0x00000001) == 0x00000001)) { + pending_ = new java.util.ArrayList(pending_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + io.kubernetes.client.proto.Meta.Initializer, io.kubernetes.client.proto.Meta.Initializer.Builder, io.kubernetes.client.proto.Meta.InitializerOrBuilder> pendingBuilder_; + /** *
-       * key is the label key that the selector applies to.
-       * +patchMergeKey=key
+       * Pending is a list of initializers that must execute in order before this object is visible.
+       * When the last pending initializer is removed, and no failing result is set, the initializers
+       * struct will be set to nil and the object is considered as initialized and visible to all
+       * clients.
+       * +patchMergeKey=name
        * +patchStrategy=merge
        * 
* - * optional string key = 1; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ - public boolean hasKey() { - return ((bitField0_ & 0x00000001) == 0x00000001); + public java.util.List getPendingList() { + if (pendingBuilder_ == null) { + return java.util.Collections.unmodifiableList(pending_); + } else { + return pendingBuilder_.getMessageList(); + } } /** *
-       * key is the label key that the selector applies to.
-       * +patchMergeKey=key
+       * Pending is a list of initializers that must execute in order before this object is visible.
+       * When the last pending initializer is removed, and no failing result is set, the initializers
+       * struct will be set to nil and the object is considered as initialized and visible to all
+       * clients.
+       * +patchMergeKey=name
        * +patchStrategy=merge
        * 
* - * optional string key = 1; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ - public java.lang.String getKey() { - java.lang.Object ref = key_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - key_ = s; - } - return s; + public int getPendingCount() { + if (pendingBuilder_ == null) { + return pending_.size(); } else { - return (java.lang.String) ref; + return pendingBuilder_.getCount(); } } /** *
-       * key is the label key that the selector applies to.
-       * +patchMergeKey=key
+       * Pending is a list of initializers that must execute in order before this object is visible.
+       * When the last pending initializer is removed, and no failing result is set, the initializers
+       * struct will be set to nil and the object is considered as initialized and visible to all
+       * clients.
+       * +patchMergeKey=name
        * +patchStrategy=merge
        * 
* - * optional string key = 1; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ - public com.google.protobuf.ByteString - getKeyBytes() { - java.lang.Object ref = key_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - key_ = b; - return b; + public io.kubernetes.client.proto.Meta.Initializer getPending(int index) { + if (pendingBuilder_ == null) { + return pending_.get(index); } else { - return (com.google.protobuf.ByteString) ref; + return pendingBuilder_.getMessage(index); } } /** *
-       * key is the label key that the selector applies to.
-       * +patchMergeKey=key
+       * Pending is a list of initializers that must execute in order before this object is visible.
+       * When the last pending initializer is removed, and no failing result is set, the initializers
+       * struct will be set to nil and the object is considered as initialized and visible to all
+       * clients.
+       * +patchMergeKey=name
        * +patchStrategy=merge
        * 
* - * optional string key = 1; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ - public Builder setKey( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - key_ = value; - onChanged(); + public Builder setPending( + int index, io.kubernetes.client.proto.Meta.Initializer value) { + if (pendingBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePendingIsMutable(); + pending_.set(index, value); + onChanged(); + } else { + pendingBuilder_.setMessage(index, value); + } return this; } /** *
-       * key is the label key that the selector applies to.
-       * +patchMergeKey=key
+       * Pending is a list of initializers that must execute in order before this object is visible.
+       * When the last pending initializer is removed, and no failing result is set, the initializers
+       * struct will be set to nil and the object is considered as initialized and visible to all
+       * clients.
+       * +patchMergeKey=name
        * +patchStrategy=merge
        * 
* - * optional string key = 1; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ - public Builder clearKey() { - bitField0_ = (bitField0_ & ~0x00000001); - key_ = getDefaultInstance().getKey(); - onChanged(); + public Builder setPending( + int index, io.kubernetes.client.proto.Meta.Initializer.Builder builderForValue) { + if (pendingBuilder_ == null) { + ensurePendingIsMutable(); + pending_.set(index, builderForValue.build()); + onChanged(); + } else { + pendingBuilder_.setMessage(index, builderForValue.build()); + } return this; } /** *
-       * key is the label key that the selector applies to.
-       * +patchMergeKey=key
+       * Pending is a list of initializers that must execute in order before this object is visible.
+       * When the last pending initializer is removed, and no failing result is set, the initializers
+       * struct will be set to nil and the object is considered as initialized and visible to all
+       * clients.
+       * +patchMergeKey=name
        * +patchStrategy=merge
        * 
* - * optional string key = 1; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ - public Builder setKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - key_ = value; - onChanged(); + public Builder addPending(io.kubernetes.client.proto.Meta.Initializer value) { + if (pendingBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePendingIsMutable(); + pending_.add(value); + onChanged(); + } else { + pendingBuilder_.addMessage(value); + } return this; } - - private java.lang.Object operator_ = ""; /** *
-       * operator represents a key's relationship to a set of values.
-       * Valid operators ard In, NotIn, Exists and DoesNotExist.
+       * Pending is a list of initializers that must execute in order before this object is visible.
+       * When the last pending initializer is removed, and no failing result is set, the initializers
+       * struct will be set to nil and the object is considered as initialized and visible to all
+       * clients.
+       * +patchMergeKey=name
+       * +patchStrategy=merge
        * 
* - * optional string operator = 2; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ - public boolean hasOperator() { - return ((bitField0_ & 0x00000002) == 0x00000002); + public Builder addPending( + int index, io.kubernetes.client.proto.Meta.Initializer value) { + if (pendingBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePendingIsMutable(); + pending_.add(index, value); + onChanged(); + } else { + pendingBuilder_.addMessage(index, value); + } + return this; } /** *
-       * operator represents a key's relationship to a set of values.
-       * Valid operators ard In, NotIn, Exists and DoesNotExist.
+       * Pending is a list of initializers that must execute in order before this object is visible.
+       * When the last pending initializer is removed, and no failing result is set, the initializers
+       * struct will be set to nil and the object is considered as initialized and visible to all
+       * clients.
+       * +patchMergeKey=name
+       * +patchStrategy=merge
        * 
* - * optional string operator = 2; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ - public java.lang.String getOperator() { - java.lang.Object ref = operator_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - operator_ = s; - } - return s; + public Builder addPending( + io.kubernetes.client.proto.Meta.Initializer.Builder builderForValue) { + if (pendingBuilder_ == null) { + ensurePendingIsMutable(); + pending_.add(builderForValue.build()); + onChanged(); } else { - return (java.lang.String) ref; + pendingBuilder_.addMessage(builderForValue.build()); } + return this; } /** *
-       * operator represents a key's relationship to a set of values.
-       * Valid operators ard In, NotIn, Exists and DoesNotExist.
+       * Pending is a list of initializers that must execute in order before this object is visible.
+       * When the last pending initializer is removed, and no failing result is set, the initializers
+       * struct will be set to nil and the object is considered as initialized and visible to all
+       * clients.
+       * +patchMergeKey=name
+       * +patchStrategy=merge
        * 
* - * optional string operator = 2; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ - public com.google.protobuf.ByteString - getOperatorBytes() { - java.lang.Object ref = operator_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - operator_ = b; - return b; + public Builder addPending( + int index, io.kubernetes.client.proto.Meta.Initializer.Builder builderForValue) { + if (pendingBuilder_ == null) { + ensurePendingIsMutable(); + pending_.add(index, builderForValue.build()); + onChanged(); } else { - return (com.google.protobuf.ByteString) ref; + pendingBuilder_.addMessage(index, builderForValue.build()); } + return this; } /** *
-       * operator represents a key's relationship to a set of values.
-       * Valid operators ard In, NotIn, Exists and DoesNotExist.
+       * Pending is a list of initializers that must execute in order before this object is visible.
+       * When the last pending initializer is removed, and no failing result is set, the initializers
+       * struct will be set to nil and the object is considered as initialized and visible to all
+       * clients.
+       * +patchMergeKey=name
+       * +patchStrategy=merge
        * 
* - * optional string operator = 2; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ - public Builder setOperator( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - operator_ = value; - onChanged(); + public Builder addAllPending( + java.lang.Iterable values) { + if (pendingBuilder_ == null) { + ensurePendingIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, pending_); + onChanged(); + } else { + pendingBuilder_.addAllMessages(values); + } return this; } /** *
-       * operator represents a key's relationship to a set of values.
-       * Valid operators ard In, NotIn, Exists and DoesNotExist.
+       * Pending is a list of initializers that must execute in order before this object is visible.
+       * When the last pending initializer is removed, and no failing result is set, the initializers
+       * struct will be set to nil and the object is considered as initialized and visible to all
+       * clients.
+       * +patchMergeKey=name
+       * +patchStrategy=merge
        * 
* - * optional string operator = 2; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ - public Builder clearOperator() { - bitField0_ = (bitField0_ & ~0x00000002); - operator_ = getDefaultInstance().getOperator(); - onChanged(); + public Builder clearPending() { + if (pendingBuilder_ == null) { + pending_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + pendingBuilder_.clear(); + } return this; } /** *
-       * operator represents a key's relationship to a set of values.
-       * Valid operators ard In, NotIn, Exists and DoesNotExist.
+       * Pending is a list of initializers that must execute in order before this object is visible.
+       * When the last pending initializer is removed, and no failing result is set, the initializers
+       * struct will be set to nil and the object is considered as initialized and visible to all
+       * clients.
+       * +patchMergeKey=name
+       * +patchStrategy=merge
        * 
* - * optional string operator = 2; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ - public Builder setOperatorBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - operator_ = value; - onChanged(); + public Builder removePending(int index) { + if (pendingBuilder_ == null) { + ensurePendingIsMutable(); + pending_.remove(index); + onChanged(); + } else { + pendingBuilder_.remove(index); + } return this; } - - private com.google.protobuf.LazyStringList values_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureValuesIsMutable() { - if (!((bitField0_ & 0x00000004) == 0x00000004)) { - values_ = new com.google.protobuf.LazyStringArrayList(values_); - bitField0_ |= 0x00000004; - } + /** + *
+       * Pending is a list of initializers that must execute in order before this object is visible.
+       * When the last pending initializer is removed, and no failing result is set, the initializers
+       * struct will be set to nil and the object is considered as initialized and visible to all
+       * clients.
+       * +patchMergeKey=name
+       * +patchStrategy=merge
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; + */ + public io.kubernetes.client.proto.Meta.Initializer.Builder getPendingBuilder( + int index) { + return getPendingFieldBuilder().getBuilder(index); } /** *
-       * values is an array of string values. If the operator is In or NotIn,
-       * the values array must be non-empty. If the operator is Exists or DoesNotExist,
-       * the values array must be empty. This array is replaced during a strategic
-       * merge patch.
-       * +optional
+       * Pending is a list of initializers that must execute in order before this object is visible.
+       * When the last pending initializer is removed, and no failing result is set, the initializers
+       * struct will be set to nil and the object is considered as initialized and visible to all
+       * clients.
+       * +patchMergeKey=name
+       * +patchStrategy=merge
        * 
* - * repeated string values = 3; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ - public com.google.protobuf.ProtocolStringList - getValuesList() { - return values_.getUnmodifiableView(); + public io.kubernetes.client.proto.Meta.InitializerOrBuilder getPendingOrBuilder( + int index) { + if (pendingBuilder_ == null) { + return pending_.get(index); } else { + return pendingBuilder_.getMessageOrBuilder(index); + } } /** *
-       * values is an array of string values. If the operator is In or NotIn,
-       * the values array must be non-empty. If the operator is Exists or DoesNotExist,
-       * the values array must be empty. This array is replaced during a strategic
-       * merge patch.
-       * +optional
+       * Pending is a list of initializers that must execute in order before this object is visible.
+       * When the last pending initializer is removed, and no failing result is set, the initializers
+       * struct will be set to nil and the object is considered as initialized and visible to all
+       * clients.
+       * +patchMergeKey=name
+       * +patchStrategy=merge
        * 
* - * repeated string values = 3; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ - public int getValuesCount() { - return values_.size(); + public java.util.List + getPendingOrBuilderList() { + if (pendingBuilder_ != null) { + return pendingBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(pending_); + } } /** *
-       * values is an array of string values. If the operator is In or NotIn,
-       * the values array must be non-empty. If the operator is Exists or DoesNotExist,
-       * the values array must be empty. This array is replaced during a strategic
-       * merge patch.
-       * +optional
+       * Pending is a list of initializers that must execute in order before this object is visible.
+       * When the last pending initializer is removed, and no failing result is set, the initializers
+       * struct will be set to nil and the object is considered as initialized and visible to all
+       * clients.
+       * +patchMergeKey=name
+       * +patchStrategy=merge
        * 
* - * repeated string values = 3; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ - public java.lang.String getValues(int index) { - return values_.get(index); + public io.kubernetes.client.proto.Meta.Initializer.Builder addPendingBuilder() { + return getPendingFieldBuilder().addBuilder( + io.kubernetes.client.proto.Meta.Initializer.getDefaultInstance()); } /** *
-       * values is an array of string values. If the operator is In or NotIn,
-       * the values array must be non-empty. If the operator is Exists or DoesNotExist,
-       * the values array must be empty. This array is replaced during a strategic
-       * merge patch.
-       * +optional
+       * Pending is a list of initializers that must execute in order before this object is visible.
+       * When the last pending initializer is removed, and no failing result is set, the initializers
+       * struct will be set to nil and the object is considered as initialized and visible to all
+       * clients.
+       * +patchMergeKey=name
+       * +patchStrategy=merge
        * 
* - * repeated string values = 3; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ - public com.google.protobuf.ByteString - getValuesBytes(int index) { - return values_.getByteString(index); + public io.kubernetes.client.proto.Meta.Initializer.Builder addPendingBuilder( + int index) { + return getPendingFieldBuilder().addBuilder( + index, io.kubernetes.client.proto.Meta.Initializer.getDefaultInstance()); } /** *
-       * values is an array of string values. If the operator is In or NotIn,
-       * the values array must be non-empty. If the operator is Exists or DoesNotExist,
-       * the values array must be empty. This array is replaced during a strategic
-       * merge patch.
-       * +optional
+       * Pending is a list of initializers that must execute in order before this object is visible.
+       * When the last pending initializer is removed, and no failing result is set, the initializers
+       * struct will be set to nil and the object is considered as initialized and visible to all
+       * clients.
+       * +patchMergeKey=name
+       * +patchStrategy=merge
        * 
* - * repeated string values = 3; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ - public Builder setValues( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureValuesIsMutable(); - values_.set(index, value); - onChanged(); + public java.util.List + getPendingBuilderList() { + return getPendingFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + io.kubernetes.client.proto.Meta.Initializer, io.kubernetes.client.proto.Meta.Initializer.Builder, io.kubernetes.client.proto.Meta.InitializerOrBuilder> + getPendingFieldBuilder() { + if (pendingBuilder_ == null) { + pendingBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + io.kubernetes.client.proto.Meta.Initializer, io.kubernetes.client.proto.Meta.Initializer.Builder, io.kubernetes.client.proto.Meta.InitializerOrBuilder>( + pending_, + ((bitField0_ & 0x00000001) == 0x00000001), + getParentForChildren(), + isClean()); + pending_ = null; + } + return pendingBuilder_; + } + + private io.kubernetes.client.proto.Meta.Status result_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + io.kubernetes.client.proto.Meta.Status, io.kubernetes.client.proto.Meta.Status.Builder, io.kubernetes.client.proto.Meta.StatusOrBuilder> resultBuilder_; + /** + *
+       * If result is set with the Failure field, the object will be persisted to storage and then deleted,
+       * ensuring that other clients can observe the deletion.
+       * 
+ * + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; + */ + public boolean hasResult() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + *
+       * If result is set with the Failure field, the object will be persisted to storage and then deleted,
+       * ensuring that other clients can observe the deletion.
+       * 
+ * + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; + */ + public io.kubernetes.client.proto.Meta.Status getResult() { + if (resultBuilder_ == null) { + return result_ == null ? io.kubernetes.client.proto.Meta.Status.getDefaultInstance() : result_; + } else { + return resultBuilder_.getMessage(); + } + } + /** + *
+       * If result is set with the Failure field, the object will be persisted to storage and then deleted,
+       * ensuring that other clients can observe the deletion.
+       * 
+ * + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; + */ + public Builder setResult(io.kubernetes.client.proto.Meta.Status value) { + if (resultBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + result_ = value; + onChanged(); + } else { + resultBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; return this; } /** *
-       * values is an array of string values. If the operator is In or NotIn,
-       * the values array must be non-empty. If the operator is Exists or DoesNotExist,
-       * the values array must be empty. This array is replaced during a strategic
-       * merge patch.
-       * +optional
+       * If result is set with the Failure field, the object will be persisted to storage and then deleted,
+       * ensuring that other clients can observe the deletion.
        * 
* - * repeated string values = 3; + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; */ - public Builder addValues( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureValuesIsMutable(); - values_.add(value); - onChanged(); + public Builder setResult( + io.kubernetes.client.proto.Meta.Status.Builder builderForValue) { + if (resultBuilder_ == null) { + result_ = builderForValue.build(); + onChanged(); + } else { + resultBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; return this; } /** *
-       * values is an array of string values. If the operator is In or NotIn,
-       * the values array must be non-empty. If the operator is Exists or DoesNotExist,
-       * the values array must be empty. This array is replaced during a strategic
-       * merge patch.
-       * +optional
+       * If result is set with the Failure field, the object will be persisted to storage and then deleted,
+       * ensuring that other clients can observe the deletion.
        * 
* - * repeated string values = 3; + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; */ - public Builder addAllValues( - java.lang.Iterable values) { - ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, values_); - onChanged(); + public Builder mergeResult(io.kubernetes.client.proto.Meta.Status value) { + if (resultBuilder_ == null) { + if (((bitField0_ & 0x00000002) == 0x00000002) && + result_ != null && + result_ != io.kubernetes.client.proto.Meta.Status.getDefaultInstance()) { + result_ = + io.kubernetes.client.proto.Meta.Status.newBuilder(result_).mergeFrom(value).buildPartial(); + } else { + result_ = value; + } + onChanged(); + } else { + resultBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; return this; } /** *
-       * values is an array of string values. If the operator is In or NotIn,
-       * the values array must be non-empty. If the operator is Exists or DoesNotExist,
-       * the values array must be empty. This array is replaced during a strategic
-       * merge patch.
-       * +optional
+       * If result is set with the Failure field, the object will be persisted to storage and then deleted,
+       * ensuring that other clients can observe the deletion.
        * 
* - * repeated string values = 3; + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; */ - public Builder clearValues() { - values_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); + public Builder clearResult() { + if (resultBuilder_ == null) { + result_ = null; + onChanged(); + } else { + resultBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); return this; } /** *
-       * values is an array of string values. If the operator is In or NotIn,
-       * the values array must be non-empty. If the operator is Exists or DoesNotExist,
-       * the values array must be empty. This array is replaced during a strategic
-       * merge patch.
-       * +optional
+       * If result is set with the Failure field, the object will be persisted to storage and then deleted,
+       * ensuring that other clients can observe the deletion.
        * 
* - * repeated string values = 3; + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; */ - public Builder addValuesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureValuesIsMutable(); - values_.add(value); + public io.kubernetes.client.proto.Meta.Status.Builder getResultBuilder() { + bitField0_ |= 0x00000002; onChanged(); - return this; + return getResultFieldBuilder().getBuilder(); + } + /** + *
+       * If result is set with the Failure field, the object will be persisted to storage and then deleted,
+       * ensuring that other clients can observe the deletion.
+       * 
+ * + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; + */ + public io.kubernetes.client.proto.Meta.StatusOrBuilder getResultOrBuilder() { + if (resultBuilder_ != null) { + return resultBuilder_.getMessageOrBuilder(); + } else { + return result_ == null ? + io.kubernetes.client.proto.Meta.Status.getDefaultInstance() : result_; + } + } + /** + *
+       * If result is set with the Failure field, the object will be persisted to storage and then deleted,
+       * ensuring that other clients can observe the deletion.
+       * 
+ * + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.kubernetes.client.proto.Meta.Status, io.kubernetes.client.proto.Meta.Status.Builder, io.kubernetes.client.proto.Meta.StatusOrBuilder> + getResultFieldBuilder() { + if (resultBuilder_ == null) { + resultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.kubernetes.client.proto.Meta.Status, io.kubernetes.client.proto.Meta.Status.Builder, io.kubernetes.client.proto.Meta.StatusOrBuilder>( + getResult(), + getParentForChildren(), + isClean()); + result_ = null; + } + return resultBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement) + // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Initializers) } - // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement) - private static final io.kubernetes.client.proto.Meta.LabelSelectorRequirement DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Initializers) + private static final io.kubernetes.client.proto.Meta.Initializers DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.LabelSelectorRequirement(); + DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.Initializers(); } - public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement getDefaultInstance() { + public static io.kubernetes.client.proto.Meta.Initializers getDefaultInstance() { return DEFAULT_INSTANCE; } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - public LabelSelectorRequirement parsePartialFrom( + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Initializers parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelSelectorRequirement(input, extensionRegistry); + return new Initializers(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } - public io.kubernetes.client.proto.Meta.LabelSelectorRequirement getDefaultInstanceForType() { + @java.lang.Override + public io.kubernetes.client.proto.Meta.Initializers getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface ListMetaOrBuilder extends - // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta) + public interface LabelSelectorOrBuilder extends + // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector) com.google.protobuf.MessageOrBuilder { /** *
-     * SelfLink is a URL representing this object.
-     * Populated by the system.
-     * Read-only.
+     * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
+     * map is equivalent to an element of matchExpressions, whose key field is "key", the
+     * operator is "In", and the values array contains only "value". The requirements are ANDed.
      * +optional
      * 
* - * optional string selfLink = 1; + * map<string, string> matchLabels = 1; */ - boolean hasSelfLink(); + int getMatchLabelsCount(); /** *
-     * SelfLink is a URL representing this object.
-     * Populated by the system.
-     * Read-only.
+     * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
+     * map is equivalent to an element of matchExpressions, whose key field is "key", the
+     * operator is "In", and the values array contains only "value". The requirements are ANDed.
      * +optional
      * 
* - * optional string selfLink = 1; + * map<string, string> matchLabels = 1; */ - java.lang.String getSelfLink(); + boolean containsMatchLabels( + java.lang.String key); + /** + * Use {@link #getMatchLabelsMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getMatchLabels(); /** *
-     * SelfLink is a URL representing this object.
-     * Populated by the system.
-     * Read-only.
+     * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
+     * map is equivalent to an element of matchExpressions, whose key field is "key", the
+     * operator is "In", and the values array contains only "value". The requirements are ANDed.
      * +optional
      * 
* - * optional string selfLink = 1; + * map<string, string> matchLabels = 1; + */ + java.util.Map + getMatchLabelsMap(); + /** + *
+     * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
+     * map is equivalent to an element of matchExpressions, whose key field is "key", the
+     * operator is "In", and the values array contains only "value". The requirements are ANDed.
+     * +optional
+     * 
+ * + * map<string, string> matchLabels = 1; */ - com.google.protobuf.ByteString - getSelfLinkBytes(); + java.lang.String getMatchLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue); /** *
-     * 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/api-conventions.md#concurrency-control-and-consistency
+     * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
+     * map is equivalent to an element of matchExpressions, whose key field is "key", the
+     * operator is "In", and the values array contains only "value". The requirements are ANDed.
      * +optional
      * 
* - * optional string resourceVersion = 2; + * map<string, string> matchLabels = 1; */ - boolean hasResourceVersion(); + + java.lang.String getMatchLabelsOrThrow( + java.lang.String key); + /** *
-     * 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/api-conventions.md#concurrency-control-and-consistency
+     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
      * +optional
      * 
* - * optional string resourceVersion = 2; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; */ - java.lang.String getResourceVersion(); + java.util.List + getMatchExpressionsList(); /** *
-     * 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/api-conventions.md#concurrency-control-and-consistency
+     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
      * +optional
      * 
* - * optional string resourceVersion = 2; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; */ - com.google.protobuf.ByteString - getResourceVersionBytes(); + io.kubernetes.client.proto.Meta.LabelSelectorRequirement getMatchExpressions(int index); + /** + *
+     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
+     * +optional
+     * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; + */ + int getMatchExpressionsCount(); + /** + *
+     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
+     * +optional
+     * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; + */ + java.util.List + getMatchExpressionsOrBuilderList(); + /** + *
+     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
+     * +optional
+     * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; + */ + io.kubernetes.client.proto.Meta.LabelSelectorRequirementOrBuilder getMatchExpressionsOrBuilder( + int index); } /** *
-   * ListMeta describes metadata that synthetic resources must have, including lists and
-   * various status objects. A resource may have only one of {ObjectMeta, ListMeta}.
+   * A label selector is a label query over a set of resources. The result of matchLabels and
+   * matchExpressions are ANDed. An empty label selector matches all objects. A null
+   * label selector matches no objects.
    * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector} */ - public static final class ListMeta extends + public static final class LabelSelector extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta) - ListMetaOrBuilder { + // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector) + LabelSelectorOrBuilder { private static final long serialVersionUID = 0L; - // Use ListMeta.newBuilder() to construct. - private ListMeta(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use LabelSelector.newBuilder() to construct. + private LabelSelector(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListMeta() { - selfLink_ = ""; - resourceVersion_ = ""; + private LabelSelector() { + matchExpressions_ = java.util.Collections.emptyList(); } @java.lang.Override @@ -19742,11 +19591,14 @@ private ListMeta() { getUnknownFields() { return this.unknownFields; } - private ListMeta( + private LabelSelector( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -19758,23 +19610,33 @@ private ListMeta( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + matchLabels_ = com.google.protobuf.MapField.newMapField( + MatchLabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } + com.google.protobuf.MapEntry + matchLabels__ = input.readMessage( + MatchLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + matchLabels_.getMutableMap().put( + matchLabels__.getKey(), matchLabels__.getValue()); break; } - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - selfLink_ = bs; + case 18: { + if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + matchExpressions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + matchExpressions_.add( + input.readMessage(io.kubernetes.client.proto.Meta.LabelSelectorRequirement.PARSER, extensionRegistry)); break; } - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000002; - resourceVersion_ = bs; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } break; } } @@ -19785,159 +19647,204 @@ private ListMeta( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { + if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + matchExpressions_ = java.util.Collections.unmodifiableList(matchExpressions_); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelector_descriptor; } + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 1: + return internalGetMatchLabels(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelector_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.ListMeta.class, io.kubernetes.client.proto.Meta.ListMeta.Builder.class); + io.kubernetes.client.proto.Meta.LabelSelector.class, io.kubernetes.client.proto.Meta.LabelSelector.Builder.class); } - private int bitField0_; - public static final int SELFLINK_FIELD_NUMBER = 1; - private volatile java.lang.Object selfLink_; + public static final int MATCHLABELS_FIELD_NUMBER = 1; + private static final class MatchLabelsDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelector_MatchLabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> matchLabels_; + private com.google.protobuf.MapField + internalGetMatchLabels() { + if (matchLabels_ == null) { + return com.google.protobuf.MapField.emptyMapField( + MatchLabelsDefaultEntryHolder.defaultEntry); + } + return matchLabels_; + } + + public int getMatchLabelsCount() { + return internalGetMatchLabels().getMap().size(); + } /** *
-     * SelfLink is a URL representing this object.
-     * Populated by the system.
-     * Read-only.
+     * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
+     * map is equivalent to an element of matchExpressions, whose key field is "key", the
+     * operator is "In", and the values array contains only "value". The requirements are ANDed.
      * +optional
      * 
* - * optional string selfLink = 1; + * map<string, string> matchLabels = 1; */ - public boolean hasSelfLink() { - return ((bitField0_ & 0x00000001) == 0x00000001); + + public boolean containsMatchLabels( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + return internalGetMatchLabels().getMap().containsKey(key); + } + /** + * Use {@link #getMatchLabelsMap()} instead. + */ + @java.lang.Deprecated + public java.util.Map getMatchLabels() { + return getMatchLabelsMap(); } /** *
-     * SelfLink is a URL representing this object.
-     * Populated by the system.
-     * Read-only.
+     * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
+     * map is equivalent to an element of matchExpressions, whose key field is "key", the
+     * operator is "In", and the values array contains only "value". The requirements are ANDed.
      * +optional
      * 
* - * optional string selfLink = 1; + * map<string, string> matchLabels = 1; */ - public java.lang.String getSelfLink() { - java.lang.Object ref = selfLink_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - selfLink_ = s; - } - return s; - } + + public java.util.Map getMatchLabelsMap() { + return internalGetMatchLabels().getMap(); } /** *
-     * SelfLink is a URL representing this object.
-     * Populated by the system.
-     * Read-only.
+     * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
+     * map is equivalent to an element of matchExpressions, whose key field is "key", the
+     * operator is "In", and the values array contains only "value". The requirements are ANDed.
      * +optional
      * 
* - * optional string selfLink = 1; + * map<string, string> matchLabels = 1; */ - public com.google.protobuf.ByteString - getSelfLinkBytes() { - java.lang.Object ref = selfLink_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - selfLink_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; + + public java.lang.String getMatchLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetMatchLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
+     * map is equivalent to an element of matchExpressions, whose key field is "key", the
+     * operator is "In", and the values array contains only "value". The requirements are ANDed.
+     * +optional
+     * 
+ * + * map<string, string> matchLabels = 1; + */ + + public java.lang.String getMatchLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetMatchLabels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); } + return map.get(key); } - public static final int RESOURCEVERSION_FIELD_NUMBER = 2; - private volatile java.lang.Object resourceVersion_; + public static final int MATCHEXPRESSIONS_FIELD_NUMBER = 2; + private java.util.List matchExpressions_; /** *
-     * 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/api-conventions.md#concurrency-control-and-consistency
+     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
      * +optional
      * 
* - * optional string resourceVersion = 2; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; */ - public boolean hasResourceVersion() { - return ((bitField0_ & 0x00000002) == 0x00000002); + public java.util.List getMatchExpressionsList() { + return matchExpressions_; } /** *
-     * 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/api-conventions.md#concurrency-control-and-consistency
+     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
      * +optional
      * 
* - * optional string resourceVersion = 2; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; */ - public java.lang.String getResourceVersion() { - java.lang.Object ref = resourceVersion_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - resourceVersion_ = s; - } - return s; - } + public java.util.List + getMatchExpressionsOrBuilderList() { + return matchExpressions_; } /** *
-     * 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/api-conventions.md#concurrency-control-and-consistency
+     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
      * +optional
      * 
* - * optional string resourceVersion = 2; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; */ - public com.google.protobuf.ByteString - getResourceVersionBytes() { - java.lang.Object ref = resourceVersion_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - resourceVersion_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public int getMatchExpressionsCount() { + return matchExpressions_.size(); + } + /** + *
+     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
+     * +optional
+     * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; + */ + public io.kubernetes.client.proto.Meta.LabelSelectorRequirement getMatchExpressions(int index) { + return matchExpressions_.get(index); + } + /** + *
+     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
+     * +optional
+     * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; + */ + public io.kubernetes.client.proto.Meta.LabelSelectorRequirementOrBuilder getMatchExpressionsOrBuilder( + int index) { + return matchExpressions_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -19947,27 +19854,40 @@ public final boolean isInitialized() { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) == 0x00000001)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, selfLink_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resourceVersion_); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetMatchLabels(), + MatchLabelsDefaultEntryHolder.defaultEntry, + 1); + for (int i = 0; i < matchExpressions_.size(); i++) { + output.writeMessage(2, matchExpressions_.get(i)); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, selfLink_); + for (java.util.Map.Entry entry + : internalGetMatchLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + matchLabels__ = MatchLabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, matchLabels__); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceVersion_); + for (int i = 0; i < matchExpressions_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, matchExpressions_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -19979,22 +19899,16 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.kubernetes.client.proto.Meta.ListMeta)) { + if (!(obj instanceof io.kubernetes.client.proto.Meta.LabelSelector)) { return super.equals(obj); } - io.kubernetes.client.proto.Meta.ListMeta other = (io.kubernetes.client.proto.Meta.ListMeta) obj; + io.kubernetes.client.proto.Meta.LabelSelector other = (io.kubernetes.client.proto.Meta.LabelSelector) obj; boolean result = true; - result = result && (hasSelfLink() == other.hasSelfLink()); - if (hasSelfLink()) { - result = result && getSelfLink() - .equals(other.getSelfLink()); - } - result = result && (hasResourceVersion() == other.hasResourceVersion()); - if (hasResourceVersion()) { - result = result && getResourceVersion() - .equals(other.getResourceVersion()); - } + result = result && internalGetMatchLabels().equals( + other.internalGetMatchLabels()); + result = result && getMatchExpressionsList() + .equals(other.getMatchExpressionsList()); result = result && unknownFields.equals(other.unknownFields); return result; } @@ -20006,82 +19920,82 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (hasSelfLink()) { - hash = (37 * hash) + SELFLINK_FIELD_NUMBER; - hash = (53 * hash) + getSelfLink().hashCode(); + if (!internalGetMatchLabels().getMap().isEmpty()) { + hash = (37 * hash) + MATCHLABELS_FIELD_NUMBER; + hash = (53 * hash) + internalGetMatchLabels().hashCode(); } - if (hasResourceVersion()) { - hash = (37 * hash) + RESOURCEVERSION_FIELD_NUMBER; - hash = (53 * hash) + getResourceVersion().hashCode(); + if (getMatchExpressionsCount() > 0) { + hash = (37 * hash) + MATCHEXPRESSIONS_FIELD_NUMBER; + hash = (53 * hash) + getMatchExpressionsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static io.kubernetes.client.proto.Meta.ListMeta parseFrom( + public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.ListMeta parseFrom( + public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.ListMeta parseFrom( + public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.ListMeta parseFrom( + public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.ListMeta parseFrom(byte[] data) + public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.ListMeta parseFrom( + public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.ListMeta parseFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.ListMeta parseFrom( + public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.ListMeta parseDelimitedFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.LabelSelector parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.ListMeta parseDelimitedFrom( + public static io.kubernetes.client.proto.Meta.LabelSelector parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.ListMeta parseFrom( + public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.ListMeta parseFrom( + public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -20089,13 +20003,15 @@ public static io.kubernetes.client.proto.Meta.ListMeta parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.kubernetes.client.proto.Meta.ListMeta prototype) { + public static Builder newBuilder(io.kubernetes.client.proto.Meta.LabelSelector prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -20109,29 +20025,53 @@ protected Builder newBuilderForType( } /** *
-     * ListMeta describes metadata that synthetic resources must have, including lists and
-     * various status objects. A resource may have only one of {ObjectMeta, ListMeta}.
+     * A label selector is a label query over a set of resources. The result of matchLabels and
+     * matchExpressions are ANDed. An empty label selector matches all objects. A null
+     * label selector matches no objects.
      * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta) - io.kubernetes.client.proto.Meta.ListMetaOrBuilder { + // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector) + io.kubernetes.client.proto.Meta.LabelSelectorOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelector_descriptor; } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 1: + return internalGetMatchLabels(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 1: + return internalGetMutableMatchLabels(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelector_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.ListMeta.class, io.kubernetes.client.proto.Meta.ListMeta.Builder.class); + io.kubernetes.client.proto.Meta.LabelSelector.class, io.kubernetes.client.proto.Meta.LabelSelector.Builder.class); } - // Construct using io.kubernetes.client.proto.Meta.ListMeta.newBuilder() + // Construct using io.kubernetes.client.proto.Meta.LabelSelector.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -20144,116 +20084,153 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { + getMatchExpressionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); - selfLink_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - resourceVersion_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); + internalGetMutableMatchLabels().clear(); + if (matchExpressionsBuilder_ == null) { + matchExpressions_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + matchExpressionsBuilder_.clear(); + } return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelector_descriptor; } - public io.kubernetes.client.proto.Meta.ListMeta getDefaultInstanceForType() { - return io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.LabelSelector getDefaultInstanceForType() { + return io.kubernetes.client.proto.Meta.LabelSelector.getDefaultInstance(); } - public io.kubernetes.client.proto.Meta.ListMeta build() { - io.kubernetes.client.proto.Meta.ListMeta result = buildPartial(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.LabelSelector build() { + io.kubernetes.client.proto.Meta.LabelSelector result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public io.kubernetes.client.proto.Meta.ListMeta buildPartial() { - io.kubernetes.client.proto.Meta.ListMeta result = new io.kubernetes.client.proto.Meta.ListMeta(this); + @java.lang.Override + public io.kubernetes.client.proto.Meta.LabelSelector buildPartial() { + io.kubernetes.client.proto.Meta.LabelSelector result = new io.kubernetes.client.proto.Meta.LabelSelector(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.selfLink_ = selfLink_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; + result.matchLabels_ = internalGetMatchLabels(); + result.matchLabels_.makeImmutable(); + if (matchExpressionsBuilder_ == null) { + if (((bitField0_ & 0x00000002) == 0x00000002)) { + matchExpressions_ = java.util.Collections.unmodifiableList(matchExpressions_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.matchExpressions_ = matchExpressions_; + } else { + result.matchExpressions_ = matchExpressionsBuilder_.build(); } - result.resourceVersion_ = resourceVersion_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.kubernetes.client.proto.Meta.ListMeta) { - return mergeFrom((io.kubernetes.client.proto.Meta.ListMeta)other); + if (other instanceof io.kubernetes.client.proto.Meta.LabelSelector) { + return mergeFrom((io.kubernetes.client.proto.Meta.LabelSelector)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.kubernetes.client.proto.Meta.ListMeta other) { - if (other == io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance()) return this; - if (other.hasSelfLink()) { - bitField0_ |= 0x00000001; - selfLink_ = other.selfLink_; - onChanged(); - } - if (other.hasResourceVersion()) { - bitField0_ |= 0x00000002; - resourceVersion_ = other.resourceVersion_; - onChanged(); + public Builder mergeFrom(io.kubernetes.client.proto.Meta.LabelSelector other) { + if (other == io.kubernetes.client.proto.Meta.LabelSelector.getDefaultInstance()) return this; + internalGetMutableMatchLabels().mergeFrom( + other.internalGetMatchLabels()); + if (matchExpressionsBuilder_ == null) { + if (!other.matchExpressions_.isEmpty()) { + if (matchExpressions_.isEmpty()) { + matchExpressions_ = other.matchExpressions_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureMatchExpressionsIsMutable(); + matchExpressions_.addAll(other.matchExpressions_); + } + onChanged(); + } + } else { + if (!other.matchExpressions_.isEmpty()) { + if (matchExpressionsBuilder_.isEmpty()) { + matchExpressionsBuilder_.dispose(); + matchExpressionsBuilder_ = null; + matchExpressions_ = other.matchExpressions_; + bitField0_ = (bitField0_ & ~0x00000002); + matchExpressionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMatchExpressionsFieldBuilder() : null; + } else { + matchExpressionsBuilder_.addAllMessages(other.matchExpressions_); + } + } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.kubernetes.client.proto.Meta.ListMeta parsedMessage = null; + io.kubernetes.client.proto.Meta.LabelSelector parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.kubernetes.client.proto.Meta.ListMeta) e.getUnfinishedMessage(); + parsedMessage = (io.kubernetes.client.proto.Meta.LabelSelector) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -20264,502 +20241,697 @@ public Builder mergeFrom( } private int bitField0_; - private java.lang.Object selfLink_ = ""; + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> matchLabels_; + private com.google.protobuf.MapField + internalGetMatchLabels() { + if (matchLabels_ == null) { + return com.google.protobuf.MapField.emptyMapField( + MatchLabelsDefaultEntryHolder.defaultEntry); + } + return matchLabels_; + } + private com.google.protobuf.MapField + internalGetMutableMatchLabels() { + onChanged();; + if (matchLabels_ == null) { + matchLabels_ = com.google.protobuf.MapField.newMapField( + MatchLabelsDefaultEntryHolder.defaultEntry); + } + if (!matchLabels_.isMutable()) { + matchLabels_ = matchLabels_.copy(); + } + return matchLabels_; + } + + public int getMatchLabelsCount() { + return internalGetMatchLabels().getMap().size(); + } /** *
-       * SelfLink is a URL representing this object.
-       * Populated by the system.
-       * Read-only.
+       * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
+       * map is equivalent to an element of matchExpressions, whose key field is "key", the
+       * operator is "In", and the values array contains only "value". The requirements are ANDed.
        * +optional
        * 
* - * optional string selfLink = 1; + * map<string, string> matchLabels = 1; */ - public boolean hasSelfLink() { - return ((bitField0_ & 0x00000001) == 0x00000001); + + public boolean containsMatchLabels( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + return internalGetMatchLabels().getMap().containsKey(key); + } + /** + * Use {@link #getMatchLabelsMap()} instead. + */ + @java.lang.Deprecated + public java.util.Map getMatchLabels() { + return getMatchLabelsMap(); } /** *
-       * SelfLink is a URL representing this object.
-       * Populated by the system.
-       * Read-only.
+       * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
+       * map is equivalent to an element of matchExpressions, whose key field is "key", the
+       * operator is "In", and the values array contains only "value". The requirements are ANDed.
        * +optional
        * 
* - * optional string selfLink = 1; + * map<string, string> matchLabels = 1; */ - public java.lang.String getSelfLink() { - java.lang.Object ref = selfLink_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - selfLink_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } + + public java.util.Map getMatchLabelsMap() { + return internalGetMatchLabels().getMap(); } /** *
-       * SelfLink is a URL representing this object.
-       * Populated by the system.
-       * Read-only.
+       * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
+       * map is equivalent to an element of matchExpressions, whose key field is "key", the
+       * operator is "In", and the values array contains only "value". The requirements are ANDed.
        * +optional
        * 
* - * optional string selfLink = 1; + * map<string, string> matchLabels = 1; */ - public com.google.protobuf.ByteString - getSelfLinkBytes() { - java.lang.Object ref = selfLink_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - selfLink_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; + + public java.lang.String getMatchLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetMatchLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+       * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
+       * map is equivalent to an element of matchExpressions, whose key field is "key", the
+       * operator is "In", and the values array contains only "value". The requirements are ANDed.
+       * +optional
+       * 
+ * + * map<string, string> matchLabels = 1; + */ + + public java.lang.String getMatchLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetMatchLabels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); } + return map.get(key); + } + + public Builder clearMatchLabels() { + internalGetMutableMatchLabels().getMutableMap() + .clear(); + return this; } /** *
-       * SelfLink is a URL representing this object.
-       * Populated by the system.
-       * Read-only.
+       * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
+       * map is equivalent to an element of matchExpressions, whose key field is "key", the
+       * operator is "In", and the values array contains only "value". The requirements are ANDed.
        * +optional
        * 
* - * optional string selfLink = 1; + * map<string, string> matchLabels = 1; */ - public Builder setSelfLink( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - selfLink_ = value; - onChanged(); + + public Builder removeMatchLabels( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + internalGetMutableMatchLabels().getMutableMap() + .remove(key); return this; } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableMatchLabels() { + return internalGetMutableMatchLabels().getMutableMap(); + } /** *
-       * SelfLink is a URL representing this object.
-       * Populated by the system.
-       * Read-only.
+       * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
+       * map is equivalent to an element of matchExpressions, whose key field is "key", the
+       * operator is "In", and the values array contains only "value". The requirements are ANDed.
        * +optional
        * 
* - * optional string selfLink = 1; + * map<string, string> matchLabels = 1; */ - public Builder clearSelfLink() { - bitField0_ = (bitField0_ & ~0x00000001); - selfLink_ = getDefaultInstance().getSelfLink(); - onChanged(); + public Builder putMatchLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new java.lang.NullPointerException(); } + if (value == null) { throw new java.lang.NullPointerException(); } + internalGetMutableMatchLabels().getMutableMap() + .put(key, value); return this; } /** *
-       * SelfLink is a URL representing this object.
-       * Populated by the system.
-       * Read-only.
+       * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
+       * map is equivalent to an element of matchExpressions, whose key field is "key", the
+       * operator is "In", and the values array contains only "value". The requirements are ANDed.
        * +optional
        * 
* - * optional string selfLink = 1; + * map<string, string> matchLabels = 1; */ - public Builder setSelfLinkBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - selfLink_ = value; - onChanged(); + + public Builder putAllMatchLabels( + java.util.Map values) { + internalGetMutableMatchLabels().getMutableMap() + .putAll(values); return this; } - private java.lang.Object resourceVersion_ = ""; + private java.util.List matchExpressions_ = + java.util.Collections.emptyList(); + private void ensureMatchExpressionsIsMutable() { + if (!((bitField0_ & 0x00000002) == 0x00000002)) { + matchExpressions_ = new java.util.ArrayList(matchExpressions_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + io.kubernetes.client.proto.Meta.LabelSelectorRequirement, io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder, io.kubernetes.client.proto.Meta.LabelSelectorRequirementOrBuilder> matchExpressionsBuilder_; + /** *
-       * 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/api-conventions.md#concurrency-control-and-consistency
+       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
        * +optional
        * 
* - * optional string resourceVersion = 2; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; */ - public boolean hasResourceVersion() { - return ((bitField0_ & 0x00000002) == 0x00000002); + public java.util.List getMatchExpressionsList() { + if (matchExpressionsBuilder_ == null) { + return java.util.Collections.unmodifiableList(matchExpressions_); + } else { + return matchExpressionsBuilder_.getMessageList(); + } } /** *
-       * 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/api-conventions.md#concurrency-control-and-consistency
+       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
        * +optional
        * 
* - * optional string resourceVersion = 2; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; */ - public java.lang.String getResourceVersion() { - java.lang.Object ref = resourceVersion_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - resourceVersion_ = s; - } - return s; + public int getMatchExpressionsCount() { + if (matchExpressionsBuilder_ == null) { + return matchExpressions_.size(); } else { - return (java.lang.String) ref; + return matchExpressionsBuilder_.getCount(); } } /** *
-       * 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/api-conventions.md#concurrency-control-and-consistency
+       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
        * +optional
        * 
* - * optional string resourceVersion = 2; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; */ - public com.google.protobuf.ByteString - getResourceVersionBytes() { - java.lang.Object ref = resourceVersion_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - resourceVersion_ = b; - return b; + public io.kubernetes.client.proto.Meta.LabelSelectorRequirement getMatchExpressions(int index) { + if (matchExpressionsBuilder_ == null) { + return matchExpressions_.get(index); } else { - return (com.google.protobuf.ByteString) ref; + return matchExpressionsBuilder_.getMessage(index); } } /** *
-       * 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/api-conventions.md#concurrency-control-and-consistency
+       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
        * +optional
        * 
* - * optional string resourceVersion = 2; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; */ - public Builder setResourceVersion( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - resourceVersion_ = value; - onChanged(); + public Builder setMatchExpressions( + int index, io.kubernetes.client.proto.Meta.LabelSelectorRequirement value) { + if (matchExpressionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMatchExpressionsIsMutable(); + matchExpressions_.set(index, value); + onChanged(); + } else { + matchExpressionsBuilder_.setMessage(index, value); + } return this; } /** *
-       * 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/api-conventions.md#concurrency-control-and-consistency
+       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
        * +optional
        * 
* - * optional string resourceVersion = 2; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; */ - public Builder clearResourceVersion() { - bitField0_ = (bitField0_ & ~0x00000002); - resourceVersion_ = getDefaultInstance().getResourceVersion(); - onChanged(); + public Builder setMatchExpressions( + int index, io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder builderForValue) { + if (matchExpressionsBuilder_ == null) { + ensureMatchExpressionsIsMutable(); + matchExpressions_.set(index, builderForValue.build()); + onChanged(); + } else { + matchExpressionsBuilder_.setMessage(index, builderForValue.build()); + } return this; } /** *
-       * 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/api-conventions.md#concurrency-control-and-consistency
+       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
        * +optional
        * 
* - * optional string resourceVersion = 2; + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; */ - public Builder setResourceVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - resourceVersion_ = value; - onChanged(); + public Builder addMatchExpressions(io.kubernetes.client.proto.Meta.LabelSelectorRequirement value) { + if (matchExpressionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMatchExpressionsIsMutable(); + matchExpressions_.add(value); + onChanged(); + } else { + matchExpressionsBuilder_.addMessage(value); + } return this; } - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta) - } - - // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta) - private static final io.kubernetes.client.proto.Meta.ListMeta DEFAULT_INSTANCE; + /** + *
+       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
+       * +optional
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; + */ + public Builder addMatchExpressions( + int index, io.kubernetes.client.proto.Meta.LabelSelectorRequirement value) { + if (matchExpressionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMatchExpressionsIsMutable(); + matchExpressions_.add(index, value); + onChanged(); + } else { + matchExpressionsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
+       * +optional
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; + */ + public Builder addMatchExpressions( + io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder builderForValue) { + if (matchExpressionsBuilder_ == null) { + ensureMatchExpressionsIsMutable(); + matchExpressions_.add(builderForValue.build()); + onChanged(); + } else { + matchExpressionsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
+       * +optional
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; + */ + public Builder addMatchExpressions( + int index, io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder builderForValue) { + if (matchExpressionsBuilder_ == null) { + ensureMatchExpressionsIsMutable(); + matchExpressions_.add(index, builderForValue.build()); + onChanged(); + } else { + matchExpressionsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
+       * +optional
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; + */ + public Builder addAllMatchExpressions( + java.lang.Iterable values) { + if (matchExpressionsBuilder_ == null) { + ensureMatchExpressionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, matchExpressions_); + onChanged(); + } else { + matchExpressionsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
+       * +optional
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; + */ + public Builder clearMatchExpressions() { + if (matchExpressionsBuilder_ == null) { + matchExpressions_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + matchExpressionsBuilder_.clear(); + } + return this; + } + /** + *
+       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
+       * +optional
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; + */ + public Builder removeMatchExpressions(int index) { + if (matchExpressionsBuilder_ == null) { + ensureMatchExpressionsIsMutable(); + matchExpressions_.remove(index); + onChanged(); + } else { + matchExpressionsBuilder_.remove(index); + } + return this; + } + /** + *
+       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
+       * +optional
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; + */ + public io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder getMatchExpressionsBuilder( + int index) { + return getMatchExpressionsFieldBuilder().getBuilder(index); + } + /** + *
+       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
+       * +optional
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; + */ + public io.kubernetes.client.proto.Meta.LabelSelectorRequirementOrBuilder getMatchExpressionsOrBuilder( + int index) { + if (matchExpressionsBuilder_ == null) { + return matchExpressions_.get(index); } else { + return matchExpressionsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
+       * +optional
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; + */ + public java.util.List + getMatchExpressionsOrBuilderList() { + if (matchExpressionsBuilder_ != null) { + return matchExpressionsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(matchExpressions_); + } + } + /** + *
+       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
+       * +optional
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; + */ + public io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder addMatchExpressionsBuilder() { + return getMatchExpressionsFieldBuilder().addBuilder( + io.kubernetes.client.proto.Meta.LabelSelectorRequirement.getDefaultInstance()); + } + /** + *
+       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
+       * +optional
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; + */ + public io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder addMatchExpressionsBuilder( + int index) { + return getMatchExpressionsFieldBuilder().addBuilder( + index, io.kubernetes.client.proto.Meta.LabelSelectorRequirement.getDefaultInstance()); + } + /** + *
+       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
+       * +optional
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; + */ + public java.util.List + getMatchExpressionsBuilderList() { + return getMatchExpressionsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + io.kubernetes.client.proto.Meta.LabelSelectorRequirement, io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder, io.kubernetes.client.proto.Meta.LabelSelectorRequirementOrBuilder> + getMatchExpressionsFieldBuilder() { + if (matchExpressionsBuilder_ == null) { + matchExpressionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + io.kubernetes.client.proto.Meta.LabelSelectorRequirement, io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder, io.kubernetes.client.proto.Meta.LabelSelectorRequirementOrBuilder>( + matchExpressions_, + ((bitField0_ & 0x00000002) == 0x00000002), + getParentForChildren(), + isClean()); + matchExpressions_ = null; + } + return matchExpressionsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector) + } + + // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector) + private static final io.kubernetes.client.proto.Meta.LabelSelector DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.ListMeta(); + DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.LabelSelector(); } - public static io.kubernetes.client.proto.Meta.ListMeta getDefaultInstance() { + public static io.kubernetes.client.proto.Meta.LabelSelector getDefaultInstance() { return DEFAULT_INSTANCE; } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - public ListMeta parsePartialFrom( + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelSelector parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMeta(input, extensionRegistry); + return new LabelSelector(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } - public io.kubernetes.client.proto.Meta.ListMeta getDefaultInstanceForType() { + @java.lang.Override + public io.kubernetes.client.proto.Meta.LabelSelector getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface ListOptionsOrBuilder extends - // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions) + public interface LabelSelectorRequirementOrBuilder extends + // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement) com.google.protobuf.MessageOrBuilder { /** *
-     * A selector to restrict the list of returned objects by their labels.
-     * Defaults to everything.
-     * +optional
+     * key is the label key that the selector applies to.
+     * +patchMergeKey=key
+     * +patchStrategy=merge
      * 
* - * optional string labelSelector = 1; + * optional string key = 1; */ - boolean hasLabelSelector(); + boolean hasKey(); /** *
-     * A selector to restrict the list of returned objects by their labels.
-     * Defaults to everything.
-     * +optional
+     * key is the label key that the selector applies to.
+     * +patchMergeKey=key
+     * +patchStrategy=merge
      * 
* - * optional string labelSelector = 1; + * optional string key = 1; */ - java.lang.String getLabelSelector(); + java.lang.String getKey(); /** *
-     * A selector to restrict the list of returned objects by their labels.
-     * Defaults to everything.
-     * +optional
+     * key is the label key that the selector applies to.
+     * +patchMergeKey=key
+     * +patchStrategy=merge
      * 
* - * optional string labelSelector = 1; + * optional string key = 1; */ com.google.protobuf.ByteString - getLabelSelectorBytes(); + getKeyBytes(); /** *
-     * A selector to restrict the list of returned objects by their fields.
-     * Defaults to everything.
-     * +optional
+     * operator represents a key's relationship to a set of values.
+     * Valid operators are In, NotIn, Exists and DoesNotExist.
      * 
* - * optional string fieldSelector = 2; + * optional string operator = 2; */ - boolean hasFieldSelector(); + boolean hasOperator(); /** *
-     * A selector to restrict the list of returned objects by their fields.
-     * Defaults to everything.
-     * +optional
+     * operator represents a key's relationship to a set of values.
+     * Valid operators are In, NotIn, Exists and DoesNotExist.
      * 
* - * optional string fieldSelector = 2; + * optional string operator = 2; */ - java.lang.String getFieldSelector(); + java.lang.String getOperator(); /** *
-     * A selector to restrict the list of returned objects by their fields.
-     * Defaults to everything.
-     * +optional
+     * operator represents a key's relationship to a set of values.
+     * Valid operators are In, NotIn, Exists and DoesNotExist.
      * 
* - * optional string fieldSelector = 2; + * optional string operator = 2; */ com.google.protobuf.ByteString - getFieldSelectorBytes(); - - /** - *
-     * If true, partially initialized resources are included in the response.
-     * +optional
-     * 
- * - * optional bool includeUninitialized = 6; - */ - boolean hasIncludeUninitialized(); - /** - *
-     * If true, partially initialized resources are included in the response.
-     * +optional
-     * 
- * - * optional bool includeUninitialized = 6; - */ - boolean getIncludeUninitialized(); + getOperatorBytes(); /** *
-     * 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; - */ - boolean hasWatch(); - /** - *
-     * Watch for changes to the described resources and return them as a stream of
-     * add, update, and remove notifications. Specify resourceVersion.
+     * values is an array of string values. If the operator is In or NotIn,
+     * the values array must be non-empty. If the operator is Exists or DoesNotExist,
+     * the values array must be empty. This array is replaced during a strategic
+     * merge patch.
      * +optional
      * 
* - * optional bool watch = 3; + * repeated string values = 3; */ - boolean getWatch(); - + java.util.List + getValuesList(); /** *
-     * 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.
+     * values is an array of string values. If the operator is In or NotIn,
+     * the values array must be non-empty. If the operator is Exists or DoesNotExist,
+     * the values array must be empty. This array is replaced during a strategic
+     * merge patch.
      * +optional
      * 
* - * optional string resourceVersion = 4; + * repeated string values = 3; */ - boolean hasResourceVersion(); + int getValuesCount(); /** *
-     * 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.
+     * values is an array of string values. If the operator is In or NotIn,
+     * the values array must be non-empty. If the operator is Exists or DoesNotExist,
+     * the values array must be empty. This array is replaced during a strategic
+     * merge patch.
      * +optional
      * 
* - * optional string resourceVersion = 4; + * repeated string values = 3; */ - java.lang.String getResourceVersion(); + java.lang.String getValues(int index); /** *
-     * 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.
+     * values is an array of string values. If the operator is In or NotIn,
+     * the values array must be non-empty. If the operator is Exists or DoesNotExist,
+     * the values array must be empty. This array is replaced during a strategic
+     * merge patch.
      * +optional
      * 
* - * optional string resourceVersion = 4; + * repeated string values = 3; */ com.google.protobuf.ByteString - getResourceVersionBytes(); - - /** - *
-     * Timeout for the list/watch call.
-     * +optional
-     * 
- * - * optional int64 timeoutSeconds = 5; - */ - boolean hasTimeoutSeconds(); - /** - *
-     * Timeout for the list/watch call.
-     * +optional
-     * 
- * - * optional int64 timeoutSeconds = 5; - */ - long getTimeoutSeconds(); + getValuesBytes(int index); } /** *
-   * ListOptions is the query options to a standard REST list call.
+   * A label selector requirement is a selector that contains values, a key, and an operator that
+   * relates the key and values.
    * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement} */ - public static final class ListOptions extends + public static final class LabelSelectorRequirement extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions) - ListOptionsOrBuilder { + // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement) + LabelSelectorRequirementOrBuilder { private static final long serialVersionUID = 0L; - // Use ListOptions.newBuilder() to construct. - private ListOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use LabelSelectorRequirement.newBuilder() to construct. + private LabelSelectorRequirement(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListOptions() { - labelSelector_ = ""; - fieldSelector_ = ""; - includeUninitialized_ = false; - watch_ = false; - resourceVersion_ = ""; - timeoutSeconds_ = 0L; + private LabelSelectorRequirement() { + key_ = ""; + operator_ = ""; + values_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @@ -20767,11 +20939,14 @@ private ListOptions() { getUnknownFields() { return this.unknownFields; } - private ListOptions( + private LabelSelectorRequirement( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -20783,44 +20958,32 @@ private ListOptions( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - labelSelector_ = bs; + key_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - fieldSelector_ = bs; - break; - } - case 24: { - bitField0_ |= 0x00000008; - watch_ = input.readBool(); + operator_ = bs; break; } - case 34: { + case 26: { com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000010; - resourceVersion_ = bs; - break; - } - case 40: { - bitField0_ |= 0x00000020; - timeoutSeconds_ = input.readInt64(); + if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + values_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000004; + } + values_.add(bs); break; } - case 48: { - bitField0_ |= 0x00000004; - includeUninitialized_ = input.readBool(); + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } break; } } @@ -20831,48 +20994,52 @@ private ListOptions( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { + if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + values_ = values_.getUnmodifiableView(); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListOptions_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListOptions_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.ListOptions.class, io.kubernetes.client.proto.Meta.ListOptions.Builder.class); + io.kubernetes.client.proto.Meta.LabelSelectorRequirement.class, io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder.class); } private int bitField0_; - public static final int LABELSELECTOR_FIELD_NUMBER = 1; - private volatile java.lang.Object labelSelector_; + public static final int KEY_FIELD_NUMBER = 1; + private volatile java.lang.Object key_; /** *
-     * A selector to restrict the list of returned objects by their labels.
-     * Defaults to everything.
-     * +optional
+     * key is the label key that the selector applies to.
+     * +patchMergeKey=key
+     * +patchStrategy=merge
      * 
* - * optional string labelSelector = 1; + * optional string key = 1; */ - public boolean hasLabelSelector() { + public boolean hasKey() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
-     * A selector to restrict the list of returned objects by their labels.
-     * Defaults to everything.
-     * +optional
+     * key is the label key that the selector applies to.
+     * +patchMergeKey=key
+     * +patchStrategy=merge
      * 
* - * optional string labelSelector = 1; + * optional string key = 1; */ - public java.lang.String getLabelSelector() { - java.lang.Object ref = labelSelector_; + public java.lang.String getKey() { + java.lang.Object ref = key_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { @@ -20880,59 +21047,57 @@ public java.lang.String getLabelSelector() { (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { - labelSelector_ = s; + key_ = s; } return s; } } /** *
-     * A selector to restrict the list of returned objects by their labels.
-     * Defaults to everything.
-     * +optional
+     * key is the label key that the selector applies to.
+     * +patchMergeKey=key
+     * +patchStrategy=merge
      * 
* - * optional string labelSelector = 1; + * optional string key = 1; */ public com.google.protobuf.ByteString - getLabelSelectorBytes() { - java.lang.Object ref = labelSelector_; - if (ref instanceof java.lang.String) { + getKeyBytes() { + java.lang.Object ref = key_; + if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - labelSelector_ = b; + key_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int FIELDSELECTOR_FIELD_NUMBER = 2; - private volatile java.lang.Object fieldSelector_; + public static final int OPERATOR_FIELD_NUMBER = 2; + private volatile java.lang.Object operator_; /** *
-     * A selector to restrict the list of returned objects by their fields.
-     * Defaults to everything.
-     * +optional
+     * operator represents a key's relationship to a set of values.
+     * Valid operators are In, NotIn, Exists and DoesNotExist.
      * 
* - * optional string fieldSelector = 2; + * optional string operator = 2; */ - public boolean hasFieldSelector() { + public boolean hasOperator() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
-     * A selector to restrict the list of returned objects by their fields.
-     * Defaults to everything.
-     * +optional
+     * operator represents a key's relationship to a set of values.
+     * Valid operators are In, NotIn, Exists and DoesNotExist.
      * 
* - * optional string fieldSelector = 2; + * optional string operator = 2; */ - public java.lang.String getFieldSelector() { - java.lang.Object ref = fieldSelector_; + public java.lang.String getOperator() { + java.lang.Object ref = operator_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { @@ -20940,184 +21105,96 @@ public java.lang.String getFieldSelector() { (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { - fieldSelector_ = s; + operator_ = s; } return s; } } /** *
-     * A selector to restrict the list of returned objects by their fields.
-     * Defaults to everything.
-     * +optional
+     * operator represents a key's relationship to a set of values.
+     * Valid operators are In, NotIn, Exists and DoesNotExist.
      * 
* - * optional string fieldSelector = 2; + * optional string operator = 2; */ public com.google.protobuf.ByteString - getFieldSelectorBytes() { - java.lang.Object ref = fieldSelector_; + getOperatorBytes() { + java.lang.Object ref = operator_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - fieldSelector_ = b; + operator_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int INCLUDEUNINITIALIZED_FIELD_NUMBER = 6; - private boolean includeUninitialized_; - /** - *
-     * If true, partially initialized resources are included in the response.
-     * +optional
-     * 
- * - * optional bool includeUninitialized = 6; - */ - public boolean hasIncludeUninitialized() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - *
-     * If true, partially initialized resources are included in the response.
-     * +optional
-     * 
- * - * optional bool includeUninitialized = 6; - */ - public boolean getIncludeUninitialized() { - return includeUninitialized_; - } - - public static final int WATCH_FIELD_NUMBER = 3; - private boolean watch_; - /** - *
-     * 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 hasWatch() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } + public static final int VALUES_FIELD_NUMBER = 3; + private com.google.protobuf.LazyStringList values_; /** *
-     * Watch for changes to the described resources and return them as a stream of
-     * add, update, and remove notifications. Specify resourceVersion.
+     * values is an array of string values. If the operator is In or NotIn,
+     * the values array must be non-empty. If the operator is Exists or DoesNotExist,
+     * the values array must be empty. This array is replaced during a strategic
+     * merge patch.
      * +optional
      * 
* - * optional bool watch = 3; + * repeated string values = 3; */ - public boolean getWatch() { - return watch_; + public com.google.protobuf.ProtocolStringList + getValuesList() { + return values_; } - - public static final int RESOURCEVERSION_FIELD_NUMBER = 4; - private volatile java.lang.Object resourceVersion_; /** *
-     * 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.
+     * values is an array of string values. If the operator is In or NotIn,
+     * the values array must be non-empty. If the operator is Exists or DoesNotExist,
+     * the values array must be empty. This array is replaced during a strategic
+     * merge patch.
      * +optional
      * 
* - * optional string resourceVersion = 4; + * repeated string values = 3; */ - public boolean hasResourceVersion() { - return ((bitField0_ & 0x00000010) == 0x00000010); + public int getValuesCount() { + return values_.size(); } /** *
-     * 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.
+     * values is an array of string values. If the operator is In or NotIn,
+     * the values array must be non-empty. If the operator is Exists or DoesNotExist,
+     * the values array must be empty. This array is replaced during a strategic
+     * merge patch.
      * +optional
      * 
* - * optional string resourceVersion = 4; + * repeated string values = 3; */ - public java.lang.String getResourceVersion() { - java.lang.Object ref = resourceVersion_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - resourceVersion_ = s; - } - return s; - } + public java.lang.String getValues(int index) { + return values_.get(index); } /** *
-     * 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.
+     * values is an array of string values. If the operator is In or NotIn,
+     * the values array must be non-empty. If the operator is Exists or DoesNotExist,
+     * the values array must be empty. This array is replaced during a strategic
+     * merge patch.
      * +optional
      * 
* - * optional string resourceVersion = 4; + * repeated string values = 3; */ public com.google.protobuf.ByteString - getResourceVersionBytes() { - java.lang.Object ref = resourceVersion_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - resourceVersion_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int TIMEOUTSECONDS_FIELD_NUMBER = 5; - private long timeoutSeconds_; - /** - *
-     * Timeout for the list/watch call.
-     * +optional
-     * 
- * - * optional int64 timeoutSeconds = 5; - */ - public boolean hasTimeoutSeconds() { - return ((bitField0_ & 0x00000020) == 0x00000020); - } - /** - *
-     * Timeout for the list/watch call.
-     * +optional
-     * 
- * - * optional int64 timeoutSeconds = 5; - */ - public long getTimeoutSeconds() { - return timeoutSeconds_; + getValuesBytes(int index) { + return values_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -21127,54 +21204,40 @@ public final boolean isInitialized() { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, labelSelector_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fieldSelector_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeBool(3, watch_); - } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, resourceVersion_); - } - if (((bitField0_ & 0x00000020) == 0x00000020)) { - output.writeInt64(5, timeoutSeconds_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, operator_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBool(6, includeUninitialized_); + for (int i = 0; i < values_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, values_.getRaw(i)); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, labelSelector_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fieldSelector_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, watch_); - } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, resourceVersion_); - } - if (((bitField0_ & 0x00000020) == 0x00000020)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(5, timeoutSeconds_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, operator_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, includeUninitialized_); + { + int dataSize = 0; + for (int i = 0; i < values_.size(); i++) { + dataSize += computeStringSizeNoTag(values_.getRaw(i)); + } + size += dataSize; + size += 1 * getValuesList().size(); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -21186,42 +21249,24 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.kubernetes.client.proto.Meta.ListOptions)) { + if (!(obj instanceof io.kubernetes.client.proto.Meta.LabelSelectorRequirement)) { return super.equals(obj); } - io.kubernetes.client.proto.Meta.ListOptions other = (io.kubernetes.client.proto.Meta.ListOptions) obj; + io.kubernetes.client.proto.Meta.LabelSelectorRequirement other = (io.kubernetes.client.proto.Meta.LabelSelectorRequirement) obj; boolean result = true; - result = result && (hasLabelSelector() == other.hasLabelSelector()); - if (hasLabelSelector()) { - result = result && getLabelSelector() - .equals(other.getLabelSelector()); - } - result = result && (hasFieldSelector() == other.hasFieldSelector()); - if (hasFieldSelector()) { - result = result && getFieldSelector() - .equals(other.getFieldSelector()); - } - result = result && (hasIncludeUninitialized() == other.hasIncludeUninitialized()); - if (hasIncludeUninitialized()) { - result = result && (getIncludeUninitialized() - == other.getIncludeUninitialized()); - } - result = result && (hasWatch() == other.hasWatch()); - if (hasWatch()) { - result = result && (getWatch() - == other.getWatch()); - } - result = result && (hasResourceVersion() == other.hasResourceVersion()); - if (hasResourceVersion()) { - result = result && getResourceVersion() - .equals(other.getResourceVersion()); + result = result && (hasKey() == other.hasKey()); + if (hasKey()) { + result = result && getKey() + .equals(other.getKey()); } - result = result && (hasTimeoutSeconds() == other.hasTimeoutSeconds()); - if (hasTimeoutSeconds()) { - result = result && (getTimeoutSeconds() - == other.getTimeoutSeconds()); + result = result && (hasOperator() == other.hasOperator()); + if (hasOperator()) { + result = result && getOperator() + .equals(other.getOperator()); } + result = result && getValuesList() + .equals(other.getValuesList()); result = result && unknownFields.equals(other.unknownFields); return result; } @@ -21233,101 +21278,86 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (hasLabelSelector()) { - hash = (37 * hash) + LABELSELECTOR_FIELD_NUMBER; - hash = (53 * hash) + getLabelSelector().hashCode(); - } - if (hasFieldSelector()) { - hash = (37 * hash) + FIELDSELECTOR_FIELD_NUMBER; - hash = (53 * hash) + getFieldSelector().hashCode(); - } - if (hasIncludeUninitialized()) { - hash = (37 * hash) + INCLUDEUNINITIALIZED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIncludeUninitialized()); - } - if (hasWatch()) { - hash = (37 * hash) + WATCH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getWatch()); + if (hasKey()) { + hash = (37 * hash) + KEY_FIELD_NUMBER; + hash = (53 * hash) + getKey().hashCode(); } - if (hasResourceVersion()) { - hash = (37 * hash) + RESOURCEVERSION_FIELD_NUMBER; - hash = (53 * hash) + getResourceVersion().hashCode(); + if (hasOperator()) { + hash = (37 * hash) + OPERATOR_FIELD_NUMBER; + hash = (53 * hash) + getOperator().hashCode(); } - if (hasTimeoutSeconds()) { - hash = (37 * hash) + TIMEOUTSECONDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getTimeoutSeconds()); + if (getValuesCount() > 0) { + hash = (37 * hash) + VALUES_FIELD_NUMBER; + hash = (53 * hash) + getValuesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static io.kubernetes.client.proto.Meta.ListOptions parseFrom( + public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.ListOptions parseFrom( + public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.ListOptions parseFrom( + public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.ListOptions parseFrom( + public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.ListOptions parseFrom(byte[] data) + public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.ListOptions parseFrom( + public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.ListOptions parseFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.ListOptions parseFrom( + public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.ListOptions parseDelimitedFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.ListOptions parseDelimitedFrom( + public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.ListOptions parseFrom( + public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.ListOptions parseFrom( + public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -21335,13 +21365,15 @@ public static io.kubernetes.client.proto.Meta.ListOptions parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.kubernetes.client.proto.Meta.ListOptions prototype) { + public static Builder newBuilder(io.kubernetes.client.proto.Meta.LabelSelectorRequirement prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -21355,28 +21387,30 @@ protected Builder newBuilderForType( } /** *
-     * ListOptions is the query options to a standard REST list call.
+     * A label selector requirement is a selector that contains values, a key, and an operator that
+     * relates the key and values.
      * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions) - io.kubernetes.client.proto.Meta.ListOptionsOrBuilder { + // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement) + io.kubernetes.client.proto.Meta.LabelSelectorRequirementOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListOptions_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListOptions_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.ListOptions.class, io.kubernetes.client.proto.Meta.ListOptions.Builder.class); + io.kubernetes.client.proto.Meta.LabelSelectorRequirement.class, io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder.class); } - // Construct using io.kubernetes.client.proto.Meta.ListOptions.newBuilder() + // Construct using io.kubernetes.client.proto.Meta.LabelSelectorRequirement.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -21391,152 +21425,145 @@ private void maybeForceBuilderInitialization() { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); - labelSelector_ = ""; + key_ = ""; bitField0_ = (bitField0_ & ~0x00000001); - fieldSelector_ = ""; + operator_ = ""; bitField0_ = (bitField0_ & ~0x00000002); - includeUninitialized_ = false; + values_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); - watch_ = false; - bitField0_ = (bitField0_ & ~0x00000008); - resourceVersion_ = ""; - bitField0_ = (bitField0_ & ~0x00000010); - timeoutSeconds_ = 0L; - bitField0_ = (bitField0_ & ~0x00000020); return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListOptions_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement_descriptor; } - public io.kubernetes.client.proto.Meta.ListOptions getDefaultInstanceForType() { - return io.kubernetes.client.proto.Meta.ListOptions.getDefaultInstance(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.LabelSelectorRequirement getDefaultInstanceForType() { + return io.kubernetes.client.proto.Meta.LabelSelectorRequirement.getDefaultInstance(); } - public io.kubernetes.client.proto.Meta.ListOptions build() { - io.kubernetes.client.proto.Meta.ListOptions result = buildPartial(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.LabelSelectorRequirement build() { + io.kubernetes.client.proto.Meta.LabelSelectorRequirement result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public io.kubernetes.client.proto.Meta.ListOptions buildPartial() { - io.kubernetes.client.proto.Meta.ListOptions result = new io.kubernetes.client.proto.Meta.ListOptions(this); + @java.lang.Override + public io.kubernetes.client.proto.Meta.LabelSelectorRequirement buildPartial() { + io.kubernetes.client.proto.Meta.LabelSelectorRequirement result = new io.kubernetes.client.proto.Meta.LabelSelectorRequirement(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.labelSelector_ = labelSelector_; + result.key_ = key_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.fieldSelector_ = fieldSelector_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.includeUninitialized_ = includeUninitialized_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { - to_bitField0_ |= 0x00000008; - } - result.watch_ = watch_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { - to_bitField0_ |= 0x00000010; - } - result.resourceVersion_ = resourceVersion_; - if (((from_bitField0_ & 0x00000020) == 0x00000020)) { - to_bitField0_ |= 0x00000020; + result.operator_ = operator_; + if (((bitField0_ & 0x00000004) == 0x00000004)) { + values_ = values_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000004); } - result.timeoutSeconds_ = timeoutSeconds_; + result.values_ = values_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.kubernetes.client.proto.Meta.ListOptions) { - return mergeFrom((io.kubernetes.client.proto.Meta.ListOptions)other); + if (other instanceof io.kubernetes.client.proto.Meta.LabelSelectorRequirement) { + return mergeFrom((io.kubernetes.client.proto.Meta.LabelSelectorRequirement)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.kubernetes.client.proto.Meta.ListOptions other) { - if (other == io.kubernetes.client.proto.Meta.ListOptions.getDefaultInstance()) return this; - if (other.hasLabelSelector()) { + public Builder mergeFrom(io.kubernetes.client.proto.Meta.LabelSelectorRequirement other) { + if (other == io.kubernetes.client.proto.Meta.LabelSelectorRequirement.getDefaultInstance()) return this; + if (other.hasKey()) { bitField0_ |= 0x00000001; - labelSelector_ = other.labelSelector_; + key_ = other.key_; onChanged(); } - if (other.hasFieldSelector()) { + if (other.hasOperator()) { bitField0_ |= 0x00000002; - fieldSelector_ = other.fieldSelector_; + operator_ = other.operator_; onChanged(); } - if (other.hasIncludeUninitialized()) { - setIncludeUninitialized(other.getIncludeUninitialized()); - } - if (other.hasWatch()) { - setWatch(other.getWatch()); - } - if (other.hasResourceVersion()) { - bitField0_ |= 0x00000010; - resourceVersion_ = other.resourceVersion_; + if (!other.values_.isEmpty()) { + if (values_.isEmpty()) { + values_ = other.values_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureValuesIsMutable(); + values_.addAll(other.values_); + } onChanged(); } - if (other.hasTimeoutSeconds()) { - setTimeoutSeconds(other.getTimeoutSeconds()); - } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.kubernetes.client.proto.Meta.ListOptions parsedMessage = null; + io.kubernetes.client.proto.Meta.LabelSelectorRequirement parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.kubernetes.client.proto.Meta.ListOptions) e.getUnfinishedMessage(); + parsedMessage = (io.kubernetes.client.proto.Meta.LabelSelectorRequirement) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -21547,36 +21574,36 @@ public Builder mergeFrom( } private int bitField0_; - private java.lang.Object labelSelector_ = ""; + private java.lang.Object key_ = ""; /** *
-       * A selector to restrict the list of returned objects by their labels.
-       * Defaults to everything.
-       * +optional
+       * key is the label key that the selector applies to.
+       * +patchMergeKey=key
+       * +patchStrategy=merge
        * 
* - * optional string labelSelector = 1; + * optional string key = 1; */ - public boolean hasLabelSelector() { + public boolean hasKey() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
-       * A selector to restrict the list of returned objects by their labels.
-       * Defaults to everything.
-       * +optional
+       * key is the label key that the selector applies to.
+       * +patchMergeKey=key
+       * +patchStrategy=merge
        * 
* - * optional string labelSelector = 1; + * optional string key = 1; */ - public java.lang.String getLabelSelector() { - java.lang.Object ref = labelSelector_; + public java.lang.String getKey() { + java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { - labelSelector_ = s; + key_ = s; } return s; } else { @@ -21585,21 +21612,21 @@ public java.lang.String getLabelSelector() { } /** *
-       * A selector to restrict the list of returned objects by their labels.
-       * Defaults to everything.
-       * +optional
+       * key is the label key that the selector applies to.
+       * +patchMergeKey=key
+       * +patchStrategy=merge
        * 
* - * optional string labelSelector = 1; + * optional string key = 1; */ public com.google.protobuf.ByteString - getLabelSelectorBytes() { - java.lang.Object ref = labelSelector_; + getKeyBytes() { + java.lang.Object ref = key_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - labelSelector_ = b; + key_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; @@ -21607,88 +21634,86 @@ public java.lang.String getLabelSelector() { } /** *
-       * A selector to restrict the list of returned objects by their labels.
-       * Defaults to everything.
-       * +optional
+       * key is the label key that the selector applies to.
+       * +patchMergeKey=key
+       * +patchStrategy=merge
        * 
* - * optional string labelSelector = 1; + * optional string key = 1; */ - public Builder setLabelSelector( + public Builder setKey( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; - labelSelector_ = value; + key_ = value; onChanged(); return this; } /** *
-       * A selector to restrict the list of returned objects by their labels.
-       * Defaults to everything.
-       * +optional
+       * key is the label key that the selector applies to.
+       * +patchMergeKey=key
+       * +patchStrategy=merge
        * 
* - * optional string labelSelector = 1; + * optional string key = 1; */ - public Builder clearLabelSelector() { + public Builder clearKey() { bitField0_ = (bitField0_ & ~0x00000001); - labelSelector_ = getDefaultInstance().getLabelSelector(); + key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** *
-       * A selector to restrict the list of returned objects by their labels.
-       * Defaults to everything.
-       * +optional
+       * key is the label key that the selector applies to.
+       * +patchMergeKey=key
+       * +patchStrategy=merge
        * 
* - * optional string labelSelector = 1; + * optional string key = 1; */ - public Builder setLabelSelectorBytes( + public Builder setKeyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; - labelSelector_ = value; + key_ = value; onChanged(); return this; } - private java.lang.Object fieldSelector_ = ""; + private java.lang.Object operator_ = ""; /** *
-       * A selector to restrict the list of returned objects by their fields.
-       * Defaults to everything.
-       * +optional
+       * operator represents a key's relationship to a set of values.
+       * Valid operators are In, NotIn, Exists and DoesNotExist.
        * 
* - * optional string fieldSelector = 2; + * optional string operator = 2; */ - public boolean hasFieldSelector() { + public boolean hasOperator() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
-       * A selector to restrict the list of returned objects by their fields.
-       * Defaults to everything.
-       * +optional
+       * operator represents a key's relationship to a set of values.
+       * Valid operators are In, NotIn, Exists and DoesNotExist.
        * 
* - * optional string fieldSelector = 2; + * optional string operator = 2; */ - public java.lang.String getFieldSelector() { - java.lang.Object ref = fieldSelector_; + public java.lang.String getOperator() { + java.lang.Object ref = operator_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { - fieldSelector_ = s; + operator_ = s; } return s; } else { @@ -21697,21 +21722,20 @@ public java.lang.String getFieldSelector() { } /** *
-       * A selector to restrict the list of returned objects by their fields.
-       * Defaults to everything.
-       * +optional
+       * operator represents a key's relationship to a set of values.
+       * Valid operators are In, NotIn, Exists and DoesNotExist.
        * 
* - * optional string fieldSelector = 2; + * optional string operator = 2; */ public com.google.protobuf.ByteString - getFieldSelectorBytes() { - java.lang.Object ref = fieldSelector_; + getOperatorBytes() { + java.lang.Object ref = operator_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - fieldSelector_ = b; + operator_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; @@ -21719,473 +21743,369 @@ public java.lang.String getFieldSelector() { } /** *
-       * A selector to restrict the list of returned objects by their fields.
-       * Defaults to everything.
-       * +optional
+       * operator represents a key's relationship to a set of values.
+       * Valid operators are In, NotIn, Exists and DoesNotExist.
        * 
* - * optional string fieldSelector = 2; + * optional string operator = 2; */ - public Builder setFieldSelector( + public Builder setOperator( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; - fieldSelector_ = value; + operator_ = value; onChanged(); return this; } /** *
-       * A selector to restrict the list of returned objects by their fields.
-       * Defaults to everything.
-       * +optional
+       * operator represents a key's relationship to a set of values.
+       * Valid operators are In, NotIn, Exists and DoesNotExist.
        * 
* - * optional string fieldSelector = 2; + * optional string operator = 2; */ - public Builder clearFieldSelector() { + public Builder clearOperator() { bitField0_ = (bitField0_ & ~0x00000002); - fieldSelector_ = getDefaultInstance().getFieldSelector(); + operator_ = getDefaultInstance().getOperator(); onChanged(); return this; } /** *
-       * A selector to restrict the list of returned objects by their fields.
-       * Defaults to everything.
-       * +optional
+       * operator represents a key's relationship to a set of values.
+       * Valid operators are In, NotIn, Exists and DoesNotExist.
        * 
* - * optional string fieldSelector = 2; + * optional string operator = 2; */ - public Builder setFieldSelectorBytes( + public Builder setOperatorBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; - fieldSelector_ = value; - onChanged(); - return this; - } - - private boolean includeUninitialized_ ; - /** - *
-       * If true, partially initialized resources are included in the response.
-       * +optional
-       * 
- * - * optional bool includeUninitialized = 6; - */ - public boolean hasIncludeUninitialized() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - *
-       * If true, partially initialized resources are included in the response.
-       * +optional
-       * 
- * - * optional bool includeUninitialized = 6; - */ - public boolean getIncludeUninitialized() { - return includeUninitialized_; - } - /** - *
-       * If true, partially initialized resources are included in the response.
-       * +optional
-       * 
- * - * optional bool includeUninitialized = 6; - */ - public Builder setIncludeUninitialized(boolean value) { - bitField0_ |= 0x00000004; - includeUninitialized_ = value; - onChanged(); - return this; - } - /** - *
-       * If true, partially initialized resources are included in the response.
-       * +optional
-       * 
- * - * optional bool includeUninitialized = 6; - */ - public Builder clearIncludeUninitialized() { - bitField0_ = (bitField0_ & ~0x00000004); - includeUninitialized_ = false; + operator_ = value; onChanged(); return this; } - private boolean watch_ ; - /** - *
-       * 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 hasWatch() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - /** - *
-       * 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 getWatch() { - return watch_; - } - /** - *
-       * 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 Builder setWatch(boolean value) { - bitField0_ |= 0x00000008; - watch_ = value; - onChanged(); - return this; + private com.google.protobuf.LazyStringList values_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureValuesIsMutable() { + if (!((bitField0_ & 0x00000004) == 0x00000004)) { + values_ = new com.google.protobuf.LazyStringArrayList(values_); + bitField0_ |= 0x00000004; + } } /** *
-       * Watch for changes to the described resources and return them as a stream of
-       * add, update, and remove notifications. Specify resourceVersion.
+       * values is an array of string values. If the operator is In or NotIn,
+       * the values array must be non-empty. If the operator is Exists or DoesNotExist,
+       * the values array must be empty. This array is replaced during a strategic
+       * merge patch.
        * +optional
        * 
* - * optional bool watch = 3; + * repeated string values = 3; */ - public Builder clearWatch() { - bitField0_ = (bitField0_ & ~0x00000008); - watch_ = false; - onChanged(); - return this; + public com.google.protobuf.ProtocolStringList + getValuesList() { + return values_.getUnmodifiableView(); } - - private java.lang.Object resourceVersion_ = ""; /** *
-       * 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.
+       * values is an array of string values. If the operator is In or NotIn,
+       * the values array must be non-empty. If the operator is Exists or DoesNotExist,
+       * the values array must be empty. This array is replaced during a strategic
+       * merge patch.
        * +optional
        * 
* - * optional string resourceVersion = 4; + * repeated string values = 3; */ - public boolean hasResourceVersion() { - return ((bitField0_ & 0x00000010) == 0x00000010); + public int getValuesCount() { + return values_.size(); } /** *
-       * 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.
+       * values is an array of string values. If the operator is In or NotIn,
+       * the values array must be non-empty. If the operator is Exists or DoesNotExist,
+       * the values array must be empty. This array is replaced during a strategic
+       * merge patch.
        * +optional
        * 
* - * optional string resourceVersion = 4; + * repeated string values = 3; */ - public java.lang.String getResourceVersion() { - java.lang.Object ref = resourceVersion_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - resourceVersion_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } + public java.lang.String getValues(int index) { + return values_.get(index); } /** *
-       * 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.
+       * values is an array of string values. If the operator is In or NotIn,
+       * the values array must be non-empty. If the operator is Exists or DoesNotExist,
+       * the values array must be empty. This array is replaced during a strategic
+       * merge patch.
        * +optional
        * 
* - * optional string resourceVersion = 4; + * repeated string values = 3; */ public com.google.protobuf.ByteString - getResourceVersionBytes() { - java.lang.Object ref = resourceVersion_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - resourceVersion_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + getValuesBytes(int index) { + return values_.getByteString(index); } /** *
-       * 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.
+       * values is an array of string values. If the operator is In or NotIn,
+       * the values array must be non-empty. If the operator is Exists or DoesNotExist,
+       * the values array must be empty. This array is replaced during a strategic
+       * merge patch.
        * +optional
        * 
* - * optional string resourceVersion = 4; + * repeated string values = 3; */ - public Builder setResourceVersion( - java.lang.String value) { + public Builder setValues( + int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000010; - resourceVersion_ = value; - onChanged(); - return this; - } - /** - *
-       * 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 Builder clearResourceVersion() { - bitField0_ = (bitField0_ & ~0x00000010); - resourceVersion_ = getDefaultInstance().getResourceVersion(); + ensureValuesIsMutable(); + values_.set(index, value); onChanged(); return this; } /** *
-       * 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.
+       * values is an array of string values. If the operator is In or NotIn,
+       * the values array must be non-empty. If the operator is Exists or DoesNotExist,
+       * the values array must be empty. This array is replaced during a strategic
+       * merge patch.
        * +optional
        * 
* - * optional string resourceVersion = 4; + * repeated string values = 3; */ - public Builder setResourceVersionBytes( - com.google.protobuf.ByteString value) { + public Builder addValues( + java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000010; - resourceVersion_ = value; + ensureValuesIsMutable(); + values_.add(value); onChanged(); return this; } - - private long timeoutSeconds_ ; - /** - *
-       * Timeout for the list/watch call.
-       * +optional
-       * 
- * - * optional int64 timeoutSeconds = 5; - */ - public boolean hasTimeoutSeconds() { - return ((bitField0_ & 0x00000020) == 0x00000020); - } /** *
-       * Timeout for the list/watch call.
+       * values is an array of string values. If the operator is In or NotIn,
+       * the values array must be non-empty. If the operator is Exists or DoesNotExist,
+       * the values array must be empty. This array is replaced during a strategic
+       * merge patch.
        * +optional
        * 
* - * optional int64 timeoutSeconds = 5; + * repeated string values = 3; */ - public long getTimeoutSeconds() { - return timeoutSeconds_; + public Builder addAllValues( + java.lang.Iterable values) { + ensureValuesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, values_); + onChanged(); + return this; } /** *
-       * Timeout for the list/watch call.
+       * values is an array of string values. If the operator is In or NotIn,
+       * the values array must be non-empty. If the operator is Exists or DoesNotExist,
+       * the values array must be empty. This array is replaced during a strategic
+       * merge patch.
        * +optional
        * 
* - * optional int64 timeoutSeconds = 5; + * repeated string values = 3; */ - public Builder setTimeoutSeconds(long value) { - bitField0_ |= 0x00000020; - timeoutSeconds_ = value; + public Builder clearValues() { + values_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
-       * Timeout for the list/watch call.
+       * values is an array of string values. If the operator is In or NotIn,
+       * the values array must be non-empty. If the operator is Exists or DoesNotExist,
+       * the values array must be empty. This array is replaced during a strategic
+       * merge patch.
        * +optional
        * 
* - * optional int64 timeoutSeconds = 5; + * repeated string values = 3; */ - public Builder clearTimeoutSeconds() { - bitField0_ = (bitField0_ & ~0x00000020); - timeoutSeconds_ = 0L; + public Builder addValuesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + ensureValuesIsMutable(); + values_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions) + // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement) } - // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions) - private static final io.kubernetes.client.proto.Meta.ListOptions DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement) + private static final io.kubernetes.client.proto.Meta.LabelSelectorRequirement DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.ListOptions(); + DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.LabelSelectorRequirement(); } - public static io.kubernetes.client.proto.Meta.ListOptions getDefaultInstance() { + public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement getDefaultInstance() { return DEFAULT_INSTANCE; } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - public ListOptions parsePartialFrom( + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelSelectorRequirement parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListOptions(input, extensionRegistry); + return new LabelSelectorRequirement(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } - public io.kubernetes.client.proto.Meta.ListOptions getDefaultInstanceForType() { + @java.lang.Override + public io.kubernetes.client.proto.Meta.LabelSelectorRequirement getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface MicroTimeOrBuilder extends - // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime) + public interface ListOrBuilder extends + // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.List) com.google.protobuf.MessageOrBuilder { /** *
-     * Represents seconds of UTC time since Unix epoch
-     * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
-     * 9999-12-31T23:59:59Z inclusive.
+     * Standard list metadata.
+     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+     * +optional
      * 
* - * optional int64 seconds = 1; + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ - boolean hasSeconds(); + boolean hasMetadata(); /** *
-     * Represents seconds of UTC time since Unix epoch
-     * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
-     * 9999-12-31T23:59:59Z inclusive.
+     * Standard list metadata.
+     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+     * +optional
      * 
* - * optional int64 seconds = 1; + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ - long getSeconds(); + io.kubernetes.client.proto.Meta.ListMeta getMetadata(); + /** + *
+     * Standard list metadata.
+     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+     * +optional
+     * 
+ * + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; + */ + io.kubernetes.client.proto.Meta.ListMetaOrBuilder getMetadataOrBuilder(); /** *
-     * Non-negative fractions of a second at nanosecond resolution. Negative
-     * second values with fractions must still have non-negative nanos values
-     * that count forward in time. Must be from 0 to 999,999,999
-     * inclusive. This field may be limited in precision depending on context.
+     * List of objects
      * 
* - * optional int32 nanos = 2; + * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ - boolean hasNanos(); + java.util.List + getItemsList(); /** *
-     * Non-negative fractions of a second at nanosecond resolution. Negative
-     * second values with fractions must still have non-negative nanos values
-     * that count forward in time. Must be from 0 to 999,999,999
-     * inclusive. This field may be limited in precision depending on context.
+     * List of objects
      * 
* - * optional int32 nanos = 2; + * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ - int getNanos(); + io.kubernetes.client.proto.Runtime.RawExtension getItems(int index); + /** + *
+     * List of objects
+     * 
+ * + * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; + */ + int getItemsCount(); + /** + *
+     * List of objects
+     * 
+ * + * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; + */ + java.util.List + getItemsOrBuilderList(); + /** + *
+     * List of objects
+     * 
+ * + * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; + */ + io.kubernetes.client.proto.Runtime.RawExtensionOrBuilder getItemsOrBuilder( + int index); } /** *
-   * MicroTime is version of Time with microsecond level precision.
-   * 
-   * +protobuf.options.marshal=false
-   * +protobuf.as=Timestamp
-   * +protobuf.options.(gogoproto.goproto_stringer)=false
+   * List holds a list of objects, which may not be known by the server.
    * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.List} */ - public static final class MicroTime extends + public static final class List extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime) - MicroTimeOrBuilder { + // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.List) + ListOrBuilder { private static final long serialVersionUID = 0L; - // Use MicroTime.newBuilder() to construct. - private MicroTime(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use List.newBuilder() to construct. + private List(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MicroTime() { - seconds_ = 0L; - nanos_ = 0; + private List() { + items_ = java.util.Collections.emptyList(); } @java.lang.Override @@ -22193,11 +22113,14 @@ private MicroTime() { getUnknownFields() { return this.unknownFields; } - private MicroTime( + private List( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -22209,21 +22132,33 @@ private MicroTime( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 10: { + io.kubernetes.client.proto.Meta.ListMeta.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + subBuilder = metadata_.toBuilder(); + } + metadata_ = input.readMessage(io.kubernetes.client.proto.Meta.ListMeta.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(metadata_); + metadata_ = subBuilder.buildPartial(); } + bitField0_ |= 0x00000001; break; } - case 8: { - bitField0_ |= 0x00000001; - seconds_ = input.readInt64(); + case 18: { + if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + items_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + items_.add( + input.readMessage(io.kubernetes.client.proto.Runtime.RawExtension.PARSER, extensionRegistry)); break; } - case 16: { - bitField0_ |= 0x00000002; - nanos_ = input.readInt32(); + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } break; } } @@ -22234,80 +22169,123 @@ private MicroTime( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { + if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + items_ = java.util.Collections.unmodifiableList(items_); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_MicroTime_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_List_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_MicroTime_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_List_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.MicroTime.class, io.kubernetes.client.proto.Meta.MicroTime.Builder.class); + io.kubernetes.client.proto.Meta.List.class, io.kubernetes.client.proto.Meta.List.Builder.class); } private int bitField0_; - public static final int SECONDS_FIELD_NUMBER = 1; - private long seconds_; + public static final int METADATA_FIELD_NUMBER = 1; + private io.kubernetes.client.proto.Meta.ListMeta metadata_; /** *
-     * Represents seconds of UTC time since Unix epoch
-     * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
-     * 9999-12-31T23:59:59Z inclusive.
+     * Standard list metadata.
+     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+     * +optional
      * 
* - * optional int64 seconds = 1; + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ - public boolean hasSeconds() { + public boolean hasMetadata() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
-     * Represents seconds of UTC time since Unix epoch
-     * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
-     * 9999-12-31T23:59:59Z inclusive.
+     * Standard list metadata.
+     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+     * +optional
      * 
* - * optional int64 seconds = 1; + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ - public long getSeconds() { - return seconds_; + public io.kubernetes.client.proto.Meta.ListMeta getMetadata() { + return metadata_ == null ? io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance() : metadata_; } - - public static final int NANOS_FIELD_NUMBER = 2; - private int nanos_; /** *
-     * Non-negative fractions of a second at nanosecond resolution. Negative
-     * second values with fractions must still have non-negative nanos values
-     * that count forward in time. Must be from 0 to 999,999,999
-     * inclusive. This field may be limited in precision depending on context.
+     * Standard list metadata.
+     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+     * +optional
      * 
* - * optional int32 nanos = 2; + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ - public boolean hasNanos() { - return ((bitField0_ & 0x00000002) == 0x00000002); + public io.kubernetes.client.proto.Meta.ListMetaOrBuilder getMetadataOrBuilder() { + return metadata_ == null ? io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance() : metadata_; } + + public static final int ITEMS_FIELD_NUMBER = 2; + private java.util.List items_; /** *
-     * Non-negative fractions of a second at nanosecond resolution. Negative
-     * second values with fractions must still have non-negative nanos values
-     * that count forward in time. Must be from 0 to 999,999,999
-     * inclusive. This field may be limited in precision depending on context.
+     * List of objects
      * 
* - * optional int32 nanos = 2; + * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ - public int getNanos() { - return nanos_; + public java.util.List getItemsList() { + return items_; + } + /** + *
+     * List of objects
+     * 
+ * + * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; + */ + public java.util.List + getItemsOrBuilderList() { + return items_; + } + /** + *
+     * List of objects
+     * 
+ * + * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; + */ + public int getItemsCount() { + return items_.size(); + } + /** + *
+     * List of objects
+     * 
+ * + * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; + */ + public io.kubernetes.client.proto.Runtime.RawExtension getItems(int index) { + return items_.get(index); + } + /** + *
+     * List of objects
+     * 
+ * + * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; + */ + public io.kubernetes.client.proto.Runtime.RawExtensionOrBuilder getItemsOrBuilder( + int index) { + return items_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -22317,17 +22295,19 @@ public final boolean isInitialized() { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeInt64(1, seconds_); + output.writeMessage(1, getMetadata()); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeInt32(2, nanos_); + for (int i = 0; i < items_.size(); i++) { + output.writeMessage(2, items_.get(i)); } unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -22335,11 +22315,11 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, seconds_); + .computeMessageSize(1, getMetadata()); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + for (int i = 0; i < items_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, nanos_); + .computeMessageSize(2, items_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -22351,22 +22331,19 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.kubernetes.client.proto.Meta.MicroTime)) { + if (!(obj instanceof io.kubernetes.client.proto.Meta.List)) { return super.equals(obj); } - io.kubernetes.client.proto.Meta.MicroTime other = (io.kubernetes.client.proto.Meta.MicroTime) obj; + io.kubernetes.client.proto.Meta.List other = (io.kubernetes.client.proto.Meta.List) obj; boolean result = true; - result = result && (hasSeconds() == other.hasSeconds()); - if (hasSeconds()) { - result = result && (getSeconds() - == other.getSeconds()); - } - result = result && (hasNanos() == other.hasNanos()); - if (hasNanos()) { - result = result && (getNanos() - == other.getNanos()); + result = result && (hasMetadata() == other.hasMetadata()); + if (hasMetadata()) { + result = result && getMetadata() + .equals(other.getMetadata()); } + result = result && getItemsList() + .equals(other.getItemsList()); result = result && unknownFields.equals(other.unknownFields); return result; } @@ -22378,83 +22355,82 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (hasSeconds()) { - hash = (37 * hash) + SECONDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getSeconds()); + if (hasMetadata()) { + hash = (37 * hash) + METADATA_FIELD_NUMBER; + hash = (53 * hash) + getMetadata().hashCode(); } - if (hasNanos()) { - hash = (37 * hash) + NANOS_FIELD_NUMBER; - hash = (53 * hash) + getNanos(); + if (getItemsCount() > 0) { + hash = (37 * hash) + ITEMS_FIELD_NUMBER; + hash = (53 * hash) + getItemsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static io.kubernetes.client.proto.Meta.MicroTime parseFrom( + public static io.kubernetes.client.proto.Meta.List parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.MicroTime parseFrom( + public static io.kubernetes.client.proto.Meta.List parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.MicroTime parseFrom( + public static io.kubernetes.client.proto.Meta.List parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.MicroTime parseFrom( + public static io.kubernetes.client.proto.Meta.List parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.MicroTime parseFrom(byte[] data) + public static io.kubernetes.client.proto.Meta.List parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.kubernetes.client.proto.Meta.MicroTime parseFrom( + public static io.kubernetes.client.proto.Meta.List parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.MicroTime parseFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.List parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.MicroTime parseFrom( + public static io.kubernetes.client.proto.Meta.List parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.MicroTime parseDelimitedFrom(java.io.InputStream input) + public static io.kubernetes.client.proto.Meta.List parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.MicroTime parseDelimitedFrom( + public static io.kubernetes.client.proto.Meta.List parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static io.kubernetes.client.proto.Meta.MicroTime parseFrom( + public static io.kubernetes.client.proto.Meta.List parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.kubernetes.client.proto.Meta.MicroTime parseFrom( + public static io.kubernetes.client.proto.Meta.List parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -22462,13 +22438,15 @@ public static io.kubernetes.client.proto.Meta.MicroTime parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.kubernetes.client.proto.Meta.MicroTime prototype) { + public static Builder newBuilder(io.kubernetes.client.proto.Meta.List prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -22482,32 +22460,29 @@ protected Builder newBuilderForType( } /** *
-     * MicroTime is version of Time with microsecond level precision.
-     * 
-     * +protobuf.options.marshal=false
-     * +protobuf.as=Timestamp
-     * +protobuf.options.(gogoproto.goproto_stringer)=false
+     * List holds a list of objects, which may not be known by the server.
      * 
* - * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime} + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.List} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime) - io.kubernetes.client.proto.Meta.MicroTimeOrBuilder { + // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.List) + io.kubernetes.client.proto.Meta.ListOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_MicroTime_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_List_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_MicroTime_fieldAccessorTable + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_List_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.kubernetes.client.proto.Meta.MicroTime.class, io.kubernetes.client.proto.Meta.MicroTime.Builder.class); + io.kubernetes.client.proto.Meta.List.class, io.kubernetes.client.proto.Meta.List.Builder.class); } - // Construct using io.kubernetes.client.proto.Meta.MicroTime.newBuilder() + // Construct using io.kubernetes.client.proto.Meta.List.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -22520,112 +22495,168 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { + getMetadataFieldBuilder(); + getItemsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); - seconds_ = 0L; + if (metadataBuilder_ == null) { + metadata_ = null; + } else { + metadataBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000001); - nanos_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); + if (itemsBuilder_ == null) { + items_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + itemsBuilder_.clear(); + } return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_MicroTime_descriptor; + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_List_descriptor; } - public io.kubernetes.client.proto.Meta.MicroTime getDefaultInstanceForType() { - return io.kubernetes.client.proto.Meta.MicroTime.getDefaultInstance(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.List getDefaultInstanceForType() { + return io.kubernetes.client.proto.Meta.List.getDefaultInstance(); } - public io.kubernetes.client.proto.Meta.MicroTime build() { - io.kubernetes.client.proto.Meta.MicroTime result = buildPartial(); + @java.lang.Override + public io.kubernetes.client.proto.Meta.List build() { + io.kubernetes.client.proto.Meta.List result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public io.kubernetes.client.proto.Meta.MicroTime buildPartial() { - io.kubernetes.client.proto.Meta.MicroTime result = new io.kubernetes.client.proto.Meta.MicroTime(this); + @java.lang.Override + public io.kubernetes.client.proto.Meta.List buildPartial() { + io.kubernetes.client.proto.Meta.List result = new io.kubernetes.client.proto.Meta.List(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.seconds_ = seconds_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; + if (metadataBuilder_ == null) { + result.metadata_ = metadata_; + } else { + result.metadata_ = metadataBuilder_.build(); + } + if (itemsBuilder_ == null) { + if (((bitField0_ & 0x00000002) == 0x00000002)) { + items_ = java.util.Collections.unmodifiableList(items_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.items_ = items_; + } else { + result.items_ = itemsBuilder_.build(); } - result.nanos_ = nanos_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.kubernetes.client.proto.Meta.MicroTime) { - return mergeFrom((io.kubernetes.client.proto.Meta.MicroTime)other); + if (other instanceof io.kubernetes.client.proto.Meta.List) { + return mergeFrom((io.kubernetes.client.proto.Meta.List)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.kubernetes.client.proto.Meta.MicroTime other) { - if (other == io.kubernetes.client.proto.Meta.MicroTime.getDefaultInstance()) return this; - if (other.hasSeconds()) { - setSeconds(other.getSeconds()); + public Builder mergeFrom(io.kubernetes.client.proto.Meta.List other) { + if (other == io.kubernetes.client.proto.Meta.List.getDefaultInstance()) return this; + if (other.hasMetadata()) { + mergeMetadata(other.getMetadata()); } - if (other.hasNanos()) { - setNanos(other.getNanos()); + if (itemsBuilder_ == null) { + if (!other.items_.isEmpty()) { + if (items_.isEmpty()) { + items_ = other.items_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureItemsIsMutable(); + items_.addAll(other.items_); + } + onChanged(); + } + } else { + if (!other.items_.isEmpty()) { + if (itemsBuilder_.isEmpty()) { + itemsBuilder_.dispose(); + itemsBuilder_ = null; + items_ = other.items_; + bitField0_ = (bitField0_ & ~0x00000002); + itemsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getItemsFieldBuilder() : null; + } else { + itemsBuilder_.addAllMessages(other.items_); + } + } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.kubernetes.client.proto.Meta.MicroTime parsedMessage = null; + io.kubernetes.client.proto.Meta.List parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.kubernetes.client.proto.Meta.MicroTime) e.getUnfinishedMessage(); + parsedMessage = (io.kubernetes.client.proto.Meta.List) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -22636,881 +22667,5239 @@ public Builder mergeFrom( } private int bitField0_; - private long seconds_ ; + private io.kubernetes.client.proto.Meta.ListMeta metadata_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + io.kubernetes.client.proto.Meta.ListMeta, io.kubernetes.client.proto.Meta.ListMeta.Builder, io.kubernetes.client.proto.Meta.ListMetaOrBuilder> metadataBuilder_; /** *
-       * Represents seconds of UTC time since Unix epoch
-       * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
-       * 9999-12-31T23:59:59Z inclusive.
+       * Standard list metadata.
+       * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+       * +optional
        * 
* - * optional int64 seconds = 1; + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ - public boolean hasSeconds() { + public boolean hasMetadata() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
-       * Represents seconds of UTC time since Unix epoch
-       * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
-       * 9999-12-31T23:59:59Z inclusive.
+       * Standard list metadata.
+       * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+       * +optional
        * 
* - * optional int64 seconds = 1; + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ - public long getSeconds() { - return seconds_; + public io.kubernetes.client.proto.Meta.ListMeta getMetadata() { + if (metadataBuilder_ == null) { + return metadata_ == null ? io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance() : metadata_; + } else { + return metadataBuilder_.getMessage(); + } } /** *
-       * Represents seconds of UTC time since Unix epoch
-       * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
-       * 9999-12-31T23:59:59Z inclusive.
+       * Standard list metadata.
+       * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+       * +optional
        * 
* - * optional int64 seconds = 1; + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ - public Builder setSeconds(long value) { + public Builder setMetadata(io.kubernetes.client.proto.Meta.ListMeta value) { + if (metadataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + metadata_ = value; + onChanged(); + } else { + metadataBuilder_.setMessage(value); + } bitField0_ |= 0x00000001; - seconds_ = value; - onChanged(); return this; } /** *
-       * Represents seconds of UTC time since Unix epoch
-       * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
-       * 9999-12-31T23:59:59Z inclusive.
+       * Standard list metadata.
+       * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+       * +optional
        * 
* - * optional int64 seconds = 1; + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ - public Builder clearSeconds() { - bitField0_ = (bitField0_ & ~0x00000001); - seconds_ = 0L; - onChanged(); + public Builder setMetadata( + io.kubernetes.client.proto.Meta.ListMeta.Builder builderForValue) { + if (metadataBuilder_ == null) { + metadata_ = builderForValue.build(); + onChanged(); + } else { + metadataBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; return this; } - - private int nanos_ ; /** *
-       * Non-negative fractions of a second at nanosecond resolution. Negative
-       * second values with fractions must still have non-negative nanos values
-       * that count forward in time. Must be from 0 to 999,999,999
-       * inclusive. This field may be limited in precision depending on context.
+       * Standard list metadata.
+       * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+       * +optional
        * 
* - * optional int32 nanos = 2; + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ - public boolean hasNanos() { - return ((bitField0_ & 0x00000002) == 0x00000002); + public Builder mergeMetadata(io.kubernetes.client.proto.Meta.ListMeta value) { + if (metadataBuilder_ == null) { + if (((bitField0_ & 0x00000001) == 0x00000001) && + metadata_ != null && + metadata_ != io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance()) { + metadata_ = + io.kubernetes.client.proto.Meta.ListMeta.newBuilder(metadata_).mergeFrom(value).buildPartial(); + } else { + metadata_ = value; + } + onChanged(); + } else { + metadataBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; } /** *
-       * Non-negative fractions of a second at nanosecond resolution. Negative
-       * second values with fractions must still have non-negative nanos values
-       * that count forward in time. Must be from 0 to 999,999,999
-       * inclusive. This field may be limited in precision depending on context.
+       * Standard list metadata.
+       * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+       * +optional
        * 
* - * optional int32 nanos = 2; + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ - public int getNanos() { - return nanos_; + public Builder clearMetadata() { + if (metadataBuilder_ == null) { + metadata_ = null; + onChanged(); + } else { + metadataBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; } /** *
-       * Non-negative fractions of a second at nanosecond resolution. Negative
-       * second values with fractions must still have non-negative nanos values
-       * that count forward in time. Must be from 0 to 999,999,999
-       * inclusive. This field may be limited in precision depending on context.
+       * Standard list metadata.
+       * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+       * +optional
        * 
* - * optional int32 nanos = 2; + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ - public Builder setNanos(int value) { - bitField0_ |= 0x00000002; - nanos_ = value; + public io.kubernetes.client.proto.Meta.ListMeta.Builder getMetadataBuilder() { + bitField0_ |= 0x00000001; onChanged(); - return this; + return getMetadataFieldBuilder().getBuilder(); } /** *
-       * Non-negative fractions of a second at nanosecond resolution. Negative
-       * second values with fractions must still have non-negative nanos values
-       * that count forward in time. Must be from 0 to 999,999,999
-       * inclusive. This field may be limited in precision depending on context.
+       * Standard list metadata.
+       * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+       * +optional
        * 
* - * optional int32 nanos = 2; + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ - public Builder clearNanos() { - bitField0_ = (bitField0_ & ~0x00000002); - nanos_ = 0; - onChanged(); - return this; + public io.kubernetes.client.proto.Meta.ListMetaOrBuilder getMetadataOrBuilder() { + if (metadataBuilder_ != null) { + return metadataBuilder_.getMessageOrBuilder(); + } else { + return metadata_ == null ? + io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance() : metadata_; + } } - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); + /** + *
+       * Standard list metadata.
+       * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+       * +optional
+       * 
+ * + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.kubernetes.client.proto.Meta.ListMeta, io.kubernetes.client.proto.Meta.ListMeta.Builder, io.kubernetes.client.proto.Meta.ListMetaOrBuilder> + getMetadataFieldBuilder() { + if (metadataBuilder_ == null) { + metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.kubernetes.client.proto.Meta.ListMeta, io.kubernetes.client.proto.Meta.ListMeta.Builder, io.kubernetes.client.proto.Meta.ListMetaOrBuilder>( + getMetadata(), + getParentForChildren(), + isClean()); + metadata_ = null; + } + return metadataBuilder_; } - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); + private java.util.List items_ = + java.util.Collections.emptyList(); + private void ensureItemsIsMutable() { + if (!((bitField0_ & 0x00000002) == 0x00000002)) { + items_ = new java.util.ArrayList(items_); + bitField0_ |= 0x00000002; + } } + private com.google.protobuf.RepeatedFieldBuilderV3< + io.kubernetes.client.proto.Runtime.RawExtension, io.kubernetes.client.proto.Runtime.RawExtension.Builder, io.kubernetes.client.proto.Runtime.RawExtensionOrBuilder> itemsBuilder_; - // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime) - } - - // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime) - private static final io.kubernetes.client.proto.Meta.MicroTime DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.MicroTime(); - } - - public static io.kubernetes.client.proto.Meta.MicroTime getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - public MicroTime parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MicroTime(input, extensionRegistry); + /** + *
+       * List of objects
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; + */ + public java.util.List getItemsList() { + if (itemsBuilder_ == null) { + return java.util.Collections.unmodifiableList(items_); + } else { + return itemsBuilder_.getMessageList(); + } } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - public io.kubernetes.client.proto.Meta.MicroTime getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ObjectMetaOrBuilder extends - // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * Name must be unique within a namespace. Is required when creating resources, although
-     * some resources may allow a client to request the generation of an appropriate name
-     * automatically. Name is primarily intended for creation idempotence and configuration
-     * definition.
-     * Cannot be updated.
-     * More info: http://kubernetes.io/docs/user-guide/identifiers#names
-     * +optional
-     * 
- * - * optional string name = 1; - */ - boolean hasName(); - /** - *
-     * Name must be unique within a namespace. Is required when creating resources, although
-     * some resources may allow a client to request the generation of an appropriate name
-     * automatically. Name is primarily intended for creation idempotence and configuration
-     * definition.
-     * Cannot be updated.
-     * More info: http://kubernetes.io/docs/user-guide/identifiers#names
-     * +optional
-     * 
- * - * optional string name = 1; - */ - java.lang.String getName(); - /** - *
-     * Name must be unique within a namespace. Is required when creating resources, although
-     * some resources may allow a client to request the generation of an appropriate name
-     * automatically. Name is primarily intended for creation idempotence and configuration
-     * definition.
-     * Cannot be updated.
-     * More info: http://kubernetes.io/docs/user-guide/identifiers#names
-     * +optional
-     * 
- * - * optional string name = 1; - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-     * GenerateName is an optional prefix, used by the server, to generate a unique
-     * name ONLY IF the Name field has not been provided.
-     * If this field is used, the name returned to the client will be different
-     * than the name passed. This value will also be combined with a unique suffix.
-     * The provided value has the same validation rules as the Name field,
-     * and may be truncated by the length of the suffix required to make the value
-     * unique on the server.
-     * 
-     * If this field is specified and the generated name exists, the server will
-     * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
-     * ServerTimeout indicating a unique name could not be found in the time allotted, and the client
-     * should retry (optionally after the time indicated in the Retry-After header).
-     * 
-     * Applied only if Name is not specified.
-     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
-     * +optional
-     * 
- * - * optional string generateName = 2; - */ - boolean hasGenerateName(); - /** - *
-     * GenerateName is an optional prefix, used by the server, to generate a unique
-     * name ONLY IF the Name field has not been provided.
-     * If this field is used, the name returned to the client will be different
-     * than the name passed. This value will also be combined with a unique suffix.
-     * The provided value has the same validation rules as the Name field,
-     * and may be truncated by the length of the suffix required to make the value
-     * unique on the server.
-     * 
-     * If this field is specified and the generated name exists, the server will
-     * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
-     * ServerTimeout indicating a unique name could not be found in the time allotted, and the client
-     * should retry (optionally after the time indicated in the Retry-After header).
-     * 
-     * Applied only if Name is not specified.
-     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
-     * +optional
-     * 
- * - * optional string generateName = 2; - */ - java.lang.String getGenerateName(); - /** - *
-     * GenerateName is an optional prefix, used by the server, to generate a unique
-     * name ONLY IF the Name field has not been provided.
-     * If this field is used, the name returned to the client will be different
-     * than the name passed. This value will also be combined with a unique suffix.
-     * The provided value has the same validation rules as the Name field,
-     * and may be truncated by the length of the suffix required to make the value
-     * unique on the server.
-     * 
-     * If this field is specified and the generated name exists, the server will
-     * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
-     * ServerTimeout indicating a unique name could not be found in the time allotted, and the client
-     * should retry (optionally after the time indicated in the Retry-After header).
-     * 
-     * Applied only if Name is not specified.
-     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
-     * +optional
-     * 
- * - * optional string generateName = 2; - */ - com.google.protobuf.ByteString - getGenerateNameBytes(); - - /** - *
-     * Namespace defines the space within each name must be unique. An empty namespace is
-     * equivalent to the "default" namespace, but "default" is the canonical representation.
-     * Not all objects are required to be scoped to a namespace - the value of this field for
-     * those objects will be empty.
-     * 
-     * Must be a DNS_LABEL.
-     * Cannot be updated.
-     * More info: http://kubernetes.io/docs/user-guide/namespaces
-     * +optional
-     * 
- * - * optional string namespace = 3; - */ - boolean hasNamespace(); - /** - *
-     * Namespace defines the space within each name must be unique. An empty namespace is
-     * equivalent to the "default" namespace, but "default" is the canonical representation.
-     * Not all objects are required to be scoped to a namespace - the value of this field for
-     * those objects will be empty.
-     * 
-     * Must be a DNS_LABEL.
-     * Cannot be updated.
-     * More info: http://kubernetes.io/docs/user-guide/namespaces
-     * +optional
-     * 
- * - * optional string namespace = 3; - */ - java.lang.String getNamespace(); - /** - *
-     * Namespace defines the space within each name must be unique. An empty namespace is
-     * equivalent to the "default" namespace, but "default" is the canonical representation.
-     * Not all objects are required to be scoped to a namespace - the value of this field for
-     * those objects will be empty.
-     * 
-     * Must be a DNS_LABEL.
-     * Cannot be updated.
-     * More info: http://kubernetes.io/docs/user-guide/namespaces
-     * +optional
-     * 
- * - * optional string namespace = 3; - */ - com.google.protobuf.ByteString - getNamespaceBytes(); + /** + *
+       * List of objects
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; + */ + public int getItemsCount() { + if (itemsBuilder_ == null) { + return items_.size(); + } else { + return itemsBuilder_.getCount(); + } + } + /** + *
+       * List of objects
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; + */ + public io.kubernetes.client.proto.Runtime.RawExtension getItems(int index) { + if (itemsBuilder_ == null) { + return items_.get(index); + } else { + return itemsBuilder_.getMessage(index); + } + } + /** + *
+       * List of objects
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; + */ + public Builder setItems( + int index, io.kubernetes.client.proto.Runtime.RawExtension value) { + if (itemsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureItemsIsMutable(); + items_.set(index, value); + onChanged(); + } else { + itemsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * List of objects
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; + */ + public Builder setItems( + int index, io.kubernetes.client.proto.Runtime.RawExtension.Builder builderForValue) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + items_.set(index, builderForValue.build()); + onChanged(); + } else { + itemsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of objects
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; + */ + public Builder addItems(io.kubernetes.client.proto.Runtime.RawExtension value) { + if (itemsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureItemsIsMutable(); + items_.add(value); + onChanged(); + } else { + itemsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * List of objects
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; + */ + public Builder addItems( + int index, io.kubernetes.client.proto.Runtime.RawExtension value) { + if (itemsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureItemsIsMutable(); + items_.add(index, value); + onChanged(); + } else { + itemsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * List of objects
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; + */ + public Builder addItems( + io.kubernetes.client.proto.Runtime.RawExtension.Builder builderForValue) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + items_.add(builderForValue.build()); + onChanged(); + } else { + itemsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * List of objects
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; + */ + public Builder addItems( + int index, io.kubernetes.client.proto.Runtime.RawExtension.Builder builderForValue) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + items_.add(index, builderForValue.build()); + onChanged(); + } else { + itemsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of objects
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; + */ + public Builder addAllItems( + java.lang.Iterable values) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, items_); + onChanged(); + } else { + itemsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * List of objects
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; + */ + public Builder clearItems() { + if (itemsBuilder_ == null) { + items_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + itemsBuilder_.clear(); + } + return this; + } + /** + *
+       * List of objects
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; + */ + public Builder removeItems(int index) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + items_.remove(index); + onChanged(); + } else { + itemsBuilder_.remove(index); + } + return this; + } + /** + *
+       * List of objects
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; + */ + public io.kubernetes.client.proto.Runtime.RawExtension.Builder getItemsBuilder( + int index) { + return getItemsFieldBuilder().getBuilder(index); + } + /** + *
+       * List of objects
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; + */ + public io.kubernetes.client.proto.Runtime.RawExtensionOrBuilder getItemsOrBuilder( + int index) { + if (itemsBuilder_ == null) { + return items_.get(index); } else { + return itemsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * List of objects
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; + */ + public java.util.List + getItemsOrBuilderList() { + if (itemsBuilder_ != null) { + return itemsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(items_); + } + } + /** + *
+       * List of objects
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; + */ + public io.kubernetes.client.proto.Runtime.RawExtension.Builder addItemsBuilder() { + return getItemsFieldBuilder().addBuilder( + io.kubernetes.client.proto.Runtime.RawExtension.getDefaultInstance()); + } + /** + *
+       * List of objects
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; + */ + public io.kubernetes.client.proto.Runtime.RawExtension.Builder addItemsBuilder( + int index) { + return getItemsFieldBuilder().addBuilder( + index, io.kubernetes.client.proto.Runtime.RawExtension.getDefaultInstance()); + } + /** + *
+       * List of objects
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; + */ + public java.util.List + getItemsBuilderList() { + return getItemsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + io.kubernetes.client.proto.Runtime.RawExtension, io.kubernetes.client.proto.Runtime.RawExtension.Builder, io.kubernetes.client.proto.Runtime.RawExtensionOrBuilder> + getItemsFieldBuilder() { + if (itemsBuilder_ == null) { + itemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + io.kubernetes.client.proto.Runtime.RawExtension, io.kubernetes.client.proto.Runtime.RawExtension.Builder, io.kubernetes.client.proto.Runtime.RawExtensionOrBuilder>( + items_, + ((bitField0_ & 0x00000002) == 0x00000002), + getParentForChildren(), + isClean()); + items_ = null; + } + return itemsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.List) + } + + // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.List) + private static final io.kubernetes.client.proto.Meta.List DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.List(); + } + + public static io.kubernetes.client.proto.Meta.List getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public List parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new List(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.kubernetes.client.proto.Meta.List getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ListMetaOrBuilder extends + // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta) + com.google.protobuf.MessageOrBuilder { /** *
-     * SelfLink is a URL representing this object.
+     * selfLink is a URL representing this object.
      * Populated by the system.
      * Read-only.
      * +optional
      * 
* - * optional string selfLink = 4; + * optional string selfLink = 1; */ boolean hasSelfLink(); /** *
-     * SelfLink is a URL representing this object.
+     * selfLink is a URL representing this object.
      * Populated by the system.
      * Read-only.
      * +optional
      * 
* - * optional string selfLink = 4; + * optional string selfLink = 1; */ java.lang.String getSelfLink(); /** *
-     * SelfLink is a URL representing this object.
+     * selfLink is a URL representing this object.
      * Populated by the system.
      * Read-only.
      * +optional
      * 
* - * optional string selfLink = 4; + * optional string selfLink = 1; */ com.google.protobuf.ByteString getSelfLinkBytes(); /** *
-     * UID is the unique in time and space value for this object. It is typically generated by
-     * the server on successful creation of a resource and is not allowed to change on PUT
-     * operations.
-     * 
+     * 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: http://kubernetes.io/docs/user-guide/identifiers#uids
+     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
      * +optional
      * 
* - * optional string uid = 5; + * optional string resourceVersion = 2; */ - boolean hasUid(); + boolean hasResourceVersion(); /** *
-     * UID is the unique in time and space value for this object. It is typically generated by
-     * the server on successful creation of a resource and is not allowed to change on PUT
-     * operations.
-     * 
+     * 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: http://kubernetes.io/docs/user-guide/identifiers#uids
+     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
      * +optional
      * 
* - * optional string uid = 5; + * optional string resourceVersion = 2; */ - java.lang.String getUid(); + java.lang.String getResourceVersion(); /** *
-     * UID is the unique in time and space value for this object. It is typically generated by
-     * the server on successful creation of a resource and is not allowed to change on PUT
-     * operations.
-     * 
+     * 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: http://kubernetes.io/docs/user-guide/identifiers#uids
+     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
      * +optional
      * 
* - * optional string uid = 5; + * optional string resourceVersion = 2; */ com.google.protobuf.ByteString - getUidBytes(); + getResourceVersionBytes(); /** *
-     * An opaque value that represents the internal version of this object that can
-     * be used by clients to determine when objects have changed. May be used for optimistic
-     * concurrency, change detection, and the watch operation on a resource or set of resources.
-     * Clients must treat these values as opaque and passed unmodified back to the server.
-     * They may only be valid for a particular resource or set of resources.
-     * 
-     * Populated by the system.
-     * Read-only.
-     * Value must be treated as opaque by clients and .
-     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
-     * +optional
+     * 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 resourceVersion = 6; + * optional string continue = 3; */ - boolean hasResourceVersion(); + boolean hasContinue(); /** *
-     * An opaque value that represents the internal version of this object that can
-     * be used by clients to determine when objects have changed. May be used for optimistic
-     * concurrency, change detection, and the watch operation on a resource or set of resources.
-     * Clients must treat these values as opaque and passed unmodified back to the server.
-     * They may only be valid for a particular resource or set of resources.
-     * 
-     * Populated by the system.
-     * Read-only.
-     * Value must be treated as opaque by clients and .
-     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
-     * +optional
+     * 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 resourceVersion = 6; + * optional string continue = 3; */ - java.lang.String getResourceVersion(); + java.lang.String getContinue(); /** *
-     * An opaque value that represents the internal version of this object that can
-     * be used by clients to determine when objects have changed. May be used for optimistic
-     * concurrency, change detection, and the watch operation on a resource or set of resources.
-     * Clients must treat these values as opaque and passed unmodified back to the server.
-     * They may only be valid for a particular resource or set of resources.
-     * 
-     * Populated by the system.
-     * Read-only.
-     * Value must be treated as opaque by clients and .
-     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
-     * +optional
+     * 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 resourceVersion = 6; + * optional string continue = 3; */ com.google.protobuf.ByteString - getResourceVersionBytes(); + getContinueBytes(); + } + /** + *
+   * ListMeta describes metadata that synthetic resources must have, including lists and
+   * various status objects. A resource may have only one of {ObjectMeta, ListMeta}.
+   * 
+ * + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta} + */ + public static final class ListMeta extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta) + ListMetaOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListMeta.newBuilder() to construct. + private ListMeta(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ListMeta() { + selfLink_ = ""; + resourceVersion_ = ""; + continue_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ListMeta( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + selfLink_ = bs; + break; + } + case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000002; + resourceVersion_ = bs; + break; + } + case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000004; + continue_ = bs; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.kubernetes.client.proto.Meta.ListMeta.class, io.kubernetes.client.proto.Meta.ListMeta.Builder.class); + } + private int bitField0_; + public static final int SELFLINK_FIELD_NUMBER = 1; + private volatile java.lang.Object selfLink_; /** *
-     * A sequence number representing a specific generation of the desired state.
-     * Populated by the system. Read-only.
+     * selfLink is a URL representing this object.
+     * Populated by the system.
+     * Read-only.
      * +optional
      * 
* - * optional int64 generation = 7; + * optional string selfLink = 1; */ - boolean hasGeneration(); + public boolean hasSelfLink() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } /** *
-     * A sequence number representing a specific generation of the desired state.
-     * Populated by the system. Read-only.
+     * selfLink is a URL representing this object.
+     * Populated by the system.
+     * Read-only.
      * +optional
      * 
* - * optional int64 generation = 7; + * optional string selfLink = 1; */ - long getGeneration(); - + public java.lang.String getSelfLink() { + java.lang.Object ref = selfLink_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + selfLink_ = s; + } + return s; + } + } /** *
-     * CreationTimestamp is a timestamp representing the server time when this object was
-     * created. It is not guaranteed to be set in happens-before order across separate operations.
-     * Clients may not set this value. It is represented in RFC3339 form and is in UTC.
-     * 
+     * selfLink is a URL representing this object.
      * Populated by the system.
      * Read-only.
-     * Null for lists.
-     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
      * +optional
      * 
* - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8; + * optional string selfLink = 1; */ - boolean hasCreationTimestamp(); + public com.google.protobuf.ByteString + getSelfLinkBytes() { + java.lang.Object ref = selfLink_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + selfLink_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RESOURCEVERSION_FIELD_NUMBER = 2; + private volatile java.lang.Object resourceVersion_; /** *
-     * CreationTimestamp is a timestamp representing the server time when this object was
-     * created. It is not guaranteed to be set in happens-before order across separate operations.
-     * Clients may not set this value. It is represented in RFC3339 form and is in UTC.
-     * 
+     * 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.
-     * Null for lists.
-     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
      * +optional
      * 
* - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8; + * optional string resourceVersion = 2; */ - io.kubernetes.client.proto.Meta.Time getCreationTimestamp(); + public boolean hasResourceVersion() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } /** *
-     * CreationTimestamp is a timestamp representing the server time when this object was
-     * created. It is not guaranteed to be set in happens-before order across separate operations.
-     * Clients may not set this value. It is represented in RFC3339 form and is in UTC.
-     * 
+     * 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.
-     * Null for lists.
-     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
-     * +optional
-     * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8; - */ - io.kubernetes.client.proto.Meta.TimeOrBuilder getCreationTimestampOrBuilder(); - - /** - *
-     * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
-     * field is set by the server when a graceful deletion is requested by the user, and is not
-     * directly settable by a client. The resource is expected to be deleted (no longer visible
-     * from resource lists, and not reachable by name) after the time in this field. Once set,
-     * this value may not be unset or be set further into the future, although it may be shortened
-     * or the resource may be deleted prior to this time. For example, a user may request that
-     * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination
-     * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard
-     * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the
-     * API. In the presence of network partitions, this object may still exist after this
-     * timestamp, until an administrator or automated process can determine the resource is
-     * fully terminated.
-     * If not set, graceful deletion of the object has not been requested.
-     * 
-     * Populated by the system when a graceful deletion is requested.
-     * Read-only.
-     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
-     * +optional
-     * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; - */ - boolean hasDeletionTimestamp(); - /** - *
-     * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
-     * field is set by the server when a graceful deletion is requested by the user, and is not
-     * directly settable by a client. The resource is expected to be deleted (no longer visible
-     * from resource lists, and not reachable by name) after the time in this field. Once set,
-     * this value may not be unset or be set further into the future, although it may be shortened
-     * or the resource may be deleted prior to this time. For example, a user may request that
-     * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination
-     * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard
-     * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the
-     * API. In the presence of network partitions, this object may still exist after this
-     * timestamp, until an administrator or automated process can determine the resource is
-     * fully terminated.
-     * If not set, graceful deletion of the object has not been requested.
-     * 
-     * Populated by the system when a graceful deletion is requested.
-     * Read-only.
-     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
-     * +optional
-     * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; - */ - io.kubernetes.client.proto.Meta.Time getDeletionTimestamp(); - /** - *
-     * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
-     * field is set by the server when a graceful deletion is requested by the user, and is not
-     * directly settable by a client. The resource is expected to be deleted (no longer visible
-     * from resource lists, and not reachable by name) after the time in this field. Once set,
-     * this value may not be unset or be set further into the future, although it may be shortened
-     * or the resource may be deleted prior to this time. For example, a user may request that
-     * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination
-     * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard
-     * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the
-     * API. In the presence of network partitions, this object may still exist after this
-     * timestamp, until an administrator or automated process can determine the resource is
-     * fully terminated.
-     * If not set, graceful deletion of the object has not been requested.
-     * 
-     * Populated by the system when a graceful deletion is requested.
-     * Read-only.
-     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
-     * +optional
-     * 
- * - * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; - */ - io.kubernetes.client.proto.Meta.TimeOrBuilder getDeletionTimestampOrBuilder(); - - /** - *
-     * Number of seconds allowed for this object to gracefully terminate before
-     * it will be removed from the system. Only set when deletionTimestamp is also set.
-     * May only be shortened.
-     * Read-only.
+     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
      * +optional
      * 
* - * optional int64 deletionGracePeriodSeconds = 10; + * optional string resourceVersion = 2; */ - boolean hasDeletionGracePeriodSeconds(); + public java.lang.String getResourceVersion() { + java.lang.Object ref = resourceVersion_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + resourceVersion_ = s; + } + return s; + } + } /** *
-     * Number of seconds allowed for this object to gracefully terminate before
-     * it will be removed from the system. Only set when deletionTimestamp is also set.
-     * May only be shortened.
+     * 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/api-conventions.md#concurrency-control-and-consistency
      * +optional
      * 
* - * optional int64 deletionGracePeriodSeconds = 10; + * optional string resourceVersion = 2; */ - long getDeletionGracePeriodSeconds(); + public com.google.protobuf.ByteString + getResourceVersionBytes() { + java.lang.Object ref = resourceVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + resourceVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int CONTINUE_FIELD_NUMBER = 3; + private volatile java.lang.Object continue_; /** *
-     * Map of string keys and values that can be used to organize and categorize
-     * (scope and select) objects. May match selectors of replication controllers
-     * and services.
-     * More info: http://kubernetes.io/docs/user-guide/labels
-     * +optional
-     * 
- * - * map<string, string> labels = 11; - */ - int getLabelsCount(); - /** - *
-     * Map of string keys and values that can be used to organize and categorize
-     * (scope and select) objects. May match selectors of replication controllers
-     * and services.
-     * More info: http://kubernetes.io/docs/user-guide/labels
-     * +optional
+     * 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.
      * 
* - * map<string, string> labels = 11; - */ - boolean containsLabels( - java.lang.String key); - /** - * Use {@link #getLabelsMap()} instead. + * optional string continue = 3; */ - @java.lang.Deprecated - java.util.Map - getLabels(); + public boolean hasContinue() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } /** *
-     * Map of string keys and values that can be used to organize and categorize
-     * (scope and select) objects. May match selectors of replication controllers
-     * and services.
-     * More info: http://kubernetes.io/docs/user-guide/labels
-     * +optional
+     * 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.
      * 
* - * map<string, string> labels = 11; + * optional string continue = 3; */ - java.util.Map - getLabelsMap(); + public java.lang.String getContinue() { + java.lang.Object ref = continue_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + continue_ = s; + } + return s; + } + } /** *
-     * Map of string keys and values that can be used to organize and categorize
-     * (scope and select) objects. May match selectors of replication controllers
-     * and services.
-     * More info: http://kubernetes.io/docs/user-guide/labels
-     * +optional
+     * 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.
      * 
* - * map<string, string> labels = 11; + * optional string continue = 3; */ + public com.google.protobuf.ByteString + getContinueBytes() { + java.lang.Object ref = continue_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + continue_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue); - /** - *
-     * Map of string keys and values that can be used to organize and categorize
-     * (scope and select) objects. May match selectors of replication controllers
-     * and services.
-     * More info: http://kubernetes.io/docs/user-guide/labels
-     * +optional
-     * 
- * - * map<string, string> labels = 11; - */ + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - java.lang.String getLabelsOrThrow( - java.lang.String key); + memoizedIsInitialized = 1; + return true; + } - /** - *
-     * Annotations is an unstructured key value map stored with a resource that may be
-     * set by external tools to store and retrieve arbitrary metadata. They are not
-     * queryable and should be preserved when modifying objects.
-     * More info: http://kubernetes.io/docs/user-guide/annotations
-     * +optional
-     * 
- * - * map<string, string> annotations = 12; - */ - int getAnnotationsCount(); - /** - *
-     * Annotations is an unstructured key value map stored with a resource that may be
-     * set by external tools to store and retrieve arbitrary metadata. They are not
-     * queryable and should be preserved when modifying objects.
-     * More info: http://kubernetes.io/docs/user-guide/annotations
-     * +optional
-     * 
- * - * map<string, string> annotations = 12; - */ - boolean containsAnnotations( - java.lang.String key); - /** - * Use {@link #getAnnotationsMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getAnnotations(); - /** - *
-     * Annotations is an unstructured key value map stored with a resource that may be
-     * set by external tools to store and retrieve arbitrary metadata. They are not
-     * queryable and should be preserved when modifying objects.
-     * More info: http://kubernetes.io/docs/user-guide/annotations
-     * +optional
-     * 
- * - * map<string, string> annotations = 12; - */ - java.util.Map - getAnnotationsMap(); - /** - *
-     * Annotations is an unstructured key value map stored with a resource that may be
-     * set by external tools to store and retrieve arbitrary metadata. They are not
-     * queryable and should be preserved when modifying objects.
-     * More info: http://kubernetes.io/docs/user-guide/annotations
-     * +optional
-     * 
- * - * map<string, string> annotations = 12; - */ + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) == 0x00000001)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, selfLink_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resourceVersion_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, continue_); + } + unknownFields.writeTo(output); + } - java.lang.String getAnnotationsOrDefault( - java.lang.String key, - java.lang.String defaultValue); - /** - *
-     * Annotations is an unstructured key value map stored with a resource that may be
-     * set by external tools to store and retrieve arbitrary metadata. They are not
-     * queryable and should be preserved when modifying objects.
-     * More info: http://kubernetes.io/docs/user-guide/annotations
-     * +optional
-     * 
- * - * map<string, string> annotations = 12; - */ + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; - java.lang.String getAnnotationsOrThrow( - java.lang.String key); + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, selfLink_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceVersion_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, continue_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.kubernetes.client.proto.Meta.ListMeta)) { + return super.equals(obj); + } + io.kubernetes.client.proto.Meta.ListMeta other = (io.kubernetes.client.proto.Meta.ListMeta) obj; + + boolean result = true; + result = result && (hasSelfLink() == other.hasSelfLink()); + if (hasSelfLink()) { + result = result && getSelfLink() + .equals(other.getSelfLink()); + } + result = result && (hasResourceVersion() == other.hasResourceVersion()); + if (hasResourceVersion()) { + result = result && getResourceVersion() + .equals(other.getResourceVersion()); + } + result = result && (hasContinue() == other.hasContinue()); + if (hasContinue()) { + result = result && getContinue() + .equals(other.getContinue()); + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasSelfLink()) { + hash = (37 * hash) + SELFLINK_FIELD_NUMBER; + hash = (53 * hash) + getSelfLink().hashCode(); + } + if (hasResourceVersion()) { + hash = (37 * hash) + RESOURCEVERSION_FIELD_NUMBER; + hash = (53 * hash) + getResourceVersion().hashCode(); + } + if (hasContinue()) { + hash = (37 * hash) + CONTINUE_FIELD_NUMBER; + hash = (53 * hash) + getContinue().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.kubernetes.client.proto.Meta.ListMeta parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.kubernetes.client.proto.Meta.ListMeta parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.kubernetes.client.proto.Meta.ListMeta parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.kubernetes.client.proto.Meta.ListMeta parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.kubernetes.client.proto.Meta.ListMeta parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.kubernetes.client.proto.Meta.ListMeta parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.kubernetes.client.proto.Meta.ListMeta parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.kubernetes.client.proto.Meta.ListMeta parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static io.kubernetes.client.proto.Meta.ListMeta parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.kubernetes.client.proto.Meta.ListMeta parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static io.kubernetes.client.proto.Meta.ListMeta parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.kubernetes.client.proto.Meta.ListMeta parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.kubernetes.client.proto.Meta.ListMeta prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** *
-     * List of objects depended by this object. If ALL objects in the list have
-     * been deleted, this object will be garbage collected. If this object is managed by a controller,
-     * then an entry in this list will point to this controller, with the controller field set to true.
-     * There cannot be more than one managing controller.
-     * +optional
-     * +patchMergeKey=uid
-     * +patchStrategy=merge
-     * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; - */ - java.util.List - getOwnerReferencesList(); - /** - *
-     * List of objects depended by this object. If ALL objects in the list have
-     * been deleted, this object will be garbage collected. If this object is managed by a controller,
-     * then an entry in this list will point to this controller, with the controller field set to true.
-     * There cannot be more than one managing controller.
-     * +optional
-     * +patchMergeKey=uid
-     * +patchStrategy=merge
-     * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; - */ - io.kubernetes.client.proto.Meta.OwnerReference getOwnerReferences(int index); - /** - *
-     * List of objects depended by this object. If ALL objects in the list have
-     * been deleted, this object will be garbage collected. If this object is managed by a controller,
-     * then an entry in this list will point to this controller, with the controller field set to true.
-     * There cannot be more than one managing controller.
-     * +optional
-     * +patchMergeKey=uid
-     * +patchStrategy=merge
-     * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; - */ - int getOwnerReferencesCount(); - /** - *
-     * List of objects depended by this object. If ALL objects in the list have
-     * been deleted, this object will be garbage collected. If this object is managed by a controller,
-     * then an entry in this list will point to this controller, with the controller field set to true.
-     * There cannot be more than one managing controller.
-     * +optional
-     * +patchMergeKey=uid
-     * +patchStrategy=merge
-     * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; - */ - java.util.List - getOwnerReferencesOrBuilderList(); - /** - *
-     * List of objects depended by this object. If ALL objects in the list have
-     * been deleted, this object will be garbage collected. If this object is managed by a controller,
-     * then an entry in this list will point to this controller, with the controller field set to true.
-     * There cannot be more than one managing controller.
-     * +optional
-     * +patchMergeKey=uid
-     * +patchStrategy=merge
+     * ListMeta describes metadata that synthetic resources must have, including lists and
+     * various status objects. A resource may have only one of {ObjectMeta, ListMeta}.
      * 
* - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta} */ - io.kubernetes.client.proto.Meta.OwnerReferenceOrBuilder getOwnerReferencesOrBuilder( - int index); + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta) + io.kubernetes.client.proto.Meta.ListMetaOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta_descriptor; + } - /** + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.kubernetes.client.proto.Meta.ListMeta.class, io.kubernetes.client.proto.Meta.ListMeta.Builder.class); + } + + // Construct using io.kubernetes.client.proto.Meta.ListMeta.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + selfLink_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + resourceVersion_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + continue_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta_descriptor; + } + + @java.lang.Override + public io.kubernetes.client.proto.Meta.ListMeta getDefaultInstanceForType() { + return io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance(); + } + + @java.lang.Override + public io.kubernetes.client.proto.Meta.ListMeta build() { + io.kubernetes.client.proto.Meta.ListMeta result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.kubernetes.client.proto.Meta.ListMeta buildPartial() { + io.kubernetes.client.proto.Meta.ListMeta result = new io.kubernetes.client.proto.Meta.ListMeta(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.selfLink_ = selfLink_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.resourceVersion_ = resourceVersion_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.continue_ = continue_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.kubernetes.client.proto.Meta.ListMeta) { + return mergeFrom((io.kubernetes.client.proto.Meta.ListMeta)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.kubernetes.client.proto.Meta.ListMeta other) { + if (other == io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance()) return this; + if (other.hasSelfLink()) { + bitField0_ |= 0x00000001; + selfLink_ = other.selfLink_; + onChanged(); + } + if (other.hasResourceVersion()) { + bitField0_ |= 0x00000002; + resourceVersion_ = other.resourceVersion_; + onChanged(); + } + if (other.hasContinue()) { + bitField0_ |= 0x00000004; + continue_ = other.continue_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.kubernetes.client.proto.Meta.ListMeta parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.kubernetes.client.proto.Meta.ListMeta) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.lang.Object selfLink_ = ""; + /** + *
+       * selfLink is a URL representing this object.
+       * Populated by the system.
+       * Read-only.
+       * +optional
+       * 
+ * + * optional string selfLink = 1; + */ + public boolean hasSelfLink() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + *
+       * selfLink is a URL representing this object.
+       * Populated by the system.
+       * Read-only.
+       * +optional
+       * 
+ * + * optional string selfLink = 1; + */ + public java.lang.String getSelfLink() { + java.lang.Object ref = selfLink_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + selfLink_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * selfLink is a URL representing this object.
+       * Populated by the system.
+       * Read-only.
+       * +optional
+       * 
+ * + * optional string selfLink = 1; + */ + public com.google.protobuf.ByteString + getSelfLinkBytes() { + java.lang.Object ref = selfLink_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + selfLink_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * selfLink is a URL representing this object.
+       * Populated by the system.
+       * Read-only.
+       * +optional
+       * 
+ * + * optional string selfLink = 1; + */ + public Builder setSelfLink( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + selfLink_ = value; + onChanged(); + return this; + } + /** + *
+       * selfLink is a URL representing this object.
+       * Populated by the system.
+       * Read-only.
+       * +optional
+       * 
+ * + * optional string selfLink = 1; + */ + public Builder clearSelfLink() { + bitField0_ = (bitField0_ & ~0x00000001); + selfLink_ = getDefaultInstance().getSelfLink(); + onChanged(); + return this; + } + /** + *
+       * selfLink is a URL representing this object.
+       * Populated by the system.
+       * Read-only.
+       * +optional
+       * 
+ * + * optional string selfLink = 1; + */ + public Builder setSelfLinkBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + selfLink_ = value; + onChanged(); + return this; + } + + private java.lang.Object resourceVersion_ = ""; + /** + *
+       * 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/api-conventions.md#concurrency-control-and-consistency
+       * +optional
+       * 
+ * + * optional string resourceVersion = 2; + */ + public boolean hasResourceVersion() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + *
+       * 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/api-conventions.md#concurrency-control-and-consistency
+       * +optional
+       * 
+ * + * optional string resourceVersion = 2; + */ + public java.lang.String getResourceVersion() { + java.lang.Object ref = resourceVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + resourceVersion_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * 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/api-conventions.md#concurrency-control-and-consistency
+       * +optional
+       * 
+ * + * optional string resourceVersion = 2; + */ + public com.google.protobuf.ByteString + getResourceVersionBytes() { + java.lang.Object ref = resourceVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + resourceVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * 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/api-conventions.md#concurrency-control-and-consistency
+       * +optional
+       * 
+ * + * optional string resourceVersion = 2; + */ + public Builder setResourceVersion( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + resourceVersion_ = value; + onChanged(); + return this; + } + /** + *
+       * 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/api-conventions.md#concurrency-control-and-consistency
+       * +optional
+       * 
+ * + * optional string resourceVersion = 2; + */ + public Builder clearResourceVersion() { + bitField0_ = (bitField0_ & ~0x00000002); + resourceVersion_ = getDefaultInstance().getResourceVersion(); + onChanged(); + return this; + } + /** + *
+       * 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/api-conventions.md#concurrency-control-and-consistency
+       * +optional
+       * 
+ * + * optional string resourceVersion = 2; + */ + public Builder setResourceVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + resourceVersion_ = value; + onChanged(); + return this; + } + + private java.lang.Object continue_ = ""; + /** + *
+       * 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; + */ + public boolean hasContinue() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + *
+       * 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; + */ + public java.lang.String getContinue() { + java.lang.Object ref = continue_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + continue_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * 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; + */ + public com.google.protobuf.ByteString + getContinueBytes() { + java.lang.Object ref = continue_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + continue_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * 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; + */ + public Builder setContinue( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + continue_ = value; + onChanged(); + return this; + } + /** + *
+       * 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; + */ + public Builder clearContinue() { + bitField0_ = (bitField0_ & ~0x00000004); + continue_ = getDefaultInstance().getContinue(); + onChanged(); + return this; + } + /** + *
+       * 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; + */ + public Builder setContinueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + continue_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta) + } + + // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta) + private static final io.kubernetes.client.proto.Meta.ListMeta DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.ListMeta(); + } + + public static io.kubernetes.client.proto.Meta.ListMeta getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMeta parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListMeta(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.kubernetes.client.proto.Meta.ListMeta getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ListOptionsOrBuilder extends + // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * A selector to restrict the list of returned objects by their labels.
+     * Defaults to everything.
+     * +optional
+     * 
+ * + * optional string labelSelector = 1; + */ + boolean hasLabelSelector(); + /** + *
+     * A selector to restrict the list of returned objects by their labels.
+     * Defaults to everything.
+     * +optional
+     * 
+ * + * optional string labelSelector = 1; + */ + java.lang.String getLabelSelector(); + /** + *
+     * A selector to restrict the list of returned objects by their labels.
+     * Defaults to everything.
+     * +optional
+     * 
+ * + * optional string labelSelector = 1; + */ + com.google.protobuf.ByteString + getLabelSelectorBytes(); + + /** + *
+     * A selector to restrict the list of returned objects by their fields.
+     * Defaults to everything.
+     * +optional
+     * 
+ * + * optional string fieldSelector = 2; + */ + boolean hasFieldSelector(); + /** + *
+     * A selector to restrict the list of returned objects by their fields.
+     * Defaults to everything.
+     * +optional
+     * 
+ * + * optional string fieldSelector = 2; + */ + java.lang.String getFieldSelector(); + /** + *
+     * A selector to restrict the list of returned objects by their fields.
+     * Defaults to everything.
+     * +optional
+     * 
+ * + * optional string fieldSelector = 2; + */ + com.google.protobuf.ByteString + getFieldSelectorBytes(); + + /** + *
+     * 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; + */ + 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; + */ + boolean getWatch(); + + /** + *
+     * 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; + */ + 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; + */ + java.lang.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; + */ + com.google.protobuf.ByteString + getResourceVersionBytes(); + + /** + *
+     * Timeout for the list/watch call.
+     * This limits the duration of the call, regardless of any activity or inactivity.
+     * +optional
+     * 
+ * + * optional int64 timeoutSeconds = 5; + */ + 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; + */ + long getTimeoutSeconds(); + + /** + *
+     * 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; + */ + 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; + */ + long getLimit(); + + /** + *
+     * 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; + */ + 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; + */ + java.lang.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; + */ + com.google.protobuf.ByteString + getContinueBytes(); + } + /** + *
+   * ListOptions is the query options to a standard REST list call.
+   * 
+ * + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions} + */ + public static final class ListOptions extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions) + ListOptionsOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListOptions.newBuilder() to construct. + private ListOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ListOptions() { + labelSelector_ = ""; + fieldSelector_ = ""; + watch_ = false; + resourceVersion_ = ""; + timeoutSeconds_ = 0L; + limit_ = 0L; + continue_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ListOptions( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + labelSelector_ = bs; + break; + } + case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000002; + fieldSelector_ = bs; + break; + } + case 24: { + bitField0_ |= 0x00000004; + watch_ = input.readBool(); + break; + } + case 34: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000008; + resourceVersion_ = bs; + break; + } + case 40: { + bitField0_ |= 0x00000010; + timeoutSeconds_ = input.readInt64(); + break; + } + case 56: { + bitField0_ |= 0x00000020; + limit_ = input.readInt64(); + break; + } + case 66: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000040; + continue_ = bs; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListOptions_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListOptions_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.kubernetes.client.proto.Meta.ListOptions.class, io.kubernetes.client.proto.Meta.ListOptions.Builder.class); + } + + private int bitField0_; + public static final int LABELSELECTOR_FIELD_NUMBER = 1; + private volatile java.lang.Object labelSelector_; + /** + *
+     * A selector to restrict the list of returned objects by their labels.
+     * Defaults to everything.
+     * +optional
+     * 
+ * + * optional string labelSelector = 1; + */ + public boolean hasLabelSelector() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + *
+     * A selector to restrict the list of returned objects by their labels.
+     * Defaults to everything.
+     * +optional
+     * 
+ * + * optional string labelSelector = 1; + */ + public java.lang.String getLabelSelector() { + java.lang.Object ref = labelSelector_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + labelSelector_ = s; + } + return s; + } + } + /** + *
+     * A selector to restrict the list of returned objects by their labels.
+     * Defaults to everything.
+     * +optional
+     * 
+ * + * optional string labelSelector = 1; + */ + public com.google.protobuf.ByteString + getLabelSelectorBytes() { + java.lang.Object ref = labelSelector_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + labelSelector_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FIELDSELECTOR_FIELD_NUMBER = 2; + private volatile java.lang.Object fieldSelector_; + /** + *
+     * A selector to restrict the list of returned objects by their fields.
+     * Defaults to everything.
+     * +optional
+     * 
+ * + * optional string fieldSelector = 2; + */ + public boolean hasFieldSelector() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + *
+     * A selector to restrict the list of returned objects by their fields.
+     * Defaults to everything.
+     * +optional
+     * 
+ * + * optional string fieldSelector = 2; + */ + public java.lang.String getFieldSelector() { + java.lang.Object ref = fieldSelector_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + fieldSelector_ = s; + } + return s; + } + } + /** + *
+     * A selector to restrict the list of returned objects by their fields.
+     * Defaults to everything.
+     * +optional
+     * 
+ * + * optional string fieldSelector = 2; + */ + public com.google.protobuf.ByteString + getFieldSelectorBytes() { + java.lang.Object ref = fieldSelector_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + fieldSelector_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int WATCH_FIELD_NUMBER = 3; + private boolean watch_; + /** + *
+     * 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 hasWatch() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + *
+     * 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 getWatch() { + return watch_; + } + + public static final int RESOURCEVERSION_FIELD_NUMBER = 4; + private volatile java.lang.Object resourceVersion_; + /** + *
+     * 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 hasResourceVersion() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + *
+     * 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 java.lang.String getResourceVersion() { + java.lang.Object ref = resourceVersion_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + resourceVersion_ = s; + } + return s; + } + } + /** + *
+     * 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 com.google.protobuf.ByteString + getResourceVersionBytes() { + java.lang.Object ref = resourceVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + resourceVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TIMEOUTSECONDS_FIELD_NUMBER = 5; + private long timeoutSeconds_; + /** + *
+     * Timeout for the list/watch call.
+     * This limits the duration of the call, regardless of any activity or inactivity.
+     * +optional
+     * 
+ * + * optional int64 timeoutSeconds = 5; + */ + public boolean hasTimeoutSeconds() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + *
+     * Timeout for the list/watch call.
+     * This limits the duration of the call, regardless of any activity or inactivity.
+     * +optional
+     * 
+ * + * optional int64 timeoutSeconds = 5; + */ + public long getTimeoutSeconds() { + return timeoutSeconds_; + } + + public static final int LIMIT_FIELD_NUMBER = 7; + private long limit_; + /** + *
+     * 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; + */ + public boolean hasLimit() { + return ((bitField0_ & 0x00000020) == 0x00000020); + } + /** + *
+     * 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; + */ + public long getLimit() { + return limit_; + } + + public static final int CONTINUE_FIELD_NUMBER = 8; + private volatile java.lang.Object continue_; + /** + *
+     * 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; + */ + public boolean hasContinue() { + return ((bitField0_ & 0x00000040) == 0x00000040); + } + /** + *
+     * 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; + */ + public java.lang.String getContinue() { + java.lang.Object ref = continue_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + continue_ = s; + } + return s; + } + } + /** + *
+     * 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; + */ + public com.google.protobuf.ByteString + getContinueBytes() { + java.lang.Object ref = continue_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + continue_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) == 0x00000001)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, labelSelector_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fieldSelector_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeBool(3, watch_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, resourceVersion_); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + output.writeInt64(5, timeoutSeconds_); + } + if (((bitField0_ & 0x00000020) == 0x00000020)) { + output.writeInt64(7, limit_); + } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, continue_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, labelSelector_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fieldSelector_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, watch_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, resourceVersion_); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(5, timeoutSeconds_); + } + if (((bitField0_ & 0x00000020) == 0x00000020)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(7, limit_); + } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, continue_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.kubernetes.client.proto.Meta.ListOptions)) { + return super.equals(obj); + } + io.kubernetes.client.proto.Meta.ListOptions other = (io.kubernetes.client.proto.Meta.ListOptions) obj; + + boolean result = true; + result = result && (hasLabelSelector() == other.hasLabelSelector()); + if (hasLabelSelector()) { + result = result && getLabelSelector() + .equals(other.getLabelSelector()); + } + result = result && (hasFieldSelector() == other.hasFieldSelector()); + if (hasFieldSelector()) { + result = result && getFieldSelector() + .equals(other.getFieldSelector()); + } + result = result && (hasWatch() == other.hasWatch()); + if (hasWatch()) { + result = result && (getWatch() + == other.getWatch()); + } + result = result && (hasResourceVersion() == other.hasResourceVersion()); + if (hasResourceVersion()) { + result = result && getResourceVersion() + .equals(other.getResourceVersion()); + } + result = result && (hasTimeoutSeconds() == other.hasTimeoutSeconds()); + if (hasTimeoutSeconds()) { + result = result && (getTimeoutSeconds() + == other.getTimeoutSeconds()); + } + result = result && (hasLimit() == other.hasLimit()); + if (hasLimit()) { + result = result && (getLimit() + == other.getLimit()); + } + result = result && (hasContinue() == other.hasContinue()); + if (hasContinue()) { + result = result && getContinue() + .equals(other.getContinue()); + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasLabelSelector()) { + hash = (37 * hash) + LABELSELECTOR_FIELD_NUMBER; + hash = (53 * hash) + getLabelSelector().hashCode(); + } + if (hasFieldSelector()) { + hash = (37 * hash) + FIELDSELECTOR_FIELD_NUMBER; + hash = (53 * hash) + getFieldSelector().hashCode(); + } + if (hasWatch()) { + hash = (37 * hash) + WATCH_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getWatch()); + } + if (hasResourceVersion()) { + hash = (37 * hash) + RESOURCEVERSION_FIELD_NUMBER; + hash = (53 * hash) + getResourceVersion().hashCode(); + } + if (hasTimeoutSeconds()) { + hash = (37 * hash) + TIMEOUTSECONDS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTimeoutSeconds()); + } + if (hasLimit()) { + hash = (37 * hash) + LIMIT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getLimit()); + } + if (hasContinue()) { + hash = (37 * hash) + CONTINUE_FIELD_NUMBER; + hash = (53 * hash) + getContinue().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.kubernetes.client.proto.Meta.ListOptions parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.kubernetes.client.proto.Meta.ListOptions parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.kubernetes.client.proto.Meta.ListOptions parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.kubernetes.client.proto.Meta.ListOptions parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.kubernetes.client.proto.Meta.ListOptions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.kubernetes.client.proto.Meta.ListOptions parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.kubernetes.client.proto.Meta.ListOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.kubernetes.client.proto.Meta.ListOptions parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static io.kubernetes.client.proto.Meta.ListOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.kubernetes.client.proto.Meta.ListOptions parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static io.kubernetes.client.proto.Meta.ListOptions parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.kubernetes.client.proto.Meta.ListOptions parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.kubernetes.client.proto.Meta.ListOptions prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * ListOptions is the query options to a standard REST list call.
+     * 
+ * + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions) + io.kubernetes.client.proto.Meta.ListOptionsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListOptions_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListOptions_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.kubernetes.client.proto.Meta.ListOptions.class, io.kubernetes.client.proto.Meta.ListOptions.Builder.class); + } + + // Construct using io.kubernetes.client.proto.Meta.ListOptions.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + labelSelector_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + fieldSelector_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + watch_ = false; + bitField0_ = (bitField0_ & ~0x00000004); + resourceVersion_ = ""; + bitField0_ = (bitField0_ & ~0x00000008); + timeoutSeconds_ = 0L; + bitField0_ = (bitField0_ & ~0x00000010); + limit_ = 0L; + bitField0_ = (bitField0_ & ~0x00000020); + continue_ = ""; + bitField0_ = (bitField0_ & ~0x00000040); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListOptions_descriptor; + } + + @java.lang.Override + public io.kubernetes.client.proto.Meta.ListOptions getDefaultInstanceForType() { + return io.kubernetes.client.proto.Meta.ListOptions.getDefaultInstance(); + } + + @java.lang.Override + public io.kubernetes.client.proto.Meta.ListOptions build() { + io.kubernetes.client.proto.Meta.ListOptions result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.kubernetes.client.proto.Meta.ListOptions buildPartial() { + io.kubernetes.client.proto.Meta.ListOptions result = new io.kubernetes.client.proto.Meta.ListOptions(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.labelSelector_ = labelSelector_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.fieldSelector_ = fieldSelector_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.watch_ = watch_; + if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + to_bitField0_ |= 0x00000008; + } + result.resourceVersion_ = resourceVersion_; + if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + to_bitField0_ |= 0x00000010; + } + result.timeoutSeconds_ = timeoutSeconds_; + if (((from_bitField0_ & 0x00000020) == 0x00000020)) { + to_bitField0_ |= 0x00000020; + } + result.limit_ = limit_; + if (((from_bitField0_ & 0x00000040) == 0x00000040)) { + to_bitField0_ |= 0x00000040; + } + result.continue_ = continue_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.kubernetes.client.proto.Meta.ListOptions) { + return mergeFrom((io.kubernetes.client.proto.Meta.ListOptions)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.kubernetes.client.proto.Meta.ListOptions other) { + if (other == io.kubernetes.client.proto.Meta.ListOptions.getDefaultInstance()) return this; + if (other.hasLabelSelector()) { + bitField0_ |= 0x00000001; + labelSelector_ = other.labelSelector_; + onChanged(); + } + if (other.hasFieldSelector()) { + bitField0_ |= 0x00000002; + fieldSelector_ = other.fieldSelector_; + onChanged(); + } + if (other.hasWatch()) { + setWatch(other.getWatch()); + } + if (other.hasResourceVersion()) { + bitField0_ |= 0x00000008; + resourceVersion_ = other.resourceVersion_; + onChanged(); + } + if (other.hasTimeoutSeconds()) { + setTimeoutSeconds(other.getTimeoutSeconds()); + } + if (other.hasLimit()) { + setLimit(other.getLimit()); + } + if (other.hasContinue()) { + bitField0_ |= 0x00000040; + continue_ = other.continue_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.kubernetes.client.proto.Meta.ListOptions parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.kubernetes.client.proto.Meta.ListOptions) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.lang.Object labelSelector_ = ""; + /** + *
+       * A selector to restrict the list of returned objects by their labels.
+       * Defaults to everything.
+       * +optional
+       * 
+ * + * optional string labelSelector = 1; + */ + public boolean hasLabelSelector() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + *
+       * A selector to restrict the list of returned objects by their labels.
+       * Defaults to everything.
+       * +optional
+       * 
+ * + * optional string labelSelector = 1; + */ + public java.lang.String getLabelSelector() { + java.lang.Object ref = labelSelector_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + labelSelector_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * A selector to restrict the list of returned objects by their labels.
+       * Defaults to everything.
+       * +optional
+       * 
+ * + * optional string labelSelector = 1; + */ + public com.google.protobuf.ByteString + getLabelSelectorBytes() { + java.lang.Object ref = labelSelector_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + labelSelector_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * A selector to restrict the list of returned objects by their labels.
+       * Defaults to everything.
+       * +optional
+       * 
+ * + * optional string labelSelector = 1; + */ + public Builder setLabelSelector( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + labelSelector_ = value; + onChanged(); + return this; + } + /** + *
+       * A selector to restrict the list of returned objects by their labels.
+       * Defaults to everything.
+       * +optional
+       * 
+ * + * optional string labelSelector = 1; + */ + public Builder clearLabelSelector() { + bitField0_ = (bitField0_ & ~0x00000001); + labelSelector_ = getDefaultInstance().getLabelSelector(); + onChanged(); + return this; + } + /** + *
+       * A selector to restrict the list of returned objects by their labels.
+       * Defaults to everything.
+       * +optional
+       * 
+ * + * optional string labelSelector = 1; + */ + public Builder setLabelSelectorBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + labelSelector_ = value; + onChanged(); + return this; + } + + private java.lang.Object fieldSelector_ = ""; + /** + *
+       * A selector to restrict the list of returned objects by their fields.
+       * Defaults to everything.
+       * +optional
+       * 
+ * + * optional string fieldSelector = 2; + */ + public boolean hasFieldSelector() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + *
+       * A selector to restrict the list of returned objects by their fields.
+       * Defaults to everything.
+       * +optional
+       * 
+ * + * optional string fieldSelector = 2; + */ + public java.lang.String getFieldSelector() { + java.lang.Object ref = fieldSelector_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + fieldSelector_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * A selector to restrict the list of returned objects by their fields.
+       * Defaults to everything.
+       * +optional
+       * 
+ * + * optional string fieldSelector = 2; + */ + public com.google.protobuf.ByteString + getFieldSelectorBytes() { + java.lang.Object ref = fieldSelector_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + fieldSelector_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * A selector to restrict the list of returned objects by their fields.
+       * Defaults to everything.
+       * +optional
+       * 
+ * + * optional string fieldSelector = 2; + */ + public Builder setFieldSelector( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + fieldSelector_ = value; + onChanged(); + return this; + } + /** + *
+       * A selector to restrict the list of returned objects by their fields.
+       * Defaults to everything.
+       * +optional
+       * 
+ * + * optional string fieldSelector = 2; + */ + public Builder clearFieldSelector() { + bitField0_ = (bitField0_ & ~0x00000002); + fieldSelector_ = getDefaultInstance().getFieldSelector(); + onChanged(); + return this; + } + /** + *
+       * A selector to restrict the list of returned objects by their fields.
+       * Defaults to everything.
+       * +optional
+       * 
+ * + * optional string fieldSelector = 2; + */ + public Builder setFieldSelectorBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + fieldSelector_ = value; + onChanged(); + return this; + } + + private boolean watch_ ; + /** + *
+       * 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 hasWatch() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + *
+       * 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 getWatch() { + return watch_; + } + /** + *
+       * 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 Builder setWatch(boolean value) { + bitField0_ |= 0x00000004; + watch_ = value; + onChanged(); + return this; + } + /** + *
+       * 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 Builder clearWatch() { + bitField0_ = (bitField0_ & ~0x00000004); + watch_ = false; + onChanged(); + return this; + } + + private java.lang.Object resourceVersion_ = ""; + /** + *
+       * 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 hasResourceVersion() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + *
+       * 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 java.lang.String getResourceVersion() { + java.lang.Object ref = resourceVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + resourceVersion_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * 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 com.google.protobuf.ByteString + getResourceVersionBytes() { + java.lang.Object ref = resourceVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + resourceVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * 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 Builder setResourceVersion( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + resourceVersion_ = value; + onChanged(); + return this; + } + /** + *
+       * 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 Builder clearResourceVersion() { + bitField0_ = (bitField0_ & ~0x00000008); + resourceVersion_ = getDefaultInstance().getResourceVersion(); + onChanged(); + return this; + } + /** + *
+       * 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 Builder setResourceVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + resourceVersion_ = value; + onChanged(); + return this; + } + + private long timeoutSeconds_ ; + /** + *
+       * Timeout for the list/watch call.
+       * This limits the duration of the call, regardless of any activity or inactivity.
+       * +optional
+       * 
+ * + * optional int64 timeoutSeconds = 5; + */ + public boolean hasTimeoutSeconds() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + *
+       * Timeout for the list/watch call.
+       * This limits the duration of the call, regardless of any activity or inactivity.
+       * +optional
+       * 
+ * + * optional int64 timeoutSeconds = 5; + */ + public long getTimeoutSeconds() { + return timeoutSeconds_; + } + /** + *
+       * Timeout for the list/watch call.
+       * This limits the duration of the call, regardless of any activity or inactivity.
+       * +optional
+       * 
+ * + * optional int64 timeoutSeconds = 5; + */ + public Builder setTimeoutSeconds(long value) { + bitField0_ |= 0x00000010; + timeoutSeconds_ = value; + onChanged(); + return this; + } + /** + *
+       * Timeout for the list/watch call.
+       * This limits the duration of the call, regardless of any activity or inactivity.
+       * +optional
+       * 
+ * + * optional int64 timeoutSeconds = 5; + */ + public Builder clearTimeoutSeconds() { + bitField0_ = (bitField0_ & ~0x00000010); + timeoutSeconds_ = 0L; + onChanged(); + return this; + } + + private long limit_ ; + /** + *
+       * 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; + */ + public boolean hasLimit() { + return ((bitField0_ & 0x00000020) == 0x00000020); + } + /** + *
+       * 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; + */ + public long getLimit() { + return limit_; + } + /** + *
+       * 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; + */ + public Builder setLimit(long value) { + bitField0_ |= 0x00000020; + limit_ = value; + onChanged(); + return this; + } + /** + *
+       * 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; + */ + public Builder clearLimit() { + bitField0_ = (bitField0_ & ~0x00000020); + limit_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object continue_ = ""; + /** + *
+       * 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; + */ + public boolean hasContinue() { + return ((bitField0_ & 0x00000040) == 0x00000040); + } + /** + *
+       * 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; + */ + public java.lang.String getContinue() { + java.lang.Object ref = continue_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + continue_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * 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; + */ + public com.google.protobuf.ByteString + getContinueBytes() { + java.lang.Object ref = continue_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + continue_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * 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; + */ + public Builder setContinue( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000040; + continue_ = value; + onChanged(); + return this; + } + /** + *
+       * 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; + */ + public Builder clearContinue() { + bitField0_ = (bitField0_ & ~0x00000040); + continue_ = getDefaultInstance().getContinue(); + onChanged(); + return this; + } + /** + *
+       * 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; + */ + public Builder setContinueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000040; + continue_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions) + } + + // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions) + private static final io.kubernetes.client.proto.Meta.ListOptions DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.ListOptions(); + } + + public static io.kubernetes.client.proto.Meta.ListOptions getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListOptions(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.kubernetes.client.proto.Meta.ListOptions getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface MicroTimeOrBuilder extends + // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Represents seconds of UTC time since Unix epoch
+     * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
+     * 9999-12-31T23:59:59Z inclusive.
+     * 
+ * + * optional int64 seconds = 1; + */ + boolean hasSeconds(); + /** + *
+     * Represents seconds of UTC time since Unix epoch
+     * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
+     * 9999-12-31T23:59:59Z inclusive.
+     * 
+ * + * optional int64 seconds = 1; + */ + long getSeconds(); + + /** + *
+     * Non-negative fractions of a second at nanosecond resolution. Negative
+     * second values with fractions must still have non-negative nanos values
+     * that count forward in time. Must be from 0 to 999,999,999
+     * inclusive. This field may be limited in precision depending on context.
+     * 
+ * + * optional int32 nanos = 2; + */ + boolean hasNanos(); + /** + *
+     * Non-negative fractions of a second at nanosecond resolution. Negative
+     * second values with fractions must still have non-negative nanos values
+     * that count forward in time. Must be from 0 to 999,999,999
+     * inclusive. This field may be limited in precision depending on context.
+     * 
+ * + * optional int32 nanos = 2; + */ + int getNanos(); + } + /** + *
+   * MicroTime is version of Time with microsecond level precision.
+   * +protobuf.options.marshal=false
+   * +protobuf.as=Timestamp
+   * +protobuf.options.(gogoproto.goproto_stringer)=false
+   * 
+ * + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime} + */ + public static final class MicroTime extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime) + MicroTimeOrBuilder { + private static final long serialVersionUID = 0L; + // Use MicroTime.newBuilder() to construct. + private MicroTime(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private MicroTime() { + seconds_ = 0L; + nanos_ = 0; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private MicroTime( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + bitField0_ |= 0x00000001; + seconds_ = input.readInt64(); + break; + } + case 16: { + bitField0_ |= 0x00000002; + nanos_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_MicroTime_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_MicroTime_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.kubernetes.client.proto.Meta.MicroTime.class, io.kubernetes.client.proto.Meta.MicroTime.Builder.class); + } + + private int bitField0_; + public static final int SECONDS_FIELD_NUMBER = 1; + private long seconds_; + /** + *
+     * Represents seconds of UTC time since Unix epoch
+     * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
+     * 9999-12-31T23:59:59Z inclusive.
+     * 
+ * + * optional int64 seconds = 1; + */ + public boolean hasSeconds() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + *
+     * Represents seconds of UTC time since Unix epoch
+     * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
+     * 9999-12-31T23:59:59Z inclusive.
+     * 
+ * + * optional int64 seconds = 1; + */ + public long getSeconds() { + return seconds_; + } + + public static final int NANOS_FIELD_NUMBER = 2; + private int nanos_; + /** + *
+     * Non-negative fractions of a second at nanosecond resolution. Negative
+     * second values with fractions must still have non-negative nanos values
+     * that count forward in time. Must be from 0 to 999,999,999
+     * inclusive. This field may be limited in precision depending on context.
+     * 
+ * + * optional int32 nanos = 2; + */ + public boolean hasNanos() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + *
+     * Non-negative fractions of a second at nanosecond resolution. Negative
+     * second values with fractions must still have non-negative nanos values
+     * that count forward in time. Must be from 0 to 999,999,999
+     * inclusive. This field may be limited in precision depending on context.
+     * 
+ * + * optional int32 nanos = 2; + */ + public int getNanos() { + return nanos_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeInt64(1, seconds_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeInt32(2, nanos_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, seconds_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, nanos_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.kubernetes.client.proto.Meta.MicroTime)) { + return super.equals(obj); + } + io.kubernetes.client.proto.Meta.MicroTime other = (io.kubernetes.client.proto.Meta.MicroTime) obj; + + boolean result = true; + result = result && (hasSeconds() == other.hasSeconds()); + if (hasSeconds()) { + result = result && (getSeconds() + == other.getSeconds()); + } + result = result && (hasNanos() == other.hasNanos()); + if (hasNanos()) { + result = result && (getNanos() + == other.getNanos()); + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasSeconds()) { + hash = (37 * hash) + SECONDS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSeconds()); + } + if (hasNanos()) { + hash = (37 * hash) + NANOS_FIELD_NUMBER; + hash = (53 * hash) + getNanos(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.kubernetes.client.proto.Meta.MicroTime parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.kubernetes.client.proto.Meta.MicroTime parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.kubernetes.client.proto.Meta.MicroTime parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.kubernetes.client.proto.Meta.MicroTime parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.kubernetes.client.proto.Meta.MicroTime parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.kubernetes.client.proto.Meta.MicroTime parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.kubernetes.client.proto.Meta.MicroTime parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.kubernetes.client.proto.Meta.MicroTime parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static io.kubernetes.client.proto.Meta.MicroTime parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.kubernetes.client.proto.Meta.MicroTime parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static io.kubernetes.client.proto.Meta.MicroTime parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.kubernetes.client.proto.Meta.MicroTime parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.kubernetes.client.proto.Meta.MicroTime prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * MicroTime is version of Time with microsecond level precision.
+     * +protobuf.options.marshal=false
+     * +protobuf.as=Timestamp
+     * +protobuf.options.(gogoproto.goproto_stringer)=false
+     * 
+ * + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime) + io.kubernetes.client.proto.Meta.MicroTimeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_MicroTime_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_MicroTime_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.kubernetes.client.proto.Meta.MicroTime.class, io.kubernetes.client.proto.Meta.MicroTime.Builder.class); + } + + // Construct using io.kubernetes.client.proto.Meta.MicroTime.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + seconds_ = 0L; + bitField0_ = (bitField0_ & ~0x00000001); + nanos_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_MicroTime_descriptor; + } + + @java.lang.Override + public io.kubernetes.client.proto.Meta.MicroTime getDefaultInstanceForType() { + return io.kubernetes.client.proto.Meta.MicroTime.getDefaultInstance(); + } + + @java.lang.Override + public io.kubernetes.client.proto.Meta.MicroTime build() { + io.kubernetes.client.proto.Meta.MicroTime result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.kubernetes.client.proto.Meta.MicroTime buildPartial() { + io.kubernetes.client.proto.Meta.MicroTime result = new io.kubernetes.client.proto.Meta.MicroTime(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.seconds_ = seconds_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.nanos_ = nanos_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.kubernetes.client.proto.Meta.MicroTime) { + return mergeFrom((io.kubernetes.client.proto.Meta.MicroTime)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.kubernetes.client.proto.Meta.MicroTime other) { + if (other == io.kubernetes.client.proto.Meta.MicroTime.getDefaultInstance()) return this; + if (other.hasSeconds()) { + setSeconds(other.getSeconds()); + } + if (other.hasNanos()) { + setNanos(other.getNanos()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.kubernetes.client.proto.Meta.MicroTime parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.kubernetes.client.proto.Meta.MicroTime) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private long seconds_ ; + /** + *
+       * Represents seconds of UTC time since Unix epoch
+       * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
+       * 9999-12-31T23:59:59Z inclusive.
+       * 
+ * + * optional int64 seconds = 1; + */ + public boolean hasSeconds() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + *
+       * Represents seconds of UTC time since Unix epoch
+       * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
+       * 9999-12-31T23:59:59Z inclusive.
+       * 
+ * + * optional int64 seconds = 1; + */ + public long getSeconds() { + return seconds_; + } + /** + *
+       * Represents seconds of UTC time since Unix epoch
+       * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
+       * 9999-12-31T23:59:59Z inclusive.
+       * 
+ * + * optional int64 seconds = 1; + */ + public Builder setSeconds(long value) { + bitField0_ |= 0x00000001; + seconds_ = value; + onChanged(); + return this; + } + /** + *
+       * Represents seconds of UTC time since Unix epoch
+       * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
+       * 9999-12-31T23:59:59Z inclusive.
+       * 
+ * + * optional int64 seconds = 1; + */ + public Builder clearSeconds() { + bitField0_ = (bitField0_ & ~0x00000001); + seconds_ = 0L; + onChanged(); + return this; + } + + private int nanos_ ; + /** + *
+       * Non-negative fractions of a second at nanosecond resolution. Negative
+       * second values with fractions must still have non-negative nanos values
+       * that count forward in time. Must be from 0 to 999,999,999
+       * inclusive. This field may be limited in precision depending on context.
+       * 
+ * + * optional int32 nanos = 2; + */ + public boolean hasNanos() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + *
+       * Non-negative fractions of a second at nanosecond resolution. Negative
+       * second values with fractions must still have non-negative nanos values
+       * that count forward in time. Must be from 0 to 999,999,999
+       * inclusive. This field may be limited in precision depending on context.
+       * 
+ * + * optional int32 nanos = 2; + */ + public int getNanos() { + return nanos_; + } + /** + *
+       * Non-negative fractions of a second at nanosecond resolution. Negative
+       * second values with fractions must still have non-negative nanos values
+       * that count forward in time. Must be from 0 to 999,999,999
+       * inclusive. This field may be limited in precision depending on context.
+       * 
+ * + * optional int32 nanos = 2; + */ + public Builder setNanos(int value) { + bitField0_ |= 0x00000002; + nanos_ = value; + onChanged(); + return this; + } + /** + *
+       * Non-negative fractions of a second at nanosecond resolution. Negative
+       * second values with fractions must still have non-negative nanos values
+       * that count forward in time. Must be from 0 to 999,999,999
+       * inclusive. This field may be limited in precision depending on context.
+       * 
+ * + * optional int32 nanos = 2; + */ + public Builder clearNanos() { + bitField0_ = (bitField0_ & ~0x00000002); + nanos_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime) + } + + // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime) + private static final io.kubernetes.client.proto.Meta.MicroTime DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.MicroTime(); + } + + public static io.kubernetes.client.proto.Meta.MicroTime getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MicroTime parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MicroTime(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.kubernetes.client.proto.Meta.MicroTime getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ObjectMetaOrBuilder extends + // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Name must be unique within a namespace. Is required when creating resources, although
+     * some resources may allow a client to request the generation of an appropriate name
+     * automatically. Name is primarily intended for creation idempotence and configuration
+     * definition.
+     * Cannot be updated.
+     * More info: http://kubernetes.io/docs/user-guide/identifiers#names
+     * +optional
+     * 
+ * + * optional string name = 1; + */ + boolean hasName(); + /** + *
+     * Name must be unique within a namespace. Is required when creating resources, although
+     * some resources may allow a client to request the generation of an appropriate name
+     * automatically. Name is primarily intended for creation idempotence and configuration
+     * definition.
+     * Cannot be updated.
+     * More info: http://kubernetes.io/docs/user-guide/identifiers#names
+     * +optional
+     * 
+ * + * optional string name = 1; + */ + java.lang.String getName(); + /** + *
+     * Name must be unique within a namespace. Is required when creating resources, although
+     * some resources may allow a client to request the generation of an appropriate name
+     * automatically. Name is primarily intended for creation idempotence and configuration
+     * definition.
+     * Cannot be updated.
+     * More info: http://kubernetes.io/docs/user-guide/identifiers#names
+     * +optional
+     * 
+ * + * optional string name = 1; + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+     * GenerateName is an optional prefix, used by the server, to generate a unique
+     * name ONLY IF the Name field has not been provided.
+     * If this field is used, the name returned to the client will be different
+     * than the name passed. This value will also be combined with a unique suffix.
+     * The provided value has the same validation rules as the Name field,
+     * and may be truncated by the length of the suffix required to make the value
+     * unique on the server.
+     * If this field is specified and the generated name exists, the server will
+     * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
+     * ServerTimeout indicating a unique name could not be found in the time allotted, and the client
+     * should retry (optionally after the time indicated in the Retry-After header).
+     * Applied only if Name is not specified.
+     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
+     * +optional
+     * 
+ * + * optional string generateName = 2; + */ + boolean hasGenerateName(); + /** + *
+     * GenerateName is an optional prefix, used by the server, to generate a unique
+     * name ONLY IF the Name field has not been provided.
+     * If this field is used, the name returned to the client will be different
+     * than the name passed. This value will also be combined with a unique suffix.
+     * The provided value has the same validation rules as the Name field,
+     * and may be truncated by the length of the suffix required to make the value
+     * unique on the server.
+     * If this field is specified and the generated name exists, the server will
+     * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
+     * ServerTimeout indicating a unique name could not be found in the time allotted, and the client
+     * should retry (optionally after the time indicated in the Retry-After header).
+     * Applied only if Name is not specified.
+     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
+     * +optional
+     * 
+ * + * optional string generateName = 2; + */ + java.lang.String getGenerateName(); + /** + *
+     * GenerateName is an optional prefix, used by the server, to generate a unique
+     * name ONLY IF the Name field has not been provided.
+     * If this field is used, the name returned to the client will be different
+     * than the name passed. This value will also be combined with a unique suffix.
+     * The provided value has the same validation rules as the Name field,
+     * and may be truncated by the length of the suffix required to make the value
+     * unique on the server.
+     * If this field is specified and the generated name exists, the server will
+     * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
+     * ServerTimeout indicating a unique name could not be found in the time allotted, and the client
+     * should retry (optionally after the time indicated in the Retry-After header).
+     * Applied only if Name is not specified.
+     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
+     * +optional
+     * 
+ * + * optional string generateName = 2; + */ + com.google.protobuf.ByteString + getGenerateNameBytes(); + + /** + *
+     * Namespace defines the space within each name must be unique. An empty namespace is
+     * equivalent to the "default" namespace, but "default" is the canonical representation.
+     * Not all objects are required to be scoped to a namespace - the value of this field for
+     * those objects will be empty.
+     * Must be a DNS_LABEL.
+     * Cannot be updated.
+     * More info: http://kubernetes.io/docs/user-guide/namespaces
+     * +optional
+     * 
+ * + * optional string namespace = 3; + */ + boolean hasNamespace(); + /** + *
+     * Namespace defines the space within each name must be unique. An empty namespace is
+     * equivalent to the "default" namespace, but "default" is the canonical representation.
+     * Not all objects are required to be scoped to a namespace - the value of this field for
+     * those objects will be empty.
+     * Must be a DNS_LABEL.
+     * Cannot be updated.
+     * More info: http://kubernetes.io/docs/user-guide/namespaces
+     * +optional
+     * 
+ * + * optional string namespace = 3; + */ + java.lang.String getNamespace(); + /** + *
+     * Namespace defines the space within each name must be unique. An empty namespace is
+     * equivalent to the "default" namespace, but "default" is the canonical representation.
+     * Not all objects are required to be scoped to a namespace - the value of this field for
+     * those objects will be empty.
+     * Must be a DNS_LABEL.
+     * Cannot be updated.
+     * More info: http://kubernetes.io/docs/user-guide/namespaces
+     * +optional
+     * 
+ * + * optional string namespace = 3; + */ + com.google.protobuf.ByteString + getNamespaceBytes(); + + /** + *
+     * SelfLink is a URL representing this object.
+     * Populated by the system.
+     * Read-only.
+     * +optional
+     * 
+ * + * optional string selfLink = 4; + */ + boolean hasSelfLink(); + /** + *
+     * SelfLink is a URL representing this object.
+     * Populated by the system.
+     * Read-only.
+     * +optional
+     * 
+ * + * optional string selfLink = 4; + */ + java.lang.String getSelfLink(); + /** + *
+     * SelfLink is a URL representing this object.
+     * Populated by the system.
+     * Read-only.
+     * +optional
+     * 
+ * + * optional string selfLink = 4; + */ + com.google.protobuf.ByteString + getSelfLinkBytes(); + + /** + *
+     * UID is the unique in time and space value for this object. It is typically generated by
+     * the server on successful creation of a resource and is not allowed to change on PUT
+     * operations.
+     * Populated by the system.
+     * Read-only.
+     * More info: http://kubernetes.io/docs/user-guide/identifiers#uids
+     * +optional
+     * 
+ * + * optional string uid = 5; + */ + boolean hasUid(); + /** + *
+     * UID is the unique in time and space value for this object. It is typically generated by
+     * the server on successful creation of a resource and is not allowed to change on PUT
+     * operations.
+     * Populated by the system.
+     * Read-only.
+     * More info: http://kubernetes.io/docs/user-guide/identifiers#uids
+     * +optional
+     * 
+ * + * optional string uid = 5; + */ + java.lang.String getUid(); + /** + *
+     * UID is the unique in time and space value for this object. It is typically generated by
+     * the server on successful creation of a resource and is not allowed to change on PUT
+     * operations.
+     * Populated by the system.
+     * Read-only.
+     * More info: http://kubernetes.io/docs/user-guide/identifiers#uids
+     * +optional
+     * 
+ * + * optional string uid = 5; + */ + com.google.protobuf.ByteString + getUidBytes(); + + /** + *
+     * An opaque value that represents the internal version of this object that can
+     * be used by clients to determine when objects have changed. May be used for optimistic
+     * concurrency, change detection, and the watch operation on a resource or set of resources.
+     * Clients must treat these values as opaque and passed unmodified back to the server.
+     * They may only be valid for a particular resource or set of resources.
+     * Populated by the system.
+     * Read-only.
+     * Value must be treated as opaque by clients and .
+     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
+     * +optional
+     * 
+ * + * optional string resourceVersion = 6; + */ + boolean hasResourceVersion(); + /** + *
+     * An opaque value that represents the internal version of this object that can
+     * be used by clients to determine when objects have changed. May be used for optimistic
+     * concurrency, change detection, and the watch operation on a resource or set of resources.
+     * Clients must treat these values as opaque and passed unmodified back to the server.
+     * They may only be valid for a particular resource or set of resources.
+     * Populated by the system.
+     * Read-only.
+     * Value must be treated as opaque by clients and .
+     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
+     * +optional
+     * 
+ * + * optional string resourceVersion = 6; + */ + java.lang.String getResourceVersion(); + /** + *
+     * An opaque value that represents the internal version of this object that can
+     * be used by clients to determine when objects have changed. May be used for optimistic
+     * concurrency, change detection, and the watch operation on a resource or set of resources.
+     * Clients must treat these values as opaque and passed unmodified back to the server.
+     * They may only be valid for a particular resource or set of resources.
+     * Populated by the system.
+     * Read-only.
+     * Value must be treated as opaque by clients and .
+     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
+     * +optional
+     * 
+ * + * optional string resourceVersion = 6; + */ + com.google.protobuf.ByteString + getResourceVersionBytes(); + + /** + *
+     * A sequence number representing a specific generation of the desired state.
+     * Populated by the system. Read-only.
+     * +optional
+     * 
+ * + * optional int64 generation = 7; + */ + boolean hasGeneration(); + /** + *
+     * A sequence number representing a specific generation of the desired state.
+     * Populated by the system. Read-only.
+     * +optional
+     * 
+ * + * optional int64 generation = 7; + */ + long getGeneration(); + + /** + *
+     * CreationTimestamp is a timestamp representing the server time when this object was
+     * created. It is not guaranteed to be set in happens-before order across separate operations.
+     * Clients may not set this value. It is represented in RFC3339 form and is in UTC.
+     * Populated by the system.
+     * Read-only.
+     * Null for lists.
+     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+     * +optional
+     * 
+ * + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8; + */ + boolean hasCreationTimestamp(); + /** + *
+     * CreationTimestamp is a timestamp representing the server time when this object was
+     * created. It is not guaranteed to be set in happens-before order across separate operations.
+     * Clients may not set this value. It is represented in RFC3339 form and is in UTC.
+     * Populated by the system.
+     * Read-only.
+     * Null for lists.
+     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+     * +optional
+     * 
+ * + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8; + */ + io.kubernetes.client.proto.Meta.Time getCreationTimestamp(); + /** + *
+     * CreationTimestamp is a timestamp representing the server time when this object was
+     * created. It is not guaranteed to be set in happens-before order across separate operations.
+     * Clients may not set this value. It is represented in RFC3339 form and is in UTC.
+     * Populated by the system.
+     * Read-only.
+     * Null for lists.
+     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+     * +optional
+     * 
+ * + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8; + */ + io.kubernetes.client.proto.Meta.TimeOrBuilder getCreationTimestampOrBuilder(); + + /** + *
+     * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
+     * field is set by the server when a graceful deletion is requested by the user, and is not
+     * directly settable by a client. The resource is expected to be deleted (no longer visible
+     * from resource lists, and not reachable by name) after the time in this field, once the
+     * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
+     * Once the deletionTimestamp is set, this value may not be unset or be set further into the
+     * future, although it may be shortened or the resource may be deleted prior to this time.
+     * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
+     * by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
+     * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
+     * remove the pod from the API. In the presence of network partitions, this object may still
+     * exist after this timestamp, until an administrator or automated process can determine the
+     * resource is fully terminated.
+     * If not set, graceful deletion of the object has not been requested.
+     * Populated by the system when a graceful deletion is requested.
+     * Read-only.
+     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+     * +optional
+     * 
+ * + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; + */ + boolean hasDeletionTimestamp(); + /** + *
+     * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
+     * field is set by the server when a graceful deletion is requested by the user, and is not
+     * directly settable by a client. The resource is expected to be deleted (no longer visible
+     * from resource lists, and not reachable by name) after the time in this field, once the
+     * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
+     * Once the deletionTimestamp is set, this value may not be unset or be set further into the
+     * future, although it may be shortened or the resource may be deleted prior to this time.
+     * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
+     * by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
+     * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
+     * remove the pod from the API. In the presence of network partitions, this object may still
+     * exist after this timestamp, until an administrator or automated process can determine the
+     * resource is fully terminated.
+     * If not set, graceful deletion of the object has not been requested.
+     * Populated by the system when a graceful deletion is requested.
+     * Read-only.
+     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+     * +optional
+     * 
+ * + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; + */ + io.kubernetes.client.proto.Meta.Time getDeletionTimestamp(); + /** + *
+     * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
+     * field is set by the server when a graceful deletion is requested by the user, and is not
+     * directly settable by a client. The resource is expected to be deleted (no longer visible
+     * from resource lists, and not reachable by name) after the time in this field, once the
+     * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
+     * Once the deletionTimestamp is set, this value may not be unset or be set further into the
+     * future, although it may be shortened or the resource may be deleted prior to this time.
+     * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
+     * by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
+     * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
+     * remove the pod from the API. In the presence of network partitions, this object may still
+     * exist after this timestamp, until an administrator or automated process can determine the
+     * resource is fully terminated.
+     * If not set, graceful deletion of the object has not been requested.
+     * Populated by the system when a graceful deletion is requested.
+     * Read-only.
+     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+     * +optional
+     * 
+ * + * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; + */ + io.kubernetes.client.proto.Meta.TimeOrBuilder getDeletionTimestampOrBuilder(); + + /** + *
+     * Number of seconds allowed for this object to gracefully terminate before
+     * it will be removed from the system. Only set when deletionTimestamp is also set.
+     * May only be shortened.
+     * Read-only.
+     * +optional
+     * 
+ * + * optional int64 deletionGracePeriodSeconds = 10; + */ + boolean hasDeletionGracePeriodSeconds(); + /** + *
+     * Number of seconds allowed for this object to gracefully terminate before
+     * it will be removed from the system. Only set when deletionTimestamp is also set.
+     * May only be shortened.
+     * Read-only.
+     * +optional
+     * 
+ * + * optional int64 deletionGracePeriodSeconds = 10; + */ + long getDeletionGracePeriodSeconds(); + + /** + *
+     * Map of string keys and values that can be used to organize and categorize
+     * (scope and select) objects. May match selectors of replication controllers
+     * and services.
+     * More info: http://kubernetes.io/docs/user-guide/labels
+     * +optional
+     * 
+ * + * map<string, string> labels = 11; + */ + int getLabelsCount(); + /** + *
+     * Map of string keys and values that can be used to organize and categorize
+     * (scope and select) objects. May match selectors of replication controllers
+     * and services.
+     * More info: http://kubernetes.io/docs/user-guide/labels
+     * +optional
+     * 
+ * + * map<string, string> labels = 11; + */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getLabels(); + /** + *
+     * Map of string keys and values that can be used to organize and categorize
+     * (scope and select) objects. May match selectors of replication controllers
+     * and services.
+     * More info: http://kubernetes.io/docs/user-guide/labels
+     * +optional
+     * 
+ * + * map<string, string> labels = 11; + */ + java.util.Map + getLabelsMap(); + /** + *
+     * Map of string keys and values that can be used to organize and categorize
+     * (scope and select) objects. May match selectors of replication controllers
+     * and services.
+     * More info: http://kubernetes.io/docs/user-guide/labels
+     * +optional
+     * 
+ * + * map<string, string> labels = 11; + */ + + java.lang.String getLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue); + /** + *
+     * Map of string keys and values that can be used to organize and categorize
+     * (scope and select) objects. May match selectors of replication controllers
+     * and services.
+     * More info: http://kubernetes.io/docs/user-guide/labels
+     * +optional
+     * 
+ * + * map<string, string> labels = 11; + */ + + java.lang.String getLabelsOrThrow( + java.lang.String key); + + /** + *
+     * Annotations is an unstructured key value map stored with a resource that may be
+     * set by external tools to store and retrieve arbitrary metadata. They are not
+     * queryable and should be preserved when modifying objects.
+     * More info: http://kubernetes.io/docs/user-guide/annotations
+     * +optional
+     * 
+ * + * map<string, string> annotations = 12; + */ + int getAnnotationsCount(); + /** + *
+     * Annotations is an unstructured key value map stored with a resource that may be
+     * set by external tools to store and retrieve arbitrary metadata. They are not
+     * queryable and should be preserved when modifying objects.
+     * More info: http://kubernetes.io/docs/user-guide/annotations
+     * +optional
+     * 
+ * + * map<string, string> annotations = 12; + */ + boolean containsAnnotations( + java.lang.String key); + /** + * Use {@link #getAnnotationsMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getAnnotations(); + /** + *
+     * Annotations is an unstructured key value map stored with a resource that may be
+     * set by external tools to store and retrieve arbitrary metadata. They are not
+     * queryable and should be preserved when modifying objects.
+     * More info: http://kubernetes.io/docs/user-guide/annotations
+     * +optional
+     * 
+ * + * map<string, string> annotations = 12; + */ + java.util.Map + getAnnotationsMap(); + /** + *
+     * Annotations is an unstructured key value map stored with a resource that may be
+     * set by external tools to store and retrieve arbitrary metadata. They are not
+     * queryable and should be preserved when modifying objects.
+     * More info: http://kubernetes.io/docs/user-guide/annotations
+     * +optional
+     * 
+ * + * map<string, string> annotations = 12; + */ + + java.lang.String getAnnotationsOrDefault( + java.lang.String key, + java.lang.String defaultValue); + /** + *
+     * Annotations is an unstructured key value map stored with a resource that may be
+     * set by external tools to store and retrieve arbitrary metadata. They are not
+     * queryable and should be preserved when modifying objects.
+     * More info: http://kubernetes.io/docs/user-guide/annotations
+     * +optional
+     * 
+ * + * map<string, string> annotations = 12; + */ + + java.lang.String getAnnotationsOrThrow( + java.lang.String key); + + /** + *
+     * List of objects depended by this object. If ALL objects in the list have
+     * been deleted, this object will be garbage collected. If this object is managed by a controller,
+     * then an entry in this list will point to this controller, with the controller field set to true.
+     * There cannot be more than one managing controller.
+     * +optional
+     * +patchMergeKey=uid
+     * +patchStrategy=merge
+     * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; + */ + java.util.List + getOwnerReferencesList(); + /** + *
+     * List of objects depended by this object. If ALL objects in the list have
+     * been deleted, this object will be garbage collected. If this object is managed by a controller,
+     * then an entry in this list will point to this controller, with the controller field set to true.
+     * There cannot be more than one managing controller.
+     * +optional
+     * +patchMergeKey=uid
+     * +patchStrategy=merge
+     * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; + */ + io.kubernetes.client.proto.Meta.OwnerReference getOwnerReferences(int index); + /** + *
+     * List of objects depended by this object. If ALL objects in the list have
+     * been deleted, this object will be garbage collected. If this object is managed by a controller,
+     * then an entry in this list will point to this controller, with the controller field set to true.
+     * There cannot be more than one managing controller.
+     * +optional
+     * +patchMergeKey=uid
+     * +patchStrategy=merge
+     * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; + */ + int getOwnerReferencesCount(); + /** + *
+     * List of objects depended by this object. If ALL objects in the list have
+     * been deleted, this object will be garbage collected. If this object is managed by a controller,
+     * then an entry in this list will point to this controller, with the controller field set to true.
+     * There cannot be more than one managing controller.
+     * +optional
+     * +patchMergeKey=uid
+     * +patchStrategy=merge
+     * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; + */ + java.util.List + getOwnerReferencesOrBuilderList(); + /** + *
+     * List of objects depended by this object. If ALL objects in the list have
+     * been deleted, this object will be garbage collected. If this object is managed by a controller,
+     * then an entry in this list will point to this controller, with the controller field set to true.
+     * There cannot be more than one managing controller.
+     * +optional
+     * +patchMergeKey=uid
+     * +patchStrategy=merge
+     * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; + */ + io.kubernetes.client.proto.Meta.OwnerReferenceOrBuilder getOwnerReferencesOrBuilder( + int index); + + /** *
      * An initializer is a controller which enforces some system invariant at object creation time.
      * This field is a list of initializers that have not yet acted on this object. If nil or empty,
      * this object has been completely initialized. Otherwise, the object is considered uninitialized
      * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to
      * observe uninitialized objects.
-     * 
      * When an object is created, the system will populate this list with the current set of initializers.
      * Only privileged users may set or modify this list. Once it is empty, it may not be modified further
      * by any user.
+     * DEPRECATED - initializers are an alpha field and will be removed in v1.15.
      * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; @@ -23523,10 +27912,10 @@ io.kubernetes.client.proto.Meta.OwnerReferenceOrBuilder getOwnerReferencesOrBuil * this object has been completely initialized. Otherwise, the object is considered uninitialized * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to * observe uninitialized objects. - * * When an object is created, the system will populate this list with the current set of initializers. * Only privileged users may set or modify this list. Once it is empty, it may not be modified further * by any user. + * DEPRECATED - initializers are an alpha field and will be removed in v1.15. *
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; @@ -23539,10 +27928,10 @@ io.kubernetes.client.proto.Meta.OwnerReferenceOrBuilder getOwnerReferencesOrBuil * this object has been completely initialized. Otherwise, the object is considered uninitialized * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to * observe uninitialized objects. - * * When an object is created, the system will populate this list with the current set of initializers. * Only privileged users may set or modify this list. Once it is empty, it may not be modified further * by any user. + * DEPRECATED - initializers are an alpha field and will be removed in v1.15. *
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; @@ -23680,6 +28069,9 @@ private ObjectMeta( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -23691,13 +28083,6 @@ private ObjectMeta( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; @@ -23833,6 +28218,13 @@ private ObjectMeta( bitField0_ |= 0x00000400; break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -23857,6 +28249,7 @@ private ObjectMeta( } @SuppressWarnings({"rawtypes"}) + @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { @@ -23869,6 +28262,7 @@ protected com.google.protobuf.MapField internalGetMapField( "Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta_fieldAccessorTable @@ -23960,12 +28354,10 @@ public java.lang.String getName() { * The provided value has the same validation rules as the Name field, * and may be truncated by the length of the suffix required to make the value * unique on the server. - * * If this field is specified and the generated name exists, the server will * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason * ServerTimeout indicating a unique name could not be found in the time allotted, and the client * should retry (optionally after the time indicated in the Retry-After header). - * * Applied only if Name is not specified. * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency * +optional @@ -23985,12 +28377,10 @@ public boolean hasGenerateName() { * The provided value has the same validation rules as the Name field, * and may be truncated by the length of the suffix required to make the value * unique on the server. - * * If this field is specified and the generated name exists, the server will * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason * ServerTimeout indicating a unique name could not be found in the time allotted, and the client * should retry (optionally after the time indicated in the Retry-After header). - * * Applied only if Name is not specified. * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency * +optional @@ -24021,12 +28411,10 @@ public java.lang.String getGenerateName() { * The provided value has the same validation rules as the Name field, * and may be truncated by the length of the suffix required to make the value * unique on the server. - * * If this field is specified and the generated name exists, the server will * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason * ServerTimeout indicating a unique name could not be found in the time allotted, and the client * should retry (optionally after the time indicated in the Retry-After header). - * * Applied only if Name is not specified. * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency * +optional @@ -24056,7 +28444,6 @@ public java.lang.String getGenerateName() { * equivalent to the "default" namespace, but "default" is the canonical representation. * Not all objects are required to be scoped to a namespace - the value of this field for * those objects will be empty. - * * Must be a DNS_LABEL. * Cannot be updated. * More info: http://kubernetes.io/docs/user-guide/namespaces @@ -24074,7 +28461,6 @@ public boolean hasNamespace() { * equivalent to the "default" namespace, but "default" is the canonical representation. * Not all objects are required to be scoped to a namespace - the value of this field for * those objects will be empty. - * * Must be a DNS_LABEL. * Cannot be updated. * More info: http://kubernetes.io/docs/user-guide/namespaces @@ -24103,7 +28489,6 @@ public java.lang.String getNamespace() { * equivalent to the "default" namespace, but "default" is the canonical representation. * Not all objects are required to be scoped to a namespace - the value of this field for * those objects will be empty. - * * Must be a DNS_LABEL. * Cannot be updated. * More info: http://kubernetes.io/docs/user-guide/namespaces @@ -24196,7 +28581,6 @@ public java.lang.String getSelfLink() { * UID is the unique in time and space value for this object. It is typically generated by * the server on successful creation of a resource and is not allowed to change on PUT * operations. - * * Populated by the system. * Read-only. * More info: http://kubernetes.io/docs/user-guide/identifiers#uids @@ -24213,7 +28597,6 @@ public boolean hasUid() { * UID is the unique in time and space value for this object. It is typically generated by * the server on successful creation of a resource and is not allowed to change on PUT * operations. - * * Populated by the system. * Read-only. * More info: http://kubernetes.io/docs/user-guide/identifiers#uids @@ -24241,7 +28624,6 @@ public java.lang.String getUid() { * UID is the unique in time and space value for this object. It is typically generated by * the server on successful creation of a resource and is not allowed to change on PUT * operations. - * * Populated by the system. * Read-only. * More info: http://kubernetes.io/docs/user-guide/identifiers#uids @@ -24273,7 +28655,6 @@ public java.lang.String getUid() { * concurrency, change detection, and the watch operation on a resource or set of resources. * Clients must treat these values as opaque and passed unmodified back to the server. * They may only be valid for a particular resource or set of resources. - * * Populated by the system. * Read-only. * Value must be treated as opaque by clients and . @@ -24293,7 +28674,6 @@ public boolean hasResourceVersion() { * concurrency, change detection, and the watch operation on a resource or set of resources. * Clients must treat these values as opaque and passed unmodified back to the server. * They may only be valid for a particular resource or set of resources. - * * Populated by the system. * Read-only. * Value must be treated as opaque by clients and . @@ -24324,7 +28704,6 @@ public java.lang.String getResourceVersion() { * concurrency, change detection, and the watch operation on a resource or set of resources. * Clients must treat these values as opaque and passed unmodified back to the server. * They may only be valid for a particular resource or set of resources. - * * Populated by the system. * Read-only. * Value must be treated as opaque by clients and . @@ -24382,7 +28761,6 @@ public long getGeneration() { * CreationTimestamp is a timestamp representing the server time when this object was * created. It is not guaranteed to be set in happens-before order across separate operations. * Clients may not set this value. It is represented in RFC3339 form and is in UTC. - * * Populated by the system. * Read-only. * Null for lists. @@ -24400,7 +28778,6 @@ public boolean hasCreationTimestamp() { * CreationTimestamp is a timestamp representing the server time when this object was * created. It is not guaranteed to be set in happens-before order across separate operations. * Clients may not set this value. It is represented in RFC3339 form and is in UTC. - * * Populated by the system. * Read-only. * Null for lists. @@ -24418,7 +28795,6 @@ public io.kubernetes.client.proto.Meta.Time getCreationTimestamp() { * CreationTimestamp is a timestamp representing the server time when this object was * created. It is not guaranteed to be set in happens-before order across separate operations. * Clients may not set this value. It is represented in RFC3339 form and is in UTC. - * * Populated by the system. * Read-only. * Null for lists. @@ -24439,17 +28815,17 @@ public io.kubernetes.client.proto.Meta.TimeOrBuilder getCreationTimestampOrBuild * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This * field is set by the server when a graceful deletion is requested by the user, and is not * directly settable by a client. The resource is expected to be deleted (no longer visible - * from resource lists, and not reachable by name) after the time in this field. Once set, - * this value may not be unset or be set further into the future, although it may be shortened - * or the resource may be deleted prior to this time. For example, a user may request that - * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination - * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard - * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the - * API. In the presence of network partitions, this object may still exist after this - * timestamp, until an administrator or automated process can determine the resource is - * fully terminated. + * from resource lists, and not reachable by name) after the time in this field, once the + * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. + * Once the deletionTimestamp is set, this value may not be unset or be set further into the + * future, although it may be shortened or the resource may be deleted prior to this time. + * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react + * by sending a graceful termination signal to the containers in the pod. After that 30 seconds, + * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, + * remove the pod from the API. In the presence of network partitions, this object may still + * exist after this timestamp, until an administrator or automated process can determine the + * resource is fully terminated. * If not set, graceful deletion of the object has not been requested. - * * Populated by the system when a graceful deletion is requested. * Read-only. * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata @@ -24466,17 +28842,17 @@ public boolean hasDeletionTimestamp() { * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This * field is set by the server when a graceful deletion is requested by the user, and is not * directly settable by a client. The resource is expected to be deleted (no longer visible - * from resource lists, and not reachable by name) after the time in this field. Once set, - * this value may not be unset or be set further into the future, although it may be shortened - * or the resource may be deleted prior to this time. For example, a user may request that - * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination - * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard - * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the - * API. In the presence of network partitions, this object may still exist after this - * timestamp, until an administrator or automated process can determine the resource is - * fully terminated. + * from resource lists, and not reachable by name) after the time in this field, once the + * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. + * Once the deletionTimestamp is set, this value may not be unset or be set further into the + * future, although it may be shortened or the resource may be deleted prior to this time. + * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react + * by sending a graceful termination signal to the containers in the pod. After that 30 seconds, + * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, + * remove the pod from the API. In the presence of network partitions, this object may still + * exist after this timestamp, until an administrator or automated process can determine the + * resource is fully terminated. * If not set, graceful deletion of the object has not been requested. - * * Populated by the system when a graceful deletion is requested. * Read-only. * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata @@ -24493,17 +28869,17 @@ public io.kubernetes.client.proto.Meta.Time getDeletionTimestamp() { * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This * field is set by the server when a graceful deletion is requested by the user, and is not * directly settable by a client. The resource is expected to be deleted (no longer visible - * from resource lists, and not reachable by name) after the time in this field. Once set, - * this value may not be unset or be set further into the future, although it may be shortened - * or the resource may be deleted prior to this time. For example, a user may request that - * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination - * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard - * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the - * API. In the presence of network partitions, this object may still exist after this - * timestamp, until an administrator or automated process can determine the resource is - * fully terminated. + * from resource lists, and not reachable by name) after the time in this field, once the + * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. + * Once the deletionTimestamp is set, this value may not be unset or be set further into the + * future, although it may be shortened or the resource may be deleted prior to this time. + * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react + * by sending a graceful termination signal to the containers in the pod. After that 30 seconds, + * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, + * remove the pod from the API. In the presence of network partitions, this object may still + * exist after this timestamp, until an administrator or automated process can determine the + * resource is fully terminated. * If not set, graceful deletion of the object has not been requested. - * * Populated by the system when a graceful deletion is requested. * Read-only. * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata @@ -24857,10 +29233,10 @@ public io.kubernetes.client.proto.Meta.OwnerReferenceOrBuilder getOwnerReference * this object has been completely initialized. Otherwise, the object is considered uninitialized * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to * observe uninitialized objects. - * * When an object is created, the system will populate this list with the current set of initializers. * Only privileged users may set or modify this list. Once it is empty, it may not be modified further * by any user. + * DEPRECATED - initializers are an alpha field and will be removed in v1.15. *
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; @@ -24875,10 +29251,10 @@ public boolean hasInitializers() { * this object has been completely initialized. Otherwise, the object is considered uninitialized * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to * observe uninitialized objects. - * * When an object is created, the system will populate this list with the current set of initializers. * Only privileged users may set or modify this list. Once it is empty, it may not be modified further * by any user. + * DEPRECATED - initializers are an alpha field and will be removed in v1.15. *
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; @@ -24893,10 +29269,10 @@ public io.kubernetes.client.proto.Meta.Initializers getInitializers() { * this object has been completely initialized. Otherwise, the object is considered uninitialized * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to * observe uninitialized objects. - * * When an object is created, the system will populate this list with the current set of initializers. * Only privileged users may set or modify this list. Once it is empty, it may not be modified further * by any user. + * DEPRECATED - initializers are an alpha field and will be removed in v1.15. *
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; @@ -25034,6 +29410,7 @@ public java.lang.String getClusterName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -25043,6 +29420,7 @@ public final boolean isInitialized() { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -25102,6 +29480,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -25416,6 +29795,7 @@ public static io.kubernetes.client.proto.Meta.ObjectMeta parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -25423,6 +29803,7 @@ public static Builder newBuilder() { public static Builder newBuilder(io.kubernetes.client.proto.Meta.ObjectMeta prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -25477,6 +29858,7 @@ protected com.google.protobuf.MapField internalGetMutableMapField( "Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta_fieldAccessorTable @@ -25503,6 +29885,7 @@ private void maybeForceBuilderInitialization() { getInitializersFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); name_ = ""; @@ -25554,15 +29937,18 @@ public Builder clear() { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta_descriptor; } + @java.lang.Override public io.kubernetes.client.proto.Meta.ObjectMeta getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.ObjectMeta.getDefaultInstance(); } + @java.lang.Override public io.kubernetes.client.proto.Meta.ObjectMeta build() { io.kubernetes.client.proto.Meta.ObjectMeta result = buildPartial(); if (!result.isInitialized()) { @@ -25571,6 +29957,7 @@ public io.kubernetes.client.proto.Meta.ObjectMeta build() { return result; } + @java.lang.Override public io.kubernetes.client.proto.Meta.ObjectMeta buildPartial() { io.kubernetes.client.proto.Meta.ObjectMeta result = new io.kubernetes.client.proto.Meta.ObjectMeta(this); int from_bitField0_ = bitField0_; @@ -25658,32 +30045,39 @@ public io.kubernetes.client.proto.Meta.ObjectMeta buildPartial() { return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.ObjectMeta) { return mergeFrom((io.kubernetes.client.proto.Meta.ObjectMeta)other); @@ -25790,10 +30184,12 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.ObjectMeta other) { return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -25959,12 +30355,10 @@ public Builder setNameBytes( * The provided value has the same validation rules as the Name field, * and may be truncated by the length of the suffix required to make the value * unique on the server. - * * If this field is specified and the generated name exists, the server will * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason * ServerTimeout indicating a unique name could not be found in the time allotted, and the client * should retry (optionally after the time indicated in the Retry-After header). - * * Applied only if Name is not specified. * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency * +optional @@ -25984,12 +30378,10 @@ public boolean hasGenerateName() { * The provided value has the same validation rules as the Name field, * and may be truncated by the length of the suffix required to make the value * unique on the server. - * * If this field is specified and the generated name exists, the server will * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason * ServerTimeout indicating a unique name could not be found in the time allotted, and the client * should retry (optionally after the time indicated in the Retry-After header). - * * Applied only if Name is not specified. * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency * +optional @@ -26020,12 +30412,10 @@ public java.lang.String getGenerateName() { * The provided value has the same validation rules as the Name field, * and may be truncated by the length of the suffix required to make the value * unique on the server. - * * If this field is specified and the generated name exists, the server will * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason * ServerTimeout indicating a unique name could not be found in the time allotted, and the client * should retry (optionally after the time indicated in the Retry-After header). - * * Applied only if Name is not specified. * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency * +optional @@ -26055,12 +30445,10 @@ public java.lang.String getGenerateName() { * The provided value has the same validation rules as the Name field, * and may be truncated by the length of the suffix required to make the value * unique on the server. - * * If this field is specified and the generated name exists, the server will * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason * ServerTimeout indicating a unique name could not be found in the time allotted, and the client * should retry (optionally after the time indicated in the Retry-After header). - * * Applied only if Name is not specified. * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency * +optional @@ -26087,12 +30475,10 @@ public Builder setGenerateName( * The provided value has the same validation rules as the Name field, * and may be truncated by the length of the suffix required to make the value * unique on the server. - * * If this field is specified and the generated name exists, the server will * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason * ServerTimeout indicating a unique name could not be found in the time allotted, and the client * should retry (optionally after the time indicated in the Retry-After header). - * * Applied only if Name is not specified. * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency * +optional @@ -26115,12 +30501,10 @@ public Builder clearGenerateName() { * The provided value has the same validation rules as the Name field, * and may be truncated by the length of the suffix required to make the value * unique on the server. - * * If this field is specified and the generated name exists, the server will * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason * ServerTimeout indicating a unique name could not be found in the time allotted, and the client * should retry (optionally after the time indicated in the Retry-After header). - * * Applied only if Name is not specified. * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency * +optional @@ -26146,7 +30530,6 @@ public Builder setGenerateNameBytes( * equivalent to the "default" namespace, but "default" is the canonical representation. * Not all objects are required to be scoped to a namespace - the value of this field for * those objects will be empty. - * * Must be a DNS_LABEL. * Cannot be updated. * More info: http://kubernetes.io/docs/user-guide/namespaces @@ -26164,7 +30547,6 @@ public boolean hasNamespace() { * equivalent to the "default" namespace, but "default" is the canonical representation. * Not all objects are required to be scoped to a namespace - the value of this field for * those objects will be empty. - * * Must be a DNS_LABEL. * Cannot be updated. * More info: http://kubernetes.io/docs/user-guide/namespaces @@ -26193,7 +30575,6 @@ public java.lang.String getNamespace() { * equivalent to the "default" namespace, but "default" is the canonical representation. * Not all objects are required to be scoped to a namespace - the value of this field for * those objects will be empty. - * * Must be a DNS_LABEL. * Cannot be updated. * More info: http://kubernetes.io/docs/user-guide/namespaces @@ -26221,7 +30602,6 @@ public java.lang.String getNamespace() { * equivalent to the "default" namespace, but "default" is the canonical representation. * Not all objects are required to be scoped to a namespace - the value of this field for * those objects will be empty. - * * Must be a DNS_LABEL. * Cannot be updated. * More info: http://kubernetes.io/docs/user-guide/namespaces @@ -26246,7 +30626,6 @@ public Builder setNamespace( * equivalent to the "default" namespace, but "default" is the canonical representation. * Not all objects are required to be scoped to a namespace - the value of this field for * those objects will be empty. - * * Must be a DNS_LABEL. * Cannot be updated. * More info: http://kubernetes.io/docs/user-guide/namespaces @@ -26267,7 +30646,6 @@ public Builder clearNamespace() { * equivalent to the "default" namespace, but "default" is the canonical representation. * Not all objects are required to be scoped to a namespace - the value of this field for * those objects will be empty. - * * Must be a DNS_LABEL. * Cannot be updated. * More info: http://kubernetes.io/docs/user-guide/namespaces @@ -26411,7 +30789,6 @@ public Builder setSelfLinkBytes( * UID is the unique in time and space value for this object. It is typically generated by * the server on successful creation of a resource and is not allowed to change on PUT * operations. - * * Populated by the system. * Read-only. * More info: http://kubernetes.io/docs/user-guide/identifiers#uids @@ -26428,7 +30805,6 @@ public boolean hasUid() { * UID is the unique in time and space value for this object. It is typically generated by * the server on successful creation of a resource and is not allowed to change on PUT * operations. - * * Populated by the system. * Read-only. * More info: http://kubernetes.io/docs/user-guide/identifiers#uids @@ -26456,7 +30832,6 @@ public java.lang.String getUid() { * UID is the unique in time and space value for this object. It is typically generated by * the server on successful creation of a resource and is not allowed to change on PUT * operations. - * * Populated by the system. * Read-only. * More info: http://kubernetes.io/docs/user-guide/identifiers#uids @@ -26483,7 +30858,6 @@ public java.lang.String getUid() { * UID is the unique in time and space value for this object. It is typically generated by * the server on successful creation of a resource and is not allowed to change on PUT * operations. - * * Populated by the system. * Read-only. * More info: http://kubernetes.io/docs/user-guide/identifiers#uids @@ -26507,7 +30881,6 @@ public Builder setUid( * UID is the unique in time and space value for this object. It is typically generated by * the server on successful creation of a resource and is not allowed to change on PUT * operations. - * * Populated by the system. * Read-only. * More info: http://kubernetes.io/docs/user-guide/identifiers#uids @@ -26527,7 +30900,6 @@ public Builder clearUid() { * UID is the unique in time and space value for this object. It is typically generated by * the server on successful creation of a resource and is not allowed to change on PUT * operations. - * * Populated by the system. * Read-only. * More info: http://kubernetes.io/docs/user-guide/identifiers#uids @@ -26555,7 +30927,6 @@ public Builder setUidBytes( * concurrency, change detection, and the watch operation on a resource or set of resources. * Clients must treat these values as opaque and passed unmodified back to the server. * They may only be valid for a particular resource or set of resources. - * * Populated by the system. * Read-only. * Value must be treated as opaque by clients and . @@ -26575,7 +30946,6 @@ public boolean hasResourceVersion() { * concurrency, change detection, and the watch operation on a resource or set of resources. * Clients must treat these values as opaque and passed unmodified back to the server. * They may only be valid for a particular resource or set of resources. - * * Populated by the system. * Read-only. * Value must be treated as opaque by clients and . @@ -26606,7 +30976,6 @@ public java.lang.String getResourceVersion() { * concurrency, change detection, and the watch operation on a resource or set of resources. * Clients must treat these values as opaque and passed unmodified back to the server. * They may only be valid for a particular resource or set of resources. - * * Populated by the system. * Read-only. * Value must be treated as opaque by clients and . @@ -26636,7 +31005,6 @@ public java.lang.String getResourceVersion() { * concurrency, change detection, and the watch operation on a resource or set of resources. * Clients must treat these values as opaque and passed unmodified back to the server. * They may only be valid for a particular resource or set of resources. - * * Populated by the system. * Read-only. * Value must be treated as opaque by clients and . @@ -26663,7 +31031,6 @@ public Builder setResourceVersion( * concurrency, change detection, and the watch operation on a resource or set of resources. * Clients must treat these values as opaque and passed unmodified back to the server. * They may only be valid for a particular resource or set of resources. - * * Populated by the system. * Read-only. * Value must be treated as opaque by clients and . @@ -26686,7 +31053,6 @@ public Builder clearResourceVersion() { * concurrency, change detection, and the watch operation on a resource or set of resources. * Clients must treat these values as opaque and passed unmodified back to the server. * They may only be valid for a particular resource or set of resources. - * * Populated by the system. * Read-only. * Value must be treated as opaque by clients and . @@ -26771,7 +31137,6 @@ public Builder clearGeneration() { * CreationTimestamp is a timestamp representing the server time when this object was * created. It is not guaranteed to be set in happens-before order across separate operations. * Clients may not set this value. It is represented in RFC3339 form and is in UTC. - * * Populated by the system. * Read-only. * Null for lists. @@ -26789,7 +31154,6 @@ public boolean hasCreationTimestamp() { * CreationTimestamp is a timestamp representing the server time when this object was * created. It is not guaranteed to be set in happens-before order across separate operations. * Clients may not set this value. It is represented in RFC3339 form and is in UTC. - * * Populated by the system. * Read-only. * Null for lists. @@ -26811,7 +31175,6 @@ public io.kubernetes.client.proto.Meta.Time getCreationTimestamp() { * CreationTimestamp is a timestamp representing the server time when this object was * created. It is not guaranteed to be set in happens-before order across separate operations. * Clients may not set this value. It is represented in RFC3339 form and is in UTC. - * * Populated by the system. * Read-only. * Null for lists. @@ -26839,7 +31202,6 @@ public Builder setCreationTimestamp(io.kubernetes.client.proto.Meta.Time value) * CreationTimestamp is a timestamp representing the server time when this object was * created. It is not guaranteed to be set in happens-before order across separate operations. * Clients may not set this value. It is represented in RFC3339 form and is in UTC. - * * Populated by the system. * Read-only. * Null for lists. @@ -26865,7 +31227,6 @@ public Builder setCreationTimestamp( * CreationTimestamp is a timestamp representing the server time when this object was * created. It is not guaranteed to be set in happens-before order across separate operations. * Clients may not set this value. It is represented in RFC3339 form and is in UTC. - * * Populated by the system. * Read-only. * Null for lists. @@ -26897,7 +31258,6 @@ public Builder mergeCreationTimestamp(io.kubernetes.client.proto.Meta.Time value * CreationTimestamp is a timestamp representing the server time when this object was * created. It is not guaranteed to be set in happens-before order across separate operations. * Clients may not set this value. It is represented in RFC3339 form and is in UTC. - * * Populated by the system. * Read-only. * Null for lists. @@ -26922,7 +31282,6 @@ public Builder clearCreationTimestamp() { * CreationTimestamp is a timestamp representing the server time when this object was * created. It is not guaranteed to be set in happens-before order across separate operations. * Clients may not set this value. It is represented in RFC3339 form and is in UTC. - * * Populated by the system. * Read-only. * Null for lists. @@ -26942,7 +31301,6 @@ public io.kubernetes.client.proto.Meta.Time.Builder getCreationTimestampBuilder( * CreationTimestamp is a timestamp representing the server time when this object was * created. It is not guaranteed to be set in happens-before order across separate operations. * Clients may not set this value. It is represented in RFC3339 form and is in UTC. - * * Populated by the system. * Read-only. * Null for lists. @@ -26965,7 +31323,6 @@ public io.kubernetes.client.proto.Meta.TimeOrBuilder getCreationTimestampOrBuild * CreationTimestamp is a timestamp representing the server time when this object was * created. It is not guaranteed to be set in happens-before order across separate operations. * Clients may not set this value. It is represented in RFC3339 form and is in UTC. - * * Populated by the system. * Read-only. * Null for lists. @@ -26997,17 +31354,17 @@ public io.kubernetes.client.proto.Meta.TimeOrBuilder getCreationTimestampOrBuild * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This * field is set by the server when a graceful deletion is requested by the user, and is not * directly settable by a client. The resource is expected to be deleted (no longer visible - * from resource lists, and not reachable by name) after the time in this field. Once set, - * this value may not be unset or be set further into the future, although it may be shortened - * or the resource may be deleted prior to this time. For example, a user may request that - * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination - * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard - * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the - * API. In the presence of network partitions, this object may still exist after this - * timestamp, until an administrator or automated process can determine the resource is - * fully terminated. + * from resource lists, and not reachable by name) after the time in this field, once the + * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. + * Once the deletionTimestamp is set, this value may not be unset or be set further into the + * future, although it may be shortened or the resource may be deleted prior to this time. + * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react + * by sending a graceful termination signal to the containers in the pod. After that 30 seconds, + * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, + * remove the pod from the API. In the presence of network partitions, this object may still + * exist after this timestamp, until an administrator or automated process can determine the + * resource is fully terminated. * If not set, graceful deletion of the object has not been requested. - * * Populated by the system when a graceful deletion is requested. * Read-only. * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata @@ -27024,17 +31381,17 @@ public boolean hasDeletionTimestamp() { * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This * field is set by the server when a graceful deletion is requested by the user, and is not * directly settable by a client. The resource is expected to be deleted (no longer visible - * from resource lists, and not reachable by name) after the time in this field. Once set, - * this value may not be unset or be set further into the future, although it may be shortened - * or the resource may be deleted prior to this time. For example, a user may request that - * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination - * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard - * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the - * API. In the presence of network partitions, this object may still exist after this - * timestamp, until an administrator or automated process can determine the resource is - * fully terminated. + * from resource lists, and not reachable by name) after the time in this field, once the + * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. + * Once the deletionTimestamp is set, this value may not be unset or be set further into the + * future, although it may be shortened or the resource may be deleted prior to this time. + * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react + * by sending a graceful termination signal to the containers in the pod. After that 30 seconds, + * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, + * remove the pod from the API. In the presence of network partitions, this object may still + * exist after this timestamp, until an administrator or automated process can determine the + * resource is fully terminated. * If not set, graceful deletion of the object has not been requested. - * * Populated by the system when a graceful deletion is requested. * Read-only. * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata @@ -27055,17 +31412,17 @@ public io.kubernetes.client.proto.Meta.Time getDeletionTimestamp() { * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This * field is set by the server when a graceful deletion is requested by the user, and is not * directly settable by a client. The resource is expected to be deleted (no longer visible - * from resource lists, and not reachable by name) after the time in this field. Once set, - * this value may not be unset or be set further into the future, although it may be shortened - * or the resource may be deleted prior to this time. For example, a user may request that - * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination - * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard - * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the - * API. In the presence of network partitions, this object may still exist after this - * timestamp, until an administrator or automated process can determine the resource is - * fully terminated. + * from resource lists, and not reachable by name) after the time in this field, once the + * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. + * Once the deletionTimestamp is set, this value may not be unset or be set further into the + * future, although it may be shortened or the resource may be deleted prior to this time. + * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react + * by sending a graceful termination signal to the containers in the pod. After that 30 seconds, + * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, + * remove the pod from the API. In the presence of network partitions, this object may still + * exist after this timestamp, until an administrator or automated process can determine the + * resource is fully terminated. * If not set, graceful deletion of the object has not been requested. - * * Populated by the system when a graceful deletion is requested. * Read-only. * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata @@ -27092,17 +31449,17 @@ public Builder setDeletionTimestamp(io.kubernetes.client.proto.Meta.Time value) * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This * field is set by the server when a graceful deletion is requested by the user, and is not * directly settable by a client. The resource is expected to be deleted (no longer visible - * from resource lists, and not reachable by name) after the time in this field. Once set, - * this value may not be unset or be set further into the future, although it may be shortened - * or the resource may be deleted prior to this time. For example, a user may request that - * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination - * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard - * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the - * API. In the presence of network partitions, this object may still exist after this - * timestamp, until an administrator or automated process can determine the resource is - * fully terminated. + * from resource lists, and not reachable by name) after the time in this field, once the + * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. + * Once the deletionTimestamp is set, this value may not be unset or be set further into the + * future, although it may be shortened or the resource may be deleted prior to this time. + * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react + * by sending a graceful termination signal to the containers in the pod. After that 30 seconds, + * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, + * remove the pod from the API. In the presence of network partitions, this object may still + * exist after this timestamp, until an administrator or automated process can determine the + * resource is fully terminated. * If not set, graceful deletion of the object has not been requested. - * * Populated by the system when a graceful deletion is requested. * Read-only. * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata @@ -27127,17 +31484,17 @@ public Builder setDeletionTimestamp( * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This * field is set by the server when a graceful deletion is requested by the user, and is not * directly settable by a client. The resource is expected to be deleted (no longer visible - * from resource lists, and not reachable by name) after the time in this field. Once set, - * this value may not be unset or be set further into the future, although it may be shortened - * or the resource may be deleted prior to this time. For example, a user may request that - * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination - * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard - * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the - * API. In the presence of network partitions, this object may still exist after this - * timestamp, until an administrator or automated process can determine the resource is - * fully terminated. + * from resource lists, and not reachable by name) after the time in this field, once the + * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. + * Once the deletionTimestamp is set, this value may not be unset or be set further into the + * future, although it may be shortened or the resource may be deleted prior to this time. + * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react + * by sending a graceful termination signal to the containers in the pod. After that 30 seconds, + * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, + * remove the pod from the API. In the presence of network partitions, this object may still + * exist after this timestamp, until an administrator or automated process can determine the + * resource is fully terminated. * If not set, graceful deletion of the object has not been requested. - * * Populated by the system when a graceful deletion is requested. * Read-only. * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata @@ -27168,17 +31525,17 @@ public Builder mergeDeletionTimestamp(io.kubernetes.client.proto.Meta.Time value * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This * field is set by the server when a graceful deletion is requested by the user, and is not * directly settable by a client. The resource is expected to be deleted (no longer visible - * from resource lists, and not reachable by name) after the time in this field. Once set, - * this value may not be unset or be set further into the future, although it may be shortened - * or the resource may be deleted prior to this time. For example, a user may request that - * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination - * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard - * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the - * API. In the presence of network partitions, this object may still exist after this - * timestamp, until an administrator or automated process can determine the resource is - * fully terminated. + * from resource lists, and not reachable by name) after the time in this field, once the + * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. + * Once the deletionTimestamp is set, this value may not be unset or be set further into the + * future, although it may be shortened or the resource may be deleted prior to this time. + * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react + * by sending a graceful termination signal to the containers in the pod. After that 30 seconds, + * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, + * remove the pod from the API. In the presence of network partitions, this object may still + * exist after this timestamp, until an administrator or automated process can determine the + * resource is fully terminated. * If not set, graceful deletion of the object has not been requested. - * * Populated by the system when a graceful deletion is requested. * Read-only. * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata @@ -27202,17 +31559,17 @@ public Builder clearDeletionTimestamp() { * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This * field is set by the server when a graceful deletion is requested by the user, and is not * directly settable by a client. The resource is expected to be deleted (no longer visible - * from resource lists, and not reachable by name) after the time in this field. Once set, - * this value may not be unset or be set further into the future, although it may be shortened - * or the resource may be deleted prior to this time. For example, a user may request that - * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination - * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard - * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the - * API. In the presence of network partitions, this object may still exist after this - * timestamp, until an administrator or automated process can determine the resource is - * fully terminated. + * from resource lists, and not reachable by name) after the time in this field, once the + * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. + * Once the deletionTimestamp is set, this value may not be unset or be set further into the + * future, although it may be shortened or the resource may be deleted prior to this time. + * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react + * by sending a graceful termination signal to the containers in the pod. After that 30 seconds, + * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, + * remove the pod from the API. In the presence of network partitions, this object may still + * exist after this timestamp, until an administrator or automated process can determine the + * resource is fully terminated. * If not set, graceful deletion of the object has not been requested. - * * Populated by the system when a graceful deletion is requested. * Read-only. * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata @@ -27231,17 +31588,17 @@ public io.kubernetes.client.proto.Meta.Time.Builder getDeletionTimestampBuilder( * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This * field is set by the server when a graceful deletion is requested by the user, and is not * directly settable by a client. The resource is expected to be deleted (no longer visible - * from resource lists, and not reachable by name) after the time in this field. Once set, - * this value may not be unset or be set further into the future, although it may be shortened - * or the resource may be deleted prior to this time. For example, a user may request that - * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination - * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard - * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the - * API. In the presence of network partitions, this object may still exist after this - * timestamp, until an administrator or automated process can determine the resource is - * fully terminated. + * from resource lists, and not reachable by name) after the time in this field, once the + * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. + * Once the deletionTimestamp is set, this value may not be unset or be set further into the + * future, although it may be shortened or the resource may be deleted prior to this time. + * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react + * by sending a graceful termination signal to the containers in the pod. After that 30 seconds, + * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, + * remove the pod from the API. In the presence of network partitions, this object may still + * exist after this timestamp, until an administrator or automated process can determine the + * resource is fully terminated. * If not set, graceful deletion of the object has not been requested. - * * Populated by the system when a graceful deletion is requested. * Read-only. * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata @@ -27263,17 +31620,17 @@ public io.kubernetes.client.proto.Meta.TimeOrBuilder getDeletionTimestampOrBuild * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This * field is set by the server when a graceful deletion is requested by the user, and is not * directly settable by a client. The resource is expected to be deleted (no longer visible - * from resource lists, and not reachable by name) after the time in this field. Once set, - * this value may not be unset or be set further into the future, although it may be shortened - * or the resource may be deleted prior to this time. For example, a user may request that - * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination - * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard - * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the - * API. In the presence of network partitions, this object may still exist after this - * timestamp, until an administrator or automated process can determine the resource is - * fully terminated. + * from resource lists, and not reachable by name) after the time in this field, once the + * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. + * Once the deletionTimestamp is set, this value may not be unset or be set further into the + * future, although it may be shortened or the resource may be deleted prior to this time. + * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react + * by sending a graceful termination signal to the containers in the pod. After that 30 seconds, + * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, + * remove the pod from the API. In the presence of network partitions, this object may still + * exist after this timestamp, until an administrator or automated process can determine the + * resource is fully terminated. * If not set, graceful deletion of the object has not been requested. - * * Populated by the system when a graceful deletion is requested. * Read-only. * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata @@ -28148,10 +32505,10 @@ public io.kubernetes.client.proto.Meta.OwnerReference.Builder addOwnerReferences * this object has been completely initialized. Otherwise, the object is considered uninitialized * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to * observe uninitialized objects. - * * When an object is created, the system will populate this list with the current set of initializers. * Only privileged users may set or modify this list. Once it is empty, it may not be modified further * by any user. + * DEPRECATED - initializers are an alpha field and will be removed in v1.15. *
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; @@ -28166,10 +32523,10 @@ public boolean hasInitializers() { * this object has been completely initialized. Otherwise, the object is considered uninitialized * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to * observe uninitialized objects. - * * When an object is created, the system will populate this list with the current set of initializers. * Only privileged users may set or modify this list. Once it is empty, it may not be modified further * by any user. + * DEPRECATED - initializers are an alpha field and will be removed in v1.15. *
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; @@ -28188,10 +32545,10 @@ public io.kubernetes.client.proto.Meta.Initializers getInitializers() { * this object has been completely initialized. Otherwise, the object is considered uninitialized * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to * observe uninitialized objects. - * * When an object is created, the system will populate this list with the current set of initializers. * Only privileged users may set or modify this list. Once it is empty, it may not be modified further * by any user. + * DEPRECATED - initializers are an alpha field and will be removed in v1.15. * * * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; @@ -28216,10 +32573,10 @@ public Builder setInitializers(io.kubernetes.client.proto.Meta.Initializers valu * this object has been completely initialized. Otherwise, the object is considered uninitialized * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to * observe uninitialized objects. - * * When an object is created, the system will populate this list with the current set of initializers. * Only privileged users may set or modify this list. Once it is empty, it may not be modified further * by any user. + * DEPRECATED - initializers are an alpha field and will be removed in v1.15. * * * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; @@ -28242,10 +32599,10 @@ public Builder setInitializers( * this object has been completely initialized. Otherwise, the object is considered uninitialized * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to * observe uninitialized objects. - * * When an object is created, the system will populate this list with the current set of initializers. * Only privileged users may set or modify this list. Once it is empty, it may not be modified further * by any user. + * DEPRECATED - initializers are an alpha field and will be removed in v1.15. * * * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; @@ -28274,10 +32631,10 @@ public Builder mergeInitializers(io.kubernetes.client.proto.Meta.Initializers va * this object has been completely initialized. Otherwise, the object is considered uninitialized * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to * observe uninitialized objects. - * * When an object is created, the system will populate this list with the current set of initializers. * Only privileged users may set or modify this list. Once it is empty, it may not be modified further * by any user. + * DEPRECATED - initializers are an alpha field and will be removed in v1.15. * * * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; @@ -28299,10 +32656,10 @@ public Builder clearInitializers() { * this object has been completely initialized. Otherwise, the object is considered uninitialized * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to * observe uninitialized objects. - * * When an object is created, the system will populate this list with the current set of initializers. * Only privileged users may set or modify this list. Once it is empty, it may not be modified further * by any user. + * DEPRECATED - initializers are an alpha field and will be removed in v1.15. * * * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; @@ -28319,10 +32676,10 @@ public io.kubernetes.client.proto.Meta.Initializers.Builder getInitializersBuild * this object has been completely initialized. Otherwise, the object is considered uninitialized * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to * observe uninitialized objects. - * * When an object is created, the system will populate this list with the current set of initializers. * Only privileged users may set or modify this list. Once it is empty, it may not be modified further * by any user. + * DEPRECATED - initializers are an alpha field and will be removed in v1.15. * * * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; @@ -28342,10 +32699,10 @@ public io.kubernetes.client.proto.Meta.InitializersOrBuilder getInitializersOrBu * this object has been completely initialized. Otherwise, the object is considered uninitialized * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to * observe uninitialized objects. - * * When an object is created, the system will populate this list with the current set of initializers. * Only privileged users may set or modify this list. Once it is empty, it may not be modified further * by any user. + * DEPRECATED - initializers are an alpha field and will be removed in v1.15. * * * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; @@ -28655,11 +33012,13 @@ public Builder setClusterNameBytes( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -28681,11 +33040,12 @@ public static io.kubernetes.client.proto.Meta.ObjectMeta getDefaultInstance() { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public ObjectMeta parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ObjectMeta(input, extensionRegistry); + return new ObjectMeta(input, extensionRegistry); } }; @@ -28698,6 +33058,7 @@ public com.google.protobuf.Parser getParserForType() { return PARSER; } + @java.lang.Override public io.kubernetes.client.proto.Meta.ObjectMeta getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -28872,8 +33233,8 @@ public interface OwnerReferenceOrBuilder extends /** *
    * OwnerReference contains enough information to let you identify an owning
-   * object. Currently, an owning object must be in the same namespace, so there
-   * is no namespace field.
+   * object. An owning object must be in the same namespace as the dependent, or
+   * be cluster-scoped, so there is no namespace field.
    * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference} @@ -28906,6 +33267,9 @@ private OwnerReference( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -28917,13 +33281,6 @@ private OwnerReference( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; @@ -28958,6 +33315,13 @@ private OwnerReference( blockOwnerDeletion_ = input.readBool(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -28975,6 +33339,7 @@ private OwnerReference( return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_OwnerReference_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_OwnerReference_fieldAccessorTable @@ -29269,6 +33634,7 @@ public boolean getBlockOwnerDeletion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -29278,6 +33644,7 @@ public final boolean isInitialized() { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000002) == 0x00000002)) { @@ -29301,6 +33668,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -29484,6 +33852,7 @@ public static io.kubernetes.client.proto.Meta.OwnerReference parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -29491,6 +33860,7 @@ public static Builder newBuilder() { public static Builder newBuilder(io.kubernetes.client.proto.Meta.OwnerReference prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -29505,8 +33875,8 @@ protected Builder newBuilderForType( /** *
      * OwnerReference contains enough information to let you identify an owning
-     * object. Currently, an owning object must be in the same namespace, so there
-     * is no namespace field.
+     * object. An owning object must be in the same namespace as the dependent, or
+     * be cluster-scoped, so there is no namespace field.
      * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference} @@ -29520,6 +33890,7 @@ public static final class Builder extends return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_OwnerReference_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_OwnerReference_fieldAccessorTable @@ -29542,6 +33913,7 @@ private void maybeForceBuilderInitialization() { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); apiVersion_ = ""; @@ -29559,15 +33931,18 @@ public Builder clear() { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_OwnerReference_descriptor; } + @java.lang.Override public io.kubernetes.client.proto.Meta.OwnerReference getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.OwnerReference.getDefaultInstance(); } + @java.lang.Override public io.kubernetes.client.proto.Meta.OwnerReference build() { io.kubernetes.client.proto.Meta.OwnerReference result = buildPartial(); if (!result.isInitialized()) { @@ -29576,6 +33951,7 @@ public io.kubernetes.client.proto.Meta.OwnerReference build() { return result; } + @java.lang.Override public io.kubernetes.client.proto.Meta.OwnerReference buildPartial() { io.kubernetes.client.proto.Meta.OwnerReference result = new io.kubernetes.client.proto.Meta.OwnerReference(this); int from_bitField0_ = bitField0_; @@ -29609,32 +33985,39 @@ public io.kubernetes.client.proto.Meta.OwnerReference buildPartial() { return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.OwnerReference) { return mergeFrom((io.kubernetes.client.proto.Meta.OwnerReference)other); @@ -29677,10 +34060,12 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.OwnerReference other) { return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -30241,11 +34626,13 @@ public Builder clearBlockOwnerDeletion() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -30267,11 +34654,12 @@ public static io.kubernetes.client.proto.Meta.OwnerReference getDefaultInstance( @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public OwnerReference parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new OwnerReference(input, extensionRegistry); + return new OwnerReference(input, extensionRegistry); } }; @@ -30284,12 +34672,433 @@ public com.google.protobuf.Parser getParserForType() { return PARSER; } + @java.lang.Override public io.kubernetes.client.proto.Meta.OwnerReference getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } + public interface PatchOrBuilder extends + // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.Patch) + com.google.protobuf.MessageOrBuilder { + } + /** + *
+   * Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.
+   * 
+ * + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Patch} + */ + public static final class Patch extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Patch) + PatchOrBuilder { + private static final long serialVersionUID = 0L; + // Use Patch.newBuilder() to construct. + private Patch(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Patch() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Patch( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Patch_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Patch_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.kubernetes.client.proto.Meta.Patch.class, io.kubernetes.client.proto.Meta.Patch.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.kubernetes.client.proto.Meta.Patch)) { + return super.equals(obj); + } + io.kubernetes.client.proto.Meta.Patch other = (io.kubernetes.client.proto.Meta.Patch) obj; + + boolean result = true; + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.kubernetes.client.proto.Meta.Patch parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.kubernetes.client.proto.Meta.Patch parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.kubernetes.client.proto.Meta.Patch parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.kubernetes.client.proto.Meta.Patch parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.kubernetes.client.proto.Meta.Patch parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.kubernetes.client.proto.Meta.Patch parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.kubernetes.client.proto.Meta.Patch parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.kubernetes.client.proto.Meta.Patch parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static io.kubernetes.client.proto.Meta.Patch parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.kubernetes.client.proto.Meta.Patch parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static io.kubernetes.client.proto.Meta.Patch parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.kubernetes.client.proto.Meta.Patch parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.kubernetes.client.proto.Meta.Patch prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.
+     * 
+ * + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Patch} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Patch) + io.kubernetes.client.proto.Meta.PatchOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Patch_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Patch_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.kubernetes.client.proto.Meta.Patch.class, io.kubernetes.client.proto.Meta.Patch.Builder.class); + } + + // Construct using io.kubernetes.client.proto.Meta.Patch.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Patch_descriptor; + } + + @java.lang.Override + public io.kubernetes.client.proto.Meta.Patch getDefaultInstanceForType() { + return io.kubernetes.client.proto.Meta.Patch.getDefaultInstance(); + } + + @java.lang.Override + public io.kubernetes.client.proto.Meta.Patch build() { + io.kubernetes.client.proto.Meta.Patch result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.kubernetes.client.proto.Meta.Patch buildPartial() { + io.kubernetes.client.proto.Meta.Patch result = new io.kubernetes.client.proto.Meta.Patch(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.kubernetes.client.proto.Meta.Patch) { + return mergeFrom((io.kubernetes.client.proto.Meta.Patch)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.kubernetes.client.proto.Meta.Patch other) { + if (other == io.kubernetes.client.proto.Meta.Patch.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.kubernetes.client.proto.Meta.Patch parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.kubernetes.client.proto.Meta.Patch) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Patch) + } + + // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Patch) + private static final io.kubernetes.client.proto.Meta.Patch DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.Patch(); + } + + public static io.kubernetes.client.proto.Meta.Patch getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Patch parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Patch(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.kubernetes.client.proto.Meta.Patch getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + public interface PreconditionsOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions) com.google.protobuf.MessageOrBuilder { @@ -30353,6 +35162,9 @@ private Preconditions( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -30364,6 +35176,12 @@ private Preconditions( case 0: done = true; break; + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + uid_ = bs; + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -30371,12 +35189,6 @@ private Preconditions( } break; } - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - uid_ = bs; - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -30394,6 +35206,7 @@ private Preconditions( return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Preconditions_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Preconditions_fieldAccessorTable @@ -30460,6 +35273,7 @@ public java.lang.String getUid() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -30469,6 +35283,7 @@ public final boolean isInitialized() { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -30477,6 +35292,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -30596,6 +35412,7 @@ public static io.kubernetes.client.proto.Meta.Preconditions parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -30603,6 +35420,7 @@ public static Builder newBuilder() { public static Builder newBuilder(io.kubernetes.client.proto.Meta.Preconditions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -30630,6 +35448,7 @@ public static final class Builder extends return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Preconditions_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Preconditions_fieldAccessorTable @@ -30652,6 +35471,7 @@ private void maybeForceBuilderInitialization() { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); uid_ = ""; @@ -30659,15 +35479,18 @@ public Builder clear() { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Preconditions_descriptor; } + @java.lang.Override public io.kubernetes.client.proto.Meta.Preconditions getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.Preconditions.getDefaultInstance(); } + @java.lang.Override public io.kubernetes.client.proto.Meta.Preconditions build() { io.kubernetes.client.proto.Meta.Preconditions result = buildPartial(); if (!result.isInitialized()) { @@ -30676,6 +35499,7 @@ public io.kubernetes.client.proto.Meta.Preconditions build() { return result; } + @java.lang.Override public io.kubernetes.client.proto.Meta.Preconditions buildPartial() { io.kubernetes.client.proto.Meta.Preconditions result = new io.kubernetes.client.proto.Meta.Preconditions(this); int from_bitField0_ = bitField0_; @@ -30689,32 +35513,39 @@ public io.kubernetes.client.proto.Meta.Preconditions buildPartial() { return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.Preconditions) { return mergeFrom((io.kubernetes.client.proto.Meta.Preconditions)other); @@ -30736,10 +35567,12 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.Preconditions other) { return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -30864,11 +35697,13 @@ public Builder setUidBytes( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -30890,11 +35725,12 @@ public static io.kubernetes.client.proto.Meta.Preconditions getDefaultInstance() @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public Preconditions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Preconditions(input, extensionRegistry); + return new Preconditions(input, extensionRegistry); } }; @@ -30907,6 +35743,7 @@ public com.google.protobuf.Parser getParserForType() { return PARSER; } + @java.lang.Override public io.kubernetes.client.proto.Meta.Preconditions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -30983,6 +35820,9 @@ private RootPaths( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -30994,13 +35834,6 @@ private RootPaths( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { @@ -31010,6 +35843,13 @@ private RootPaths( paths_.add(bs); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -31030,6 +35870,7 @@ private RootPaths( return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_RootPaths_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_RootPaths_fieldAccessorTable @@ -31083,6 +35924,7 @@ public java.lang.String getPaths(int index) { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -31092,6 +35934,7 @@ public final boolean isInitialized() { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < paths_.size(); i++) { @@ -31100,6 +35943,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -31221,6 +36065,7 @@ public static io.kubernetes.client.proto.Meta.RootPaths parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -31228,6 +36073,7 @@ public static Builder newBuilder() { public static Builder newBuilder(io.kubernetes.client.proto.Meta.RootPaths prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -31256,6 +36102,7 @@ public static final class Builder extends return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_RootPaths_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_RootPaths_fieldAccessorTable @@ -31278,6 +36125,7 @@ private void maybeForceBuilderInitialization() { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -31285,15 +36133,18 @@ public Builder clear() { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_RootPaths_descriptor; } + @java.lang.Override public io.kubernetes.client.proto.Meta.RootPaths getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.RootPaths.getDefaultInstance(); } + @java.lang.Override public io.kubernetes.client.proto.Meta.RootPaths build() { io.kubernetes.client.proto.Meta.RootPaths result = buildPartial(); if (!result.isInitialized()) { @@ -31302,6 +36153,7 @@ public io.kubernetes.client.proto.Meta.RootPaths build() { return result; } + @java.lang.Override public io.kubernetes.client.proto.Meta.RootPaths buildPartial() { io.kubernetes.client.proto.Meta.RootPaths result = new io.kubernetes.client.proto.Meta.RootPaths(this); int from_bitField0_ = bitField0_; @@ -31314,32 +36166,39 @@ public io.kubernetes.client.proto.Meta.RootPaths buildPartial() { return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.RootPaths) { return mergeFrom((io.kubernetes.client.proto.Meta.RootPaths)other); @@ -31366,10 +36225,12 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.RootPaths other) { return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -31517,11 +36378,13 @@ public Builder addPathsBytes( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -31543,11 +36406,12 @@ public static io.kubernetes.client.proto.Meta.RootPaths getDefaultInstance() { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public RootPaths parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RootPaths(input, extensionRegistry); + return new RootPaths(input, extensionRegistry); } }; @@ -31560,6 +36424,7 @@ public com.google.protobuf.Parser getParserForType() { return PARSER; } + @java.lang.Override public io.kubernetes.client.proto.Meta.RootPaths getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -31656,6 +36521,9 @@ private ServerAddressByClientCIDR( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -31667,13 +36535,6 @@ private ServerAddressByClientCIDR( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; @@ -31686,6 +36547,13 @@ private ServerAddressByClientCIDR( serverAddress_ = bs; break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -31703,6 +36571,7 @@ private ServerAddressByClientCIDR( return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ServerAddressByClientCIDR_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ServerAddressByClientCIDR_fieldAccessorTable @@ -31823,6 +36692,7 @@ public java.lang.String getServerAddress() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -31832,6 +36702,7 @@ public final boolean isInitialized() { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -31843,6 +36714,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -31974,6 +36846,7 @@ public static io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR parseFro .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -31981,6 +36854,7 @@ public static Builder newBuilder() { public static Builder newBuilder(io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -32008,6 +36882,7 @@ public static final class Builder extends return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ServerAddressByClientCIDR_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ServerAddressByClientCIDR_fieldAccessorTable @@ -32030,6 +36905,7 @@ private void maybeForceBuilderInitialization() { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); clientCIDR_ = ""; @@ -32039,15 +36915,18 @@ public Builder clear() { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ServerAddressByClientCIDR_descriptor; } + @java.lang.Override public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.getDefaultInstance(); } + @java.lang.Override public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR build() { io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR result = buildPartial(); if (!result.isInitialized()) { @@ -32056,6 +36935,7 @@ public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR build() { return result; } + @java.lang.Override public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR buildPartial() { io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR result = new io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR(this); int from_bitField0_ = bitField0_; @@ -32073,32 +36953,39 @@ public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR buildPartial() return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR) { return mergeFrom((io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR)other); @@ -32125,10 +37012,12 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.ServerAddressByClientCI return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -32353,11 +37242,13 @@ public Builder setServerAddressBytes( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -32379,11 +37270,12 @@ public static io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR getDefau @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public ServerAddressByClientCIDR parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ServerAddressByClientCIDR(input, extensionRegistry); + return new ServerAddressByClientCIDR(input, extensionRegistry); } }; @@ -32396,6 +37288,7 @@ public com.google.protobuf.Parser getParserForType() return PARSER; } + @java.lang.Override public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -32628,6 +37521,9 @@ private Status( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -32639,13 +37535,6 @@ private Status( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { io.kubernetes.client.proto.Meta.ListMeta.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -32695,6 +37584,13 @@ private Status( code_ = input.readInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -32712,6 +37608,7 @@ private Status( return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Status_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Status_fieldAccessorTable @@ -33016,6 +37913,7 @@ public int getCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -33025,6 +37923,7 @@ public final boolean isInitialized() { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -33048,6 +37947,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -33230,6 +38130,7 @@ public static io.kubernetes.client.proto.Meta.Status parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -33237,6 +38138,7 @@ public static Builder newBuilder() { public static Builder newBuilder(io.kubernetes.client.proto.Meta.Status prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -33264,6 +38166,7 @@ public static final class Builder extends return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Status_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Status_fieldAccessorTable @@ -33288,6 +38191,7 @@ private void maybeForceBuilderInitialization() { getDetailsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); if (metadataBuilder_ == null) { @@ -33313,15 +38217,18 @@ public Builder clear() { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Status_descriptor; } + @java.lang.Override public io.kubernetes.client.proto.Meta.Status getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.Status.getDefaultInstance(); } + @java.lang.Override public io.kubernetes.client.proto.Meta.Status build() { io.kubernetes.client.proto.Meta.Status result = buildPartial(); if (!result.isInitialized()) { @@ -33330,6 +38237,7 @@ public io.kubernetes.client.proto.Meta.Status build() { return result; } + @java.lang.Override public io.kubernetes.client.proto.Meta.Status buildPartial() { io.kubernetes.client.proto.Meta.Status result = new io.kubernetes.client.proto.Meta.Status(this); int from_bitField0_ = bitField0_; @@ -33371,32 +38279,39 @@ public io.kubernetes.client.proto.Meta.Status buildPartial() { return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.Status) { return mergeFrom((io.kubernetes.client.proto.Meta.Status)other); @@ -33437,10 +38352,12 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.Status other) { return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -34221,11 +39138,13 @@ public Builder clearCode() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -34247,11 +39166,12 @@ public static io.kubernetes.client.proto.Meta.Status getDefaultInstance() { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public Status parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Status(input, extensionRegistry); + return new Status(input, extensionRegistry); } }; @@ -34264,6 +39184,7 @@ public com.google.protobuf.Parser getParserForType() { return PARSER; } + @java.lang.Override public io.kubernetes.client.proto.Meta.Status getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -34345,7 +39266,6 @@ public interface StatusCauseOrBuilder extends * Arrays are zero-indexed. Fields may appear more than once in an array of * causes due to fields having multiple errors. * Optional. - * * Examples: * "name" - the field "name" on the current resource * "items[0].name" - the field "name" on the first array entry in "items" @@ -34362,7 +39282,6 @@ public interface StatusCauseOrBuilder extends * Arrays are zero-indexed. Fields may appear more than once in an array of * causes due to fields having multiple errors. * Optional. - * * Examples: * "name" - the field "name" on the current resource * "items[0].name" - the field "name" on the first array entry in "items" @@ -34379,7 +39298,6 @@ public interface StatusCauseOrBuilder extends * Arrays are zero-indexed. Fields may appear more than once in an array of * causes due to fields having multiple errors. * Optional. - * * Examples: * "name" - the field "name" on the current resource * "items[0].name" - the field "name" on the first array entry in "items" @@ -34424,6 +39342,9 @@ private StatusCause( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -34435,13 +39356,6 @@ private StatusCause( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; @@ -34460,6 +39374,13 @@ private StatusCause( field_ = bs; break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -34477,6 +39398,7 @@ private StatusCause( return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_StatusCause_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_StatusCause_fieldAccessorTable @@ -34614,7 +39536,6 @@ public java.lang.String getMessage() { * Arrays are zero-indexed. Fields may appear more than once in an array of * causes due to fields having multiple errors. * Optional. - * * Examples: * "name" - the field "name" on the current resource * "items[0].name" - the field "name" on the first array entry in "items" @@ -34633,7 +39554,6 @@ public boolean hasField() { * Arrays are zero-indexed. Fields may appear more than once in an array of * causes due to fields having multiple errors. * Optional. - * * Examples: * "name" - the field "name" on the current resource * "items[0].name" - the field "name" on the first array entry in "items" @@ -34663,7 +39583,6 @@ public java.lang.String getField() { * Arrays are zero-indexed. Fields may appear more than once in an array of * causes due to fields having multiple errors. * Optional. - * * Examples: * "name" - the field "name" on the current resource * "items[0].name" - the field "name" on the first array entry in "items" @@ -34687,6 +39606,7 @@ public java.lang.String getField() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -34696,6 +39616,7 @@ public final boolean isInitialized() { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -34710,6 +39631,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -34853,6 +39775,7 @@ public static io.kubernetes.client.proto.Meta.StatusCause parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -34860,6 +39783,7 @@ public static Builder newBuilder() { public static Builder newBuilder(io.kubernetes.client.proto.Meta.StatusCause prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -34888,6 +39812,7 @@ public static final class Builder extends return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_StatusCause_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_StatusCause_fieldAccessorTable @@ -34910,6 +39835,7 @@ private void maybeForceBuilderInitialization() { .alwaysUseFieldBuilders) { } } + @java.lang.Override public Builder clear() { super.clear(); reason_ = ""; @@ -34921,15 +39847,18 @@ public Builder clear() { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_StatusCause_descriptor; } + @java.lang.Override public io.kubernetes.client.proto.Meta.StatusCause getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.StatusCause.getDefaultInstance(); } + @java.lang.Override public io.kubernetes.client.proto.Meta.StatusCause build() { io.kubernetes.client.proto.Meta.StatusCause result = buildPartial(); if (!result.isInitialized()) { @@ -34938,6 +39867,7 @@ public io.kubernetes.client.proto.Meta.StatusCause build() { return result; } + @java.lang.Override public io.kubernetes.client.proto.Meta.StatusCause buildPartial() { io.kubernetes.client.proto.Meta.StatusCause result = new io.kubernetes.client.proto.Meta.StatusCause(this); int from_bitField0_ = bitField0_; @@ -34959,32 +39889,39 @@ public io.kubernetes.client.proto.Meta.StatusCause buildPartial() { return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.StatusCause) { return mergeFrom((io.kubernetes.client.proto.Meta.StatusCause)other); @@ -35016,10 +39953,12 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.StatusCause other) { return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -35271,7 +40210,6 @@ public Builder setMessageBytes( * Arrays are zero-indexed. Fields may appear more than once in an array of * causes due to fields having multiple errors. * Optional. - * * Examples: * "name" - the field "name" on the current resource * "items[0].name" - the field "name" on the first array entry in "items" @@ -35290,7 +40228,6 @@ public boolean hasField() { * Arrays are zero-indexed. Fields may appear more than once in an array of * causes due to fields having multiple errors. * Optional. - * * Examples: * "name" - the field "name" on the current resource * "items[0].name" - the field "name" on the first array entry in "items" @@ -35320,7 +40257,6 @@ public java.lang.String getField() { * Arrays are zero-indexed. Fields may appear more than once in an array of * causes due to fields having multiple errors. * Optional. - * * Examples: * "name" - the field "name" on the current resource * "items[0].name" - the field "name" on the first array entry in "items" @@ -35349,7 +40285,6 @@ public java.lang.String getField() { * Arrays are zero-indexed. Fields may appear more than once in an array of * causes due to fields having multiple errors. * Optional. - * * Examples: * "name" - the field "name" on the current resource * "items[0].name" - the field "name" on the first array entry in "items" @@ -35375,7 +40310,6 @@ public Builder setField( * Arrays are zero-indexed. Fields may appear more than once in an array of * causes due to fields having multiple errors. * Optional. - * * Examples: * "name" - the field "name" on the current resource * "items[0].name" - the field "name" on the first array entry in "items" @@ -35397,7 +40331,6 @@ public Builder clearField() { * Arrays are zero-indexed. Fields may appear more than once in an array of * causes due to fields having multiple errors. * Optional. - * * Examples: * "name" - the field "name" on the current resource * "items[0].name" - the field "name" on the first array entry in "items" @@ -35416,11 +40349,13 @@ public Builder setFieldBytes( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -35442,11 +40377,12 @@ public static io.kubernetes.client.proto.Meta.StatusCause getDefaultInstance() { @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override public StatusCause parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new StatusCause(input, extensionRegistry); + return new StatusCause(input, extensionRegistry); } }; @@ -35459,6 +40395,7 @@ public com.google.protobuf.Parser getParserForType() { return PARSER; } + @java.lang.Override public io.kubernetes.client.proto.Meta.StatusCause getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -35656,7 +40593,9 @@ io.kubernetes.client.proto.Meta.StatusCauseOrBuilder getCausesOrBuilder( /** *
-     * If specified, the time in seconds before the operation should be retried.
+     * If specified, the time in seconds before the operation should be retried. Some errors may indicate
+     * the client must take an alternate action - for those errors this field may indicate how long to wait
+     * before taking the alternate action.
      * +optional
      * 
* @@ -35665,7 +40604,9 @@ io.kubernetes.client.proto.Meta.StatusCauseOrBuilder getCausesOrBuilder( boolean hasRetryAfterSeconds(); /** *
-     * If specified, the time in seconds before the operation should be retried.
+     * If specified, the time in seconds before the operation should be retried. Some errors may indicate
+     * the client must take an alternate action - for those errors this field may indicate how long to wait
+     * before taking the alternate action.
      * +optional
      * 
* @@ -35713,6 +40654,9 @@ private StatusDetails( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -35724,13 +40668,6 @@ private StatusDetails( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; @@ -35769,6 +40706,13 @@ private StatusDetails( uid_ = bs; break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -35789,6 +40733,7 @@ private StatusDetails( return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_StatusDetails_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_StatusDetails_fieldAccessorTable @@ -36109,7 +41054,9 @@ public io.kubernetes.client.proto.Meta.StatusCauseOrBuilder getCausesOrBuilder( private int retryAfterSeconds_; /** *
-     * If specified, the time in seconds before the operation should be retried.
+     * If specified, the time in seconds before the operation should be retried. Some errors may indicate
+     * the client must take an alternate action - for those errors this field may indicate how long to wait
+     * before taking the alternate action.
      * +optional
      * 
* @@ -36120,7 +41067,9 @@ public boolean hasRetryAfterSeconds() { } /** *
-     * If specified, the time in seconds before the operation should be retried.
+     * If specified, the time in seconds before the operation should be retried. Some errors may indicate
+     * the client must take an alternate action - for those errors this field may indicate how long to wait
+     * before taking the alternate action.
      * +optional
      * 
* @@ -36131,6 +41080,7 @@ public int getRetryAfterSeconds() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -36140,6 +41090,7 @@ public final boolean isInitialized() { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { @@ -36163,6 +41114,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) unknownFields.writeTo(output); } + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -36341,6 +41293,7 @@ public static io.kubernetes.client.proto.Meta.StatusDetails parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); @@ -36348,6 +41301,7 @@ public static Builder newBuilder() { public static Builder newBuilder(io.kubernetes.client.proto.Meta.StatusDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); @@ -36380,6 +41334,7 @@ public static final class Builder extends return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_StatusDetails_descriptor; } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_StatusDetails_fieldAccessorTable @@ -36403,6 +41358,7 @@ private void maybeForceBuilderInitialization() { getCausesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); name_ = ""; @@ -36424,15 +41380,18 @@ public Builder clear() { return this; } + @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_StatusDetails_descriptor; } + @java.lang.Override public io.kubernetes.client.proto.Meta.StatusDetails getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.StatusDetails.getDefaultInstance(); } + @java.lang.Override public io.kubernetes.client.proto.Meta.StatusDetails build() { io.kubernetes.client.proto.Meta.StatusDetails result = buildPartial(); if (!result.isInitialized()) { @@ -36441,6 +41400,7 @@ public io.kubernetes.client.proto.Meta.StatusDetails build() { return result; } + @java.lang.Override public io.kubernetes.client.proto.Meta.StatusDetails buildPartial() { io.kubernetes.client.proto.Meta.StatusDetails result = new io.kubernetes.client.proto.Meta.StatusDetails(this); int from_bitField0_ = bitField0_; @@ -36479,32 +41439,39 @@ public io.kubernetes.client.proto.Meta.StatusDetails buildPartial() { return result; } + @java.lang.Override public Builder clone() { return (Builder) super.clone(); } + @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } + @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } + @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.StatusDetails) { return mergeFrom((io.kubernetes.client.proto.Meta.StatusDetails)other); @@ -36570,10 +41537,12 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.StatusDetails other) { return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -37093,410 +42062,1137 @@ public int getCausesCount() { } /** *
-       * The Causes array includes more details associated with the StatusReason
-       * failure. Not all StatusReasons may provide detailed causes.
+       * The Causes array includes more details associated with the StatusReason
+       * failure. Not all StatusReasons may provide detailed causes.
+       * +optional
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; + */ + public io.kubernetes.client.proto.Meta.StatusCause getCauses(int index) { + if (causesBuilder_ == null) { + return causes_.get(index); + } else { + return causesBuilder_.getMessage(index); + } + } + /** + *
+       * The Causes array includes more details associated with the StatusReason
+       * failure. Not all StatusReasons may provide detailed causes.
+       * +optional
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; + */ + public Builder setCauses( + int index, io.kubernetes.client.proto.Meta.StatusCause value) { + if (causesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCausesIsMutable(); + causes_.set(index, value); + onChanged(); + } else { + causesBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * The Causes array includes more details associated with the StatusReason
+       * failure. Not all StatusReasons may provide detailed causes.
+       * +optional
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; + */ + public Builder setCauses( + int index, io.kubernetes.client.proto.Meta.StatusCause.Builder builderForValue) { + if (causesBuilder_ == null) { + ensureCausesIsMutable(); + causes_.set(index, builderForValue.build()); + onChanged(); + } else { + causesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * The Causes array includes more details associated with the StatusReason
+       * failure. Not all StatusReasons may provide detailed causes.
+       * +optional
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; + */ + public Builder addCauses(io.kubernetes.client.proto.Meta.StatusCause value) { + if (causesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCausesIsMutable(); + causes_.add(value); + onChanged(); + } else { + causesBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * The Causes array includes more details associated with the StatusReason
+       * failure. Not all StatusReasons may provide detailed causes.
+       * +optional
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; + */ + public Builder addCauses( + int index, io.kubernetes.client.proto.Meta.StatusCause value) { + if (causesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCausesIsMutable(); + causes_.add(index, value); + onChanged(); + } else { + causesBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * The Causes array includes more details associated with the StatusReason
+       * failure. Not all StatusReasons may provide detailed causes.
+       * +optional
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; + */ + public Builder addCauses( + io.kubernetes.client.proto.Meta.StatusCause.Builder builderForValue) { + if (causesBuilder_ == null) { + ensureCausesIsMutable(); + causes_.add(builderForValue.build()); + onChanged(); + } else { + causesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * The Causes array includes more details associated with the StatusReason
+       * failure. Not all StatusReasons may provide detailed causes.
+       * +optional
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; + */ + public Builder addCauses( + int index, io.kubernetes.client.proto.Meta.StatusCause.Builder builderForValue) { + if (causesBuilder_ == null) { + ensureCausesIsMutable(); + causes_.add(index, builderForValue.build()); + onChanged(); + } else { + causesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * The Causes array includes more details associated with the StatusReason
+       * failure. Not all StatusReasons may provide detailed causes.
+       * +optional
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; + */ + public Builder addAllCauses( + java.lang.Iterable values) { + if (causesBuilder_ == null) { + ensureCausesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, causes_); + onChanged(); + } else { + causesBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * The Causes array includes more details associated with the StatusReason
+       * failure. Not all StatusReasons may provide detailed causes.
+       * +optional
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; + */ + public Builder clearCauses() { + if (causesBuilder_ == null) { + causes_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + } else { + causesBuilder_.clear(); + } + return this; + } + /** + *
+       * The Causes array includes more details associated with the StatusReason
+       * failure. Not all StatusReasons may provide detailed causes.
+       * +optional
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; + */ + public Builder removeCauses(int index) { + if (causesBuilder_ == null) { + ensureCausesIsMutable(); + causes_.remove(index); + onChanged(); + } else { + causesBuilder_.remove(index); + } + return this; + } + /** + *
+       * The Causes array includes more details associated with the StatusReason
+       * failure. Not all StatusReasons may provide detailed causes.
+       * +optional
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; + */ + public io.kubernetes.client.proto.Meta.StatusCause.Builder getCausesBuilder( + int index) { + return getCausesFieldBuilder().getBuilder(index); + } + /** + *
+       * The Causes array includes more details associated with the StatusReason
+       * failure. Not all StatusReasons may provide detailed causes.
+       * +optional
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; + */ + public io.kubernetes.client.proto.Meta.StatusCauseOrBuilder getCausesOrBuilder( + int index) { + if (causesBuilder_ == null) { + return causes_.get(index); } else { + return causesBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * The Causes array includes more details associated with the StatusReason
+       * failure. Not all StatusReasons may provide detailed causes.
+       * +optional
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; + */ + public java.util.List + getCausesOrBuilderList() { + if (causesBuilder_ != null) { + return causesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(causes_); + } + } + /** + *
+       * The Causes array includes more details associated with the StatusReason
+       * failure. Not all StatusReasons may provide detailed causes.
+       * +optional
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; + */ + public io.kubernetes.client.proto.Meta.StatusCause.Builder addCausesBuilder() { + return getCausesFieldBuilder().addBuilder( + io.kubernetes.client.proto.Meta.StatusCause.getDefaultInstance()); + } + /** + *
+       * The Causes array includes more details associated with the StatusReason
+       * failure. Not all StatusReasons may provide detailed causes.
+       * +optional
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; + */ + public io.kubernetes.client.proto.Meta.StatusCause.Builder addCausesBuilder( + int index) { + return getCausesFieldBuilder().addBuilder( + index, io.kubernetes.client.proto.Meta.StatusCause.getDefaultInstance()); + } + /** + *
+       * The Causes array includes more details associated with the StatusReason
+       * failure. Not all StatusReasons may provide detailed causes.
+       * +optional
+       * 
+ * + * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; + */ + public java.util.List + getCausesBuilderList() { + return getCausesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + io.kubernetes.client.proto.Meta.StatusCause, io.kubernetes.client.proto.Meta.StatusCause.Builder, io.kubernetes.client.proto.Meta.StatusCauseOrBuilder> + getCausesFieldBuilder() { + if (causesBuilder_ == null) { + causesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + io.kubernetes.client.proto.Meta.StatusCause, io.kubernetes.client.proto.Meta.StatusCause.Builder, io.kubernetes.client.proto.Meta.StatusCauseOrBuilder>( + causes_, + ((bitField0_ & 0x00000010) == 0x00000010), + getParentForChildren(), + isClean()); + causes_ = null; + } + return causesBuilder_; + } + + private int retryAfterSeconds_ ; + /** + *
+       * If specified, the time in seconds before the operation should be retried. Some errors may indicate
+       * the client must take an alternate action - for those errors this field may indicate how long to wait
+       * before taking the alternate action.
        * +optional
        * 
* - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; + * optional int32 retryAfterSeconds = 5; */ - public io.kubernetes.client.proto.Meta.StatusCause getCauses(int index) { - if (causesBuilder_ == null) { - return causes_.get(index); - } else { - return causesBuilder_.getMessage(index); - } + public boolean hasRetryAfterSeconds() { + return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
-       * The Causes array includes more details associated with the StatusReason
-       * failure. Not all StatusReasons may provide detailed causes.
+       * If specified, the time in seconds before the operation should be retried. Some errors may indicate
+       * the client must take an alternate action - for those errors this field may indicate how long to wait
+       * before taking the alternate action.
        * +optional
        * 
* - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; + * optional int32 retryAfterSeconds = 5; */ - public Builder setCauses( - int index, io.kubernetes.client.proto.Meta.StatusCause value) { - if (causesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureCausesIsMutable(); - causes_.set(index, value); - onChanged(); - } else { - causesBuilder_.setMessage(index, value); - } - return this; + public int getRetryAfterSeconds() { + return retryAfterSeconds_; } /** *
-       * The Causes array includes more details associated with the StatusReason
-       * failure. Not all StatusReasons may provide detailed causes.
+       * If specified, the time in seconds before the operation should be retried. Some errors may indicate
+       * the client must take an alternate action - for those errors this field may indicate how long to wait
+       * before taking the alternate action.
        * +optional
        * 
* - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; + * optional int32 retryAfterSeconds = 5; */ - public Builder setCauses( - int index, io.kubernetes.client.proto.Meta.StatusCause.Builder builderForValue) { - if (causesBuilder_ == null) { - ensureCausesIsMutable(); - causes_.set(index, builderForValue.build()); - onChanged(); - } else { - causesBuilder_.setMessage(index, builderForValue.build()); - } + public Builder setRetryAfterSeconds(int value) { + bitField0_ |= 0x00000020; + retryAfterSeconds_ = value; + onChanged(); return this; } /** *
-       * The Causes array includes more details associated with the StatusReason
-       * failure. Not all StatusReasons may provide detailed causes.
+       * If specified, the time in seconds before the operation should be retried. Some errors may indicate
+       * the client must take an alternate action - for those errors this field may indicate how long to wait
+       * before taking the alternate action.
        * +optional
        * 
* - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; + * optional int32 retryAfterSeconds = 5; */ - public Builder addCauses(io.kubernetes.client.proto.Meta.StatusCause value) { - if (causesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); + public Builder clearRetryAfterSeconds() { + bitField0_ = (bitField0_ & ~0x00000020); + retryAfterSeconds_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails) + } + + // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails) + private static final io.kubernetes.client.proto.Meta.StatusDetails DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.StatusDetails(); + } + + public static io.kubernetes.client.proto.Meta.StatusDetails getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StatusDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StatusDetails(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.kubernetes.client.proto.Meta.StatusDetails getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface TimeOrBuilder extends + // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.Time) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Represents seconds of UTC time since Unix epoch
+     * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
+     * 9999-12-31T23:59:59Z inclusive.
+     * 
+ * + * optional int64 seconds = 1; + */ + boolean hasSeconds(); + /** + *
+     * Represents seconds of UTC time since Unix epoch
+     * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
+     * 9999-12-31T23:59:59Z inclusive.
+     * 
+ * + * optional int64 seconds = 1; + */ + long getSeconds(); + + /** + *
+     * Non-negative fractions of a second at nanosecond resolution. Negative
+     * second values with fractions must still have non-negative nanos values
+     * that count forward in time. Must be from 0 to 999,999,999
+     * inclusive. This field may be limited in precision depending on context.
+     * 
+ * + * optional int32 nanos = 2; + */ + boolean hasNanos(); + /** + *
+     * Non-negative fractions of a second at nanosecond resolution. Negative
+     * second values with fractions must still have non-negative nanos values
+     * that count forward in time. Must be from 0 to 999,999,999
+     * inclusive. This field may be limited in precision depending on context.
+     * 
+ * + * optional int32 nanos = 2; + */ + int getNanos(); + } + /** + *
+   * Time is a wrapper around time.Time which supports correct
+   * marshaling to YAML and JSON.  Wrappers are provided for many
+   * of the factory methods that the time package offers.
+   * +protobuf.options.marshal=false
+   * +protobuf.as=Timestamp
+   * +protobuf.options.(gogoproto.goproto_stringer)=false
+   * 
+ * + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Time} + */ + public static final class Time extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Time) + TimeOrBuilder { + private static final long serialVersionUID = 0L; + // Use Time.newBuilder() to construct. + private Time(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Time() { + seconds_ = 0L; + nanos_ = 0; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Time( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + bitField0_ |= 0x00000001; + seconds_ = input.readInt64(); + break; + } + case 16: { + bitField0_ |= 0x00000002; + nanos_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } - ensureCausesIsMutable(); - causes_.add(value); - onChanged(); - } else { - causesBuilder_.addMessage(value); } - return this; + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Time_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Time_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.kubernetes.client.proto.Meta.Time.class, io.kubernetes.client.proto.Meta.Time.Builder.class); + } + + private int bitField0_; + public static final int SECONDS_FIELD_NUMBER = 1; + private long seconds_; + /** + *
+     * Represents seconds of UTC time since Unix epoch
+     * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
+     * 9999-12-31T23:59:59Z inclusive.
+     * 
+ * + * optional int64 seconds = 1; + */ + public boolean hasSeconds() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + *
+     * Represents seconds of UTC time since Unix epoch
+     * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
+     * 9999-12-31T23:59:59Z inclusive.
+     * 
+ * + * optional int64 seconds = 1; + */ + public long getSeconds() { + return seconds_; + } + + public static final int NANOS_FIELD_NUMBER = 2; + private int nanos_; + /** + *
+     * Non-negative fractions of a second at nanosecond resolution. Negative
+     * second values with fractions must still have non-negative nanos values
+     * that count forward in time. Must be from 0 to 999,999,999
+     * inclusive. This field may be limited in precision depending on context.
+     * 
+ * + * optional int32 nanos = 2; + */ + public boolean hasNanos() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + *
+     * Non-negative fractions of a second at nanosecond resolution. Negative
+     * second values with fractions must still have non-negative nanos values
+     * that count forward in time. Must be from 0 to 999,999,999
+     * inclusive. This field may be limited in precision depending on context.
+     * 
+ * + * optional int32 nanos = 2; + */ + public int getNanos() { + return nanos_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeInt64(1, seconds_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeInt32(2, nanos_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, seconds_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, nanos_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.kubernetes.client.proto.Meta.Time)) { + return super.equals(obj); + } + io.kubernetes.client.proto.Meta.Time other = (io.kubernetes.client.proto.Meta.Time) obj; + + boolean result = true; + result = result && (hasSeconds() == other.hasSeconds()); + if (hasSeconds()) { + result = result && (getSeconds() + == other.getSeconds()); + } + result = result && (hasNanos() == other.hasNanos()); + if (hasNanos()) { + result = result && (getNanos() + == other.getNanos()); + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasSeconds()) { + hash = (37 * hash) + SECONDS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSeconds()); + } + if (hasNanos()) { + hash = (37 * hash) + NANOS_FIELD_NUMBER; + hash = (53 * hash) + getNanos(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.kubernetes.client.proto.Meta.Time parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.kubernetes.client.proto.Meta.Time parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.kubernetes.client.proto.Meta.Time parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.kubernetes.client.proto.Meta.Time parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.kubernetes.client.proto.Meta.Time parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.kubernetes.client.proto.Meta.Time parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.kubernetes.client.proto.Meta.Time parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.kubernetes.client.proto.Meta.Time parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static io.kubernetes.client.proto.Meta.Time parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.kubernetes.client.proto.Meta.Time parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static io.kubernetes.client.proto.Meta.Time parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.kubernetes.client.proto.Meta.Time parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.kubernetes.client.proto.Meta.Time prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Time is a wrapper around time.Time which supports correct
+     * marshaling to YAML and JSON.  Wrappers are provided for many
+     * of the factory methods that the time package offers.
+     * +protobuf.options.marshal=false
+     * +protobuf.as=Timestamp
+     * +protobuf.options.(gogoproto.goproto_stringer)=false
+     * 
+ * + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Time} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Time) + io.kubernetes.client.proto.Meta.TimeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Time_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Time_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.kubernetes.client.proto.Meta.Time.class, io.kubernetes.client.proto.Meta.Time.Builder.class); } - /** - *
-       * The Causes array includes more details associated with the StatusReason
-       * failure. Not all StatusReasons may provide detailed causes.
-       * +optional
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; - */ - public Builder addCauses( - int index, io.kubernetes.client.proto.Meta.StatusCause value) { - if (causesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureCausesIsMutable(); - causes_.add(index, value); - onChanged(); - } else { - causesBuilder_.addMessage(index, value); - } - return this; + + // Construct using io.kubernetes.client.proto.Meta.Time.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); } - /** - *
-       * The Causes array includes more details associated with the StatusReason
-       * failure. Not all StatusReasons may provide detailed causes.
-       * +optional
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; - */ - public Builder addCauses( - io.kubernetes.client.proto.Meta.StatusCause.Builder builderForValue) { - if (causesBuilder_ == null) { - ensureCausesIsMutable(); - causes_.add(builderForValue.build()); - onChanged(); - } else { - causesBuilder_.addMessage(builderForValue.build()); + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } + } + @java.lang.Override + public Builder clear() { + super.clear(); + seconds_ = 0L; + bitField0_ = (bitField0_ & ~0x00000001); + nanos_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); return this; } - /** - *
-       * The Causes array includes more details associated with the StatusReason
-       * failure. Not all StatusReasons may provide detailed causes.
-       * +optional
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; - */ - public Builder addCauses( - int index, io.kubernetes.client.proto.Meta.StatusCause.Builder builderForValue) { - if (causesBuilder_ == null) { - ensureCausesIsMutable(); - causes_.add(index, builderForValue.build()); - onChanged(); - } else { - causesBuilder_.addMessage(index, builderForValue.build()); + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Time_descriptor; + } + + @java.lang.Override + public io.kubernetes.client.proto.Meta.Time getDefaultInstanceForType() { + return io.kubernetes.client.proto.Meta.Time.getDefaultInstance(); + } + + @java.lang.Override + public io.kubernetes.client.proto.Meta.Time build() { + io.kubernetes.client.proto.Meta.Time result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); } - return this; + return result; } - /** - *
-       * The Causes array includes more details associated with the StatusReason
-       * failure. Not all StatusReasons may provide detailed causes.
-       * +optional
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; - */ - public Builder addAllCauses( - java.lang.Iterable values) { - if (causesBuilder_ == null) { - ensureCausesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, causes_); - onChanged(); - } else { - causesBuilder_.addAllMessages(values); + + @java.lang.Override + public io.kubernetes.client.proto.Meta.Time buildPartial() { + io.kubernetes.client.proto.Meta.Time result = new io.kubernetes.client.proto.Meta.Time(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; } - return this; + result.seconds_ = seconds_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.nanos_ = nanos_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; } - /** - *
-       * The Causes array includes more details associated with the StatusReason
-       * failure. Not all StatusReasons may provide detailed causes.
-       * +optional
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; - */ - public Builder clearCauses() { - if (causesBuilder_ == null) { - causes_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.kubernetes.client.proto.Meta.Time) { + return mergeFrom((io.kubernetes.client.proto.Meta.Time)other); } else { - causesBuilder_.clear(); + super.mergeFrom(other); + return this; } - return this; } - /** - *
-       * The Causes array includes more details associated with the StatusReason
-       * failure. Not all StatusReasons may provide detailed causes.
-       * +optional
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; - */ - public Builder removeCauses(int index) { - if (causesBuilder_ == null) { - ensureCausesIsMutable(); - causes_.remove(index); - onChanged(); - } else { - causesBuilder_.remove(index); + + public Builder mergeFrom(io.kubernetes.client.proto.Meta.Time other) { + if (other == io.kubernetes.client.proto.Meta.Time.getDefaultInstance()) return this; + if (other.hasSeconds()) { + setSeconds(other.getSeconds()); } + if (other.hasNanos()) { + setNanos(other.getNanos()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } - /** - *
-       * The Causes array includes more details associated with the StatusReason
-       * failure. Not all StatusReasons may provide detailed causes.
-       * +optional
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; - */ - public io.kubernetes.client.proto.Meta.StatusCause.Builder getCausesBuilder( - int index) { - return getCausesFieldBuilder().getBuilder(index); + + @java.lang.Override + public final boolean isInitialized() { + return true; } - /** - *
-       * The Causes array includes more details associated with the StatusReason
-       * failure. Not all StatusReasons may provide detailed causes.
-       * +optional
-       * 
- * - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; - */ - public io.kubernetes.client.proto.Meta.StatusCauseOrBuilder getCausesOrBuilder( - int index) { - if (causesBuilder_ == null) { - return causes_.get(index); } else { - return causesBuilder_.getMessageOrBuilder(index); + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.kubernetes.client.proto.Meta.Time parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.kubernetes.client.proto.Meta.Time) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } } + return this; } + private int bitField0_; + + private long seconds_ ; /** *
-       * The Causes array includes more details associated with the StatusReason
-       * failure. Not all StatusReasons may provide detailed causes.
-       * +optional
+       * Represents seconds of UTC time since Unix epoch
+       * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
+       * 9999-12-31T23:59:59Z inclusive.
        * 
* - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; + * optional int64 seconds = 1; */ - public java.util.List - getCausesOrBuilderList() { - if (causesBuilder_ != null) { - return causesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(causes_); - } + public boolean hasSeconds() { + return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
-       * The Causes array includes more details associated with the StatusReason
-       * failure. Not all StatusReasons may provide detailed causes.
-       * +optional
+       * Represents seconds of UTC time since Unix epoch
+       * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
+       * 9999-12-31T23:59:59Z inclusive.
        * 
* - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; + * optional int64 seconds = 1; */ - public io.kubernetes.client.proto.Meta.StatusCause.Builder addCausesBuilder() { - return getCausesFieldBuilder().addBuilder( - io.kubernetes.client.proto.Meta.StatusCause.getDefaultInstance()); + public long getSeconds() { + return seconds_; } /** *
-       * The Causes array includes more details associated with the StatusReason
-       * failure. Not all StatusReasons may provide detailed causes.
-       * +optional
+       * Represents seconds of UTC time since Unix epoch
+       * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
+       * 9999-12-31T23:59:59Z inclusive.
        * 
* - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; + * optional int64 seconds = 1; */ - public io.kubernetes.client.proto.Meta.StatusCause.Builder addCausesBuilder( - int index) { - return getCausesFieldBuilder().addBuilder( - index, io.kubernetes.client.proto.Meta.StatusCause.getDefaultInstance()); + public Builder setSeconds(long value) { + bitField0_ |= 0x00000001; + seconds_ = value; + onChanged(); + return this; } /** *
-       * The Causes array includes more details associated with the StatusReason
-       * failure. Not all StatusReasons may provide detailed causes.
-       * +optional
+       * Represents seconds of UTC time since Unix epoch
+       * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
+       * 9999-12-31T23:59:59Z inclusive.
        * 
* - * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; + * optional int64 seconds = 1; */ - public java.util.List - getCausesBuilderList() { - return getCausesFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.kubernetes.client.proto.Meta.StatusCause, io.kubernetes.client.proto.Meta.StatusCause.Builder, io.kubernetes.client.proto.Meta.StatusCauseOrBuilder> - getCausesFieldBuilder() { - if (causesBuilder_ == null) { - causesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.kubernetes.client.proto.Meta.StatusCause, io.kubernetes.client.proto.Meta.StatusCause.Builder, io.kubernetes.client.proto.Meta.StatusCauseOrBuilder>( - causes_, - ((bitField0_ & 0x00000010) == 0x00000010), - getParentForChildren(), - isClean()); - causes_ = null; - } - return causesBuilder_; + public Builder clearSeconds() { + bitField0_ = (bitField0_ & ~0x00000001); + seconds_ = 0L; + onChanged(); + return this; } - private int retryAfterSeconds_ ; + private int nanos_ ; /** *
-       * If specified, the time in seconds before the operation should be retried.
-       * +optional
+       * Non-negative fractions of a second at nanosecond resolution. Negative
+       * second values with fractions must still have non-negative nanos values
+       * that count forward in time. Must be from 0 to 999,999,999
+       * inclusive. This field may be limited in precision depending on context.
        * 
* - * optional int32 retryAfterSeconds = 5; + * optional int32 nanos = 2; */ - public boolean hasRetryAfterSeconds() { - return ((bitField0_ & 0x00000020) == 0x00000020); + public boolean hasNanos() { + return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
-       * If specified, the time in seconds before the operation should be retried.
-       * +optional
+       * Non-negative fractions of a second at nanosecond resolution. Negative
+       * second values with fractions must still have non-negative nanos values
+       * that count forward in time. Must be from 0 to 999,999,999
+       * inclusive. This field may be limited in precision depending on context.
        * 
* - * optional int32 retryAfterSeconds = 5; + * optional int32 nanos = 2; */ - public int getRetryAfterSeconds() { - return retryAfterSeconds_; + public int getNanos() { + return nanos_; } /** *
-       * If specified, the time in seconds before the operation should be retried.
-       * +optional
+       * Non-negative fractions of a second at nanosecond resolution. Negative
+       * second values with fractions must still have non-negative nanos values
+       * that count forward in time. Must be from 0 to 999,999,999
+       * inclusive. This field may be limited in precision depending on context.
        * 
* - * optional int32 retryAfterSeconds = 5; + * optional int32 nanos = 2; */ - public Builder setRetryAfterSeconds(int value) { - bitField0_ |= 0x00000020; - retryAfterSeconds_ = value; + public Builder setNanos(int value) { + bitField0_ |= 0x00000002; + nanos_ = value; onChanged(); return this; } /** *
-       * If specified, the time in seconds before the operation should be retried.
-       * +optional
+       * Non-negative fractions of a second at nanosecond resolution. Negative
+       * second values with fractions must still have non-negative nanos values
+       * that count forward in time. Must be from 0 to 999,999,999
+       * inclusive. This field may be limited in precision depending on context.
        * 
* - * optional int32 retryAfterSeconds = 5; + * optional int32 nanos = 2; */ - public Builder clearRetryAfterSeconds() { - bitField0_ = (bitField0_ & ~0x00000020); - retryAfterSeconds_ = 0; + public Builder clearNanos() { + bitField0_ = (bitField0_ & ~0x00000002); + nanos_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails) + // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Time) } - // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails) - private static final io.kubernetes.client.proto.Meta.StatusDetails DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Time) + private static final io.kubernetes.client.proto.Meta.Time DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.StatusDetails(); + DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.Time(); } - public static io.kubernetes.client.proto.Meta.StatusDetails getDefaultInstance() { + public static io.kubernetes.client.proto.Meta.Time getDefaultInstance() { return DEFAULT_INSTANCE; } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - public StatusDetails parsePartialFrom( + @java.lang.Deprecated public static final com.google.protobuf.Parser