optional int64 type = 1;
- * @return Whether the type field is set.
*/
boolean hasType();
/**
* optional int64 type = 1;
- * @return The type.
*/
long getType();
/**
* optional int32 intVal = 2;
- * @return Whether the intVal field is set.
*/
boolean hasIntVal();
/**
* optional int32 intVal = 2;
- * @return The intVal.
*/
int getIntVal();
/**
* optional string strVal = 3;
- * @return Whether the strVal field is set.
*/
boolean hasStrVal();
/**
* optional string strVal = 3;
- * @return The strVal.
*/
java.lang.String getStrVal();
/**
* optional string strVal = 3;
- * @return The bytes for strVal.
*/
com.google.protobuf.ByteString
getStrValBytes();
@@ -74,43 +57,95 @@ 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
+ * +k8s:openapi-model-package=io.k8s.apimachinery.pkg.util.intstr
*
*
* Protobuf type {@code k8s.io.apimachinery.pkg.util.intstr.IntOrString}
*/
- public static final class IntOrString extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class IntOrString extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.util.intstr.IntOrString)
IntOrStringOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- IntOrString.class.getName());
- }
// Use IntOrString.newBuilder() to construct.
- private IntOrString(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private IntOrString(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private IntOrString() {
+ type_ = 0L;
+ intVal_ = 0;
strVal_ = "";
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private IntOrString(
+ 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;
+ type_ = input.readInt64();
+ break;
+ }
+ case 16: {
+ bitField0_ |= 0x00000002;
+ intVal_ = input.readInt32();
+ break;
+ }
+ case 26: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000004;
+ strVal_ = 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.IntStr.internal_static_k8s_io_apimachinery_pkg_util_intstr_IntOrString_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.IntStr.internal_static_k8s_io_apimachinery_pkg_util_intstr_IntOrString_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -119,59 +154,46 @@ private IntOrString() {
private int bitField0_;
public static final int TYPE_FIELD_NUMBER = 1;
- private long type_ = 0L;
+ private long type_;
/**
* optional int64 type = 1;
- * @return Whether the type field is set.
*/
- @java.lang.Override
public boolean hasType() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int64 type = 1;
- * @return The type.
*/
- @java.lang.Override
public long getType() {
return type_;
}
public static final int INTVAL_FIELD_NUMBER = 2;
- private int intVal_ = 0;
+ private int intVal_;
/**
* optional int32 intVal = 2;
- * @return Whether the intVal field is set.
*/
- @java.lang.Override
public boolean hasIntVal() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 intVal = 2;
- * @return The intVal.
*/
- @java.lang.Override
public int getIntVal() {
return intVal_;
}
public static final int STRVAL_FIELD_NUMBER = 3;
- @SuppressWarnings("serial")
- private volatile java.lang.Object strVal_ = "";
+ private volatile java.lang.Object strVal_;
/**
* optional string strVal = 3;
- * @return Whether the strVal field is set.
*/
- @java.lang.Override
public boolean hasStrVal() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string strVal = 3;
- * @return The strVal.
*/
- @java.lang.Override
public java.lang.String getStrVal() {
java.lang.Object ref = strVal_;
if (ref instanceof java.lang.String) {
@@ -188,9 +210,7 @@ public java.lang.String getStrVal() {
}
/**
* optional string strVal = 3;
- * @return The bytes for strVal.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getStrValBytes() {
java.lang.Object ref = strVal_;
@@ -219,16 +239,16 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt64(1, type_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, intVal_);
}
- if (((bitField0_ & 0x00000004) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 3, strVal_);
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, strVal_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -237,18 +257,18 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, type_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, intVal_);
}
- if (((bitField0_ & 0x00000004) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(3, strVal_);
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, strVal_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -263,23 +283,24 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.IntStr.IntOrString other = (io.kubernetes.client.proto.IntStr.IntOrString) obj;
- if (hasType() != other.hasType()) return false;
+ boolean result = true;
+ result = result && (hasType() == other.hasType());
if (hasType()) {
- if (getType()
- != other.getType()) return false;
+ result = result && (getType()
+ == other.getType());
}
- if (hasIntVal() != other.hasIntVal()) return false;
+ result = result && (hasIntVal() == other.hasIntVal());
if (hasIntVal()) {
- if (getIntVal()
- != other.getIntVal()) return false;
+ result = result && (getIntVal()
+ == other.getIntVal());
}
- if (hasStrVal() != other.hasStrVal()) return false;
+ result = result && (hasStrVal() == other.hasStrVal());
if (hasStrVal()) {
- if (!getStrVal()
- .equals(other.getStrVal())) return false;
+ result = result && getStrVal()
+ .equals(other.getStrVal());
}
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -302,7 +323,7 @@ public int hashCode() {
hash = (37 * hash) + STRVAL_FIELD_NUMBER;
hash = (53 * hash) + getStrVal().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -341,41 +362,39 @@ public static io.kubernetes.client.proto.IntStr.IntOrString parseFrom(
}
public static io.kubernetes.client.proto.IntStr.IntOrString parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.IntStr.IntOrString parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.IntStr.IntOrString parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
public static io.kubernetes.client.proto.IntStr.IntOrString parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.IntStr.IntOrString parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.IntStr.IntOrString parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -395,7 +414,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -406,16 +425,16 @@ 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
+ * +k8s:openapi-model-package=io.k8s.apimachinery.pkg.util.intstr
*
*
* Protobuf type {@code k8s.io.apimachinery.pkg.util.intstr.IntOrString}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional int64 type = 1;
- * @return Whether the type field is set.
*/
- @java.lang.Override
public boolean hasType() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int64 type = 1;
- * @return The type.
*/
- @java.lang.Override
public long getType() {
return type_;
}
/**
* optional int64 type = 1;
- * @param value The type to set.
- * @return This builder for chaining.
*/
public Builder setType(long value) {
-
- type_ = value;
bitField0_ |= 0x00000001;
+ type_ = value;
onChanged();
return this;
}
/**
* optional int64 type = 1;
- * @return This builder for chaining.
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -621,35 +639,27 @@ public Builder clearType() {
private int intVal_ ;
/**
* optional int32 intVal = 2;
- * @return Whether the intVal field is set.
*/
- @java.lang.Override
public boolean hasIntVal() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 intVal = 2;
- * @return The intVal.
*/
- @java.lang.Override
public int getIntVal() {
return intVal_;
}
/**
* optional int32 intVal = 2;
- * @param value The intVal to set.
- * @return This builder for chaining.
*/
public Builder setIntVal(int value) {
-
- intVal_ = value;
bitField0_ |= 0x00000002;
+ intVal_ = value;
onChanged();
return this;
}
/**
* optional int32 intVal = 2;
- * @return This builder for chaining.
*/
public Builder clearIntVal() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -661,14 +671,12 @@ public Builder clearIntVal() {
private java.lang.Object strVal_ = "";
/**
* optional string strVal = 3;
- * @return Whether the strVal field is set.
*/
public boolean hasStrVal() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string strVal = 3;
- * @return The strVal.
*/
public java.lang.String getStrVal() {
java.lang.Object ref = strVal_;
@@ -686,7 +694,6 @@ public java.lang.String getStrVal() {
}
/**
* optional string strVal = 3;
- * @return The bytes for strVal.
*/
public com.google.protobuf.ByteString
getStrValBytes() {
@@ -703,40 +710,51 @@ public java.lang.String getStrVal() {
}
/**
* optional string strVal = 3;
- * @param value The strVal to set.
- * @return This builder for chaining.
*/
public Builder setStrVal(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
strVal_ = value;
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional string strVal = 3;
- * @return This builder for chaining.
*/
public Builder clearStrVal() {
- strVal_ = getDefaultInstance().getStrVal();
bitField0_ = (bitField0_ & ~0x00000004);
+ strVal_ = getDefaultInstance().getStrVal();
onChanged();
return this;
}
/**
* optional string strVal = 3;
- * @param value The bytes for strVal to set.
- * @return This builder for chaining.
*/
public Builder setStrValBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
strVal_ = value;
- bitField0_ |= 0x00000004;
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.util.intstr.IntOrString)
}
@@ -751,25 +769,14 @@ public static io.kubernetes.client.proto.IntStr.IntOrString getDefaultInstance()
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parseroptional string name = 1;
- * @return Whether the name field is set.
*/
boolean hasName();
/**
@@ -43,7 +32,6 @@ public interface APIGroupOrBuilder extends
*
*
* optional string name = 1;
- * @return The name.
*/
java.lang.String getName();
/**
@@ -52,7 +40,6 @@ public interface APIGroupOrBuilder extends
*
*
* optional string name = 1;
- * @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
@@ -114,7 +101,6 @@ io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder getVersionsOrB
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery preferredVersion = 3;
- * @return Whether the preferredVersion field is set.
*/
boolean hasPreferredVersion();
/**
@@ -125,7 +111,6 @@ io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder getVersionsOrB
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery preferredVersion = 3;
- * @return The preferredVersion.
*/
io.kubernetes.client.proto.Meta.GroupVersionForDiscovery getPreferredVersion();
/**
@@ -231,22 +216,13 @@ io.kubernetes.client.proto.Meta.ServerAddressByClientCIDROrBuilder getServerAddr
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup}
*/
- public static final class APIGroup extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class APIGroup extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup)
APIGroupOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- APIGroup.class.getName());
- }
// Use APIGroup.newBuilder() to construct.
- private APIGroup(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private APIGroup(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private APIGroup() {
@@ -255,13 +231,99 @@ private APIGroup() {
serverAddressByClientCIDRs_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private APIGroup(
+ 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;
+ name_ = bs;
+ break;
+ }
+ case 18: {
+ if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
+ versions_ = new java.util.ArrayList
* name is the name of the group.
*
*
* optional string name = 1;
- * @return Whether the name field is set.
*/
- @java.lang.Override
public boolean hasName() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -290,9 +349,7 @@ public boolean hasName() {
*
*
* optional string name = 1;
- * @return The name.
*/
- @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -313,9 +370,7 @@ public java.lang.String getName() {
*
*
* optional string name = 1;
- * @return The bytes for name.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
@@ -331,7 +386,6 @@ public java.lang.String getName() {
}
public static final int VERSIONS_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
private java.util.List
@@ -341,7 +395,6 @@ public java.lang.String getName() {
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2;
*/
- @java.lang.Override
public java.util.List getVersionsList() {
return versions_;
}
@@ -353,7 +406,6 @@ public java.util.List
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2;
*/
- @java.lang.Override
public java.util.List extends io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder>
getVersionsOrBuilderList() {
return versions_;
@@ -366,7 +418,6 @@ public java.util.List
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2;
*/
- @java.lang.Override
public int getVersionsCount() {
return versions_.size();
}
@@ -378,7 +429,6 @@ public int getVersionsCount() {
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.GroupVersionForDiscovery getVersions(int index) {
return versions_.get(index);
}
@@ -390,7 +440,6 @@ public io.kubernetes.client.proto.Meta.GroupVersionForDiscovery getVersions(int
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder getVersionsOrBuilder(
int index) {
return versions_.get(index);
@@ -406,11 +455,9 @@ public io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder getVers
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery preferredVersion = 3;
- * @return Whether the preferredVersion field is set.
*/
- @java.lang.Override
public boolean hasPreferredVersion() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -420,9 +467,7 @@ public boolean hasPreferredVersion() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery preferredVersion = 3;
- * @return The preferredVersion.
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.GroupVersionForDiscovery getPreferredVersion() {
return preferredVersion_ == null ? io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.getDefaultInstance() : preferredVersion_;
}
@@ -435,13 +480,11 @@ public io.kubernetes.client.proto.Meta.GroupVersionForDiscovery getPreferredVers
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery preferredVersion = 3;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder getPreferredVersionOrBuilder() {
return preferredVersion_ == null ? io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.getDefaultInstance() : preferredVersion_;
}
public static final int SERVERADDRESSBYCLIENTCIDRS_FIELD_NUMBER = 4;
- @SuppressWarnings("serial")
private java.util.List
@@ -458,7 +501,6 @@ public io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder getPref
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4;
*/
- @java.lang.Override
public java.util.List getServerAddressByClientCIDRsList() {
return serverAddressByClientCIDRs_;
}
@@ -477,7 +519,6 @@ public java.util.List
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4;
*/
- @java.lang.Override
public java.util.List extends io.kubernetes.client.proto.Meta.ServerAddressByClientCIDROrBuilder>
getServerAddressByClientCIDRsOrBuilderList() {
return serverAddressByClientCIDRs_;
@@ -497,7 +538,6 @@ public java.util.List
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4;
*/
- @java.lang.Override
public int getServerAddressByClientCIDRsCount() {
return serverAddressByClientCIDRs_.size();
}
@@ -516,7 +556,6 @@ public int getServerAddressByClientCIDRsCount() {
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR getServerAddressByClientCIDRs(int index) {
return serverAddressByClientCIDRs_.get(index);
}
@@ -535,7 +574,6 @@ public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR getServerAddres
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDROrBuilder getServerAddressByClientCIDRsOrBuilder(
int index) {
return serverAddressByClientCIDRs_.get(index);
@@ -555,19 +593,19 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
for (int i = 0; i < versions_.size(); i++) {
output.writeMessage(2, versions_.get(i));
}
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(3, getPreferredVersion());
}
for (int i = 0; i < serverAddressByClientCIDRs_.size(); i++) {
output.writeMessage(4, serverAddressByClientCIDRs_.get(i));
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -576,14 +614,14 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
for (int i = 0; i < versions_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, versions_.get(i));
}
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getPreferredVersion());
}
@@ -591,7 +629,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, serverAddressByClientCIDRs_.get(i));
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -606,22 +644,23 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.APIGroup other = (io.kubernetes.client.proto.Meta.APIGroup) obj;
- if (hasName() != other.hasName()) return false;
+ boolean result = true;
+ result = result && (hasName() == other.hasName());
if (hasName()) {
- if (!getName()
- .equals(other.getName())) return false;
+ result = result && getName()
+ .equals(other.getName());
}
- if (!getVersionsList()
- .equals(other.getVersionsList())) return false;
- if (hasPreferredVersion() != other.hasPreferredVersion()) return false;
+ result = result && getVersionsList()
+ .equals(other.getVersionsList());
+ result = result && (hasPreferredVersion() == other.hasPreferredVersion());
if (hasPreferredVersion()) {
- if (!getPreferredVersion()
- .equals(other.getPreferredVersion())) return false;
+ result = result && getPreferredVersion()
+ .equals(other.getPreferredVersion());
}
- if (!getServerAddressByClientCIDRsList()
- .equals(other.getServerAddressByClientCIDRsList())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && getServerAddressByClientCIDRsList()
+ .equals(other.getServerAddressByClientCIDRsList());
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -647,7 +686,7 @@ public int hashCode() {
hash = (37 * hash) + SERVERADDRESSBYCLIENTCIDRS_FIELD_NUMBER;
hash = (53 * hash) + getServerAddressByClientCIDRsList().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -686,41 +725,39 @@ public static io.kubernetes.client.proto.Meta.APIGroup parseFrom(
}
public static io.kubernetes.client.proto.Meta.APIGroup parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.APIGroup parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.APIGroup parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
public static io.kubernetes.client.proto.Meta.APIGroup parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.APIGroup parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.APIGroup parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -740,7 +777,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -753,7 +790,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder implements
+ com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup)
io.kubernetes.client.proto.Meta.APIGroupOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -762,7 +799,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIGroup_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -775,12 +812,12 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage
+ if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getVersionsFieldBuilder();
getPreferredVersionFieldBuilder();
@@ -790,27 +827,26 @@ private void maybeForceBuilderInitialization() {
@java.lang.Override
public Builder clear() {
super.clear();
- bitField0_ = 0;
name_ = "";
+ bitField0_ = (bitField0_ & ~0x00000001);
if (versionsBuilder_ == null) {
versions_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
- versions_ = null;
versionsBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000002);
- preferredVersion_ = null;
- if (preferredVersionBuilder_ != null) {
- preferredVersionBuilder_.dispose();
- preferredVersionBuilder_ = null;
+ if (preferredVersionBuilder_ == null) {
+ preferredVersion_ = null;
+ } else {
+ preferredVersionBuilder_.clear();
}
+ bitField0_ = (bitField0_ & ~0x00000004);
if (serverAddressByClientCIDRsBuilder_ == null) {
serverAddressByClientCIDRs_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000008);
} else {
- serverAddressByClientCIDRs_ = null;
serverAddressByClientCIDRsBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
@@ -837,15 +873,14 @@ public io.kubernetes.client.proto.Meta.APIGroup build() {
@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);
- buildPartialRepeatedFields(result);
- if (bitField0_ != 0) { buildPartial0(result); }
- onBuilt();
- return result;
- }
-
- private void buildPartialRepeatedFields(io.kubernetes.client.proto.Meta.APIGroup result) {
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ to_bitField0_ |= 0x00000001;
+ }
+ result.name_ = name_;
if (versionsBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
versions_ = java.util.Collections.unmodifiableList(versions_);
bitField0_ = (bitField0_ & ~0x00000002);
}
@@ -853,8 +888,16 @@ private void buildPartialRepeatedFields(io.kubernetes.client.proto.Meta.APIGroup
} else {
result.versions_ = versionsBuilder_.build();
}
+ if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ if (preferredVersionBuilder_ == null) {
+ result.preferredVersion_ = preferredVersion_;
+ } else {
+ result.preferredVersion_ = preferredVersionBuilder_.build();
+ }
if (serverAddressByClientCIDRsBuilder_ == null) {
- if (((bitField0_ & 0x00000008) != 0)) {
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
serverAddressByClientCIDRs_ = java.util.Collections.unmodifiableList(serverAddressByClientCIDRs_);
bitField0_ = (bitField0_ & ~0x00000008);
}
@@ -862,24 +905,43 @@ private void buildPartialRepeatedFields(io.kubernetes.client.proto.Meta.APIGroup
} else {
result.serverAddressByClientCIDRs_ = serverAddressByClientCIDRsBuilder_.build();
}
+ result.bitField0_ = to_bitField0_;
+ onBuilt();
+ return result;
}
- private void buildPartial0(io.kubernetes.client.proto.Meta.APIGroup result) {
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.name_ = name_;
- to_bitField0_ |= 0x00000001;
- }
- if (((from_bitField0_ & 0x00000004) != 0)) {
- result.preferredVersion_ = preferredVersionBuilder_ == null
- ? preferredVersion_
- : preferredVersionBuilder_.build();
- to_bitField0_ |= 0x00000002;
- }
- result.bitField0_ |= to_bitField0_;
+ @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) {
@@ -893,8 +955,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
public Builder mergeFrom(io.kubernetes.client.proto.Meta.APIGroup other) {
if (other == io.kubernetes.client.proto.Meta.APIGroup.getDefaultInstance()) return this;
if (other.hasName()) {
- name_ = other.name_;
bitField0_ |= 0x00000001;
+ name_ = other.name_;
onChanged();
}
if (versionsBuilder_ == null) {
@@ -916,7 +978,7 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.APIGroup other) {
versions_ = other.versions_;
bitField0_ = (bitField0_ & ~0x00000002);
versionsBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getVersionsFieldBuilder() : null;
} else {
versionsBuilder_.addAllMessages(other.versions_);
@@ -945,14 +1007,14 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.APIGroup other) {
serverAddressByClientCIDRs_ = other.serverAddressByClientCIDRs_;
bitField0_ = (bitField0_ & ~0x00000008);
serverAddressByClientCIDRsBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getServerAddressByClientCIDRsFieldBuilder() : null;
} else {
serverAddressByClientCIDRsBuilder_.addAllMessages(other.serverAddressByClientCIDRs_);
}
}
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -967,68 +1029,17 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.kubernetes.client.proto.Meta.APIGroup parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- name_ = input.readBytes();
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- case 18: {
- io.kubernetes.client.proto.Meta.GroupVersionForDiscovery m =
- input.readMessage(
- io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.parser(),
- extensionRegistry);
- if (versionsBuilder_ == null) {
- ensureVersionsIsMutable();
- versions_.add(m);
- } else {
- versionsBuilder_.addMessage(m);
- }
- break;
- } // case 18
- case 26: {
- input.readMessage(
- getPreferredVersionFieldBuilder().getBuilder(),
- extensionRegistry);
- bitField0_ |= 0x00000004;
- break;
- } // case 26
- case 34: {
- io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR m =
- input.readMessage(
- io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.parser(),
- extensionRegistry);
- if (serverAddressByClientCIDRsBuilder_ == null) {
- ensureServerAddressByClientCIDRsIsMutable();
- serverAddressByClientCIDRs_.add(m);
- } else {
- serverAddressByClientCIDRsBuilder_.addMessage(m);
- }
- break;
- } // case 34
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.kubernetes.client.proto.Meta.APIGroup) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
private int bitField0_;
@@ -1040,10 +1051,9 @@ public Builder mergeFrom(
*
*
* optional string name = 1;
- * @return Whether the name field is set.
*/
public boolean hasName() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -1051,7 +1061,6 @@ public boolean hasName() {
*
*
* optional string name = 1;
- * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -1073,7 +1082,6 @@ public java.lang.String getName() {
*
*
* optional string name = 1;
- * @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
@@ -1094,14 +1102,14 @@ public java.lang.String getName() {
*
*
* optional string name = 1;
- * @param value The name to set.
- * @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
name_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -1111,11 +1119,10 @@ public Builder setName(
*
*
* optional string name = 1;
- * @return This builder for chaining.
*/
public Builder clearName() {
- name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
+ name_ = getDefaultInstance().getName();
onChanged();
return this;
}
@@ -1125,14 +1132,14 @@ public Builder clearName() {
*
*
* optional string name = 1;
- * @param value The bytes for name to set.
- * @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
name_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -1140,13 +1147,13 @@ public Builder setNameBytes(
private java.util.List
@@ -1478,10 +1485,9 @@ public io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.Builder addVersi
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery preferredVersion = 3;
- * @return Whether the preferredVersion field is set.
*/
public boolean hasPreferredVersion() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
@@ -1491,7 +1497,6 @@ public boolean hasPreferredVersion() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery preferredVersion = 3;
- * @return The preferredVersion.
*/
public io.kubernetes.client.proto.Meta.GroupVersionForDiscovery getPreferredVersion() {
if (preferredVersionBuilder_ == null) {
@@ -1515,11 +1520,11 @@ public Builder setPreferredVersion(io.kubernetes.client.proto.Meta.GroupVersionF
throw new NullPointerException();
}
preferredVersion_ = value;
+ onChanged();
} else {
preferredVersionBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
- onChanged();
return this;
}
/**
@@ -1535,11 +1540,11 @@ public Builder setPreferredVersion(
io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.Builder builderForValue) {
if (preferredVersionBuilder_ == null) {
preferredVersion_ = builderForValue.build();
+ onChanged();
} else {
preferredVersionBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
- onChanged();
return this;
}
/**
@@ -1553,20 +1558,19 @@ public Builder setPreferredVersion(
*/
public Builder mergePreferredVersion(io.kubernetes.client.proto.Meta.GroupVersionForDiscovery value) {
if (preferredVersionBuilder_ == null) {
- if (((bitField0_ & 0x00000004) != 0) &&
- preferredVersion_ != null &&
- preferredVersion_ != io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.getDefaultInstance()) {
- getPreferredVersionBuilder().mergeFrom(value);
+ if (((bitField0_ & 0x00000004) == 0x00000004) &&
+ preferredVersion_ != null &&
+ preferredVersion_ != io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.getDefaultInstance()) {
+ preferredVersion_ =
+ io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.newBuilder(preferredVersion_).mergeFrom(value).buildPartial();
} else {
preferredVersion_ = value;
}
+ onChanged();
} else {
preferredVersionBuilder_.mergeFrom(value);
}
- if (preferredVersion_ != null) {
- bitField0_ |= 0x00000004;
- onChanged();
- }
+ bitField0_ |= 0x00000004;
return this;
}
/**
@@ -1579,13 +1583,13 @@ public Builder mergePreferredVersion(io.kubernetes.client.proto.Meta.GroupVersio
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery preferredVersion = 3;
*/
public Builder clearPreferredVersion() {
- bitField0_ = (bitField0_ & ~0x00000004);
- preferredVersion_ = null;
- if (preferredVersionBuilder_ != null) {
- preferredVersionBuilder_.dispose();
- preferredVersionBuilder_ = null;
+ if (preferredVersionBuilder_ == null) {
+ preferredVersion_ = null;
+ onChanged();
+ } else {
+ preferredVersionBuilder_.clear();
}
- onChanged();
+ bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
@@ -1628,11 +1632,11 @@ public io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder getPref
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery preferredVersion = 3;
*/
- private com.google.protobuf.SingleFieldBuilder<
+ private com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.Meta.GroupVersionForDiscovery, io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.Builder, io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder>
getPreferredVersionFieldBuilder() {
if (preferredVersionBuilder_ == null) {
- preferredVersionBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+ preferredVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.Meta.GroupVersionForDiscovery, io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.Builder, io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder>(
getPreferredVersion(),
getParentForChildren(),
@@ -1645,13 +1649,13 @@ public io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder getPref
private java.util.List
@@ -2256,7 +2306,6 @@ private APIGroupList() {
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1;
*/
- @java.lang.Override
public java.util.List getGroupsList() {
return groups_;
}
@@ -2268,7 +2317,6 @@ public java.util.List getGroupsList()
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1;
*/
- @java.lang.Override
public java.util.List extends io.kubernetes.client.proto.Meta.APIGroupOrBuilder>
getGroupsOrBuilderList() {
return groups_;
@@ -2281,7 +2329,6 @@ public java.util.List getGroupsList()
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1;
*/
- @java.lang.Override
public int getGroupsCount() {
return groups_.size();
}
@@ -2293,7 +2340,6 @@ public int getGroupsCount() {
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.APIGroup getGroups(int index) {
return groups_.get(index);
}
@@ -2305,7 +2351,6 @@ public io.kubernetes.client.proto.Meta.APIGroup getGroups(int index) {
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.APIGroupOrBuilder getGroupsOrBuilder(
int index) {
return groups_.get(index);
@@ -2328,7 +2373,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
for (int i = 0; i < groups_.size(); i++) {
output.writeMessage(1, groups_.get(i));
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -2341,7 +2386,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, groups_.get(i));
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -2356,10 +2401,11 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.APIGroupList other = (io.kubernetes.client.proto.Meta.APIGroupList) obj;
- if (!getGroupsList()
- .equals(other.getGroupsList())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ boolean result = true;
+ result = result && getGroupsList()
+ .equals(other.getGroupsList());
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -2373,7 +2419,7 @@ public int hashCode() {
hash = (37 * hash) + GROUPS_FIELD_NUMBER;
hash = (53 * hash) + getGroupsList().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -2412,41 +2458,39 @@ public static io.kubernetes.client.proto.Meta.APIGroupList parseFrom(
}
public static io.kubernetes.client.proto.Meta.APIGroupList parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.APIGroupList parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.APIGroupList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
public static io.kubernetes.client.proto.Meta.APIGroupList parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.APIGroupList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.APIGroupList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -2466,7 +2510,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -2479,7 +2523,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.APIGroupList}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder implements
+ com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.APIGroupList)
io.kubernetes.client.proto.Meta.APIGroupListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -2488,7 +2532,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIGroupList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -2497,25 +2541,29 @@ public static final class Builder extends
// Construct using io.kubernetes.client.proto.Meta.APIGroupList.newBuilder()
private Builder() {
-
+ maybeForceBuilderInitialization();
}
private Builder(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
-
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3
+ .alwaysUseFieldBuilders) {
+ getGroupsFieldBuilder();
+ }
}
@java.lang.Override
public Builder clear() {
super.clear();
- bitField0_ = 0;
if (groupsBuilder_ == null) {
groups_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
- groups_ = null;
groupsBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@@ -2542,15 +2590,9 @@ public io.kubernetes.client.proto.Meta.APIGroupList build() {
@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);
- buildPartialRepeatedFields(result);
- if (bitField0_ != 0) { buildPartial0(result); }
- onBuilt();
- return result;
- }
-
- private void buildPartialRepeatedFields(io.kubernetes.client.proto.Meta.APIGroupList result) {
+ int from_bitField0_ = bitField0_;
if (groupsBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0)) {
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
groups_ = java.util.Collections.unmodifiableList(groups_);
bitField0_ = (bitField0_ & ~0x00000001);
}
@@ -2558,12 +2600,42 @@ private void buildPartialRepeatedFields(io.kubernetes.client.proto.Meta.APIGroup
} else {
result.groups_ = groupsBuilder_.build();
}
+ onBuilt();
+ return result;
}
- private void buildPartial0(io.kubernetes.client.proto.Meta.APIGroupList result) {
- int from_bitField0_ = bitField0_;
+ @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) {
@@ -2595,14 +2667,14 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.APIGroupList other) {
groups_ = other.groups_;
bitField0_ = (bitField0_ & ~0x00000001);
groupsBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getGroupsFieldBuilder() : null;
} else {
groupsBuilder_.addAllMessages(other.groups_);
}
}
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -2617,43 +2689,17 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.kubernetes.client.proto.Meta.APIGroupList parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- io.kubernetes.client.proto.Meta.APIGroup m =
- input.readMessage(
- io.kubernetes.client.proto.Meta.APIGroup.parser(),
- extensionRegistry);
- if (groupsBuilder_ == null) {
- ensureGroupsIsMutable();
- groups_.add(m);
- } else {
- groupsBuilder_.addMessage(m);
- }
- break;
- } // case 10
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.kubernetes.client.proto.Meta.APIGroupList) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
private int bitField0_;
@@ -2661,13 +2707,13 @@ public Builder mergeFrom(
private java.util.List groups_ =
java.util.Collections.emptyList();
private void ensureGroupsIsMutable() {
- if (!((bitField0_ & 0x00000001) != 0)) {
+ if (!((bitField0_ & 0x00000001) == 0x00000001)) {
groups_ = new java.util.ArrayList(groups_);
bitField0_ |= 0x00000001;
}
}
- private com.google.protobuf.RepeatedFieldBuilder<
+ private com.google.protobuf.RepeatedFieldBuilderV3<
io.kubernetes.client.proto.Meta.APIGroup, io.kubernetes.client.proto.Meta.APIGroup.Builder, io.kubernetes.client.proto.Meta.APIGroupOrBuilder> groupsBuilder_;
/**
@@ -2973,20 +3019,32 @@ public io.kubernetes.client.proto.Meta.APIGroup.Builder addGroupsBuilder(
getGroupsBuilderList() {
return getGroupsFieldBuilder().getBuilderList();
}
- private com.google.protobuf.RepeatedFieldBuilder<
+ private com.google.protobuf.RepeatedFieldBuilderV3<
io.kubernetes.client.proto.Meta.APIGroup, io.kubernetes.client.proto.Meta.APIGroup.Builder, io.kubernetes.client.proto.Meta.APIGroupOrBuilder>
getGroupsFieldBuilder() {
if (groupsBuilder_ == null) {
- groupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
+ groupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
io.kubernetes.client.proto.Meta.APIGroup, io.kubernetes.client.proto.Meta.APIGroup.Builder, io.kubernetes.client.proto.Meta.APIGroupOrBuilder>(
groups_,
- ((bitField0_ & 0x00000001) != 0),
+ ((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
groups_ = null;
}
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);
+ }
+
// @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.APIGroupList)
}
@@ -3001,25 +3059,14 @@ public static io.kubernetes.client.proto.Meta.APIGroupList getDefaultInstance()
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser
+ @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 {
- Builder builder = newBuilder();
- try {
- builder.mergeFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(builder.buildPartial());
- } catch (com.google.protobuf.UninitializedMessageException e) {
- throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(e)
- .setUnfinishedMessage(builder.buildPartial());
- }
- return builder.buildPartial();
+ return new APIGroupList(input, extensionRegistry);
}
};
@@ -3049,7 +3096,6 @@ public interface APIResourceOrBuilder extends
*
*
* optional string name = 1;
- * @return Whether the name field is set.
*/
boolean hasName();
/**
@@ -3058,7 +3104,6 @@ public interface APIResourceOrBuilder extends
*
*
* optional string name = 1;
- * @return The name.
*/
java.lang.String getName();
/**
@@ -3067,7 +3112,6 @@ public interface APIResourceOrBuilder extends
*
*
* optional string name = 1;
- * @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
@@ -3080,7 +3124,6 @@ public interface APIResourceOrBuilder extends
*
*
* optional string singularName = 6;
- * @return Whether the singularName field is set.
*/
boolean hasSingularName();
/**
@@ -3091,7 +3134,6 @@ public interface APIResourceOrBuilder extends
*
*
* optional string singularName = 6;
- * @return The singularName.
*/
java.lang.String getSingularName();
/**
@@ -3102,7 +3144,6 @@ public interface APIResourceOrBuilder extends
*
*
* optional string singularName = 6;
- * @return The bytes for singularName.
*/
com.google.protobuf.ByteString
getSingularNameBytes();
@@ -3113,7 +3154,6 @@ public interface APIResourceOrBuilder extends
*
*
* optional bool namespaced = 2;
- * @return Whether the namespaced field is set.
*/
boolean hasNamespaced();
/**
@@ -3122,7 +3162,6 @@ public interface APIResourceOrBuilder extends
*
*
* optional bool namespaced = 2;
- * @return The namespaced.
*/
boolean getNamespaced();
@@ -3133,7 +3172,6 @@ public interface APIResourceOrBuilder extends
*
*
* optional string group = 8;
- * @return Whether the group field is set.
*/
boolean hasGroup();
/**
@@ -3143,7 +3181,6 @@ public interface APIResourceOrBuilder extends
*
*
* optional string group = 8;
- * @return The group.
*/
java.lang.String getGroup();
/**
@@ -3153,7 +3190,6 @@ public interface APIResourceOrBuilder extends
*
*
* optional string group = 8;
- * @return The bytes for group.
*/
com.google.protobuf.ByteString
getGroupBytes();
@@ -3165,7 +3201,6 @@ public interface APIResourceOrBuilder extends
*
*
* optional string version = 9;
- * @return Whether the version field is set.
*/
boolean hasVersion();
/**
@@ -3175,7 +3210,6 @@ public interface APIResourceOrBuilder extends
*
*
* optional string version = 9;
- * @return The version.
*/
java.lang.String getVersion();
/**
@@ -3185,7 +3219,6 @@ public interface APIResourceOrBuilder extends
*
*
* optional string version = 9;
- * @return The bytes for version.
*/
com.google.protobuf.ByteString
getVersionBytes();
@@ -3196,7 +3229,6 @@ public interface APIResourceOrBuilder extends
*
*
* optional string kind = 3;
- * @return Whether the kind field is set.
*/
boolean hasKind();
/**
@@ -3205,7 +3237,6 @@ public interface APIResourceOrBuilder extends
*
*
* optional string kind = 3;
- * @return The kind.
*/
java.lang.String getKind();
/**
@@ -3214,7 +3245,6 @@ public interface APIResourceOrBuilder extends
*
*
* optional string kind = 3;
- * @return The bytes for kind.
*/
com.google.protobuf.ByteString
getKindBytes();
@@ -3226,7 +3256,6 @@ public interface APIResourceOrBuilder extends
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4;
- * @return Whether the verbs field is set.
*/
boolean hasVerbs();
/**
@@ -3236,7 +3265,6 @@ public interface APIResourceOrBuilder extends
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4;
- * @return The verbs.
*/
io.kubernetes.client.proto.Meta.Verbs getVerbs();
/**
@@ -3256,7 +3284,6 @@ public interface APIResourceOrBuilder extends
*
*
* repeated string shortNames = 5;
- * @return A list containing the shortNames.
*/
java.util.Listrepeated string shortNames = 5;
- * @return The count of shortNames.
*/
int getShortNamesCount();
/**
@@ -3277,8 +3303,6 @@ public interface APIResourceOrBuilder extends
*
*
* repeated string shortNames = 5;
- * @param index The index of the element to return.
- * @return The shortNames at the given index.
*/
java.lang.String getShortNames(int index);
/**
@@ -3288,8 +3312,6 @@ public interface APIResourceOrBuilder extends
*
*
* repeated string shortNames = 5;
- * @param index The index of the value to return.
- * @return The bytes of the shortNames at the given index.
*/
com.google.protobuf.ByteString
getShortNamesBytes(int index);
@@ -3301,7 +3323,6 @@ public interface APIResourceOrBuilder extends
*
*
* repeated string categories = 7;
- * @return A list containing the categories.
*/
java.util.Listrepeated string categories = 7;
- * @return The count of categories.
*/
int getCategoriesCount();
/**
@@ -3322,8 +3342,6 @@ public interface APIResourceOrBuilder extends
*
*
* repeated string categories = 7;
- * @param index The index of the element to return.
- * @return The categories at the given index.
*/
java.lang.String getCategories(int index);
/**
@@ -3333,8 +3351,6 @@ public interface APIResourceOrBuilder extends
*
*
* repeated string categories = 7;
- * @param index The index of the value to return.
- * @return The bytes of the categories at the given index.
*/
com.google.protobuf.ByteString
getCategoriesBytes(int index);
@@ -3352,7 +3368,6 @@ public interface APIResourceOrBuilder extends
*
*
* optional string storageVersionHash = 10;
- * @return Whether the storageVersionHash field is set.
*/
boolean hasStorageVersionHash();
/**
@@ -3368,7 +3383,6 @@ public interface APIResourceOrBuilder extends
*
*
* optional string storageVersionHash = 10;
- * @return The storageVersionHash.
*/
java.lang.String getStorageVersionHash();
/**
@@ -3384,7 +3398,6 @@ public interface APIResourceOrBuilder extends
*
*
* optional string storageVersionHash = 10;
- * @return The bytes for storageVersionHash.
*/
com.google.protobuf.ByteString
getStorageVersionHashBytes();
@@ -3396,44 +3409,155 @@ public interface APIResourceOrBuilder extends
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.APIResource}
*/
- public static final class APIResource extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class APIResource extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.APIResource)
APIResourceOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- APIResource.class.getName());
- }
// Use APIResource.newBuilder() to construct.
- private APIResource(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private APIResource(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private APIResource() {
name_ = "";
singularName_ = "";
+ namespaced_ = false;
group_ = "";
version_ = "";
kind_ = "";
- shortNames_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
- categories_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
+ shortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ categories_ = com.google.protobuf.LazyStringArrayList.EMPTY;
storageVersionHash_ = "";
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private APIResource(
+ 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;
+ name_ = bs;
+ break;
+ }
+ case 16: {
+ bitField0_ |= 0x00000004;
+ namespaced_ = input.readBool();
+ break;
+ }
+ case 26: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000020;
+ kind_ = bs;
+ break;
+ }
+ case 34: {
+ io.kubernetes.client.proto.Meta.Verbs.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000040) == 0x00000040)) {
+ subBuilder = verbs_.toBuilder();
+ }
+ verbs_ = input.readMessage(io.kubernetes.client.proto.Meta.Verbs.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(verbs_);
+ verbs_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000040;
+ break;
+ }
+ case 42: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
+ shortNames_ = new com.google.protobuf.LazyStringArrayList();
+ mutable_bitField0_ |= 0x00000080;
+ }
+ shortNames_.add(bs);
+ break;
+ }
+ case 50: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000002;
+ singularName_ = bs;
+ break;
+ }
+ case 58: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
+ categories_ = new com.google.protobuf.LazyStringArrayList();
+ 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) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e).setUnfinishedMessage(this);
+ } finally {
+ if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
+ shortNames_ = shortNames_.getUnmodifiableView();
+ }
+ if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
+ categories_ = categories_.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_APIResource_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIResource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -3442,19 +3566,16 @@ private APIResource() {
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object name_ = "";
+ private volatile java.lang.Object name_;
/**
*
* name is the plural name of the resource.
*
*
* optional string name = 1;
- * @return Whether the name field is set.
*/
- @java.lang.Override
public boolean hasName() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -3462,9 +3583,7 @@ public boolean hasName() {
*
*
* optional string name = 1;
- * @return The name.
*/
- @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -3485,9 +3604,7 @@ public java.lang.String getName() {
*
*
* optional string name = 1;
- * @return The bytes for name.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
@@ -3503,8 +3620,7 @@ public java.lang.String getName() {
}
public static final int SINGULARNAME_FIELD_NUMBER = 6;
- @SuppressWarnings("serial")
- private volatile java.lang.Object singularName_ = "";
+ private volatile java.lang.Object singularName_;
/**
*
* singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely.
@@ -3513,11 +3629,9 @@ public java.lang.String getName() {
*
*
* optional string singularName = 6;
- * @return Whether the singularName field is set.
*/
- @java.lang.Override
public boolean hasSingularName() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -3527,9 +3641,7 @@ public boolean hasSingularName() {
*
*
* optional string singularName = 6;
- * @return The singularName.
*/
- @java.lang.Override
public java.lang.String getSingularName() {
java.lang.Object ref = singularName_;
if (ref instanceof java.lang.String) {
@@ -3552,9 +3664,7 @@ public java.lang.String getSingularName() {
*
*
* optional string singularName = 6;
- * @return The bytes for singularName.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getSingularNameBytes() {
java.lang.Object ref = singularName_;
@@ -3570,18 +3680,16 @@ public java.lang.String getSingularName() {
}
public static final int NAMESPACED_FIELD_NUMBER = 2;
- private boolean namespaced_ = false;
+ private boolean namespaced_;
/**
*
* namespaced indicates if a resource is namespaced or not.
*
*
* optional bool namespaced = 2;
- * @return Whether the namespaced field is set.
*/
- @java.lang.Override
public boolean hasNamespaced() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
@@ -3589,16 +3697,13 @@ public boolean hasNamespaced() {
*
*
* optional bool namespaced = 2;
- * @return The namespaced.
*/
- @java.lang.Override
public boolean getNamespaced() {
return namespaced_;
}
public static final int GROUP_FIELD_NUMBER = 8;
- @SuppressWarnings("serial")
- private volatile java.lang.Object group_ = "";
+ private volatile java.lang.Object group_;
/**
*
* group is the preferred group of the resource. Empty implies the group of the containing resource list.
@@ -3606,11 +3711,9 @@ public boolean getNamespaced() {
*
*
* optional string group = 8;
- * @return Whether the group field is set.
*/
- @java.lang.Override
public boolean hasGroup() {
- return ((bitField0_ & 0x00000008) != 0);
+ return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
@@ -3619,9 +3722,7 @@ public boolean hasGroup() {
*
*
* optional string group = 8;
- * @return The group.
*/
- @java.lang.Override
public java.lang.String getGroup() {
java.lang.Object ref = group_;
if (ref instanceof java.lang.String) {
@@ -3643,9 +3744,7 @@ public java.lang.String getGroup() {
*
*
* optional string group = 8;
- * @return The bytes for group.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getGroupBytes() {
java.lang.Object ref = group_;
@@ -3661,8 +3760,7 @@ public java.lang.String getGroup() {
}
public static final int VERSION_FIELD_NUMBER = 9;
- @SuppressWarnings("serial")
- private volatile java.lang.Object version_ = "";
+ private volatile java.lang.Object version_;
/**
*
* version is the preferred version of the resource. Empty implies the version of the containing resource list
@@ -3670,11 +3768,9 @@ public java.lang.String getGroup() {
*
*
* optional string version = 9;
- * @return Whether the version field is set.
*/
- @java.lang.Override
public boolean hasVersion() {
- return ((bitField0_ & 0x00000010) != 0);
+ return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
@@ -3683,9 +3779,7 @@ public boolean hasVersion() {
*
*
* optional string version = 9;
- * @return The version.
*/
- @java.lang.Override
public java.lang.String getVersion() {
java.lang.Object ref = version_;
if (ref instanceof java.lang.String) {
@@ -3707,9 +3801,7 @@ public java.lang.String getVersion() {
*
*
* optional string version = 9;
- * @return The bytes for version.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getVersionBytes() {
java.lang.Object ref = version_;
@@ -3725,19 +3817,16 @@ public java.lang.String getVersion() {
}
public static final int KIND_FIELD_NUMBER = 3;
- @SuppressWarnings("serial")
- private volatile java.lang.Object kind_ = "";
+ private volatile java.lang.Object kind_;
/**
*
* kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
*
*
* optional string kind = 3;
- * @return Whether the kind field is set.
*/
- @java.lang.Override
public boolean hasKind() {
- return ((bitField0_ & 0x00000020) != 0);
+ return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
*
@@ -3745,9 +3834,7 @@ public boolean hasKind() {
*
*
* optional string kind = 3;
- * @return The kind.
*/
- @java.lang.Override
public java.lang.String getKind() {
java.lang.Object ref = kind_;
if (ref instanceof java.lang.String) {
@@ -3768,9 +3855,7 @@ public java.lang.String getKind() {
*
*
* optional string kind = 3;
- * @return The bytes for kind.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getKindBytes() {
java.lang.Object ref = kind_;
@@ -3794,11 +3879,9 @@ public java.lang.String getKind() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4;
- * @return Whether the verbs field is set.
*/
- @java.lang.Override
public boolean hasVerbs() {
- return ((bitField0_ & 0x00000040) != 0);
+ return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
*
@@ -3807,9 +3890,7 @@ public boolean hasVerbs() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4;
- * @return The verbs.
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.Verbs getVerbs() {
return verbs_ == null ? io.kubernetes.client.proto.Meta.Verbs.getDefaultInstance() : verbs_;
}
@@ -3821,15 +3902,12 @@ public io.kubernetes.client.proto.Meta.Verbs getVerbs() {
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.VerbsOrBuilder getVerbsOrBuilder() {
return verbs_ == null ? io.kubernetes.client.proto.Meta.Verbs.getDefaultInstance() : verbs_;
}
public static final int SHORTNAMES_FIELD_NUMBER = 5;
- @SuppressWarnings("serial")
- private com.google.protobuf.LazyStringArrayList shortNames_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
+ private com.google.protobuf.LazyStringList shortNames_;
/**
*
* shortNames is a list of suggested short names of the resource.
@@ -3837,7 +3915,6 @@ public io.kubernetes.client.proto.Meta.VerbsOrBuilder getVerbsOrBuilder() {
*
*
* repeated string shortNames = 5;
- * @return A list containing the shortNames.
*/
public com.google.protobuf.ProtocolStringList
getShortNamesList() {
@@ -3850,7 +3927,6 @@ public io.kubernetes.client.proto.Meta.VerbsOrBuilder getVerbsOrBuilder() {
*
*
* repeated string shortNames = 5;
- * @return The count of shortNames.
*/
public int getShortNamesCount() {
return shortNames_.size();
@@ -3862,8 +3938,6 @@ public int getShortNamesCount() {
*
*
* repeated string shortNames = 5;
- * @param index The index of the element to return.
- * @return The shortNames at the given index.
*/
public java.lang.String getShortNames(int index) {
return shortNames_.get(index);
@@ -3875,8 +3949,6 @@ public java.lang.String getShortNames(int index) {
*
*
* repeated string shortNames = 5;
- * @param index The index of the value to return.
- * @return The bytes of the shortNames at the given index.
*/
public com.google.protobuf.ByteString
getShortNamesBytes(int index) {
@@ -3884,9 +3956,7 @@ public java.lang.String getShortNames(int index) {
}
public static final int CATEGORIES_FIELD_NUMBER = 7;
- @SuppressWarnings("serial")
- private com.google.protobuf.LazyStringArrayList categories_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
+ private com.google.protobuf.LazyStringList categories_;
/**
*
* categories is a list of the grouped resources this resource belongs to (e.g. 'all')
@@ -3894,7 +3964,6 @@ public java.lang.String getShortNames(int index) {
*
*
* repeated string categories = 7;
- * @return A list containing the categories.
*/
public com.google.protobuf.ProtocolStringList
getCategoriesList() {
@@ -3907,7 +3976,6 @@ public java.lang.String getShortNames(int index) {
*
*
* repeated string categories = 7;
- * @return The count of categories.
*/
public int getCategoriesCount() {
return categories_.size();
@@ -3919,8 +3987,6 @@ public int getCategoriesCount() {
*
*
* repeated string categories = 7;
- * @param index The index of the element to return.
- * @return The categories at the given index.
*/
public java.lang.String getCategories(int index) {
return categories_.get(index);
@@ -3932,8 +3998,6 @@ public java.lang.String getCategories(int index) {
*
*
* repeated string categories = 7;
- * @param index The index of the value to return.
- * @return The bytes of the categories at the given index.
*/
public com.google.protobuf.ByteString
getCategoriesBytes(int index) {
@@ -3941,8 +4005,7 @@ public java.lang.String getCategories(int index) {
}
public static final int STORAGEVERSIONHASH_FIELD_NUMBER = 10;
- @SuppressWarnings("serial")
- private volatile java.lang.Object storageVersionHash_ = "";
+ private volatile java.lang.Object storageVersionHash_;
/**
*
* The hash value of the storage version, the version this resource is
@@ -3956,11 +4019,9 @@ public java.lang.String getCategories(int index) {
*
*
* optional string storageVersionHash = 10;
- * @return Whether the storageVersionHash field is set.
*/
- @java.lang.Override
public boolean hasStorageVersionHash() {
- return ((bitField0_ & 0x00000080) != 0);
+ return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
*
@@ -3975,9 +4036,7 @@ public boolean hasStorageVersionHash() {
*
*
* optional string storageVersionHash = 10;
- * @return The storageVersionHash.
*/
- @java.lang.Override
public java.lang.String getStorageVersionHash() {
java.lang.Object ref = storageVersionHash_;
if (ref instanceof java.lang.String) {
@@ -4005,9 +4064,7 @@ public java.lang.String getStorageVersionHash() {
*
*
* optional string storageVersionHash = 10;
- * @return The bytes for storageVersionHash.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getStorageVersionHashBytes() {
java.lang.Object ref = storageVersionHash_;
@@ -4036,37 +4093,37 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
- if (((bitField0_ & 0x00000004) != 0)) {
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBool(2, namespaced_);
}
- if (((bitField0_ & 0x00000020) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 3, kind_);
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, kind_);
}
- if (((bitField0_ & 0x00000040) != 0)) {
+ if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeMessage(4, getVerbs());
}
for (int i = 0; i < shortNames_.size(); i++) {
- com.google.protobuf.GeneratedMessage.writeString(output, 5, shortNames_.getRaw(i));
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 5, shortNames_.getRaw(i));
}
- if (((bitField0_ & 0x00000002) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 6, singularName_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 6, singularName_);
}
for (int i = 0; i < categories_.size(); i++) {
- com.google.protobuf.GeneratedMessage.writeString(output, 7, categories_.getRaw(i));
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 7, categories_.getRaw(i));
}
- if (((bitField0_ & 0x00000008) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 8, group_);
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 8, group_);
}
- if (((bitField0_ & 0x00000010) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 9, version_);
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 9, version_);
}
- if (((bitField0_ & 0x00000080) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 10, storageVersionHash_);
+ if (((bitField0_ & 0x00000080) == 0x00000080)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 10, storageVersionHash_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -4075,17 +4132,17 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
- if (((bitField0_ & 0x00000004) != 0)) {
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, namespaced_);
}
- if (((bitField0_ & 0x00000020) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(3, kind_);
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, kind_);
}
- if (((bitField0_ & 0x00000040) != 0)) {
+ if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getVerbs());
}
@@ -4097,8 +4154,8 @@ public int getSerializedSize() {
size += dataSize;
size += 1 * getShortNamesList().size();
}
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(6, singularName_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, singularName_);
}
{
int dataSize = 0;
@@ -4108,16 +4165,16 @@ public int getSerializedSize() {
size += dataSize;
size += 1 * getCategoriesList().size();
}
- if (((bitField0_ & 0x00000008) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(8, group_);
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, group_);
}
- if (((bitField0_ & 0x00000010) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(9, version_);
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, version_);
}
- if (((bitField0_ & 0x00000080) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(10, storageVersionHash_);
+ if (((bitField0_ & 0x00000080) == 0x00000080)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, storageVersionHash_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -4132,52 +4189,53 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.APIResource other = (io.kubernetes.client.proto.Meta.APIResource) obj;
- if (hasName() != other.hasName()) return false;
+ boolean result = true;
+ result = result && (hasName() == other.hasName());
if (hasName()) {
- if (!getName()
- .equals(other.getName())) return false;
+ result = result && getName()
+ .equals(other.getName());
}
- if (hasSingularName() != other.hasSingularName()) return false;
+ result = result && (hasSingularName() == other.hasSingularName());
if (hasSingularName()) {
- if (!getSingularName()
- .equals(other.getSingularName())) return false;
+ result = result && getSingularName()
+ .equals(other.getSingularName());
}
- if (hasNamespaced() != other.hasNamespaced()) return false;
+ result = result && (hasNamespaced() == other.hasNamespaced());
if (hasNamespaced()) {
- if (getNamespaced()
- != other.getNamespaced()) return false;
+ result = result && (getNamespaced()
+ == other.getNamespaced());
}
- if (hasGroup() != other.hasGroup()) return false;
+ result = result && (hasGroup() == other.hasGroup());
if (hasGroup()) {
- if (!getGroup()
- .equals(other.getGroup())) return false;
+ result = result && getGroup()
+ .equals(other.getGroup());
}
- if (hasVersion() != other.hasVersion()) return false;
+ result = result && (hasVersion() == other.hasVersion());
if (hasVersion()) {
- if (!getVersion()
- .equals(other.getVersion())) return false;
+ result = result && getVersion()
+ .equals(other.getVersion());
}
- if (hasKind() != other.hasKind()) return false;
+ result = result && (hasKind() == other.hasKind());
if (hasKind()) {
- if (!getKind()
- .equals(other.getKind())) return false;
+ result = result && getKind()
+ .equals(other.getKind());
}
- if (hasVerbs() != other.hasVerbs()) return false;
+ result = result && (hasVerbs() == other.hasVerbs());
if (hasVerbs()) {
- if (!getVerbs()
- .equals(other.getVerbs())) return false;
- }
- if (!getShortNamesList()
- .equals(other.getShortNamesList())) return false;
- if (!getCategoriesList()
- .equals(other.getCategoriesList())) return false;
- if (hasStorageVersionHash() != other.hasStorageVersionHash()) return false;
+ result = result && getVerbs()
+ .equals(other.getVerbs());
+ }
+ result = result && getShortNamesList()
+ .equals(other.getShortNamesList());
+ result = result && getCategoriesList()
+ .equals(other.getCategoriesList());
+ result = result && (hasStorageVersionHash() == other.hasStorageVersionHash());
if (hasStorageVersionHash()) {
- if (!getStorageVersionHash()
- .equals(other.getStorageVersionHash())) return false;
+ result = result && getStorageVersionHash()
+ .equals(other.getStorageVersionHash());
}
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -4228,7 +4286,7 @@ public int hashCode() {
hash = (37 * hash) + STORAGEVERSIONHASH_FIELD_NUMBER;
hash = (53 * hash) + getStorageVersionHash().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -4267,41 +4325,39 @@ public static io.kubernetes.client.proto.Meta.APIResource parseFrom(
}
public static io.kubernetes.client.proto.Meta.APIResource parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.APIResource parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.APIResource parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
public static io.kubernetes.client.proto.Meta.APIResource parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.APIResource parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.APIResource parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -4321,7 +4377,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -4333,7 +4389,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.APIResource}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional string name = 1;
- * @return Whether the name field is set.
*/
public boolean hasName() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -4647,7 +4674,6 @@ public boolean hasName() {
*
*
* optional string name = 1;
- * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -4669,7 +4695,6 @@ public java.lang.String getName() {
*
*
* optional string name = 1;
- * @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
@@ -4690,14 +4715,14 @@ public java.lang.String getName() {
*
*
* optional string name = 1;
- * @param value The name to set.
- * @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
name_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -4707,11 +4732,10 @@ public Builder setName(
*
*
* optional string name = 1;
- * @return This builder for chaining.
*/
public Builder clearName() {
- name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
+ name_ = getDefaultInstance().getName();
onChanged();
return this;
}
@@ -4721,14 +4745,14 @@ public Builder clearName() {
*
*
* optional string name = 1;
- * @param value The bytes for name to set.
- * @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
name_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -4742,10 +4766,9 @@ public Builder setNameBytes(
*
*
* optional string singularName = 6;
- * @return Whether the singularName field is set.
*/
public boolean hasSingularName() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -4755,7 +4778,6 @@ public boolean hasSingularName() {
*
*
* optional string singularName = 6;
- * @return The singularName.
*/
public java.lang.String getSingularName() {
java.lang.Object ref = singularName_;
@@ -4779,7 +4801,6 @@ public java.lang.String getSingularName() {
*
*
* optional string singularName = 6;
- * @return The bytes for singularName.
*/
public com.google.protobuf.ByteString
getSingularNameBytes() {
@@ -4802,14 +4823,14 @@ public java.lang.String getSingularName() {
*
*
* optional string singularName = 6;
- * @param value The singularName to set.
- * @return This builder for chaining.
*/
public Builder setSingularName(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
singularName_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -4821,11 +4842,10 @@ public Builder setSingularName(
*
*
* optional string singularName = 6;
- * @return This builder for chaining.
*/
public Builder clearSingularName() {
- singularName_ = getDefaultInstance().getSingularName();
bitField0_ = (bitField0_ & ~0x00000002);
+ singularName_ = getDefaultInstance().getSingularName();
onChanged();
return this;
}
@@ -4837,14 +4857,14 @@ public Builder clearSingularName() {
*
*
* optional string singularName = 6;
- * @param value The bytes for singularName to set.
- * @return This builder for chaining.
*/
public Builder setSingularNameBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
singularName_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -4856,11 +4876,9 @@ public Builder setSingularNameBytes(
*
*
* optional bool namespaced = 2;
- * @return Whether the namespaced field is set.
*/
- @java.lang.Override
public boolean hasNamespaced() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
@@ -4868,9 +4886,7 @@ public boolean hasNamespaced() {
*
*
* optional bool namespaced = 2;
- * @return The namespaced.
*/
- @java.lang.Override
public boolean getNamespaced() {
return namespaced_;
}
@@ -4880,13 +4896,10 @@ public boolean getNamespaced() {
*
*
* optional bool namespaced = 2;
- * @param value The namespaced to set.
- * @return This builder for chaining.
*/
public Builder setNamespaced(boolean value) {
-
- namespaced_ = value;
bitField0_ |= 0x00000004;
+ namespaced_ = value;
onChanged();
return this;
}
@@ -4896,7 +4909,6 @@ public Builder setNamespaced(boolean value) {
*
*
* optional bool namespaced = 2;
- * @return This builder for chaining.
*/
public Builder clearNamespaced() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -4913,10 +4925,9 @@ public Builder clearNamespaced() {
*
*
* optional string group = 8;
- * @return Whether the group field is set.
*/
public boolean hasGroup() {
- return ((bitField0_ & 0x00000008) != 0);
+ return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
@@ -4925,7 +4936,6 @@ public boolean hasGroup() {
*
*
* optional string group = 8;
- * @return The group.
*/
public java.lang.String getGroup() {
java.lang.Object ref = group_;
@@ -4948,7 +4958,6 @@ public java.lang.String getGroup() {
*
*
* optional string group = 8;
- * @return The bytes for group.
*/
public com.google.protobuf.ByteString
getGroupBytes() {
@@ -4970,14 +4979,14 @@ public java.lang.String getGroup() {
*
*
* optional string group = 8;
- * @param value The group to set.
- * @return This builder for chaining.
*/
public Builder setGroup(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000008;
group_ = value;
- bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -4988,11 +4997,10 @@ public Builder setGroup(
*
*
* optional string group = 8;
- * @return This builder for chaining.
*/
public Builder clearGroup() {
- group_ = getDefaultInstance().getGroup();
bitField0_ = (bitField0_ & ~0x00000008);
+ group_ = getDefaultInstance().getGroup();
onChanged();
return this;
}
@@ -5003,14 +5011,14 @@ public Builder clearGroup() {
*
*
* optional string group = 8;
- * @param value The bytes for group to set.
- * @return This builder for chaining.
*/
public Builder setGroupBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000008;
group_ = value;
- bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -5023,10 +5031,9 @@ public Builder setGroupBytes(
*
*
* optional string version = 9;
- * @return Whether the version field is set.
*/
public boolean hasVersion() {
- return ((bitField0_ & 0x00000010) != 0);
+ return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
@@ -5035,7 +5042,6 @@ public boolean hasVersion() {
*
*
* optional string version = 9;
- * @return The version.
*/
public java.lang.String getVersion() {
java.lang.Object ref = version_;
@@ -5058,7 +5064,6 @@ public java.lang.String getVersion() {
*
*
* optional string version = 9;
- * @return The bytes for version.
*/
public com.google.protobuf.ByteString
getVersionBytes() {
@@ -5080,14 +5085,14 @@ public java.lang.String getVersion() {
*
*
* optional string version = 9;
- * @param value The version to set.
- * @return This builder for chaining.
*/
public Builder setVersion(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000010;
version_ = value;
- bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -5098,11 +5103,10 @@ public Builder setVersion(
*
*
* optional string version = 9;
- * @return This builder for chaining.
*/
public Builder clearVersion() {
- version_ = getDefaultInstance().getVersion();
bitField0_ = (bitField0_ & ~0x00000010);
+ version_ = getDefaultInstance().getVersion();
onChanged();
return this;
}
@@ -5113,14 +5117,14 @@ public Builder clearVersion() {
*
*
* optional string version = 9;
- * @param value The bytes for version to set.
- * @return This builder for chaining.
*/
public Builder setVersionBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000010;
version_ = value;
- bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -5132,10 +5136,9 @@ public Builder setVersionBytes(
*
*
* optional string kind = 3;
- * @return Whether the kind field is set.
*/
public boolean hasKind() {
- return ((bitField0_ & 0x00000020) != 0);
+ return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
*
@@ -5143,7 +5146,6 @@ public boolean hasKind() {
*
*
* optional string kind = 3;
- * @return The kind.
*/
public java.lang.String getKind() {
java.lang.Object ref = kind_;
@@ -5165,7 +5167,6 @@ public java.lang.String getKind() {
*
*
* optional string kind = 3;
- * @return The bytes for kind.
*/
public com.google.protobuf.ByteString
getKindBytes() {
@@ -5186,14 +5187,14 @@ public java.lang.String getKind() {
*
*
* optional string kind = 3;
- * @param value The kind to set.
- * @return This builder for chaining.
*/
public Builder setKind(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000020;
kind_ = value;
- bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -5203,11 +5204,10 @@ public Builder setKind(
*
*
* optional string kind = 3;
- * @return This builder for chaining.
*/
public Builder clearKind() {
- kind_ = getDefaultInstance().getKind();
bitField0_ = (bitField0_ & ~0x00000020);
+ kind_ = getDefaultInstance().getKind();
onChanged();
return this;
}
@@ -5217,20 +5217,20 @@ public Builder clearKind() {
*
*
* optional string kind = 3;
- * @param value The bytes for kind to set.
- * @return This builder for chaining.
*/
public Builder setKindBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000020;
kind_ = value;
- bitField0_ |= 0x00000020;
onChanged();
return this;
}
- private io.kubernetes.client.proto.Meta.Verbs verbs_;
- private com.google.protobuf.SingleFieldBuilder<
+ private io.kubernetes.client.proto.Meta.Verbs verbs_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.Meta.Verbs, io.kubernetes.client.proto.Meta.Verbs.Builder, io.kubernetes.client.proto.Meta.VerbsOrBuilder> verbsBuilder_;
/**
*
@@ -5239,10 +5239,9 @@ public Builder setKindBytes(
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4;
- * @return Whether the verbs field is set.
*/
public boolean hasVerbs() {
- return ((bitField0_ & 0x00000040) != 0);
+ return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
*
@@ -5251,7 +5250,6 @@ public boolean hasVerbs() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4;
- * @return The verbs.
*/
public io.kubernetes.client.proto.Meta.Verbs getVerbs() {
if (verbsBuilder_ == null) {
@@ -5274,11 +5272,11 @@ public Builder setVerbs(io.kubernetes.client.proto.Meta.Verbs value) {
throw new NullPointerException();
}
verbs_ = value;
+ onChanged();
} else {
verbsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000040;
- onChanged();
return this;
}
/**
@@ -5293,11 +5291,11 @@ public Builder setVerbs(
io.kubernetes.client.proto.Meta.Verbs.Builder builderForValue) {
if (verbsBuilder_ == null) {
verbs_ = builderForValue.build();
+ onChanged();
} else {
verbsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000040;
- onChanged();
return this;
}
/**
@@ -5310,20 +5308,19 @@ public Builder setVerbs(
*/
public Builder mergeVerbs(io.kubernetes.client.proto.Meta.Verbs value) {
if (verbsBuilder_ == null) {
- if (((bitField0_ & 0x00000040) != 0) &&
- verbs_ != null &&
- verbs_ != io.kubernetes.client.proto.Meta.Verbs.getDefaultInstance()) {
- getVerbsBuilder().mergeFrom(value);
+ if (((bitField0_ & 0x00000040) == 0x00000040) &&
+ verbs_ != null &&
+ verbs_ != io.kubernetes.client.proto.Meta.Verbs.getDefaultInstance()) {
+ verbs_ =
+ io.kubernetes.client.proto.Meta.Verbs.newBuilder(verbs_).mergeFrom(value).buildPartial();
} else {
verbs_ = value;
}
+ onChanged();
} else {
verbsBuilder_.mergeFrom(value);
}
- if (verbs_ != null) {
- bitField0_ |= 0x00000040;
- onChanged();
- }
+ bitField0_ |= 0x00000040;
return this;
}
/**
@@ -5335,13 +5332,13 @@ public Builder mergeVerbs(io.kubernetes.client.proto.Meta.Verbs value) {
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4;
*/
public Builder clearVerbs() {
- bitField0_ = (bitField0_ & ~0x00000040);
- verbs_ = null;
- if (verbsBuilder_ != null) {
- verbsBuilder_.dispose();
- verbsBuilder_ = null;
+ if (verbsBuilder_ == null) {
+ verbs_ = null;
+ onChanged();
+ } else {
+ verbsBuilder_.clear();
}
- onChanged();
+ bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
/**
@@ -5381,11 +5378,11 @@ public io.kubernetes.client.proto.Meta.VerbsOrBuilder getVerbsOrBuilder() {
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4;
*/
- private com.google.protobuf.SingleFieldBuilder<
+ private com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.Meta.Verbs, io.kubernetes.client.proto.Meta.Verbs.Builder, io.kubernetes.client.proto.Meta.VerbsOrBuilder>
getVerbsFieldBuilder() {
if (verbsBuilder_ == null) {
- verbsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+ verbsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.Meta.Verbs, io.kubernetes.client.proto.Meta.Verbs.Builder, io.kubernetes.client.proto.Meta.VerbsOrBuilder>(
getVerbs(),
getParentForChildren(),
@@ -5395,13 +5392,12 @@ public io.kubernetes.client.proto.Meta.VerbsOrBuilder getVerbsOrBuilder() {
return verbsBuilder_;
}
- private com.google.protobuf.LazyStringArrayList shortNames_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
+ private com.google.protobuf.LazyStringList shortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureShortNamesIsMutable() {
- if (!shortNames_.isModifiable()) {
+ if (!((bitField0_ & 0x00000080) == 0x00000080)) {
shortNames_ = new com.google.protobuf.LazyStringArrayList(shortNames_);
- }
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000080;
+ }
}
/**
*
@@ -5410,12 +5406,10 @@ private void ensureShortNamesIsMutable() {
*
*
* repeated string shortNames = 5;
- * @return A list containing the shortNames.
*/
public com.google.protobuf.ProtocolStringList
getShortNamesList() {
- shortNames_.makeImmutable();
- return shortNames_;
+ return shortNames_.getUnmodifiableView();
}
/**
*
@@ -5424,7 +5418,6 @@ private void ensureShortNamesIsMutable() {
*
*
* repeated string shortNames = 5;
- * @return The count of shortNames.
*/
public int getShortNamesCount() {
return shortNames_.size();
@@ -5436,8 +5429,6 @@ public int getShortNamesCount() {
*
*
* repeated string shortNames = 5;
- * @param index The index of the element to return.
- * @return The shortNames at the given index.
*/
public java.lang.String getShortNames(int index) {
return shortNames_.get(index);
@@ -5449,8 +5440,6 @@ public java.lang.String getShortNames(int index) {
*
*
* repeated string shortNames = 5;
- * @param index The index of the value to return.
- * @return The bytes of the shortNames at the given index.
*/
public com.google.protobuf.ByteString
getShortNamesBytes(int index) {
@@ -5463,16 +5452,14 @@ public java.lang.String getShortNames(int index) {
*
*
* repeated string shortNames = 5;
- * @param index The index to set the value at.
- * @param value The shortNames to set.
- * @return This builder for chaining.
*/
public Builder setShortNames(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureShortNamesIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureShortNamesIsMutable();
shortNames_.set(index, value);
- bitField0_ |= 0x00000080;
onChanged();
return this;
}
@@ -5483,15 +5470,14 @@ public Builder setShortNames(
*
*
* repeated string shortNames = 5;
- * @param value The shortNames to add.
- * @return This builder for chaining.
*/
public Builder addShortNames(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureShortNamesIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureShortNamesIsMutable();
shortNames_.add(value);
- bitField0_ |= 0x00000080;
onChanged();
return this;
}
@@ -5502,15 +5488,12 @@ public Builder addShortNames(
*
*
* repeated string shortNames = 5;
- * @param values The shortNames to add.
- * @return This builder for chaining.
*/
public Builder addAllShortNames(
java.lang.Iterablerepeated string shortNames = 5;
- * @return This builder for chaining.
*/
public Builder clearShortNames() {
- shortNames_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
- bitField0_ = (bitField0_ & ~0x00000080);;
+ shortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
@@ -5537,26 +5518,24 @@ public Builder clearShortNames() {
*
*
* repeated string shortNames = 5;
- * @param value The bytes of the shortNames to add.
- * @return This builder for chaining.
*/
public Builder addShortNamesBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- ensureShortNamesIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureShortNamesIsMutable();
shortNames_.add(value);
- bitField0_ |= 0x00000080;
onChanged();
return this;
}
- private com.google.protobuf.LazyStringArrayList categories_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
+ private com.google.protobuf.LazyStringList categories_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureCategoriesIsMutable() {
- if (!categories_.isModifiable()) {
+ if (!((bitField0_ & 0x00000100) == 0x00000100)) {
categories_ = new com.google.protobuf.LazyStringArrayList(categories_);
- }
- bitField0_ |= 0x00000100;
+ bitField0_ |= 0x00000100;
+ }
}
/**
*
@@ -5565,12 +5544,10 @@ private void ensureCategoriesIsMutable() {
*
*
* repeated string categories = 7;
- * @return A list containing the categories.
*/
public com.google.protobuf.ProtocolStringList
getCategoriesList() {
- categories_.makeImmutable();
- return categories_;
+ return categories_.getUnmodifiableView();
}
/**
*
@@ -5579,7 +5556,6 @@ private void ensureCategoriesIsMutable() {
*
*
* repeated string categories = 7;
- * @return The count of categories.
*/
public int getCategoriesCount() {
return categories_.size();
@@ -5591,8 +5567,6 @@ public int getCategoriesCount() {
*
*
* repeated string categories = 7;
- * @param index The index of the element to return.
- * @return The categories at the given index.
*/
public java.lang.String getCategories(int index) {
return categories_.get(index);
@@ -5604,8 +5578,6 @@ public java.lang.String getCategories(int index) {
*
*
* repeated string categories = 7;
- * @param index The index of the value to return.
- * @return The bytes of the categories at the given index.
*/
public com.google.protobuf.ByteString
getCategoriesBytes(int index) {
@@ -5618,16 +5590,14 @@ public java.lang.String getCategories(int index) {
*
*
* repeated string categories = 7;
- * @param index The index to set the value at.
- * @param value The categories to set.
- * @return This builder for chaining.
*/
public Builder setCategories(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureCategoriesIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureCategoriesIsMutable();
categories_.set(index, value);
- bitField0_ |= 0x00000100;
onChanged();
return this;
}
@@ -5638,15 +5608,14 @@ public Builder setCategories(
*
*
* repeated string categories = 7;
- * @param value The categories to add.
- * @return This builder for chaining.
*/
public Builder addCategories(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureCategoriesIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureCategoriesIsMutable();
categories_.add(value);
- bitField0_ |= 0x00000100;
onChanged();
return this;
}
@@ -5657,15 +5626,12 @@ public Builder addCategories(
*
*
* repeated string categories = 7;
- * @param values The categories to add.
- * @return This builder for chaining.
*/
public Builder addAllCategories(
java.lang.Iterablerepeated string categories = 7;
- * @return This builder for chaining.
*/
public Builder clearCategories() {
- categories_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
- bitField0_ = (bitField0_ & ~0x00000100);;
+ categories_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
@@ -5692,15 +5656,14 @@ public Builder clearCategories() {
*
*
* repeated string categories = 7;
- * @param value The bytes of the categories to add.
- * @return This builder for chaining.
*/
public Builder addCategoriesBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- ensureCategoriesIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureCategoriesIsMutable();
categories_.add(value);
- bitField0_ |= 0x00000100;
onChanged();
return this;
}
@@ -5719,10 +5682,9 @@ public Builder addCategoriesBytes(
*
*
* optional string storageVersionHash = 10;
- * @return Whether the storageVersionHash field is set.
*/
public boolean hasStorageVersionHash() {
- return ((bitField0_ & 0x00000200) != 0);
+ return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
*
@@ -5737,7 +5699,6 @@ public boolean hasStorageVersionHash() {
*
*
* optional string storageVersionHash = 10;
- * @return The storageVersionHash.
*/
public java.lang.String getStorageVersionHash() {
java.lang.Object ref = storageVersionHash_;
@@ -5766,7 +5727,6 @@ public java.lang.String getStorageVersionHash() {
*
*
* optional string storageVersionHash = 10;
- * @return The bytes for storageVersionHash.
*/
public com.google.protobuf.ByteString
getStorageVersionHashBytes() {
@@ -5794,14 +5754,14 @@ public java.lang.String getStorageVersionHash() {
*
*
* optional string storageVersionHash = 10;
- * @param value The storageVersionHash to set.
- * @return This builder for chaining.
*/
public Builder setStorageVersionHash(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000200;
storageVersionHash_ = value;
- bitField0_ |= 0x00000200;
onChanged();
return this;
}
@@ -5818,11 +5778,10 @@ public Builder setStorageVersionHash(
*
*
* optional string storageVersionHash = 10;
- * @return This builder for chaining.
*/
public Builder clearStorageVersionHash() {
- storageVersionHash_ = getDefaultInstance().getStorageVersionHash();
bitField0_ = (bitField0_ & ~0x00000200);
+ storageVersionHash_ = getDefaultInstance().getStorageVersionHash();
onChanged();
return this;
}
@@ -5839,17 +5798,29 @@ public Builder clearStorageVersionHash() {
*
*
* optional string storageVersionHash = 10;
- * @param value The bytes for storageVersionHash to set.
- * @return This builder for chaining.
*/
public Builder setStorageVersionHashBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000200;
storageVersionHash_ = value;
- bitField0_ |= 0x00000200;
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.APIResource)
}
@@ -5864,25 +5835,14 @@ public static io.kubernetes.client.proto.Meta.APIResource getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parseroptional string groupVersion = 1;
- * @return Whether the groupVersion field is set.
*/
boolean hasGroupVersion();
/**
@@ -5921,7 +5880,6 @@ public interface APIResourceListOrBuilder extends
*
*
* optional string groupVersion = 1;
- * @return The groupVersion.
*/
java.lang.String getGroupVersion();
/**
@@ -5930,7 +5888,6 @@ public interface APIResourceListOrBuilder extends
*
*
* optional string groupVersion = 1;
- * @return The bytes for groupVersion.
*/
com.google.protobuf.ByteString
getGroupVersionBytes();
@@ -5993,22 +5950,13 @@ io.kubernetes.client.proto.Meta.APIResourceOrBuilder getResourcesOrBuilder(
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.APIResourceList}
*/
- public static final class APIResourceList extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class APIResourceList extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.APIResourceList)
APIResourceListOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- APIResourceList.class.getName());
- }
// Use APIResourceList.newBuilder() to construct.
- private APIResourceList(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private APIResourceList(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private APIResourceList() {
@@ -6016,13 +5964,74 @@ private APIResourceList() {
resources_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private APIResourceList(
+ 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;
+ groupVersion_ = bs;
+ break;
+ }
+ case 18: {
+ if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
+ resources_ = new java.util.ArrayList
* groupVersion is the group and version this APIResourceList is for.
*
*
* optional string groupVersion = 1;
- * @return Whether the groupVersion field is set.
*/
- @java.lang.Override
public boolean hasGroupVersion() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -6051,9 +6057,7 @@ public boolean hasGroupVersion() {
*
*
* optional string groupVersion = 1;
- * @return The groupVersion.
*/
- @java.lang.Override
public java.lang.String getGroupVersion() {
java.lang.Object ref = groupVersion_;
if (ref instanceof java.lang.String) {
@@ -6074,9 +6078,7 @@ public java.lang.String getGroupVersion() {
*
*
* optional string groupVersion = 1;
- * @return The bytes for groupVersion.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getGroupVersionBytes() {
java.lang.Object ref = groupVersion_;
@@ -6092,7 +6094,6 @@ public java.lang.String getGroupVersion() {
}
public static final int RESOURCES_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
private java.util.List
@@ -6102,7 +6103,6 @@ public java.lang.String getGroupVersion() {
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
*/
- @java.lang.Override
public java.util.List getResourcesList() {
return resources_;
}
@@ -6114,7 +6114,6 @@ public java.util.List getResourcesL
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
*/
- @java.lang.Override
public java.util.List extends io.kubernetes.client.proto.Meta.APIResourceOrBuilder>
getResourcesOrBuilderList() {
return resources_;
@@ -6127,7 +6126,6 @@ public java.util.List getResourcesL
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
*/
- @java.lang.Override
public int getResourcesCount() {
return resources_.size();
}
@@ -6139,7 +6137,6 @@ public int getResourcesCount() {
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.APIResource getResources(int index) {
return resources_.get(index);
}
@@ -6151,7 +6148,6 @@ public io.kubernetes.client.proto.Meta.APIResource getResources(int index) {
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.APIResourceOrBuilder getResourcesOrBuilder(
int index) {
return resources_.get(index);
@@ -6171,13 +6167,13 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 1, groupVersion_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, groupVersion_);
}
for (int i = 0; i < resources_.size(); i++) {
output.writeMessage(2, resources_.get(i));
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -6186,14 +6182,14 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(1, groupVersion_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, groupVersion_);
}
for (int i = 0; i < resources_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, resources_.get(i));
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -6208,15 +6204,16 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.APIResourceList other = (io.kubernetes.client.proto.Meta.APIResourceList) obj;
- if (hasGroupVersion() != other.hasGroupVersion()) return false;
+ boolean result = true;
+ result = result && (hasGroupVersion() == other.hasGroupVersion());
if (hasGroupVersion()) {
- if (!getGroupVersion()
- .equals(other.getGroupVersion())) return false;
+ result = result && getGroupVersion()
+ .equals(other.getGroupVersion());
}
- if (!getResourcesList()
- .equals(other.getResourcesList())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && getResourcesList()
+ .equals(other.getResourcesList());
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -6234,7 +6231,7 @@ public int hashCode() {
hash = (37 * hash) + RESOURCES_FIELD_NUMBER;
hash = (53 * hash) + getResourcesList().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -6273,41 +6270,39 @@ public static io.kubernetes.client.proto.Meta.APIResourceList parseFrom(
}
public static io.kubernetes.client.proto.Meta.APIResourceList parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.APIResourceList parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.APIResourceList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
public static io.kubernetes.client.proto.Meta.APIResourceList parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.APIResourceList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.APIResourceList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -6327,7 +6322,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -6341,7 +6336,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.APIResourceList}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder implements
+ com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.APIResourceList)
io.kubernetes.client.proto.Meta.APIResourceListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -6350,7 +6345,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIResourceList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -6359,26 +6354,31 @@ public static final class Builder extends
// Construct using io.kubernetes.client.proto.Meta.APIResourceList.newBuilder()
private Builder() {
-
+ maybeForceBuilderInitialization();
}
private Builder(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
-
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3
+ .alwaysUseFieldBuilders) {
+ getResourcesFieldBuilder();
+ }
}
@java.lang.Override
public Builder clear() {
super.clear();
- bitField0_ = 0;
groupVersion_ = "";
+ bitField0_ = (bitField0_ & ~0x00000001);
if (resourcesBuilder_ == null) {
resources_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
- resources_ = null;
resourcesBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@@ -6405,15 +6405,14 @@ public io.kubernetes.client.proto.Meta.APIResourceList build() {
@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);
- buildPartialRepeatedFields(result);
- if (bitField0_ != 0) { buildPartial0(result); }
- onBuilt();
- return result;
- }
-
- private void buildPartialRepeatedFields(io.kubernetes.client.proto.Meta.APIResourceList result) {
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ to_bitField0_ |= 0x00000001;
+ }
+ result.groupVersion_ = groupVersion_;
if (resourcesBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
resources_ = java.util.Collections.unmodifiableList(resources_);
bitField0_ = (bitField0_ & ~0x00000002);
}
@@ -6421,18 +6420,43 @@ private void buildPartialRepeatedFields(io.kubernetes.client.proto.Meta.APIResou
} else {
result.resources_ = resourcesBuilder_.build();
}
+ result.bitField0_ = to_bitField0_;
+ onBuilt();
+ return result;
}
- private void buildPartial0(io.kubernetes.client.proto.Meta.APIResourceList result) {
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.groupVersion_ = groupVersion_;
- to_bitField0_ |= 0x00000001;
- }
- result.bitField0_ |= to_bitField0_;
+ @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) {
@@ -6446,8 +6470,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
public Builder mergeFrom(io.kubernetes.client.proto.Meta.APIResourceList other) {
if (other == io.kubernetes.client.proto.Meta.APIResourceList.getDefaultInstance()) return this;
if (other.hasGroupVersion()) {
- groupVersion_ = other.groupVersion_;
bitField0_ |= 0x00000001;
+ groupVersion_ = other.groupVersion_;
onChanged();
}
if (resourcesBuilder_ == null) {
@@ -6469,14 +6493,14 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.APIResourceList other)
resources_ = other.resources_;
bitField0_ = (bitField0_ & ~0x00000002);
resourcesBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getResourcesFieldBuilder() : null;
} else {
resourcesBuilder_.addAllMessages(other.resources_);
}
}
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -6491,48 +6515,17 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.kubernetes.client.proto.Meta.APIResourceList parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- groupVersion_ = input.readBytes();
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- case 18: {
- io.kubernetes.client.proto.Meta.APIResource m =
- input.readMessage(
- io.kubernetes.client.proto.Meta.APIResource.parser(),
- extensionRegistry);
- if (resourcesBuilder_ == null) {
- ensureResourcesIsMutable();
- resources_.add(m);
- } else {
- resourcesBuilder_.addMessage(m);
- }
- break;
- } // case 18
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.kubernetes.client.proto.Meta.APIResourceList) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
private int bitField0_;
@@ -6544,10 +6537,9 @@ public Builder mergeFrom(
*
*
* optional string groupVersion = 1;
- * @return Whether the groupVersion field is set.
*/
public boolean hasGroupVersion() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -6555,7 +6547,6 @@ public boolean hasGroupVersion() {
*
*
* optional string groupVersion = 1;
- * @return The groupVersion.
*/
public java.lang.String getGroupVersion() {
java.lang.Object ref = groupVersion_;
@@ -6577,7 +6568,6 @@ public java.lang.String getGroupVersion() {
*
*
* optional string groupVersion = 1;
- * @return The bytes for groupVersion.
*/
public com.google.protobuf.ByteString
getGroupVersionBytes() {
@@ -6598,14 +6588,14 @@ public java.lang.String getGroupVersion() {
*
*
* optional string groupVersion = 1;
- * @param value The groupVersion to set.
- * @return This builder for chaining.
*/
public Builder setGroupVersion(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
groupVersion_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -6615,11 +6605,10 @@ public Builder setGroupVersion(
*
*
* optional string groupVersion = 1;
- * @return This builder for chaining.
*/
public Builder clearGroupVersion() {
- groupVersion_ = getDefaultInstance().getGroupVersion();
bitField0_ = (bitField0_ & ~0x00000001);
+ groupVersion_ = getDefaultInstance().getGroupVersion();
onChanged();
return this;
}
@@ -6629,14 +6618,14 @@ public Builder clearGroupVersion() {
*
*
* optional string groupVersion = 1;
- * @param value The bytes for groupVersion to set.
- * @return This builder for chaining.
*/
public Builder setGroupVersionBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
groupVersion_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -6644,13 +6633,13 @@ public Builder setGroupVersionBytes(
private java.util.Listrepeated string versions = 1;
- * @return A list containing the versions.
*/
java.util.Listrepeated string versions = 1;
- * @return The count of versions.
*/
int getVersionsCount();
/**
@@ -7054,8 +7042,6 @@ public interface APIVersionsOrBuilder extends
*
*
* repeated string versions = 1;
- * @param index The index of the element to return.
- * @return The versions at the given index.
*/
java.lang.String getVersions(int index);
/**
@@ -7065,8 +7051,6 @@ public interface APIVersionsOrBuilder extends
*
*
* repeated string versions = 1;
- * @param index The index of the value to return.
- * @return The bytes of the versions at the given index.
*/
com.google.protobuf.ByteString
getVersionsBytes(int index);
@@ -7154,44 +7138,100 @@ 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
*
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.APIVersions}
*/
- public static final class APIVersions extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class APIVersions extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.APIVersions)
APIVersionsOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- APIVersions.class.getName());
- }
// Use APIVersions.newBuilder() to construct.
- private APIVersions(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private APIVersions(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private APIVersions() {
- versions_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
+ versions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
serverAddressByClientCIDRs_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private APIVersions(
+ 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();
+ if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
+ versions_ = new com.google.protobuf.LazyStringArrayList();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ versions_.add(bs);
+ break;
+ }
+ case 18: {
+ if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
+ serverAddressByClientCIDRs_ = new java.util.ArrayList
* versions are the api versions that are available.
@@ -7209,7 +7247,6 @@ private APIVersions() {
*
*
* repeated string versions = 1;
- * @return A list containing the versions.
*/
public com.google.protobuf.ProtocolStringList
getVersionsList() {
@@ -7222,7 +7259,6 @@ private APIVersions() {
*
*
* repeated string versions = 1;
- * @return The count of versions.
*/
public int getVersionsCount() {
return versions_.size();
@@ -7234,8 +7270,6 @@ public int getVersionsCount() {
*
*
* repeated string versions = 1;
- * @param index The index of the element to return.
- * @return The versions at the given index.
*/
public java.lang.String getVersions(int index) {
return versions_.get(index);
@@ -7247,8 +7281,6 @@ public java.lang.String getVersions(int index) {
*
*
* repeated string versions = 1;
- * @param index The index of the value to return.
- * @return The bytes of the versions at the given index.
*/
public com.google.protobuf.ByteString
getVersionsBytes(int index) {
@@ -7256,7 +7288,6 @@ public java.lang.String getVersions(int index) {
}
public static final int SERVERADDRESSBYCLIENTCIDRS_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
private java.util.List
@@ -7272,7 +7303,6 @@ public java.lang.String getVersions(int index) {
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2;
*/
- @java.lang.Override
public java.util.List getServerAddressByClientCIDRsList() {
return serverAddressByClientCIDRs_;
}
@@ -7290,7 +7320,6 @@ public java.util.List
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2;
*/
- @java.lang.Override
public java.util.List extends io.kubernetes.client.proto.Meta.ServerAddressByClientCIDROrBuilder>
getServerAddressByClientCIDRsOrBuilderList() {
return serverAddressByClientCIDRs_;
@@ -7309,7 +7338,6 @@ public java.util.List
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2;
*/
- @java.lang.Override
public int getServerAddressByClientCIDRsCount() {
return serverAddressByClientCIDRs_.size();
}
@@ -7327,7 +7355,6 @@ public int getServerAddressByClientCIDRsCount() {
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR getServerAddressByClientCIDRs(int index) {
return serverAddressByClientCIDRs_.get(index);
}
@@ -7345,7 +7372,6 @@ public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR getServerAddres
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDROrBuilder getServerAddressByClientCIDRsOrBuilder(
int index) {
return serverAddressByClientCIDRs_.get(index);
@@ -7366,12 +7392,12 @@ public final boolean isInitialized() {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < versions_.size(); i++) {
- com.google.protobuf.GeneratedMessage.writeString(output, 1, versions_.getRaw(i));
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, versions_.getRaw(i));
}
for (int i = 0; i < serverAddressByClientCIDRs_.size(); i++) {
output.writeMessage(2, serverAddressByClientCIDRs_.get(i));
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -7392,7 +7418,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, serverAddressByClientCIDRs_.get(i));
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -7407,12 +7433,13 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.APIVersions other = (io.kubernetes.client.proto.Meta.APIVersions) obj;
- if (!getVersionsList()
- .equals(other.getVersionsList())) return false;
- if (!getServerAddressByClientCIDRsList()
- .equals(other.getServerAddressByClientCIDRsList())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ boolean result = true;
+ result = result && getVersionsList()
+ .equals(other.getVersionsList());
+ result = result && getServerAddressByClientCIDRsList()
+ .equals(other.getServerAddressByClientCIDRsList());
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -7430,7 +7457,7 @@ public int hashCode() {
hash = (37 * hash) + SERVERADDRESSBYCLIENTCIDRS_FIELD_NUMBER;
hash = (53 * hash) + getServerAddressByClientCIDRsList().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -7469,41 +7496,39 @@ public static io.kubernetes.client.proto.Meta.APIVersions parseFrom(
}
public static io.kubernetes.client.proto.Meta.APIVersions parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.APIVersions parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.APIVersions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
public static io.kubernetes.client.proto.Meta.APIVersions parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.APIVersions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.APIVersions parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -7523,7 +7548,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -7531,7 +7556,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
*
@@ -7539,7 +7563,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.APIVersions}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder implements
+ com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.APIVersions)
io.kubernetes.client.proto.Meta.APIVersionsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -7548,7 +7572,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIVersions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -7557,27 +7581,31 @@ public static final class Builder extends
// Construct using io.kubernetes.client.proto.Meta.APIVersions.newBuilder()
private Builder() {
-
+ maybeForceBuilderInitialization();
}
private Builder(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
-
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3
+ .alwaysUseFieldBuilders) {
+ getServerAddressByClientCIDRsFieldBuilder();
+ }
}
@java.lang.Override
public Builder clear() {
super.clear();
- bitField0_ = 0;
- versions_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
+ versions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000001);
if (serverAddressByClientCIDRsBuilder_ == null) {
serverAddressByClientCIDRs_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
- serverAddressByClientCIDRs_ = null;
serverAddressByClientCIDRsBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@@ -7604,15 +7632,14 @@ public io.kubernetes.client.proto.Meta.APIVersions build() {
@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);
- buildPartialRepeatedFields(result);
- if (bitField0_ != 0) { buildPartial0(result); }
- onBuilt();
- return result;
- }
-
- private void buildPartialRepeatedFields(io.kubernetes.client.proto.Meta.APIVersions result) {
+ int from_bitField0_ = bitField0_;
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ versions_ = versions_.getUnmodifiableView();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+ result.versions_ = versions_;
if (serverAddressByClientCIDRsBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
serverAddressByClientCIDRs_ = java.util.Collections.unmodifiableList(serverAddressByClientCIDRs_);
bitField0_ = (bitField0_ & ~0x00000002);
}
@@ -7620,16 +7647,42 @@ private void buildPartialRepeatedFields(io.kubernetes.client.proto.Meta.APIVersi
} else {
result.serverAddressByClientCIDRs_ = serverAddressByClientCIDRsBuilder_.build();
}
+ onBuilt();
+ return result;
}
- private void buildPartial0(io.kubernetes.client.proto.Meta.APIVersions result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- versions_.makeImmutable();
- result.versions_ = versions_;
- }
+ @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) {
@@ -7645,7 +7698,7 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.APIVersions other) {
if (!other.versions_.isEmpty()) {
if (versions_.isEmpty()) {
versions_ = other.versions_;
- bitField0_ |= 0x00000001;
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureVersionsIsMutable();
versions_.addAll(other.versions_);
@@ -7671,14 +7724,14 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.APIVersions other) {
serverAddressByClientCIDRs_ = other.serverAddressByClientCIDRs_;
bitField0_ = (bitField0_ & ~0x00000002);
serverAddressByClientCIDRsBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getServerAddressByClientCIDRsFieldBuilder() : null;
} else {
serverAddressByClientCIDRsBuilder_.addAllMessages(other.serverAddressByClientCIDRs_);
}
}
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -7693,60 +7746,27 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.kubernetes.client.proto.Meta.APIVersions parsedMessage = null;
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();
- ensureVersionsIsMutable();
- versions_.add(bs);
- break;
- } // case 10
- case 18: {
- io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR m =
- input.readMessage(
- io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.parser(),
- extensionRegistry);
- if (serverAddressByClientCIDRsBuilder_ == null) {
- ensureServerAddressByClientCIDRsIsMutable();
- serverAddressByClientCIDRs_.add(m);
- } else {
- serverAddressByClientCIDRsBuilder_.addMessage(m);
- }
- break;
- } // case 18
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.kubernetes.client.proto.Meta.APIVersions) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
private int bitField0_;
- private com.google.protobuf.LazyStringArrayList versions_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
+ private com.google.protobuf.LazyStringList versions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureVersionsIsMutable() {
- if (!versions_.isModifiable()) {
+ if (!((bitField0_ & 0x00000001) == 0x00000001)) {
versions_ = new com.google.protobuf.LazyStringArrayList(versions_);
- }
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000001;
+ }
}
/**
*
@@ -7755,12 +7775,10 @@ private void ensureVersionsIsMutable() {
*
*
* repeated string versions = 1;
- * @return A list containing the versions.
*/
public com.google.protobuf.ProtocolStringList
getVersionsList() {
- versions_.makeImmutable();
- return versions_;
+ return versions_.getUnmodifiableView();
}
/**
*
@@ -7769,7 +7787,6 @@ private void ensureVersionsIsMutable() {
*
*
* repeated string versions = 1;
- * @return The count of versions.
*/
public int getVersionsCount() {
return versions_.size();
@@ -7781,8 +7798,6 @@ public int getVersionsCount() {
*
*
* repeated string versions = 1;
- * @param index The index of the element to return.
- * @return The versions at the given index.
*/
public java.lang.String getVersions(int index) {
return versions_.get(index);
@@ -7794,8 +7809,6 @@ public java.lang.String getVersions(int index) {
*
*
* repeated string versions = 1;
- * @param index The index of the value to return.
- * @return The bytes of the versions at the given index.
*/
public com.google.protobuf.ByteString
getVersionsBytes(int index) {
@@ -7808,16 +7821,14 @@ public java.lang.String getVersions(int index) {
*
*
* repeated string versions = 1;
- * @param index The index to set the value at.
- * @param value The versions to set.
- * @return This builder for chaining.
*/
public Builder setVersions(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureVersionsIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureVersionsIsMutable();
versions_.set(index, value);
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -7828,15 +7839,14 @@ public Builder setVersions(
*
*
* repeated string versions = 1;
- * @param value The versions to add.
- * @return This builder for chaining.
*/
public Builder addVersions(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureVersionsIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureVersionsIsMutable();
versions_.add(value);
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -7847,15 +7857,12 @@ public Builder addVersions(
*
*
* repeated string versions = 1;
- * @param values The versions to add.
- * @return This builder for chaining.
*/
public Builder addAllVersions(
java.lang.Iterablerepeated string versions = 1;
- * @return This builder for chaining.
*/
public Builder clearVersions() {
- versions_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);;
+ versions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -7882,15 +7887,14 @@ public Builder clearVersions() {
*
*
* repeated string versions = 1;
- * @param value The bytes of the versions to add.
- * @return This builder for chaining.
*/
public Builder addVersionsBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- ensureVersionsIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureVersionsIsMutable();
versions_.add(value);
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -7898,13 +7902,13 @@ public Builder addVersionsBytes(
private java.util.Listrepeated string dryRun = 1;
- * @return A list containing the dryRun.
*/
java.util.Listrepeated string dryRun = 1;
- * @return The count of dryRun.
*/
int getDryRunCount();
/**
@@ -8431,8 +8434,6 @@ public interface ApplyOptionsOrBuilder extends
*
*
* repeated string dryRun = 1;
- * @param index The index of the element to return.
- * @return The dryRun at the given index.
*/
java.lang.String getDryRun(int index);
/**
@@ -8447,8 +8448,6 @@ public interface ApplyOptionsOrBuilder extends
*
*
* repeated string dryRun = 1;
- * @param index The index of the value to return.
- * @return The bytes of the dryRun at the given index.
*/
com.google.protobuf.ByteString
getDryRunBytes(int index);
@@ -8460,7 +8459,6 @@ public interface ApplyOptionsOrBuilder extends
*
*
* optional bool force = 2;
- * @return Whether the force field is set.
*/
boolean hasForce();
/**
@@ -8470,7 +8468,6 @@ public interface ApplyOptionsOrBuilder extends
*
*
* optional bool force = 2;
- * @return The force.
*/
boolean getForce();
@@ -8484,7 +8481,6 @@ public interface ApplyOptionsOrBuilder extends
*
*
* optional string fieldManager = 3;
- * @return Whether the fieldManager field is set.
*/
boolean hasFieldManager();
/**
@@ -8497,7 +8493,6 @@ public interface ApplyOptionsOrBuilder extends
*
*
* optional string fieldManager = 3;
- * @return The fieldManager.
*/
java.lang.String getFieldManager();
/**
@@ -8510,7 +8505,6 @@ public interface ApplyOptionsOrBuilder extends
*
*
* optional string fieldManager = 3;
- * @return The bytes for fieldManager.
*/
com.google.protobuf.ByteString
getFieldManagerBytes();
@@ -8525,37 +8519,94 @@ public interface ApplyOptionsOrBuilder extends
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ApplyOptions}
*/
- public static final class ApplyOptions extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class ApplyOptions extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.ApplyOptions)
ApplyOptionsOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- ApplyOptions.class.getName());
- }
// Use ApplyOptions.newBuilder() to construct.
- private ApplyOptions(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private ApplyOptions(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ApplyOptions() {
- dryRun_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
+ dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ force_ = false;
fieldManager_ = "";
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private ApplyOptions(
+ 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();
+ if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
+ dryRun_ = new com.google.protobuf.LazyStringArrayList();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ dryRun_.add(bs);
+ break;
+ }
+ case 16: {
+ bitField0_ |= 0x00000001;
+ force_ = input.readBool();
+ break;
+ }
+ case 26: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000002;
+ fieldManager_ = 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 {
+ 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_ApplyOptions_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ApplyOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -8564,9 +8615,7 @@ private ApplyOptions() {
private int bitField0_;
public static final int DRYRUN_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private com.google.protobuf.LazyStringArrayList dryRun_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
+ private com.google.protobuf.LazyStringList dryRun_;
/**
*
* When present, indicates that modifications should not be
@@ -8579,7 +8628,6 @@ private ApplyOptions() {
*
*
* repeated string dryRun = 1;
- * @return A list containing the dryRun.
*/
public com.google.protobuf.ProtocolStringList
getDryRunList() {
@@ -8597,7 +8645,6 @@ private ApplyOptions() {
*
*
* repeated string dryRun = 1;
- * @return The count of dryRun.
*/
public int getDryRunCount() {
return dryRun_.size();
@@ -8614,8 +8661,6 @@ public int getDryRunCount() {
*
*
* repeated string dryRun = 1;
- * @param index The index of the element to return.
- * @return The dryRun at the given index.
*/
public java.lang.String getDryRun(int index) {
return dryRun_.get(index);
@@ -8632,8 +8677,6 @@ public java.lang.String getDryRun(int index) {
*
*
* repeated string dryRun = 1;
- * @param index The index of the value to return.
- * @return The bytes of the dryRun at the given index.
*/
public com.google.protobuf.ByteString
getDryRunBytes(int index) {
@@ -8641,7 +8684,7 @@ public java.lang.String getDryRun(int index) {
}
public static final int FORCE_FIELD_NUMBER = 2;
- private boolean force_ = false;
+ private boolean force_;
/**
*
* Force is going to "force" Apply requests. It means user will
@@ -8649,11 +8692,9 @@ public java.lang.String getDryRun(int index) {
*
*
* optional bool force = 2;
- * @return Whether the force field is set.
*/
- @java.lang.Override
public boolean hasForce() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -8662,16 +8703,13 @@ public boolean hasForce() {
*
*
* optional bool force = 2;
- * @return The force.
*/
- @java.lang.Override
public boolean getForce() {
return force_;
}
public static final int FIELDMANAGER_FIELD_NUMBER = 3;
- @SuppressWarnings("serial")
- private volatile java.lang.Object fieldManager_ = "";
+ private volatile java.lang.Object fieldManager_;
/**
*
* fieldManager is a name associated with the actor or entity
@@ -8682,11 +8720,9 @@ public boolean getForce() {
*
*
* optional string fieldManager = 3;
- * @return Whether the fieldManager field is set.
*/
- @java.lang.Override
public boolean hasFieldManager() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -8698,9 +8734,7 @@ public boolean hasFieldManager() {
*
*
* optional string fieldManager = 3;
- * @return The fieldManager.
*/
- @java.lang.Override
public java.lang.String getFieldManager() {
java.lang.Object ref = fieldManager_;
if (ref instanceof java.lang.String) {
@@ -8725,9 +8759,7 @@ public java.lang.String getFieldManager() {
*
*
* optional string fieldManager = 3;
- * @return The bytes for fieldManager.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getFieldManagerBytes() {
java.lang.Object ref = fieldManager_;
@@ -8757,15 +8789,15 @@ public final boolean isInitialized() {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < dryRun_.size(); i++) {
- com.google.protobuf.GeneratedMessage.writeString(output, 1, dryRun_.getRaw(i));
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dryRun_.getRaw(i));
}
- if (((bitField0_ & 0x00000001) != 0)) {
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBool(2, force_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 3, fieldManager_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, fieldManager_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -8782,14 +8814,14 @@ public int getSerializedSize() {
size += dataSize;
size += 1 * getDryRunList().size();
}
- if (((bitField0_ & 0x00000001) != 0)) {
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, force_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(3, fieldManager_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, fieldManager_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -8804,20 +8836,21 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.ApplyOptions other = (io.kubernetes.client.proto.Meta.ApplyOptions) obj;
- if (!getDryRunList()
- .equals(other.getDryRunList())) return false;
- if (hasForce() != other.hasForce()) return false;
+ boolean result = true;
+ result = result && getDryRunList()
+ .equals(other.getDryRunList());
+ result = result && (hasForce() == other.hasForce());
if (hasForce()) {
- if (getForce()
- != other.getForce()) return false;
+ result = result && (getForce()
+ == other.getForce());
}
- if (hasFieldManager() != other.hasFieldManager()) return false;
+ result = result && (hasFieldManager() == other.hasFieldManager());
if (hasFieldManager()) {
- if (!getFieldManager()
- .equals(other.getFieldManager())) return false;
+ result = result && getFieldManager()
+ .equals(other.getFieldManager());
}
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -8840,7 +8873,7 @@ public int hashCode() {
hash = (37 * hash) + FIELDMANAGER_FIELD_NUMBER;
hash = (53 * hash) + getFieldManager().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -8879,41 +8912,39 @@ public static io.kubernetes.client.proto.Meta.ApplyOptions parseFrom(
}
public static io.kubernetes.client.proto.Meta.ApplyOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.ApplyOptions parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.ApplyOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
public static io.kubernetes.client.proto.Meta.ApplyOptions parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.ApplyOptions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.ApplyOptions parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -8933,7 +8964,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -8948,7 +8979,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ApplyOptions}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
@@ -9140,12 +9176,10 @@ private void ensureDryRunIsMutable() {
*
*
* repeated string dryRun = 1;
- * @return A list containing the dryRun.
*/
public com.google.protobuf.ProtocolStringList
getDryRunList() {
- dryRun_.makeImmutable();
- return dryRun_;
+ return dryRun_.getUnmodifiableView();
}
/**
*
@@ -9159,7 +9193,6 @@ private void ensureDryRunIsMutable() {
*
*
* repeated string dryRun = 1;
- * @return The count of dryRun.
*/
public int getDryRunCount() {
return dryRun_.size();
@@ -9176,8 +9209,6 @@ public int getDryRunCount() {
*
*
* repeated string dryRun = 1;
- * @param index The index of the element to return.
- * @return The dryRun at the given index.
*/
public java.lang.String getDryRun(int index) {
return dryRun_.get(index);
@@ -9194,8 +9225,6 @@ public java.lang.String getDryRun(int index) {
*
*
* repeated string dryRun = 1;
- * @param index The index of the value to return.
- * @return The bytes of the dryRun at the given index.
*/
public com.google.protobuf.ByteString
getDryRunBytes(int index) {
@@ -9213,16 +9242,14 @@ public java.lang.String getDryRun(int index) {
*
*
* repeated string dryRun = 1;
- * @param index The index to set the value at.
- * @param value The dryRun to set.
- * @return This builder for chaining.
*/
public Builder setDryRun(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureDryRunIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDryRunIsMutable();
dryRun_.set(index, value);
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -9238,15 +9265,14 @@ public Builder setDryRun(
*
*
* repeated string dryRun = 1;
- * @param value The dryRun to add.
- * @return This builder for chaining.
*/
public Builder addDryRun(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureDryRunIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDryRunIsMutable();
dryRun_.add(value);
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -9262,15 +9288,12 @@ public Builder addDryRun(
*
*
* repeated string dryRun = 1;
- * @param values The dryRun to add.
- * @return This builder for chaining.
*/
public Builder addAllDryRun(
java.lang.Iterablerepeated string dryRun = 1;
- * @return This builder for chaining.
*/
public Builder clearDryRun() {
- dryRun_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);;
+ dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -9307,15 +9328,14 @@ public Builder clearDryRun() {
*
*
* repeated string dryRun = 1;
- * @param value The bytes of the dryRun to add.
- * @return This builder for chaining.
*/
public Builder addDryRunBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- ensureDryRunIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDryRunIsMutable();
dryRun_.add(value);
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -9328,11 +9348,9 @@ public Builder addDryRunBytes(
*
*
* optional bool force = 2;
- * @return Whether the force field is set.
*/
- @java.lang.Override
public boolean hasForce() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -9341,9 +9359,7 @@ public boolean hasForce() {
*
*
* optional bool force = 2;
- * @return The force.
*/
- @java.lang.Override
public boolean getForce() {
return force_;
}
@@ -9354,13 +9370,10 @@ public boolean getForce() {
*
*
* optional bool force = 2;
- * @param value The force to set.
- * @return This builder for chaining.
*/
public Builder setForce(boolean value) {
-
- force_ = value;
bitField0_ |= 0x00000002;
+ force_ = value;
onChanged();
return this;
}
@@ -9371,7 +9384,6 @@ public Builder setForce(boolean value) {
*
*
* optional bool force = 2;
- * @return This builder for chaining.
*/
public Builder clearForce() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -9391,10 +9403,9 @@ public Builder clearForce() {
*
*
* optional string fieldManager = 3;
- * @return Whether the fieldManager field is set.
*/
public boolean hasFieldManager() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
@@ -9406,7 +9417,6 @@ public boolean hasFieldManager() {
*
*
* optional string fieldManager = 3;
- * @return The fieldManager.
*/
public java.lang.String getFieldManager() {
java.lang.Object ref = fieldManager_;
@@ -9432,7 +9442,6 @@ public java.lang.String getFieldManager() {
*
*
* optional string fieldManager = 3;
- * @return The bytes for fieldManager.
*/
public com.google.protobuf.ByteString
getFieldManagerBytes() {
@@ -9457,14 +9466,14 @@ public java.lang.String getFieldManager() {
*
*
* optional string fieldManager = 3;
- * @param value The fieldManager to set.
- * @return This builder for chaining.
*/
public Builder setFieldManager(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
fieldManager_ = value;
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -9478,11 +9487,10 @@ public Builder setFieldManager(
*
*
* optional string fieldManager = 3;
- * @return This builder for chaining.
*/
public Builder clearFieldManager() {
- fieldManager_ = getDefaultInstance().getFieldManager();
bitField0_ = (bitField0_ & ~0x00000004);
+ fieldManager_ = getDefaultInstance().getFieldManager();
onChanged();
return this;
}
@@ -9496,17 +9504,29 @@ public Builder clearFieldManager() {
*
*
* optional string fieldManager = 3;
- * @param value The bytes for fieldManager to set.
- * @return This builder for chaining.
*/
public Builder setFieldManagerBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
fieldManager_ = value;
- bitField0_ |= 0x00000004;
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.ApplyOptions)
}
@@ -9521,25 +9541,14 @@ public static io.kubernetes.client.proto.Meta.ApplyOptions getDefaultInstance()
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parseroptional string type = 1;
- * @return Whether the type field is set.
*/
boolean hasType();
/**
@@ -9594,7 +9602,6 @@ public interface ConditionOrBuilder extends
*
*
* optional string type = 1;
- * @return The type.
*/
java.lang.String getType();
/**
@@ -9611,7 +9618,6 @@ public interface ConditionOrBuilder extends
*
*
* optional string type = 1;
- * @return The bytes for type.
*/
com.google.protobuf.ByteString
getTypeBytes();
@@ -9625,7 +9631,6 @@ public interface ConditionOrBuilder extends
*
*
* optional string status = 2;
- * @return Whether the status field is set.
*/
boolean hasStatus();
/**
@@ -9637,7 +9642,6 @@ public interface ConditionOrBuilder extends
*
*
* optional string status = 2;
- * @return The status.
*/
java.lang.String getStatus();
/**
@@ -9649,7 +9653,6 @@ public interface ConditionOrBuilder extends
*
*
* optional string status = 2;
- * @return The bytes for status.
*/
com.google.protobuf.ByteString
getStatusBytes();
@@ -9664,7 +9667,6 @@ public interface ConditionOrBuilder extends
*
*
* optional int64 observedGeneration = 3;
- * @return Whether the observedGeneration field is set.
*/
boolean hasObservedGeneration();
/**
@@ -9677,7 +9679,6 @@ public interface ConditionOrBuilder extends
*
*
* optional int64 observedGeneration = 3;
- * @return The observedGeneration.
*/
long getObservedGeneration();
@@ -9692,7 +9693,6 @@ public interface ConditionOrBuilder extends
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;
- * @return Whether the lastTransitionTime field is set.
*/
boolean hasLastTransitionTime();
/**
@@ -9706,7 +9706,6 @@ public interface ConditionOrBuilder extends
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;
- * @return The lastTransitionTime.
*/
io.kubernetes.client.proto.Meta.Time getLastTransitionTime();
/**
@@ -9738,7 +9737,6 @@ public interface ConditionOrBuilder extends
*
*
* optional string reason = 5;
- * @return Whether the reason field is set.
*/
boolean hasReason();
/**
@@ -9756,7 +9754,6 @@ public interface ConditionOrBuilder extends
*
*
* optional string reason = 5;
- * @return The reason.
*/
java.lang.String getReason();
/**
@@ -9774,7 +9771,6 @@ public interface ConditionOrBuilder extends
*
*
* optional string reason = 5;
- * @return The bytes for reason.
*/
com.google.protobuf.ByteString
getReasonBytes();
@@ -9789,7 +9785,6 @@ public interface ConditionOrBuilder extends
*
*
* optional string message = 6;
- * @return Whether the message field is set.
*/
boolean hasMessage();
/**
@@ -9802,7 +9797,6 @@ public interface ConditionOrBuilder extends
*
*
* optional string message = 6;
- * @return The message.
*/
java.lang.String getMessage();
/**
@@ -9815,7 +9809,6 @@ public interface ConditionOrBuilder extends
*
*
* optional string message = 6;
- * @return The bytes for message.
*/
com.google.protobuf.ByteString
getMessageBytes();
@@ -9825,54 +9818,129 @@ public interface ConditionOrBuilder extends
* Condition contains details for one aspect of the current state of this API Resource.
* ---
* This struct is intended for direct use as an array at the field path .status.conditions. For example,
- *
- * type FooStatus struct{
- * // Represents the observations of a foo's current state.
- * // Known .status.conditions.type are: "Available", "Progressing", and "Degraded"
- * // +patchMergeKey=type
- * // +patchStrategy=merge
- * // +listType=map
- * // +listMapKey=type
- * Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
- *
- * // other fields
- * }
+ * type FooStatus struct{
+ * // Represents the observations of a foo's current state.
+ * // Known .status.conditions.type are: "Available", "Progressing", and "Degraded"
+ * // +patchMergeKey=type
+ * // +patchStrategy=merge
+ * // +listType=map
+ * // +listMapKey=type
+ * Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
+ * // other fields
+ * }
*
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Condition}
*/
- public static final class Condition extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class Condition extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Condition)
ConditionOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- Condition.class.getName());
- }
// Use Condition.newBuilder() to construct.
- private Condition(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private Condition(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Condition() {
type_ = "";
status_ = "";
+ observedGeneration_ = 0L;
reason_ = "";
message_ = "";
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private Condition(
+ 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;
+ type_ = bs;
+ break;
+ }
+ case 18: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000002;
+ status_ = bs;
+ break;
+ }
+ case 24: {
+ bitField0_ |= 0x00000004;
+ observedGeneration_ = input.readInt64();
+ break;
+ }
+ case 34: {
+ io.kubernetes.client.proto.Meta.Time.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ subBuilder = lastTransitionTime_.toBuilder();
+ }
+ lastTransitionTime_ = input.readMessage(io.kubernetes.client.proto.Meta.Time.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(lastTransitionTime_);
+ lastTransitionTime_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000008;
+ break;
+ }
+ case 42: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000010;
+ reason_ = bs;
+ break;
+ }
+ case 50: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000020;
+ message_ = 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_Condition_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Condition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -9881,8 +9949,7 @@ private Condition() {
private int bitField0_;
public static final int TYPE_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object type_ = "";
+ private volatile java.lang.Object type_;
/**
*
* type of condition in CamelCase or in foo.example.com/CamelCase.
@@ -9897,11 +9964,9 @@ private Condition() {
*
*
* optional string type = 1;
- * @return Whether the type field is set.
*/
- @java.lang.Override
public boolean hasType() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -9917,9 +9982,7 @@ public boolean hasType() {
*
*
* optional string type = 1;
- * @return The type.
*/
- @java.lang.Override
public java.lang.String getType() {
java.lang.Object ref = type_;
if (ref instanceof java.lang.String) {
@@ -9948,9 +10011,7 @@ public java.lang.String getType() {
*
*
* optional string type = 1;
- * @return The bytes for type.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getTypeBytes() {
java.lang.Object ref = type_;
@@ -9966,8 +10027,7 @@ public java.lang.String getType() {
}
public static final int STATUS_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private volatile java.lang.Object status_ = "";
+ private volatile java.lang.Object status_;
/**
*
* status of the condition, one of True, False, Unknown.
@@ -9977,11 +10037,9 @@ public java.lang.String getType() {
*
*
* optional string status = 2;
- * @return Whether the status field is set.
*/
- @java.lang.Override
public boolean hasStatus() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -9992,9 +10050,7 @@ public boolean hasStatus() {
*
*
* optional string status = 2;
- * @return The status.
*/
- @java.lang.Override
public java.lang.String getStatus() {
java.lang.Object ref = status_;
if (ref instanceof java.lang.String) {
@@ -10018,9 +10074,7 @@ public java.lang.String getStatus() {
*
*
* optional string status = 2;
- * @return The bytes for status.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getStatusBytes() {
java.lang.Object ref = status_;
@@ -10036,7 +10090,7 @@ public java.lang.String getStatus() {
}
public static final int OBSERVEDGENERATION_FIELD_NUMBER = 3;
- private long observedGeneration_ = 0L;
+ private long observedGeneration_;
/**
*
* observedGeneration represents the .metadata.generation that the condition was set based upon.
@@ -10047,11 +10101,9 @@ public java.lang.String getStatus() {
*
*
* optional int64 observedGeneration = 3;
- * @return Whether the observedGeneration field is set.
*/
- @java.lang.Override
public boolean hasObservedGeneration() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
@@ -10063,9 +10115,7 @@ public boolean hasObservedGeneration() {
*
*
* optional int64 observedGeneration = 3;
- * @return The observedGeneration.
*/
- @java.lang.Override
public long getObservedGeneration() {
return observedGeneration_;
}
@@ -10083,11 +10133,9 @@ public long getObservedGeneration() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;
- * @return Whether the lastTransitionTime field is set.
*/
- @java.lang.Override
public boolean hasLastTransitionTime() {
- return ((bitField0_ & 0x00000008) != 0);
+ return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
@@ -10100,9 +10148,7 @@ public boolean hasLastTransitionTime() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;
- * @return The lastTransitionTime.
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.Time getLastTransitionTime() {
return lastTransitionTime_ == null ? io.kubernetes.client.proto.Meta.Time.getDefaultInstance() : lastTransitionTime_;
}
@@ -10118,14 +10164,12 @@ public io.kubernetes.client.proto.Meta.Time getLastTransitionTime() {
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.TimeOrBuilder getLastTransitionTimeOrBuilder() {
return lastTransitionTime_ == null ? io.kubernetes.client.proto.Meta.Time.getDefaultInstance() : lastTransitionTime_;
}
public static final int REASON_FIELD_NUMBER = 5;
- @SuppressWarnings("serial")
- private volatile java.lang.Object reason_ = "";
+ private volatile java.lang.Object reason_;
/**
*
* reason contains a programmatic identifier indicating the reason for the condition's last transition.
@@ -10141,11 +10185,9 @@ public io.kubernetes.client.proto.Meta.TimeOrBuilder getLastTransitionTimeOrBuil
*
*
* optional string reason = 5;
- * @return Whether the reason field is set.
*/
- @java.lang.Override
public boolean hasReason() {
- return ((bitField0_ & 0x00000010) != 0);
+ return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
@@ -10162,9 +10204,7 @@ public boolean hasReason() {
*
*
* optional string reason = 5;
- * @return The reason.
*/
- @java.lang.Override
public java.lang.String getReason() {
java.lang.Object ref = reason_;
if (ref instanceof java.lang.String) {
@@ -10194,9 +10234,7 @@ public java.lang.String getReason() {
*
*
* optional string reason = 5;
- * @return The bytes for reason.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getReasonBytes() {
java.lang.Object ref = reason_;
@@ -10212,8 +10250,7 @@ public java.lang.String getReason() {
}
public static final int MESSAGE_FIELD_NUMBER = 6;
- @SuppressWarnings("serial")
- private volatile java.lang.Object message_ = "";
+ private volatile java.lang.Object message_;
/**
*
* message is a human readable message indicating details about the transition.
@@ -10224,11 +10261,9 @@ public java.lang.String getReason() {
*
*
* optional string message = 6;
- * @return Whether the message field is set.
*/
- @java.lang.Override
public boolean hasMessage() {
- return ((bitField0_ & 0x00000020) != 0);
+ return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
*
@@ -10240,9 +10275,7 @@ public boolean hasMessage() {
*
*
* optional string message = 6;
- * @return The message.
*/
- @java.lang.Override
public java.lang.String getMessage() {
java.lang.Object ref = message_;
if (ref instanceof java.lang.String) {
@@ -10267,9 +10300,7 @@ public java.lang.String getMessage() {
*
*
* optional string message = 6;
- * @return The bytes for message.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
@@ -10298,25 +10329,25 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 1, type_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 2, status_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, status_);
}
- if (((bitField0_ & 0x00000004) != 0)) {
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt64(3, observedGeneration_);
}
- if (((bitField0_ & 0x00000008) != 0)) {
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeMessage(4, getLastTransitionTime());
}
- if (((bitField0_ & 0x00000010) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 5, reason_);
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 5, reason_);
}
- if (((bitField0_ & 0x00000020) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 6, message_);
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 6, message_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -10325,27 +10356,27 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(1, type_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, type_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(2, status_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, status_);
}
- if (((bitField0_ & 0x00000004) != 0)) {
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, observedGeneration_);
}
- if (((bitField0_ & 0x00000008) != 0)) {
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getLastTransitionTime());
}
- if (((bitField0_ & 0x00000010) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(5, reason_);
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, reason_);
}
- if (((bitField0_ & 0x00000020) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(6, message_);
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, message_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -10360,38 +10391,39 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.Condition other = (io.kubernetes.client.proto.Meta.Condition) obj;
- if (hasType() != other.hasType()) return false;
+ boolean result = true;
+ result = result && (hasType() == other.hasType());
if (hasType()) {
- if (!getType()
- .equals(other.getType())) return false;
+ result = result && getType()
+ .equals(other.getType());
}
- if (hasStatus() != other.hasStatus()) return false;
+ result = result && (hasStatus() == other.hasStatus());
if (hasStatus()) {
- if (!getStatus()
- .equals(other.getStatus())) return false;
+ result = result && getStatus()
+ .equals(other.getStatus());
}
- if (hasObservedGeneration() != other.hasObservedGeneration()) return false;
+ result = result && (hasObservedGeneration() == other.hasObservedGeneration());
if (hasObservedGeneration()) {
- if (getObservedGeneration()
- != other.getObservedGeneration()) return false;
+ result = result && (getObservedGeneration()
+ == other.getObservedGeneration());
}
- if (hasLastTransitionTime() != other.hasLastTransitionTime()) return false;
+ result = result && (hasLastTransitionTime() == other.hasLastTransitionTime());
if (hasLastTransitionTime()) {
- if (!getLastTransitionTime()
- .equals(other.getLastTransitionTime())) return false;
+ result = result && getLastTransitionTime()
+ .equals(other.getLastTransitionTime());
}
- if (hasReason() != other.hasReason()) return false;
+ result = result && (hasReason() == other.hasReason());
if (hasReason()) {
- if (!getReason()
- .equals(other.getReason())) return false;
+ result = result && getReason()
+ .equals(other.getReason());
}
- if (hasMessage() != other.hasMessage()) return false;
+ result = result && (hasMessage() == other.hasMessage());
if (hasMessage()) {
- if (!getMessage()
- .equals(other.getMessage())) return false;
+ result = result && getMessage()
+ .equals(other.getMessage());
}
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -10426,7 +10458,7 @@ public int hashCode() {
hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getMessage().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -10465,41 +10497,39 @@ public static io.kubernetes.client.proto.Meta.Condition parseFrom(
}
public static io.kubernetes.client.proto.Meta.Condition parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.Condition parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.Condition parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
public static io.kubernetes.client.proto.Meta.Condition parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.Condition parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.Condition parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -10519,7 +10549,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -10528,24 +10558,22 @@ protected Builder newBuilderForType(
* Condition contains details for one aspect of the current state of this API Resource.
* ---
* This struct is intended for direct use as an array at the field path .status.conditions. For example,
- *
- * type FooStatus struct{
- * // Represents the observations of a foo's current state.
- * // Known .status.conditions.type are: "Available", "Progressing", and "Degraded"
- * // +patchMergeKey=type
- * // +patchStrategy=merge
- * // +listType=map
- * // +listMapKey=type
- * Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
- *
- * // other fields
- * }
+ * type FooStatus struct{
+ * // Represents the observations of a foo's current state.
+ * // Known .status.conditions.type are: "Available", "Progressing", and "Degraded"
+ * // +patchMergeKey=type
+ * // +patchStrategy=merge
+ * // +listType=map
+ * // +listMapKey=type
+ * Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
+ * // other fields
+ * }
*
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Condition}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional string type = 1;
- * @return Whether the type field is set.
*/
public boolean hasType() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -10801,7 +10818,6 @@ public boolean hasType() {
*
*
* optional string type = 1;
- * @return The type.
*/
public java.lang.String getType() {
java.lang.Object ref = type_;
@@ -10831,7 +10847,6 @@ public java.lang.String getType() {
*
*
* optional string type = 1;
- * @return The bytes for type.
*/
public com.google.protobuf.ByteString
getTypeBytes() {
@@ -10860,14 +10875,14 @@ public java.lang.String getType() {
*
*
* optional string type = 1;
- * @param value The type to set.
- * @return This builder for chaining.
*/
public Builder setType(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
type_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -10885,11 +10900,10 @@ public Builder setType(
*
*
* optional string type = 1;
- * @return This builder for chaining.
*/
public Builder clearType() {
- type_ = getDefaultInstance().getType();
bitField0_ = (bitField0_ & ~0x00000001);
+ type_ = getDefaultInstance().getType();
onChanged();
return this;
}
@@ -10907,14 +10921,14 @@ public Builder clearType() {
*
*
* optional string type = 1;
- * @param value The bytes for type to set.
- * @return This builder for chaining.
*/
public Builder setTypeBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
type_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -10929,10 +10943,9 @@ public Builder setTypeBytes(
*
*
* optional string status = 2;
- * @return Whether the status field is set.
*/
public boolean hasStatus() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -10943,7 +10956,6 @@ public boolean hasStatus() {
*
*
* optional string status = 2;
- * @return The status.
*/
public java.lang.String getStatus() {
java.lang.Object ref = status_;
@@ -10968,7 +10980,6 @@ public java.lang.String getStatus() {
*
*
* optional string status = 2;
- * @return The bytes for status.
*/
public com.google.protobuf.ByteString
getStatusBytes() {
@@ -10992,14 +11003,14 @@ public java.lang.String getStatus() {
*
*
* optional string status = 2;
- * @param value The status to set.
- * @return This builder for chaining.
*/
public Builder setStatus(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
status_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -11012,11 +11023,10 @@ public Builder setStatus(
*
*
* optional string status = 2;
- * @return This builder for chaining.
*/
public Builder clearStatus() {
- status_ = getDefaultInstance().getStatus();
bitField0_ = (bitField0_ & ~0x00000002);
+ status_ = getDefaultInstance().getStatus();
onChanged();
return this;
}
@@ -11029,14 +11039,14 @@ public Builder clearStatus() {
*
*
* optional string status = 2;
- * @param value The bytes for status to set.
- * @return This builder for chaining.
*/
public Builder setStatusBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
status_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -11052,11 +11062,9 @@ public Builder setStatusBytes(
*
*
* optional int64 observedGeneration = 3;
- * @return Whether the observedGeneration field is set.
*/
- @java.lang.Override
public boolean hasObservedGeneration() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
@@ -11068,9 +11076,7 @@ public boolean hasObservedGeneration() {
*
*
* optional int64 observedGeneration = 3;
- * @return The observedGeneration.
*/
- @java.lang.Override
public long getObservedGeneration() {
return observedGeneration_;
}
@@ -11084,13 +11090,10 @@ public long getObservedGeneration() {
*
*
* optional int64 observedGeneration = 3;
- * @param value The observedGeneration to set.
- * @return This builder for chaining.
*/
public Builder setObservedGeneration(long value) {
-
- observedGeneration_ = value;
bitField0_ |= 0x00000004;
+ observedGeneration_ = value;
onChanged();
return this;
}
@@ -11104,7 +11107,6 @@ public Builder setObservedGeneration(long value) {
*
*
* optional int64 observedGeneration = 3;
- * @return This builder for chaining.
*/
public Builder clearObservedGeneration() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -11113,8 +11115,8 @@ public Builder clearObservedGeneration() {
return this;
}
- private io.kubernetes.client.proto.Meta.Time lastTransitionTime_;
- private com.google.protobuf.SingleFieldBuilder<
+ private io.kubernetes.client.proto.Meta.Time lastTransitionTime_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.Meta.Time, io.kubernetes.client.proto.Meta.Time.Builder, io.kubernetes.client.proto.Meta.TimeOrBuilder> lastTransitionTimeBuilder_;
/**
*
@@ -11127,10 +11129,9 @@ public Builder clearObservedGeneration() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;
- * @return Whether the lastTransitionTime field is set.
*/
public boolean hasLastTransitionTime() {
- return ((bitField0_ & 0x00000008) != 0);
+ return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
@@ -11143,7 +11144,6 @@ public boolean hasLastTransitionTime() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;
- * @return The lastTransitionTime.
*/
public io.kubernetes.client.proto.Meta.Time getLastTransitionTime() {
if (lastTransitionTimeBuilder_ == null) {
@@ -11170,11 +11170,11 @@ public Builder setLastTransitionTime(io.kubernetes.client.proto.Meta.Time value)
throw new NullPointerException();
}
lastTransitionTime_ = value;
+ onChanged();
} else {
lastTransitionTimeBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
- onChanged();
return this;
}
/**
@@ -11193,11 +11193,11 @@ public Builder setLastTransitionTime(
io.kubernetes.client.proto.Meta.Time.Builder builderForValue) {
if (lastTransitionTimeBuilder_ == null) {
lastTransitionTime_ = builderForValue.build();
+ onChanged();
} else {
lastTransitionTimeBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
- onChanged();
return this;
}
/**
@@ -11214,20 +11214,19 @@ public Builder setLastTransitionTime(
*/
public Builder mergeLastTransitionTime(io.kubernetes.client.proto.Meta.Time value) {
if (lastTransitionTimeBuilder_ == null) {
- if (((bitField0_ & 0x00000008) != 0) &&
- lastTransitionTime_ != null &&
- lastTransitionTime_ != io.kubernetes.client.proto.Meta.Time.getDefaultInstance()) {
- getLastTransitionTimeBuilder().mergeFrom(value);
+ if (((bitField0_ & 0x00000008) == 0x00000008) &&
+ lastTransitionTime_ != null &&
+ lastTransitionTime_ != io.kubernetes.client.proto.Meta.Time.getDefaultInstance()) {
+ lastTransitionTime_ =
+ io.kubernetes.client.proto.Meta.Time.newBuilder(lastTransitionTime_).mergeFrom(value).buildPartial();
} else {
lastTransitionTime_ = value;
}
+ onChanged();
} else {
lastTransitionTimeBuilder_.mergeFrom(value);
}
- if (lastTransitionTime_ != null) {
- bitField0_ |= 0x00000008;
- onChanged();
- }
+ bitField0_ |= 0x00000008;
return this;
}
/**
@@ -11243,13 +11242,13 @@ public Builder mergeLastTransitionTime(io.kubernetes.client.proto.Meta.Time valu
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;
*/
public Builder clearLastTransitionTime() {
- bitField0_ = (bitField0_ & ~0x00000008);
- lastTransitionTime_ = null;
- if (lastTransitionTimeBuilder_ != null) {
- lastTransitionTimeBuilder_.dispose();
- lastTransitionTimeBuilder_ = null;
+ if (lastTransitionTimeBuilder_ == null) {
+ lastTransitionTime_ = null;
+ onChanged();
+ } else {
+ lastTransitionTimeBuilder_.clear();
}
- onChanged();
+ bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
@@ -11301,11 +11300,11 @@ public io.kubernetes.client.proto.Meta.TimeOrBuilder getLastTransitionTimeOrBuil
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;
*/
- private com.google.protobuf.SingleFieldBuilder<
+ private com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.Meta.Time, io.kubernetes.client.proto.Meta.Time.Builder, io.kubernetes.client.proto.Meta.TimeOrBuilder>
getLastTransitionTimeFieldBuilder() {
if (lastTransitionTimeBuilder_ == null) {
- lastTransitionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+ lastTransitionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.Meta.Time, io.kubernetes.client.proto.Meta.Time.Builder, io.kubernetes.client.proto.Meta.TimeOrBuilder>(
getLastTransitionTime(),
getParentForChildren(),
@@ -11331,10 +11330,9 @@ public io.kubernetes.client.proto.Meta.TimeOrBuilder getLastTransitionTimeOrBuil
*
*
* optional string reason = 5;
- * @return Whether the reason field is set.
*/
public boolean hasReason() {
- return ((bitField0_ & 0x00000010) != 0);
+ return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
@@ -11351,7 +11349,6 @@ public boolean hasReason() {
*
*
* optional string reason = 5;
- * @return The reason.
*/
public java.lang.String getReason() {
java.lang.Object ref = reason_;
@@ -11382,7 +11379,6 @@ public java.lang.String getReason() {
*
*
* optional string reason = 5;
- * @return The bytes for reason.
*/
public com.google.protobuf.ByteString
getReasonBytes() {
@@ -11412,14 +11408,14 @@ public java.lang.String getReason() {
*
*
* optional string reason = 5;
- * @param value The reason to set.
- * @return This builder for chaining.
*/
public Builder setReason(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000010;
reason_ = value;
- bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -11438,11 +11434,10 @@ public Builder setReason(
*
*
* optional string reason = 5;
- * @return This builder for chaining.
*/
public Builder clearReason() {
- reason_ = getDefaultInstance().getReason();
bitField0_ = (bitField0_ & ~0x00000010);
+ reason_ = getDefaultInstance().getReason();
onChanged();
return this;
}
@@ -11461,14 +11456,14 @@ public Builder clearReason() {
*
*
* optional string reason = 5;
- * @param value The bytes for reason to set.
- * @return This builder for chaining.
*/
public Builder setReasonBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000010;
reason_ = value;
- bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -11484,10 +11479,9 @@ public Builder setReasonBytes(
*
*
* optional string message = 6;
- * @return Whether the message field is set.
*/
public boolean hasMessage() {
- return ((bitField0_ & 0x00000020) != 0);
+ return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
*
@@ -11499,7 +11493,6 @@ public boolean hasMessage() {
*
*
* optional string message = 6;
- * @return The message.
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
@@ -11525,7 +11518,6 @@ public java.lang.String getMessage() {
*
*
* optional string message = 6;
- * @return The bytes for message.
*/
public com.google.protobuf.ByteString
getMessageBytes() {
@@ -11550,14 +11542,14 @@ public java.lang.String getMessage() {
*
*
* optional string message = 6;
- * @param value The message to set.
- * @return This builder for chaining.
*/
public Builder setMessage(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000020;
message_ = value;
- bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -11571,11 +11563,10 @@ public Builder setMessage(
*
*
* optional string message = 6;
- * @return This builder for chaining.
*/
public Builder clearMessage() {
- message_ = getDefaultInstance().getMessage();
bitField0_ = (bitField0_ & ~0x00000020);
+ message_ = getDefaultInstance().getMessage();
onChanged();
return this;
}
@@ -11589,17 +11580,29 @@ public Builder clearMessage() {
*
*
* optional string message = 6;
- * @param value The bytes for message to set.
- * @return This builder for chaining.
*/
public Builder setMessageBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000020;
message_ = value;
- bitField0_ |= 0x00000020;
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.Condition)
}
@@ -11614,25 +11617,14 @@ public static io.kubernetes.client.proto.Meta.Condition getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parserrepeated string dryRun = 1;
- * @return A list containing the dryRun.
*/
java.util.Listrepeated string dryRun = 1;
- * @return The count of dryRun.
*/
int getDryRunCount();
/**
@@ -11699,8 +11689,6 @@ public interface CreateOptionsOrBuilder extends
*
*
* repeated string dryRun = 1;
- * @param index The index of the element to return.
- * @return The dryRun at the given index.
*/
java.lang.String getDryRun(int index);
/**
@@ -11715,8 +11703,6 @@ public interface CreateOptionsOrBuilder extends
*
*
* repeated string dryRun = 1;
- * @param index The index of the value to return.
- * @return The bytes of the dryRun at the given index.
*/
com.google.protobuf.ByteString
getDryRunBytes(int index);
@@ -11731,7 +11717,6 @@ public interface CreateOptionsOrBuilder extends
*
*
* optional string fieldManager = 3;
- * @return Whether the fieldManager field is set.
*/
boolean hasFieldManager();
/**
@@ -11744,7 +11729,6 @@ public interface CreateOptionsOrBuilder extends
*
*
* optional string fieldManager = 3;
- * @return The fieldManager.
*/
java.lang.String getFieldManager();
/**
@@ -11757,7 +11741,6 @@ public interface CreateOptionsOrBuilder extends
*
*
* optional string fieldManager = 3;
- * @return The bytes for fieldManager.
*/
com.google.protobuf.ByteString
getFieldManagerBytes();
@@ -11784,7 +11767,6 @@ public interface CreateOptionsOrBuilder extends
*
*
* optional string fieldValidation = 4;
- * @return Whether the fieldValidation field is set.
*/
boolean hasFieldValidation();
/**
@@ -11809,7 +11791,6 @@ public interface CreateOptionsOrBuilder extends
*
*
* optional string fieldValidation = 4;
- * @return The fieldValidation.
*/
java.lang.String getFieldValidation();
/**
@@ -11834,7 +11815,6 @@ public interface CreateOptionsOrBuilder extends
*
*
* optional string fieldValidation = 4;
- * @return The bytes for fieldValidation.
*/
com.google.protobuf.ByteString
getFieldValidationBytes();
@@ -11846,38 +11826,95 @@ public interface CreateOptionsOrBuilder extends
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.CreateOptions}
*/
- public static final class CreateOptions extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class CreateOptions extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.CreateOptions)
CreateOptionsOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- CreateOptions.class.getName());
- }
// Use CreateOptions.newBuilder() to construct.
- private CreateOptions(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private CreateOptions(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CreateOptions() {
- dryRun_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
+ dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY;
fieldManager_ = "";
fieldValidation_ = "";
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ 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();
+ 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();
+ if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
+ dryRun_ = new com.google.protobuf.LazyStringArrayList();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ dryRun_.add(bs);
+ break;
+ }
+ case 26: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000001;
+ fieldManager_ = bs;
+ break;
+ }
+ case 34: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000002;
+ fieldValidation_ = 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 {
+ 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_CreateOptions_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_CreateOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -11886,9 +11923,7 @@ private CreateOptions() {
private int bitField0_;
public static final int DRYRUN_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private com.google.protobuf.LazyStringArrayList dryRun_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
+ private com.google.protobuf.LazyStringList dryRun_;
/**
*
* When present, indicates that modifications should not be
@@ -11901,7 +11936,6 @@ private CreateOptions() {
*
*
* repeated string dryRun = 1;
- * @return A list containing the dryRun.
*/
public com.google.protobuf.ProtocolStringList
getDryRunList() {
@@ -11919,7 +11953,6 @@ private CreateOptions() {
*
*
* repeated string dryRun = 1;
- * @return The count of dryRun.
*/
public int getDryRunCount() {
return dryRun_.size();
@@ -11936,8 +11969,6 @@ public int getDryRunCount() {
*
*
* repeated string dryRun = 1;
- * @param index The index of the element to return.
- * @return The dryRun at the given index.
*/
public java.lang.String getDryRun(int index) {
return dryRun_.get(index);
@@ -11954,8 +11985,6 @@ public java.lang.String getDryRun(int index) {
*
*
* repeated string dryRun = 1;
- * @param index The index of the value to return.
- * @return The bytes of the dryRun at the given index.
*/
public com.google.protobuf.ByteString
getDryRunBytes(int index) {
@@ -11963,8 +11992,7 @@ public java.lang.String getDryRun(int index) {
}
public static final int FIELDMANAGER_FIELD_NUMBER = 3;
- @SuppressWarnings("serial")
- private volatile java.lang.Object fieldManager_ = "";
+ private volatile java.lang.Object fieldManager_;
/**
*
* fieldManager is a name associated with the actor or entity
@@ -11975,11 +12003,9 @@ public java.lang.String getDryRun(int index) {
*
*
* optional string fieldManager = 3;
- * @return Whether the fieldManager field is set.
*/
- @java.lang.Override
public boolean hasFieldManager() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -11991,9 +12017,7 @@ public boolean hasFieldManager() {
*
*
* optional string fieldManager = 3;
- * @return The fieldManager.
*/
- @java.lang.Override
public java.lang.String getFieldManager() {
java.lang.Object ref = fieldManager_;
if (ref instanceof java.lang.String) {
@@ -12018,9 +12042,7 @@ public java.lang.String getFieldManager() {
*
*
* optional string fieldManager = 3;
- * @return The bytes for fieldManager.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getFieldManagerBytes() {
java.lang.Object ref = fieldManager_;
@@ -12036,8 +12058,7 @@ public java.lang.String getFieldManager() {
}
public static final int FIELDVALIDATION_FIELD_NUMBER = 4;
- @SuppressWarnings("serial")
- private volatile java.lang.Object fieldValidation_ = "";
+ private volatile java.lang.Object fieldValidation_;
/**
*
* fieldValidation instructs the server on how to handle
@@ -12060,11 +12081,9 @@ public java.lang.String getFieldManager() {
*
*
* optional string fieldValidation = 4;
- * @return Whether the fieldValidation field is set.
*/
- @java.lang.Override
public boolean hasFieldValidation() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -12088,9 +12107,7 @@ public boolean hasFieldValidation() {
*
*
* optional string fieldValidation = 4;
- * @return The fieldValidation.
*/
- @java.lang.Override
public java.lang.String getFieldValidation() {
java.lang.Object ref = fieldValidation_;
if (ref instanceof java.lang.String) {
@@ -12127,9 +12144,7 @@ public java.lang.String getFieldValidation() {
*
*
* optional string fieldValidation = 4;
- * @return The bytes for fieldValidation.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getFieldValidationBytes() {
java.lang.Object ref = fieldValidation_;
@@ -12159,15 +12174,15 @@ public final boolean isInitialized() {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < dryRun_.size(); i++) {
- com.google.protobuf.GeneratedMessage.writeString(output, 1, dryRun_.getRaw(i));
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dryRun_.getRaw(i));
}
- if (((bitField0_ & 0x00000001) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 3, fieldManager_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, fieldManager_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 4, fieldValidation_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, fieldValidation_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -12184,13 +12199,13 @@ public int getSerializedSize() {
size += dataSize;
size += 1 * getDryRunList().size();
}
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(3, fieldManager_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, fieldManager_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(4, fieldValidation_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, fieldValidation_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -12205,20 +12220,21 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.CreateOptions other = (io.kubernetes.client.proto.Meta.CreateOptions) obj;
- if (!getDryRunList()
- .equals(other.getDryRunList())) return false;
- if (hasFieldManager() != other.hasFieldManager()) return false;
+ boolean result = true;
+ result = result && getDryRunList()
+ .equals(other.getDryRunList());
+ result = result && (hasFieldManager() == other.hasFieldManager());
if (hasFieldManager()) {
- if (!getFieldManager()
- .equals(other.getFieldManager())) return false;
+ result = result && getFieldManager()
+ .equals(other.getFieldManager());
}
- if (hasFieldValidation() != other.hasFieldValidation()) return false;
+ result = result && (hasFieldValidation() == other.hasFieldValidation());
if (hasFieldValidation()) {
- if (!getFieldValidation()
- .equals(other.getFieldValidation())) return false;
+ result = result && getFieldValidation()
+ .equals(other.getFieldValidation());
}
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -12240,7 +12256,7 @@ public int hashCode() {
hash = (37 * hash) + FIELDVALIDATION_FIELD_NUMBER;
hash = (53 * hash) + getFieldValidation().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -12279,41 +12295,39 @@ public static io.kubernetes.client.proto.Meta.CreateOptions parseFrom(
}
public static io.kubernetes.client.proto.Meta.CreateOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.CreateOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.CreateOptions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.CreateOptions parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -12333,7 +12347,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -12345,7 +12359,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.CreateOptions}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
@@ -12539,12 +12558,10 @@ private void ensureDryRunIsMutable() {
*
*
* repeated string dryRun = 1;
- * @return A list containing the dryRun.
*/
public com.google.protobuf.ProtocolStringList
getDryRunList() {
- dryRun_.makeImmutable();
- return dryRun_;
+ return dryRun_.getUnmodifiableView();
}
/**
*
@@ -12558,7 +12575,6 @@ private void ensureDryRunIsMutable() {
*
*
* repeated string dryRun = 1;
- * @return The count of dryRun.
*/
public int getDryRunCount() {
return dryRun_.size();
@@ -12575,8 +12591,6 @@ public int getDryRunCount() {
*
*
* repeated string dryRun = 1;
- * @param index The index of the element to return.
- * @return The dryRun at the given index.
*/
public java.lang.String getDryRun(int index) {
return dryRun_.get(index);
@@ -12593,8 +12607,6 @@ public java.lang.String getDryRun(int index) {
*
*
* repeated string dryRun = 1;
- * @param index The index of the value to return.
- * @return The bytes of the dryRun at the given index.
*/
public com.google.protobuf.ByteString
getDryRunBytes(int index) {
@@ -12612,16 +12624,14 @@ public java.lang.String getDryRun(int index) {
*
*
* repeated string dryRun = 1;
- * @param index The index to set the value at.
- * @param value The dryRun to set.
- * @return This builder for chaining.
*/
public Builder setDryRun(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureDryRunIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDryRunIsMutable();
dryRun_.set(index, value);
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -12637,15 +12647,14 @@ public Builder setDryRun(
*
*
* repeated string dryRun = 1;
- * @param value The dryRun to add.
- * @return This builder for chaining.
*/
public Builder addDryRun(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureDryRunIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDryRunIsMutable();
dryRun_.add(value);
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -12661,15 +12670,12 @@ public Builder addDryRun(
*
*
* repeated string dryRun = 1;
- * @param values The dryRun to add.
- * @return This builder for chaining.
*/
public Builder addAllDryRun(
java.lang.Iterablerepeated string dryRun = 1;
- * @return This builder for chaining.
*/
public Builder clearDryRun() {
- dryRun_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);;
+ dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -12706,15 +12710,14 @@ public Builder clearDryRun() {
*
*
* repeated string dryRun = 1;
- * @param value The bytes of the dryRun to add.
- * @return This builder for chaining.
*/
public Builder addDryRunBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- ensureDryRunIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDryRunIsMutable();
dryRun_.add(value);
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -12730,10 +12733,9 @@ public Builder addDryRunBytes(
*
*
* optional string fieldManager = 3;
- * @return Whether the fieldManager field is set.
*/
public boolean hasFieldManager() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -12745,7 +12747,6 @@ public boolean hasFieldManager() {
*
*
* optional string fieldManager = 3;
- * @return The fieldManager.
*/
public java.lang.String getFieldManager() {
java.lang.Object ref = fieldManager_;
@@ -12771,7 +12772,6 @@ public java.lang.String getFieldManager() {
*
*
* optional string fieldManager = 3;
- * @return The bytes for fieldManager.
*/
public com.google.protobuf.ByteString
getFieldManagerBytes() {
@@ -12796,14 +12796,14 @@ public java.lang.String getFieldManager() {
*
*
* optional string fieldManager = 3;
- * @param value The fieldManager to set.
- * @return This builder for chaining.
*/
public Builder setFieldManager(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
fieldManager_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -12817,11 +12817,10 @@ public Builder setFieldManager(
*
*
* optional string fieldManager = 3;
- * @return This builder for chaining.
*/
public Builder clearFieldManager() {
- fieldManager_ = getDefaultInstance().getFieldManager();
bitField0_ = (bitField0_ & ~0x00000002);
+ fieldManager_ = getDefaultInstance().getFieldManager();
onChanged();
return this;
}
@@ -12835,14 +12834,14 @@ public Builder clearFieldManager() {
*
*
* optional string fieldManager = 3;
- * @param value The bytes for fieldManager to set.
- * @return This builder for chaining.
*/
public Builder setFieldManagerBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
fieldManager_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -12870,10 +12869,9 @@ public Builder setFieldManagerBytes(
*
*
* optional string fieldValidation = 4;
- * @return Whether the fieldValidation field is set.
*/
public boolean hasFieldValidation() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
@@ -12897,7 +12895,6 @@ public boolean hasFieldValidation() {
*
*
* optional string fieldValidation = 4;
- * @return The fieldValidation.
*/
public java.lang.String getFieldValidation() {
java.lang.Object ref = fieldValidation_;
@@ -12935,7 +12932,6 @@ public java.lang.String getFieldValidation() {
*
*
* optional string fieldValidation = 4;
- * @return The bytes for fieldValidation.
*/
public com.google.protobuf.ByteString
getFieldValidationBytes() {
@@ -12972,14 +12968,14 @@ public java.lang.String getFieldValidation() {
*
*
* optional string fieldValidation = 4;
- * @param value The fieldValidation to set.
- * @return This builder for chaining.
*/
public Builder setFieldValidation(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
fieldValidation_ = value;
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -13005,11 +13001,10 @@ public Builder setFieldValidation(
*
*
* optional string fieldValidation = 4;
- * @return This builder for chaining.
*/
public Builder clearFieldValidation() {
- fieldValidation_ = getDefaultInstance().getFieldValidation();
bitField0_ = (bitField0_ & ~0x00000004);
+ fieldValidation_ = getDefaultInstance().getFieldValidation();
onChanged();
return this;
}
@@ -13035,17 +13030,29 @@ public Builder clearFieldValidation() {
*
*
* optional string fieldValidation = 4;
- * @param value The bytes for fieldValidation to set.
- * @return This builder for chaining.
*/
public Builder setFieldValidationBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
fieldValidation_ = value;
- bitField0_ |= 0x00000004;
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.CreateOptions)
}
@@ -13060,25 +13067,14 @@ public static io.kubernetes.client.proto.Meta.CreateOptions getDefaultInstance()
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parseroptional int64 gracePeriodSeconds = 1;
- * @return Whether the gracePeriodSeconds field is set.
*/
boolean hasGracePeriodSeconds();
/**
@@ -13125,7 +13120,6 @@ public interface DeleteOptionsOrBuilder extends
*
*
* optional int64 gracePeriodSeconds = 1;
- * @return The gracePeriodSeconds.
*/
long getGracePeriodSeconds();
@@ -13138,7 +13132,6 @@ public interface DeleteOptionsOrBuilder extends
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2;
- * @return Whether the preconditions field is set.
*/
boolean hasPreconditions();
/**
@@ -13150,7 +13143,6 @@ public interface DeleteOptionsOrBuilder extends
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2;
- * @return The preconditions.
*/
io.kubernetes.client.proto.Meta.Preconditions getPreconditions();
/**
@@ -13175,7 +13167,6 @@ public interface DeleteOptionsOrBuilder extends
*
*
* optional bool orphanDependents = 3;
- * @return Whether the orphanDependents field is set.
*/
boolean hasOrphanDependents();
/**
@@ -13188,7 +13179,6 @@ public interface DeleteOptionsOrBuilder extends
*
*
* optional bool orphanDependents = 3;
- * @return The orphanDependents.
*/
boolean getOrphanDependents();
@@ -13206,7 +13196,6 @@ public interface DeleteOptionsOrBuilder extends
*
*
* optional string propagationPolicy = 4;
- * @return Whether the propagationPolicy field is set.
*/
boolean hasPropagationPolicy();
/**
@@ -13223,7 +13212,6 @@ public interface DeleteOptionsOrBuilder extends
*
*
* optional string propagationPolicy = 4;
- * @return The propagationPolicy.
*/
java.lang.String getPropagationPolicy();
/**
@@ -13240,7 +13228,6 @@ public interface DeleteOptionsOrBuilder extends
*
*
* optional string propagationPolicy = 4;
- * @return The bytes for propagationPolicy.
*/
com.google.protobuf.ByteString
getPropagationPolicyBytes();
@@ -13257,7 +13244,6 @@ public interface DeleteOptionsOrBuilder extends
*
*
* repeated string dryRun = 5;
- * @return A list containing the dryRun.
*/
java.util.Listrepeated string dryRun = 5;
- * @return The count of dryRun.
*/
int getDryRunCount();
/**
@@ -13288,8 +13273,6 @@ public interface DeleteOptionsOrBuilder extends
*
*
* repeated string dryRun = 5;
- * @param index The index of the element to return.
- * @return The dryRun at the given index.
*/
java.lang.String getDryRun(int index);
/**
@@ -13304,11 +13287,50 @@ public interface DeleteOptionsOrBuilder extends
*
*
* repeated string dryRun = 5;
- * @param index The index of the value to return.
- * @return The bytes of the dryRun at the given index.
*/
com.google.protobuf.ByteString
getDryRunBytes(int index);
+
+ /**
+ * + * if set to true, it will trigger an unsafe deletion of the resource in + * case the normal deletion flow fails with a corrupt object error. + * A resource is considered corrupt if it can not be retrieved from + * the underlying storage successfully because of a) its data can + * not be transformed e.g. decryption failure, or b) it fails + * to decode into an object. + * NOTE: unsafe deletion ignores finalizer constraints, skips + * precondition checks, and removes the object from the storage. + * WARNING: This may potentially break the cluster if the workload + * associated with the resource being unsafe-deleted relies on normal + * deletion flow. Use only if you REALLY know what you are doing. + * The default value is false, and the user must opt in to enable it + * +optional + *+ * + *
optional bool ignoreStoreReadErrorWithClusterBreakingPotential = 6;
+ */
+ boolean hasIgnoreStoreReadErrorWithClusterBreakingPotential();
+ /**
+ * + * if set to true, it will trigger an unsafe deletion of the resource in + * case the normal deletion flow fails with a corrupt object error. + * A resource is considered corrupt if it can not be retrieved from + * the underlying storage successfully because of a) its data can + * not be transformed e.g. decryption failure, or b) it fails + * to decode into an object. + * NOTE: unsafe deletion ignores finalizer constraints, skips + * precondition checks, and removes the object from the storage. + * WARNING: This may potentially break the cluster if the workload + * associated with the resource being unsafe-deleted relies on normal + * deletion flow. Use only if you REALLY know what you are doing. + * The default value is false, and the user must opt in to enable it + * +optional + *+ * + *
optional bool ignoreStoreReadErrorWithClusterBreakingPotential = 6;
+ */
+ boolean getIgnoreStoreReadErrorWithClusterBreakingPotential();
}
/**
*
@@ -13317,37 +13339,119 @@ public interface DeleteOptionsOrBuilder extends
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions}
*/
- public static final class DeleteOptions extends
- com.google.protobuf.GeneratedMessage implements
+ 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;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- DeleteOptions.class.getName());
- }
// Use DeleteOptions.newBuilder() to construct.
- private DeleteOptions(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private DeleteOptions(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DeleteOptions() {
+ gracePeriodSeconds_ = 0L;
+ orphanDependents_ = false;
propagationPolicy_ = "";
- dryRun_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
+ dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ ignoreStoreReadErrorWithClusterBreakingPotential_ = false;
}
+ @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();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ 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;
+ }
+ case 48: {
+ bitField0_ |= 0x00000010;
+ ignoreStoreReadErrorWithClusterBreakingPotential_ = input.readBool();
+ 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 {
+ 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_DeleteOptions_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_DeleteOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -13356,7 +13460,7 @@ private DeleteOptions() {
private int bitField0_;
public static final int GRACEPERIODSECONDS_FIELD_NUMBER = 1;
- private long gracePeriodSeconds_ = 0L;
+ private long gracePeriodSeconds_;
/**
*
* The duration in seconds before the object should be deleted. Value must be non-negative integer.
@@ -13367,11 +13471,9 @@ private DeleteOptions() {
*
*
* optional int64 gracePeriodSeconds = 1;
- * @return Whether the gracePeriodSeconds field is set.
*/
- @java.lang.Override
public boolean hasGracePeriodSeconds() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -13383,9 +13485,7 @@ public boolean hasGracePeriodSeconds() {
*
*
* optional int64 gracePeriodSeconds = 1;
- * @return The gracePeriodSeconds.
*/
- @java.lang.Override
public long getGracePeriodSeconds() {
return gracePeriodSeconds_;
}
@@ -13401,11 +13501,9 @@ public long getGracePeriodSeconds() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2;
- * @return Whether the preconditions field is set.
*/
- @java.lang.Override
public boolean hasPreconditions() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -13416,9 +13514,7 @@ public boolean hasPreconditions() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2;
- * @return The preconditions.
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.Preconditions getPreconditions() {
return preconditions_ == null ? io.kubernetes.client.proto.Meta.Preconditions.getDefaultInstance() : preconditions_;
}
@@ -13432,13 +13528,12 @@ public io.kubernetes.client.proto.Meta.Preconditions getPreconditions() {
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2;
*/
- @java.lang.Override
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_ = false;
+ private boolean orphanDependents_;
/**
*
* Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
@@ -13449,11 +13544,9 @@ public io.kubernetes.client.proto.Meta.PreconditionsOrBuilder getPreconditionsOr
*
*
* optional bool orphanDependents = 3;
- * @return Whether the orphanDependents field is set.
*/
- @java.lang.Override
public boolean hasOrphanDependents() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
@@ -13465,16 +13558,13 @@ public boolean hasOrphanDependents() {
*
*
* optional bool orphanDependents = 3;
- * @return The orphanDependents.
*/
- @java.lang.Override
public boolean getOrphanDependents() {
return orphanDependents_;
}
public static final int PROPAGATIONPOLICY_FIELD_NUMBER = 4;
- @SuppressWarnings("serial")
- private volatile java.lang.Object propagationPolicy_ = "";
+ private volatile java.lang.Object propagationPolicy_;
/**
*
* Whether and how garbage collection will be performed.
@@ -13489,11 +13579,9 @@ public boolean getOrphanDependents() {
*
*
* optional string propagationPolicy = 4;
- * @return Whether the propagationPolicy field is set.
*/
- @java.lang.Override
public boolean hasPropagationPolicy() {
- return ((bitField0_ & 0x00000008) != 0);
+ return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
@@ -13509,9 +13597,7 @@ public boolean hasPropagationPolicy() {
*
*
* optional string propagationPolicy = 4;
- * @return The propagationPolicy.
*/
- @java.lang.Override
public java.lang.String getPropagationPolicy() {
java.lang.Object ref = propagationPolicy_;
if (ref instanceof java.lang.String) {
@@ -13540,9 +13626,7 @@ public java.lang.String getPropagationPolicy() {
*
*
* optional string propagationPolicy = 4;
- * @return The bytes for propagationPolicy.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getPropagationPolicyBytes() {
java.lang.Object ref = propagationPolicy_;
@@ -13558,9 +13642,7 @@ public java.lang.String getPropagationPolicy() {
}
public static final int DRYRUN_FIELD_NUMBER = 5;
- @SuppressWarnings("serial")
- private com.google.protobuf.LazyStringArrayList dryRun_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
+ private com.google.protobuf.LazyStringList dryRun_;
/**
*
* When present, indicates that modifications should not be
@@ -13573,7 +13655,6 @@ public java.lang.String getPropagationPolicy() {
*
*
* repeated string dryRun = 5;
- * @return A list containing the dryRun.
*/
public com.google.protobuf.ProtocolStringList
getDryRunList() {
@@ -13591,7 +13672,6 @@ public java.lang.String getPropagationPolicy() {
*
*
* repeated string dryRun = 5;
- * @return The count of dryRun.
*/
public int getDryRunCount() {
return dryRun_.size();
@@ -13608,8 +13688,6 @@ public int getDryRunCount() {
*
*
* repeated string dryRun = 5;
- * @param index The index of the element to return.
- * @return The dryRun at the given index.
*/
public java.lang.String getDryRun(int index) {
return dryRun_.get(index);
@@ -13626,14 +13704,59 @@ public java.lang.String getDryRun(int index) {
*
*
* repeated string dryRun = 5;
- * @param index The index of the value to return.
- * @return The bytes of the dryRun at the given index.
*/
public com.google.protobuf.ByteString
getDryRunBytes(int index) {
return dryRun_.getByteString(index);
}
+ public static final int IGNORESTOREREADERRORWITHCLUSTERBREAKINGPOTENTIAL_FIELD_NUMBER = 6;
+ private boolean ignoreStoreReadErrorWithClusterBreakingPotential_;
+ /**
+ * + * if set to true, it will trigger an unsafe deletion of the resource in + * case the normal deletion flow fails with a corrupt object error. + * A resource is considered corrupt if it can not be retrieved from + * the underlying storage successfully because of a) its data can + * not be transformed e.g. decryption failure, or b) it fails + * to decode into an object. + * NOTE: unsafe deletion ignores finalizer constraints, skips + * precondition checks, and removes the object from the storage. + * WARNING: This may potentially break the cluster if the workload + * associated with the resource being unsafe-deleted relies on normal + * deletion flow. Use only if you REALLY know what you are doing. + * The default value is false, and the user must opt in to enable it + * +optional + *+ * + *
optional bool ignoreStoreReadErrorWithClusterBreakingPotential = 6;
+ */
+ public boolean hasIgnoreStoreReadErrorWithClusterBreakingPotential() {
+ return ((bitField0_ & 0x00000010) == 0x00000010);
+ }
+ /**
+ * + * if set to true, it will trigger an unsafe deletion of the resource in + * case the normal deletion flow fails with a corrupt object error. + * A resource is considered corrupt if it can not be retrieved from + * the underlying storage successfully because of a) its data can + * not be transformed e.g. decryption failure, or b) it fails + * to decode into an object. + * NOTE: unsafe deletion ignores finalizer constraints, skips + * precondition checks, and removes the object from the storage. + * WARNING: This may potentially break the cluster if the workload + * associated with the resource being unsafe-deleted relies on normal + * deletion flow. Use only if you REALLY know what you are doing. + * The default value is false, and the user must opt in to enable it + * +optional + *+ * + *
optional bool ignoreStoreReadErrorWithClusterBreakingPotential = 6;
+ */
+ public boolean getIgnoreStoreReadErrorWithClusterBreakingPotential() {
+ return ignoreStoreReadErrorWithClusterBreakingPotential_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -13648,22 +13771,25 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt64(1, gracePeriodSeconds_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, getPreconditions());
}
- if (((bitField0_ & 0x00000004) != 0)) {
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBool(3, orphanDependents_);
}
- if (((bitField0_ & 0x00000008) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 4, propagationPolicy_);
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, propagationPolicy_);
}
for (int i = 0; i < dryRun_.size(); i++) {
- com.google.protobuf.GeneratedMessage.writeString(output, 5, dryRun_.getRaw(i));
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 5, dryRun_.getRaw(i));
}
- getUnknownFields().writeTo(output);
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ output.writeBool(6, ignoreStoreReadErrorWithClusterBreakingPotential_);
+ }
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -13672,20 +13798,20 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, gracePeriodSeconds_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getPreconditions());
}
- if (((bitField0_ & 0x00000004) != 0)) {
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, orphanDependents_);
}
- if (((bitField0_ & 0x00000008) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(4, propagationPolicy_);
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, propagationPolicy_);
}
{
int dataSize = 0;
@@ -13695,7 +13821,11 @@ public int getSerializedSize() {
size += dataSize;
size += 1 * getDryRunList().size();
}
- size += getUnknownFields().getSerializedSize();
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(6, ignoreStoreReadErrorWithClusterBreakingPotential_);
+ }
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -13710,30 +13840,36 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.DeleteOptions other = (io.kubernetes.client.proto.Meta.DeleteOptions) obj;
- if (hasGracePeriodSeconds() != other.hasGracePeriodSeconds()) return false;
+ boolean result = true;
+ result = result && (hasGracePeriodSeconds() == other.hasGracePeriodSeconds());
if (hasGracePeriodSeconds()) {
- if (getGracePeriodSeconds()
- != other.getGracePeriodSeconds()) return false;
+ result = result && (getGracePeriodSeconds()
+ == other.getGracePeriodSeconds());
}
- if (hasPreconditions() != other.hasPreconditions()) return false;
+ result = result && (hasPreconditions() == other.hasPreconditions());
if (hasPreconditions()) {
- if (!getPreconditions()
- .equals(other.getPreconditions())) return false;
+ result = result && getPreconditions()
+ .equals(other.getPreconditions());
}
- if (hasOrphanDependents() != other.hasOrphanDependents()) return false;
+ result = result && (hasOrphanDependents() == other.hasOrphanDependents());
if (hasOrphanDependents()) {
- if (getOrphanDependents()
- != other.getOrphanDependents()) return false;
+ result = result && (getOrphanDependents()
+ == other.getOrphanDependents());
}
- if (hasPropagationPolicy() != other.hasPropagationPolicy()) return false;
+ result = result && (hasPropagationPolicy() == other.hasPropagationPolicy());
if (hasPropagationPolicy()) {
- if (!getPropagationPolicy()
- .equals(other.getPropagationPolicy())) return false;
+ result = result && getPropagationPolicy()
+ .equals(other.getPropagationPolicy());
}
- if (!getDryRunList()
- .equals(other.getDryRunList())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && getDryRunList()
+ .equals(other.getDryRunList());
+ result = result && (hasIgnoreStoreReadErrorWithClusterBreakingPotential() == other.hasIgnoreStoreReadErrorWithClusterBreakingPotential());
+ if (hasIgnoreStoreReadErrorWithClusterBreakingPotential()) {
+ result = result && (getIgnoreStoreReadErrorWithClusterBreakingPotential()
+ == other.getIgnoreStoreReadErrorWithClusterBreakingPotential());
+ }
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -13765,7 +13901,12 @@ public int hashCode() {
hash = (37 * hash) + DRYRUN_FIELD_NUMBER;
hash = (53 * hash) + getDryRunList().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ if (hasIgnoreStoreReadErrorWithClusterBreakingPotential()) {
+ hash = (37 * hash) + IGNORESTOREREADERRORWITHCLUSTERBREAKINGPOTENTIAL_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getIgnoreStoreReadErrorWithClusterBreakingPotential());
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -13804,41 +13945,39 @@ public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom(
}
public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.DeleteOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -13858,7 +13997,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -13870,7 +14009,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional int64 gracePeriodSeconds = 1;
- * @return Whether the gracePeriodSeconds field is set.
*/
- @java.lang.Override
public boolean hasGracePeriodSeconds() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -14109,9 +14248,7 @@ public boolean hasGracePeriodSeconds() {
*
*
* optional int64 gracePeriodSeconds = 1;
- * @return The gracePeriodSeconds.
*/
- @java.lang.Override
public long getGracePeriodSeconds() {
return gracePeriodSeconds_;
}
@@ -14125,13 +14262,10 @@ public long getGracePeriodSeconds() {
*
*
* optional int64 gracePeriodSeconds = 1;
- * @param value The gracePeriodSeconds to set.
- * @return This builder for chaining.
*/
public Builder setGracePeriodSeconds(long value) {
-
- gracePeriodSeconds_ = value;
bitField0_ |= 0x00000001;
+ gracePeriodSeconds_ = value;
onChanged();
return this;
}
@@ -14145,7 +14279,6 @@ public Builder setGracePeriodSeconds(long value) {
*
*
* optional int64 gracePeriodSeconds = 1;
- * @return This builder for chaining.
*/
public Builder clearGracePeriodSeconds() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -14154,8 +14287,8 @@ public Builder clearGracePeriodSeconds() {
return this;
}
- private io.kubernetes.client.proto.Meta.Preconditions preconditions_;
- private com.google.protobuf.SingleFieldBuilder<
+ 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_;
/**
*
@@ -14166,10 +14299,9 @@ public Builder clearGracePeriodSeconds() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2;
- * @return Whether the preconditions field is set.
*/
public boolean hasPreconditions() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -14180,7 +14312,6 @@ public boolean hasPreconditions() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2;
- * @return The preconditions.
*/
public io.kubernetes.client.proto.Meta.Preconditions getPreconditions() {
if (preconditionsBuilder_ == null) {
@@ -14205,11 +14336,11 @@ public Builder setPreconditions(io.kubernetes.client.proto.Meta.Preconditions va
throw new NullPointerException();
}
preconditions_ = value;
+ onChanged();
} else {
preconditionsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
- onChanged();
return this;
}
/**
@@ -14226,11 +14357,11 @@ 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;
- onChanged();
return this;
}
/**
@@ -14245,20 +14376,19 @@ public Builder setPreconditions(
*/
public Builder mergePreconditions(io.kubernetes.client.proto.Meta.Preconditions value) {
if (preconditionsBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0) &&
- preconditions_ != null &&
- preconditions_ != io.kubernetes.client.proto.Meta.Preconditions.getDefaultInstance()) {
- getPreconditionsBuilder().mergeFrom(value);
+ 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);
}
- if (preconditions_ != null) {
- bitField0_ |= 0x00000002;
- onChanged();
- }
+ bitField0_ |= 0x00000002;
return this;
}
/**
@@ -14272,13 +14402,13 @@ public Builder mergePreconditions(io.kubernetes.client.proto.Meta.Preconditions
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2;
*/
public Builder clearPreconditions() {
- bitField0_ = (bitField0_ & ~0x00000002);
- preconditions_ = null;
- if (preconditionsBuilder_ != null) {
- preconditionsBuilder_.dispose();
- preconditionsBuilder_ = null;
+ if (preconditionsBuilder_ == null) {
+ preconditions_ = null;
+ onChanged();
+ } else {
+ preconditionsBuilder_.clear();
}
- onChanged();
+ bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
@@ -14324,11 +14454,11 @@ public io.kubernetes.client.proto.Meta.PreconditionsOrBuilder getPreconditionsOr
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2;
*/
- private com.google.protobuf.SingleFieldBuilder<
+ 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.SingleFieldBuilder<
+ 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(),
@@ -14349,11 +14479,9 @@ public io.kubernetes.client.proto.Meta.PreconditionsOrBuilder getPreconditionsOr
*
*
* optional bool orphanDependents = 3;
- * @return Whether the orphanDependents field is set.
*/
- @java.lang.Override
public boolean hasOrphanDependents() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
@@ -14365,9 +14493,7 @@ public boolean hasOrphanDependents() {
*
*
* optional bool orphanDependents = 3;
- * @return The orphanDependents.
*/
- @java.lang.Override
public boolean getOrphanDependents() {
return orphanDependents_;
}
@@ -14381,13 +14507,10 @@ public boolean getOrphanDependents() {
*
*
* optional bool orphanDependents = 3;
- * @param value The orphanDependents to set.
- * @return This builder for chaining.
*/
public Builder setOrphanDependents(boolean value) {
-
- orphanDependents_ = value;
bitField0_ |= 0x00000004;
+ orphanDependents_ = value;
onChanged();
return this;
}
@@ -14401,7 +14524,6 @@ public Builder setOrphanDependents(boolean value) {
*
*
* optional bool orphanDependents = 3;
- * @return This builder for chaining.
*/
public Builder clearOrphanDependents() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -14425,10 +14547,9 @@ public Builder clearOrphanDependents() {
*
*
* optional string propagationPolicy = 4;
- * @return Whether the propagationPolicy field is set.
*/
public boolean hasPropagationPolicy() {
- return ((bitField0_ & 0x00000008) != 0);
+ return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
@@ -14444,7 +14565,6 @@ public boolean hasPropagationPolicy() {
*
*
* optional string propagationPolicy = 4;
- * @return The propagationPolicy.
*/
public java.lang.String getPropagationPolicy() {
java.lang.Object ref = propagationPolicy_;
@@ -14474,7 +14594,6 @@ public java.lang.String getPropagationPolicy() {
*
*
* optional string propagationPolicy = 4;
- * @return The bytes for propagationPolicy.
*/
public com.google.protobuf.ByteString
getPropagationPolicyBytes() {
@@ -14503,14 +14622,14 @@ public java.lang.String getPropagationPolicy() {
*
*
* optional string propagationPolicy = 4;
- * @param value The propagationPolicy to set.
- * @return This builder for chaining.
*/
public Builder setPropagationPolicy(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000008;
propagationPolicy_ = value;
- bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -14528,11 +14647,10 @@ public Builder setPropagationPolicy(
*
*
* optional string propagationPolicy = 4;
- * @return This builder for chaining.
*/
public Builder clearPropagationPolicy() {
- propagationPolicy_ = getDefaultInstance().getPropagationPolicy();
bitField0_ = (bitField0_ & ~0x00000008);
+ propagationPolicy_ = getDefaultInstance().getPropagationPolicy();
onChanged();
return this;
}
@@ -14550,25 +14668,24 @@ public Builder clearPropagationPolicy() {
*
*
* optional string propagationPolicy = 4;
- * @param value The bytes for propagationPolicy to set.
- * @return This builder for chaining.
*/
public Builder setPropagationPolicyBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000008;
propagationPolicy_ = value;
- bitField0_ |= 0x00000008;
onChanged();
return this;
}
- private com.google.protobuf.LazyStringArrayList dryRun_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
+ private com.google.protobuf.LazyStringList dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureDryRunIsMutable() {
- if (!dryRun_.isModifiable()) {
+ if (!((bitField0_ & 0x00000010) == 0x00000010)) {
dryRun_ = new com.google.protobuf.LazyStringArrayList(dryRun_);
- }
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000010;
+ }
}
/**
*
@@ -14582,12 +14699,10 @@ private void ensureDryRunIsMutable() {
*
*
* repeated string dryRun = 5;
- * @return A list containing the dryRun.
*/
public com.google.protobuf.ProtocolStringList
getDryRunList() {
- dryRun_.makeImmutable();
- return dryRun_;
+ return dryRun_.getUnmodifiableView();
}
/**
*
@@ -14601,7 +14716,6 @@ private void ensureDryRunIsMutable() {
*
*
* repeated string dryRun = 5;
- * @return The count of dryRun.
*/
public int getDryRunCount() {
return dryRun_.size();
@@ -14618,8 +14732,6 @@ public int getDryRunCount() {
*
*
* repeated string dryRun = 5;
- * @param index The index of the element to return.
- * @return The dryRun at the given index.
*/
public java.lang.String getDryRun(int index) {
return dryRun_.get(index);
@@ -14636,8 +14748,6 @@ public java.lang.String getDryRun(int index) {
*
*
* repeated string dryRun = 5;
- * @param index The index of the value to return.
- * @return The bytes of the dryRun at the given index.
*/
public com.google.protobuf.ByteString
getDryRunBytes(int index) {
@@ -14655,16 +14765,14 @@ public java.lang.String getDryRun(int index) {
*
*
* repeated string dryRun = 5;
- * @param index The index to set the value at.
- * @param value The dryRun to set.
- * @return This builder for chaining.
*/
public Builder setDryRun(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureDryRunIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDryRunIsMutable();
dryRun_.set(index, value);
- bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -14680,15 +14788,14 @@ public Builder setDryRun(
*
*
* repeated string dryRun = 5;
- * @param value The dryRun to add.
- * @return This builder for chaining.
*/
public Builder addDryRun(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureDryRunIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDryRunIsMutable();
dryRun_.add(value);
- bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -14704,15 +14811,12 @@ public Builder addDryRun(
*
*
* repeated string dryRun = 5;
- * @param values The dryRun to add.
- * @return This builder for chaining.
*/
public Builder addAllDryRun(
java.lang.Iterablerepeated string dryRun = 5;
- * @return This builder for chaining.
*/
public Builder clearDryRun() {
- dryRun_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
- bitField0_ = (bitField0_ & ~0x00000010);;
+ dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
@@ -14749,19 +14851,126 @@ public Builder clearDryRun() {
*
*
* repeated string dryRun = 5;
- * @param value The bytes of the dryRun to add.
- * @return This builder for chaining.
*/
public Builder addDryRunBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- ensureDryRunIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDryRunIsMutable();
dryRun_.add(value);
- bitField0_ |= 0x00000010;
onChanged();
return this;
}
+ private boolean ignoreStoreReadErrorWithClusterBreakingPotential_ ;
+ /**
+ * + * if set to true, it will trigger an unsafe deletion of the resource in + * case the normal deletion flow fails with a corrupt object error. + * A resource is considered corrupt if it can not be retrieved from + * the underlying storage successfully because of a) its data can + * not be transformed e.g. decryption failure, or b) it fails + * to decode into an object. + * NOTE: unsafe deletion ignores finalizer constraints, skips + * precondition checks, and removes the object from the storage. + * WARNING: This may potentially break the cluster if the workload + * associated with the resource being unsafe-deleted relies on normal + * deletion flow. Use only if you REALLY know what you are doing. + * The default value is false, and the user must opt in to enable it + * +optional + *+ * + *
optional bool ignoreStoreReadErrorWithClusterBreakingPotential = 6;
+ */
+ public boolean hasIgnoreStoreReadErrorWithClusterBreakingPotential() {
+ return ((bitField0_ & 0x00000020) == 0x00000020);
+ }
+ /**
+ * + * if set to true, it will trigger an unsafe deletion of the resource in + * case the normal deletion flow fails with a corrupt object error. + * A resource is considered corrupt if it can not be retrieved from + * the underlying storage successfully because of a) its data can + * not be transformed e.g. decryption failure, or b) it fails + * to decode into an object. + * NOTE: unsafe deletion ignores finalizer constraints, skips + * precondition checks, and removes the object from the storage. + * WARNING: This may potentially break the cluster if the workload + * associated with the resource being unsafe-deleted relies on normal + * deletion flow. Use only if you REALLY know what you are doing. + * The default value is false, and the user must opt in to enable it + * +optional + *+ * + *
optional bool ignoreStoreReadErrorWithClusterBreakingPotential = 6;
+ */
+ public boolean getIgnoreStoreReadErrorWithClusterBreakingPotential() {
+ return ignoreStoreReadErrorWithClusterBreakingPotential_;
+ }
+ /**
+ * + * if set to true, it will trigger an unsafe deletion of the resource in + * case the normal deletion flow fails with a corrupt object error. + * A resource is considered corrupt if it can not be retrieved from + * the underlying storage successfully because of a) its data can + * not be transformed e.g. decryption failure, or b) it fails + * to decode into an object. + * NOTE: unsafe deletion ignores finalizer constraints, skips + * precondition checks, and removes the object from the storage. + * WARNING: This may potentially break the cluster if the workload + * associated with the resource being unsafe-deleted relies on normal + * deletion flow. Use only if you REALLY know what you are doing. + * The default value is false, and the user must opt in to enable it + * +optional + *+ * + *
optional bool ignoreStoreReadErrorWithClusterBreakingPotential = 6;
+ */
+ public Builder setIgnoreStoreReadErrorWithClusterBreakingPotential(boolean value) {
+ bitField0_ |= 0x00000020;
+ ignoreStoreReadErrorWithClusterBreakingPotential_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * if set to true, it will trigger an unsafe deletion of the resource in + * case the normal deletion flow fails with a corrupt object error. + * A resource is considered corrupt if it can not be retrieved from + * the underlying storage successfully because of a) its data can + * not be transformed e.g. decryption failure, or b) it fails + * to decode into an object. + * NOTE: unsafe deletion ignores finalizer constraints, skips + * precondition checks, and removes the object from the storage. + * WARNING: This may potentially break the cluster if the workload + * associated with the resource being unsafe-deleted relies on normal + * deletion flow. Use only if you REALLY know what you are doing. + * The default value is false, and the user must opt in to enable it + * +optional + *+ * + *
optional bool ignoreStoreReadErrorWithClusterBreakingPotential = 6;
+ */
+ public Builder clearIgnoreStoreReadErrorWithClusterBreakingPotential() {
+ bitField0_ = (bitField0_ & ~0x00000020);
+ ignoreStoreReadErrorWithClusterBreakingPotential_ = 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.DeleteOptions)
}
@@ -14775,25 +14984,14 @@ public static io.kubernetes.client.proto.Meta.DeleteOptions getDefaultInstance()
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parseroptional int64 duration = 1;
- * @return Whether the duration field is set.
*/
boolean hasDuration();
/**
* optional int64 duration = 1;
- * @return The duration.
*/
long getDuration();
}
@@ -14837,34 +15033,74 @@ public interface DurationOrBuilder extends
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Duration}
*/
- public static final class Duration extends
- com.google.protobuf.GeneratedMessage implements
+ 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;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- Duration.class.getName());
- }
// Use Duration.newBuilder() to construct.
- private Duration(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private Duration(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Duration() {
+ duration_ = 0L;
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ 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();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8: {
+ bitField0_ |= 0x00000001;
+ duration_ = input.readInt64();
+ 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_Duration_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Duration_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -14873,20 +15109,16 @@ private Duration() {
private int bitField0_;
public static final int DURATION_FIELD_NUMBER = 1;
- private long duration_ = 0L;
+ private long duration_;
/**
* optional int64 duration = 1;
- * @return Whether the duration field is set.
*/
- @java.lang.Override
public boolean hasDuration() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int64 duration = 1;
- * @return The duration.
*/
- @java.lang.Override
public long getDuration() {
return duration_;
}
@@ -14905,10 +15137,10 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt64(1, duration_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -14917,11 +15149,11 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, duration_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -14936,13 +15168,14 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.Duration other = (io.kubernetes.client.proto.Meta.Duration) obj;
- if (hasDuration() != other.hasDuration()) return false;
+ boolean result = true;
+ result = result && (hasDuration() == other.hasDuration());
if (hasDuration()) {
- if (getDuration()
- != other.getDuration()) return false;
+ result = result && (getDuration()
+ == other.getDuration());
}
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -14957,7 +15190,7 @@ public int hashCode() {
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDuration());
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -14996,41 +15229,39 @@ public static io.kubernetes.client.proto.Meta.Duration parseFrom(
}
public static io.kubernetes.client.proto.Meta.Duration parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.Duration parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.Duration parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.Duration parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -15050,7 +15281,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -15064,7 +15295,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Duration}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional int64 duration = 1;
- * @return Whether the duration field is set.
*/
- @java.lang.Override
public boolean hasDuration() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int64 duration = 1;
- * @return The duration.
*/
- @java.lang.Override
public long getDuration() {
return duration_;
}
/**
* optional int64 duration = 1;
- * @param value The duration to set.
- * @return This builder for chaining.
*/
public Builder setDuration(long value) {
-
- duration_ = value;
bitField0_ |= 0x00000001;
+ duration_ = value;
onChanged();
return this;
}
/**
* optional int64 duration = 1;
- * @return This builder for chaining.
*/
public Builder clearDuration() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -15238,6 +15476,18 @@ public Builder clearDuration() {
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.Duration)
}
@@ -15252,25 +15502,14 @@ public static io.kubernetes.client.proto.Meta.Duration getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser
- * Raw is the underlying serialization of this object.
+ * key is the field selector key that the requirement applies to.
*
*
- * optional bytes Raw = 1;
- * @return Whether the raw field is set.
+ * optional string key = 1;
*/
- boolean hasRaw();
+ boolean hasKey();
/**
*
- * Raw is the underlying serialization of this object.
+ * key is the field selector key that the requirement applies to.
*
*
- * optional bytes Raw = 1;
- * @return The raw.
+ * optional string key = 1;
*/
- com.google.protobuf.ByteString getRaw();
+ java.lang.String getKey();
+ /**
+ * + * key is the field selector key that the requirement applies to. + *+ * + *
optional string key = 1;
+ */
+ com.google.protobuf.ByteString
+ getKeyBytes();
+
+ /**
+ * + * operator represents a key's relationship to a set of values. + * Valid operators are In, NotIn, Exists, DoesNotExist. + * The list of operators may grow in the future. + *+ * + *
optional string operator = 2;
+ */
+ boolean hasOperator();
+ /**
+ * + * operator represents a key's relationship to a set of values. + * Valid operators are In, NotIn, Exists, DoesNotExist. + * The list of operators may grow in the future. + *+ * + *
optional string operator = 2;
+ */
+ java.lang.String getOperator();
+ /**
+ * + * operator represents a key's relationship to a set of values. + * Valid operators are In, NotIn, Exists, DoesNotExist. + * The list of operators may grow in the future. + *+ * + *
optional string operator = 2;
+ */
+ com.google.protobuf.ByteString
+ getOperatorBytes();
+
+ /**
+ * + * 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. + * +optional + * +listType=atomic + *+ * + *
repeated string values = 3;
+ */
+ java.util.List+ * 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. + * +optional + * +listType=atomic + *+ * + *
repeated string values = 3;
+ */
+ int getValuesCount();
+ /**
+ * + * 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. + * +optional + * +listType=atomic + *+ * + *
repeated string values = 3;
+ */
+ java.lang.String getValues(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. + * +optional + * +listType=atomic + *+ * + *
repeated string values = 3;
+ */
+ com.google.protobuf.ByteString
+ getValuesBytes(int index);
}
/**
*
- * FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.
- *
- * Each key is either a '.' representing the field itself, and will always map to an empty set,
- * or a string representing a sub-field or item. The string will follow one of these four formats:
- * 'f:<name>', where <name> is the name of a field in a struct, or key in a map
- * 'v:<value>', where <value> is the exact json formatted value of a list item
- * 'i:<index>', where <index> is position of a item in a list
- * 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values
- * If a key maps to an empty Fields value, the field that key represents is part of the set.
- *
- * The exact format is defined in sigs.k8s.io/structured-merge-diff
- * +protobuf.options.(gogoproto.goproto_stringer)=false
+ * FieldSelectorRequirement 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.FieldsV1}
+ * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.FieldSelectorRequirement}
*/
- public static final class FieldsV1 extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1)
- FieldsV1OrBuilder {
+ public static final class FieldSelectorRequirement extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.FieldSelectorRequirement)
+ FieldSelectorRequirementOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- FieldsV1.class.getName());
- }
- // Use FieldsV1.newBuilder() to construct.
- private FieldsV1(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ // Use FieldSelectorRequirement.newBuilder() to construct.
+ private FieldSelectorRequirement(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
- private FieldsV1() {
- raw_ = com.google.protobuf.ByteString.EMPTY;
+ private FieldSelectorRequirement() {
+ key_ = "";
+ operator_ = "";
+ values_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private FieldSelectorRequirement(
+ 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;
+ key_ = bs;
+ break;
+ }
+ case 18: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000002;
+ operator_ = bs;
+ break;
+ }
+ case 26: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
+ values_ = new com.google.protobuf.LazyStringArrayList();
+ mutable_bitField0_ |= 0x00000004;
+ }
+ values_.add(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 {
+ 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_FieldsV1_descriptor;
+ return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_FieldSelectorRequirement_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_FieldsV1_fieldAccessorTable
+ return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_FieldSelectorRequirement_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- io.kubernetes.client.proto.Meta.FieldsV1.class, io.kubernetes.client.proto.Meta.FieldsV1.Builder.class);
+ io.kubernetes.client.proto.Meta.FieldSelectorRequirement.class, io.kubernetes.client.proto.Meta.FieldSelectorRequirement.Builder.class);
}
private int bitField0_;
- public static final int RAW_FIELD_NUMBER = 1;
- private com.google.protobuf.ByteString raw_ = com.google.protobuf.ByteString.EMPTY;
+ public static final int KEY_FIELD_NUMBER = 1;
+ private volatile java.lang.Object key_;
/**
*
- * Raw is the underlying serialization of this object.
+ * key is the field selector key that the requirement applies to.
*
*
- * optional bytes Raw = 1;
- * @return Whether the raw field is set.
+ * optional string key = 1;
*/
- @java.lang.Override
- public boolean hasRaw() {
- return ((bitField0_ & 0x00000001) != 0);
+ public boolean hasKey() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
- * Raw is the underlying serialization of this object.
+ * key is the field selector key that the requirement applies to.
*
*
- * optional bytes Raw = 1;
- * @return The raw.
+ * optional string key = 1;
*/
- @java.lang.Override
- public com.google.protobuf.ByteString getRaw() {
- return raw_;
+ 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;
+ }
+ }
+ /**
+ * + * key is the field selector key that the requirement applies to. + *+ * + *
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 are In, NotIn, Exists, DoesNotExist. + * The list of operators may grow in the future. + *+ * + *
optional string operator = 2;
+ */
+ public boolean hasOperator() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * + * operator represents a key's relationship to a set of values. + * Valid operators are In, NotIn, Exists, DoesNotExist. + * The list of operators may grow in the future. + *+ * + *
optional string operator = 2;
+ */
+ 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;
+ }
+ }
+ /**
+ * + * operator represents a key's relationship to a set of values. + * Valid operators are In, NotIn, Exists, DoesNotExist. + * The list of operators may grow in the future. + *+ * + *
optional string operator = 2;
+ */
+ 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 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. + * +optional + * +listType=atomic + *+ * + *
repeated string values = 3;
+ */
+ public com.google.protobuf.ProtocolStringList
+ getValuesList() {
+ return 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. + * +optional + * +listType=atomic + *+ * + *
repeated string values = 3;
+ */
+ public int getValuesCount() {
+ return values_.size();
+ }
+ /**
+ * + * 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. + * +optional + * +listType=atomic + *+ * + *
repeated string values = 3;
+ */
+ public java.lang.String getValues(int index) {
+ return values_.get(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. + * +optional + * +listType=atomic + *+ * + *
repeated string values = 3;
+ */
+ public com.google.protobuf.ByteString
+ getValuesBytes(int index) {
+ return values_.getByteString(index);
}
private byte memoizedIsInitialized = -1;
@@ -15408,10 +15935,16 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- output.writeBytes(1, raw_);
+ 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 < values_.size(); i++) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, values_.getRaw(i));
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -15420,11 +15953,21 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(1, raw_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_);
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, operator_);
}
- size += getUnknownFields().getSerializedSize();
+ {
+ 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;
return size;
}
@@ -15434,18 +15977,26 @@ public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
- if (!(obj instanceof io.kubernetes.client.proto.Meta.FieldsV1)) {
+ if (!(obj instanceof io.kubernetes.client.proto.Meta.FieldSelectorRequirement)) {
return super.equals(obj);
}
- io.kubernetes.client.proto.Meta.FieldsV1 other = (io.kubernetes.client.proto.Meta.FieldsV1) obj;
+ io.kubernetes.client.proto.Meta.FieldSelectorRequirement other = (io.kubernetes.client.proto.Meta.FieldSelectorRequirement) obj;
- if (hasRaw() != other.hasRaw()) return false;
- if (hasRaw()) {
- if (!getRaw()
- .equals(other.getRaw())) return false;
+ boolean result = true;
+ result = result && (hasKey() == other.hasKey());
+ if (hasKey()) {
+ result = result && getKey()
+ .equals(other.getKey());
}
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ 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;
}
@java.lang.Override
@@ -15455,84 +16006,90 @@ public int hashCode() {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
- if (hasRaw()) {
- hash = (37 * hash) + RAW_FIELD_NUMBER;
- hash = (53 * hash) + getRaw().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 (getValuesCount() > 0) {
+ hash = (37 * hash) + VALUES_FIELD_NUMBER;
+ hash = (53 * hash) + getValuesList().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
- public static io.kubernetes.client.proto.Meta.FieldsV1 parseFrom(
+ public static io.kubernetes.client.proto.Meta.FieldSelectorRequirement parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static io.kubernetes.client.proto.Meta.FieldsV1 parseFrom(
+ public static io.kubernetes.client.proto.Meta.FieldSelectorRequirement 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.FieldsV1 parseFrom(
+ public static io.kubernetes.client.proto.Meta.FieldSelectorRequirement parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static io.kubernetes.client.proto.Meta.FieldsV1 parseFrom(
+ public static io.kubernetes.client.proto.Meta.FieldSelectorRequirement 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.FieldsV1 parseFrom(byte[] data)
+ public static io.kubernetes.client.proto.Meta.FieldSelectorRequirement parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static io.kubernetes.client.proto.Meta.FieldsV1 parseFrom(
+ public static io.kubernetes.client.proto.Meta.FieldSelectorRequirement 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.FieldsV1 parseFrom(java.io.InputStream input)
+ public static io.kubernetes.client.proto.Meta.FieldSelectorRequirement parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static io.kubernetes.client.proto.Meta.FieldsV1 parseFrom(
+ public static io.kubernetes.client.proto.Meta.FieldSelectorRequirement parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
- public static io.kubernetes.client.proto.Meta.FieldsV1 parseDelimitedFrom(java.io.InputStream input)
+ public static io.kubernetes.client.proto.Meta.FieldSelectorRequirement parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
- public static io.kubernetes.client.proto.Meta.FieldsV1 parseDelimitedFrom(
+ public static io.kubernetes.client.proto.Meta.FieldSelectorRequirement parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
- public static io.kubernetes.client.proto.Meta.FieldsV1 parseFrom(
+ public static io.kubernetes.client.proto.Meta.FieldSelectorRequirement parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static io.kubernetes.client.proto.Meta.FieldsV1 parseFrom(
+ public static io.kubernetes.client.proto.Meta.FieldSelectorRequirement parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -15541,7 +16098,7 @@ public static io.kubernetes.client.proto.Meta.FieldsV1 parseFrom(
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
- public static Builder newBuilder(io.kubernetes.client.proto.Meta.FieldsV1 prototype) {
+ public static Builder newBuilder(io.kubernetes.client.proto.Meta.FieldSelectorRequirement prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
@@ -15552,71 +16109,988 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
- * FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.
- *
- * Each key is either a '.' representing the field itself, and will always map to an empty set,
- * or a string representing a sub-field or item. The string will follow one of these four formats:
- * 'f:<name>', where <name> is the name of a field in a struct, or key in a map
- * 'v:<value>', where <value> is the exact json formatted value of a list item
- * 'i:<index>', where <index> is position of a item in a list
- * 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values
- * If a key maps to an empty Fields value, the field that key represents is part of the set.
- *
- * The exact format is defined in sigs.k8s.io/structured-merge-diff
- * +protobuf.options.(gogoproto.goproto_stringer)=false
+ * FieldSelectorRequirement 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.FieldsV1}
+ * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.FieldSelectorRequirement}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder+ * key is the field selector key that the requirement applies to. + *+ * + *
optional string key = 1;
+ */
+ public boolean hasKey() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ /**
+ * + * key is the field selector key that the requirement applies to. + *+ * + *
optional string key = 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;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + * key is the field selector key that the requirement applies to. + *+ * + *
optional string key = 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;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + * key is the field selector key that the requirement applies to. + *+ * + *
optional string key = 1;
+ */
+ public Builder setKey(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ key_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * key is the field selector key that the requirement applies to. + *+ * + *
optional string key = 1;
+ */
+ public Builder clearKey() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ key_ = getDefaultInstance().getKey();
+ onChanged();
+ return this;
+ }
+ /**
+ * + * key is the field selector key that the requirement applies to. + *+ * + *
optional string key = 1;
+ */
+ public Builder setKeyBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ key_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object operator_ = "";
+ /**
+ * + * operator represents a key's relationship to a set of values. + * Valid operators are In, NotIn, Exists, DoesNotExist. + * The list of operators may grow in the future. + *+ * + *
optional string operator = 2;
+ */
+ public boolean hasOperator() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * + * operator represents a key's relationship to a set of values. + * Valid operators are In, NotIn, Exists, DoesNotExist. + * The list of operators may grow in the future. + *+ * + *
optional string operator = 2;
+ */
+ 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;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + * operator represents a key's relationship to a set of values. + * Valid operators are In, NotIn, Exists, DoesNotExist. + * The list of operators may grow in the future. + *+ * + *
optional string operator = 2;
+ */
+ 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;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + * operator represents a key's relationship to a set of values. + * Valid operators are In, NotIn, Exists, DoesNotExist. + * The list of operators may grow in the future. + *+ * + *
optional string operator = 2;
+ */
+ public Builder setOperator(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
+ operator_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * operator represents a key's relationship to a set of values. + * Valid operators are In, NotIn, Exists, DoesNotExist. + * The list of operators may grow in the future. + *+ * + *
optional string operator = 2;
+ */
+ public Builder clearOperator() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ operator_ = getDefaultInstance().getOperator();
+ onChanged();
+ return this;
+ }
+ /**
+ * + * operator represents a key's relationship to a set of values. + * Valid operators are In, NotIn, Exists, DoesNotExist. + * The list of operators may grow in the future. + *+ * + *
optional string operator = 2;
+ */
+ public Builder setOperatorBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
+ operator_ = 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;
+ }
+ }
+ /**
+ * + * 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. + * +optional + * +listType=atomic + *+ * + *
repeated string values = 3;
+ */
+ public com.google.protobuf.ProtocolStringList
+ getValuesList() {
+ return values_.getUnmodifiableView();
+ }
+ /**
+ * + * 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. + * +optional + * +listType=atomic + *+ * + *
repeated string values = 3;
+ */
+ public int getValuesCount() {
+ return values_.size();
+ }
+ /**
+ * + * 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. + * +optional + * +listType=atomic + *+ * + *
repeated string values = 3;
+ */
+ public java.lang.String getValues(int index) {
+ return values_.get(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. + * +optional + * +listType=atomic + *+ * + *
repeated string values = 3;
+ */
+ public com.google.protobuf.ByteString
+ getValuesBytes(int index) {
+ return values_.getByteString(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. + * +optional + * +listType=atomic + *+ * + *
repeated string values = 3;
+ */
+ public Builder setValues(
+ int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureValuesIsMutable();
+ values_.set(index, value);
+ onChanged();
+ 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. + * +optional + * +listType=atomic + *+ * + *
repeated string values = 3;
+ */
+ public Builder addValues(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureValuesIsMutable();
+ values_.add(value);
+ onChanged();
+ 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. + * +optional + * +listType=atomic + *+ * + *
repeated string values = 3;
+ */
+ public Builder addAllValues(
+ java.lang.Iterable+ * 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. + * +optional + * +listType=atomic + *+ * + *
repeated string values = 3;
+ */
+ public Builder clearValues() {
+ values_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ 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. + * +optional + * +listType=atomic + *+ * + *
repeated string values = 3;
+ */
+ 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.FieldSelectorRequirement)
+ }
+
+ // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.FieldSelectorRequirement)
+ private static final io.kubernetes.client.proto.Meta.FieldSelectorRequirement DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.FieldSelectorRequirement();
+ }
+
+ public static io.kubernetes.client.proto.Meta.FieldSelectorRequirement getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ @java.lang.Deprecated public static final com.google.protobuf.Parser+ * Raw is the underlying serialization of this object. + *+ * + *
optional bytes Raw = 1;
+ */
+ boolean hasRaw();
+ /**
+ * + * Raw is the underlying serialization of this object. + *+ * + *
optional bytes Raw = 1;
+ */
+ com.google.protobuf.ByteString getRaw();
+ }
+ /**
+ * + * FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format. + * Each key is either a '.' representing the field itself, and will always map to an empty set, + * or a string representing a sub-field or item. The string will follow one of these four formats: + * 'f:<name>', where <name> is the name of a field in a struct, or key in a map + * 'v:<value>', where <value> is the exact json formatted value of a list item + * 'i:<index>', where <index> is position of a item in a list + * 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values + * If a key maps to an empty Fields value, the field that key represents is part of the set. + * The exact format is defined in sigs.k8s.io/structured-merge-diff + * +protobuf.options.(gogoproto.goproto_stringer)=false + *+ * + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1} + */ + public static final class FieldsV1 extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1) + FieldsV1OrBuilder { + private static final long serialVersionUID = 0L; + // Use FieldsV1.newBuilder() to construct. + private FieldsV1(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private FieldsV1() { + raw_ = com.google.protobuf.ByteString.EMPTY; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private FieldsV1( + 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: { + bitField0_ |= 0x00000001; + raw_ = input.readBytes(); + 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_FieldsV1_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_FieldsV1_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.kubernetes.client.proto.Meta.FieldsV1.class, io.kubernetes.client.proto.Meta.FieldsV1.Builder.class); + } + + private int bitField0_; + public static final int RAW_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString raw_; + /** + *
+ * Raw is the underlying serialization of this object. + *+ * + *
optional bytes Raw = 1;
+ */
+ public boolean hasRaw() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ /**
+ * + * Raw is the underlying serialization of this object. + *+ * + *
optional bytes Raw = 1;
+ */
+ public com.google.protobuf.ByteString getRaw() {
+ return raw_;
+ }
+
+ 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.writeBytes(1, raw_);
+ }
+ 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
+ .computeBytesSize(1, raw_);
+ }
+ 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.FieldsV1)) {
+ return super.equals(obj);
+ }
+ io.kubernetes.client.proto.Meta.FieldsV1 other = (io.kubernetes.client.proto.Meta.FieldsV1) obj;
+
+ boolean result = true;
+ result = result && (hasRaw() == other.hasRaw());
+ if (hasRaw()) {
+ result = result && getRaw()
+ .equals(other.getRaw());
+ }
+ 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 (hasRaw()) {
+ hash = (37 * hash) + RAW_FIELD_NUMBER;
+ hash = (53 * hash) + getRaw().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static io.kubernetes.client.proto.Meta.FieldsV1 parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static io.kubernetes.client.proto.Meta.FieldsV1 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.FieldsV1 parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static io.kubernetes.client.proto.Meta.FieldsV1 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.FieldsV1 parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static io.kubernetes.client.proto.Meta.FieldsV1 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.FieldsV1 parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static io.kubernetes.client.proto.Meta.FieldsV1 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.FieldsV1 parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static io.kubernetes.client.proto.Meta.FieldsV1 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.FieldsV1 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.FieldsV1 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.FieldsV1 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;
+ }
+ /**
+ * + * FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format. + * Each key is either a '.' representing the field itself, and will always map to an empty set, + * or a string representing a sub-field or item. The string will follow one of these four formats: + * 'f:<name>', where <name> is the name of a field in a struct, or key in a map + * 'v:<value>', where <value> is the exact json formatted value of a list item + * 'i:<index>', where <index> is position of a item in a list + * 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values + * If a key maps to an empty Fields value, the field that key represents is part of the set. + * The exact format is defined in sigs.k8s.io/structured-merge-diff + * +protobuf.options.(gogoproto.goproto_stringer)=false + *+ * + * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
optional bytes Raw = 1;
- * @return Whether the raw field is set.
*/
- @java.lang.Override
public boolean hasRaw() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -15729,9 +17211,7 @@ public boolean hasRaw() {
*
*
* optional bytes Raw = 1;
- * @return The raw.
*/
- @java.lang.Override
public com.google.protobuf.ByteString getRaw() {
return raw_;
}
@@ -15741,13 +17221,13 @@ public com.google.protobuf.ByteString getRaw() {
*
*
* optional bytes Raw = 1;
- * @param value The raw to set.
- * @return This builder for chaining.
*/
public Builder setRaw(com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
raw_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -15757,7 +17237,6 @@ public Builder setRaw(com.google.protobuf.ByteString value) {
*
*
* optional bytes Raw = 1;
- * @return This builder for chaining.
*/
public Builder clearRaw() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -15765,6 +17244,18 @@ public Builder clearRaw() {
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.FieldsV1)
}
@@ -15779,25 +17270,14 @@ public static io.kubernetes.client.proto.Meta.FieldsV1 getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parseroptional string resourceVersion = 1;
- * @return Whether the resourceVersion field is set.
*/
boolean hasResourceVersion();
/**
@@ -15840,13 +17318,11 @@ public interface GetOptionsOrBuilder extends
* resourceVersion sets a constraint on what resource versions a request may be served from.
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersion = 1;
- * @return The resourceVersion.
*/
java.lang.String getResourceVersion();
/**
@@ -15854,13 +17330,11 @@ public interface GetOptionsOrBuilder extends
* resourceVersion sets a constraint on what resource versions a request may be served from.
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersion = 1;
- * @return The bytes for resourceVersion.
*/
com.google.protobuf.ByteString
getResourceVersionBytes();
@@ -15872,35 +17346,75 @@ public interface GetOptionsOrBuilder extends
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions}
*/
- public static final class GetOptions extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class GetOptions extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions)
GetOptionsOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- GetOptions.class.getName());
- }
// Use GetOptions.newBuilder() to construct.
- private GetOptions(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private GetOptions(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetOptions() {
resourceVersion_ = "";
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ 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();
+ 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;
+ resourceVersion_ = 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_GetOptions_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GetOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -15909,39 +17423,32 @@ private GetOptions() {
private int bitField0_;
public static final int RESOURCEVERSION_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object resourceVersion_ = "";
+ private volatile java.lang.Object resourceVersion_;
/**
*
* resourceVersion sets a constraint on what resource versions a request may be served from.
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersion = 1;
- * @return Whether the resourceVersion field is set.
*/
- @java.lang.Override
public boolean hasResourceVersion() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
* resourceVersion sets a constraint on what resource versions a request may be served from.
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersion = 1;
- * @return The resourceVersion.
*/
- @java.lang.Override
public java.lang.String getResourceVersion() {
java.lang.Object ref = resourceVersion_;
if (ref instanceof java.lang.String) {
@@ -15961,15 +17468,12 @@ public java.lang.String getResourceVersion() {
* resourceVersion sets a constraint on what resource versions a request may be served from.
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersion = 1;
- * @return The bytes for resourceVersion.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getResourceVersionBytes() {
java.lang.Object ref = resourceVersion_;
@@ -15998,10 +17502,10 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 1, resourceVersion_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceVersion_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -16010,10 +17514,10 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(1, resourceVersion_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resourceVersion_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -16028,13 +17532,14 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.GetOptions other = (io.kubernetes.client.proto.Meta.GetOptions) obj;
- if (hasResourceVersion() != other.hasResourceVersion()) return false;
+ boolean result = true;
+ result = result && (hasResourceVersion() == other.hasResourceVersion());
if (hasResourceVersion()) {
- if (!getResourceVersion()
- .equals(other.getResourceVersion())) return false;
+ result = result && getResourceVersion()
+ .equals(other.getResourceVersion());
}
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -16048,7 +17553,7 @@ public int hashCode() {
hash = (37 * hash) + RESOURCEVERSION_FIELD_NUMBER;
hash = (53 * hash) + getResourceVersion().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -16087,41 +17592,39 @@ public static io.kubernetes.client.proto.Meta.GetOptions parseFrom(
}
public static io.kubernetes.client.proto.Meta.GetOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.GetOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.GetOptions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.GetOptions parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -16141,7 +17644,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -16153,7 +17656,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional string resourceVersion = 1;
- * @return Whether the resourceVersion field is set.
*/
public boolean hasResourceVersion() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
* resourceVersion sets a constraint on what resource versions a request may be served from.
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersion = 1;
- * @return The resourceVersion.
*/
public java.lang.String getResourceVersion() {
java.lang.Object ref = resourceVersion_;
@@ -16339,13 +17853,11 @@ public java.lang.String getResourceVersion() {
* resourceVersion sets a constraint on what resource versions a request may be served from.
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersion = 1;
- * @return The bytes for resourceVersion.
*/
public com.google.protobuf.ByteString
getResourceVersionBytes() {
@@ -16365,20 +17877,19 @@ public java.lang.String getResourceVersion() {
* resourceVersion sets a constraint on what resource versions a request may be served from.
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersion = 1;
- * @param value The resourceVersion to set.
- * @return This builder for chaining.
*/
public Builder setResourceVersion(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
resourceVersion_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -16387,17 +17898,15 @@ public Builder setResourceVersion(
* resourceVersion sets a constraint on what resource versions a request may be served from.
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersion = 1;
- * @return This builder for chaining.
*/
public Builder clearResourceVersion() {
- resourceVersion_ = getDefaultInstance().getResourceVersion();
bitField0_ = (bitField0_ & ~0x00000001);
+ resourceVersion_ = getDefaultInstance().getResourceVersion();
onChanged();
return this;
}
@@ -16406,23 +17915,34 @@ public Builder clearResourceVersion() {
* resourceVersion sets a constraint on what resource versions a request may be served from.
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersion = 1;
- * @param value The bytes for resourceVersion to set.
- * @return This builder for chaining.
*/
public Builder setResourceVersionBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
resourceVersion_ = value;
- bitField0_ |= 0x00000001;
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.GetOptions)
}
@@ -16437,25 +17957,14 @@ public static io.kubernetes.client.proto.Meta.GetOptions getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parseroptional string group = 1;
- * @return Whether the group field is set.
*/
boolean hasGroup();
/**
* optional string group = 1;
- * @return The group.
*/
java.lang.String getGroup();
/**
* optional string group = 1;
- * @return The bytes for group.
*/
com.google.protobuf.ByteString
getGroupBytes();
/**
* optional string kind = 2;
- * @return Whether the kind field is set.
*/
boolean hasKind();
/**
* optional string kind = 2;
- * @return The kind.
*/
java.lang.String getKind();
/**
* optional string kind = 2;
- * @return The bytes for kind.
*/
com.google.protobuf.ByteString
getKindBytes();
@@ -16517,28 +18020,18 @@ public interface GroupKindOrBuilder extends
*
* 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.GroupKind}
*/
- public static final class GroupKind extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class GroupKind extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupKind)
GroupKindOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- GroupKind.class.getName());
- }
// Use GroupKind.newBuilder() to construct.
- private GroupKind(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private GroupKind(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GroupKind() {
@@ -16546,13 +18039,68 @@ private GroupKind() {
kind_ = "";
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ 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();
+ 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;
+ group_ = bs;
+ break;
+ }
+ case 18: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000002;
+ kind_ = 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_GroupKind_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupKind_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -16561,21 +18109,16 @@ private GroupKind() {
private int bitField0_;
public static final int GROUP_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object group_ = "";
+ private volatile java.lang.Object group_;
/**
* optional string group = 1;
- * @return Whether the group field is set.
*/
- @java.lang.Override
public boolean hasGroup() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string group = 1;
- * @return The group.
*/
- @java.lang.Override
public java.lang.String getGroup() {
java.lang.Object ref = group_;
if (ref instanceof java.lang.String) {
@@ -16592,9 +18135,7 @@ public java.lang.String getGroup() {
}
/**
* optional string group = 1;
- * @return The bytes for group.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getGroupBytes() {
java.lang.Object ref = group_;
@@ -16610,21 +18151,16 @@ public java.lang.String getGroup() {
}
public static final int KIND_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private volatile java.lang.Object kind_ = "";
+ private volatile java.lang.Object kind_;
/**
* optional string kind = 2;
- * @return Whether the kind field is set.
*/
- @java.lang.Override
public boolean hasKind() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string kind = 2;
- * @return The kind.
*/
- @java.lang.Override
public java.lang.String getKind() {
java.lang.Object ref = kind_;
if (ref instanceof java.lang.String) {
@@ -16641,9 +18177,7 @@ public java.lang.String getKind() {
}
/**
* optional string kind = 2;
- * @return The bytes for kind.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getKindBytes() {
java.lang.Object ref = kind_;
@@ -16672,13 +18206,13 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 1, group_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 2, kind_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, kind_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -16687,13 +18221,13 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(1, group_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, group_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(2, kind_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kind_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -16708,18 +18242,19 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.GroupKind other = (io.kubernetes.client.proto.Meta.GroupKind) obj;
- if (hasGroup() != other.hasGroup()) return false;
+ boolean result = true;
+ result = result && (hasGroup() == other.hasGroup());
if (hasGroup()) {
- if (!getGroup()
- .equals(other.getGroup())) return false;
+ result = result && getGroup()
+ .equals(other.getGroup());
}
- if (hasKind() != other.hasKind()) return false;
+ result = result && (hasKind() == other.hasKind());
if (hasKind()) {
- if (!getKind()
- .equals(other.getKind())) return false;
+ result = result && getKind()
+ .equals(other.getKind());
}
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -16737,7 +18272,7 @@ public int hashCode() {
hash = (37 * hash) + KIND_FIELD_NUMBER;
hash = (53 * hash) + getKind().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -16776,41 +18311,39 @@ public static io.kubernetes.client.proto.Meta.GroupKind parseFrom(
}
public static io.kubernetes.client.proto.Meta.GroupKind parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.GroupKind parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.GroupKind parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.GroupKind parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -16830,7 +18363,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -16838,14 +18371,13 @@ 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
*
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupKind}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional string group = 1;
- * @return Whether the group field is set.
*/
public boolean hasGroup() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string group = 1;
- * @return The group.
*/
public java.lang.String getGroup() {
java.lang.Object ref = group_;
@@ -17025,7 +18566,6 @@ public java.lang.String getGroup() {
}
/**
* optional string group = 1;
- * @return The bytes for group.
*/
public com.google.protobuf.ByteString
getGroupBytes() {
@@ -17042,37 +18582,36 @@ public java.lang.String getGroup() {
}
/**
* optional string group = 1;
- * @param value The group to set.
- * @return This builder for chaining.
*/
public Builder setGroup(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
group_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional string group = 1;
- * @return This builder for chaining.
*/
public Builder clearGroup() {
- group_ = getDefaultInstance().getGroup();
bitField0_ = (bitField0_ & ~0x00000001);
+ group_ = getDefaultInstance().getGroup();
onChanged();
return this;
}
/**
* optional string group = 1;
- * @param value The bytes for group to set.
- * @return This builder for chaining.
*/
public Builder setGroupBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
group_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -17080,14 +18619,12 @@ public Builder setGroupBytes(
private java.lang.Object kind_ = "";
/**
* optional string kind = 2;
- * @return Whether the kind field is set.
*/
public boolean hasKind() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string kind = 2;
- * @return The kind.
*/
public java.lang.String getKind() {
java.lang.Object ref = kind_;
@@ -17105,7 +18642,6 @@ public java.lang.String getKind() {
}
/**
* optional string kind = 2;
- * @return The bytes for kind.
*/
public com.google.protobuf.ByteString
getKindBytes() {
@@ -17122,40 +18658,51 @@ public java.lang.String getKind() {
}
/**
* optional string kind = 2;
- * @param value The kind to set.
- * @return This builder for chaining.
*/
public Builder setKind(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
kind_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional string kind = 2;
- * @return This builder for chaining.
*/
public Builder clearKind() {
- kind_ = getDefaultInstance().getKind();
bitField0_ = (bitField0_ & ~0x00000002);
+ kind_ = getDefaultInstance().getKind();
onChanged();
return this;
}
/**
* optional string kind = 2;
- * @param value The bytes for kind to set.
- * @return This builder for chaining.
*/
public Builder setKindBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
kind_ = value;
- bitField0_ |= 0x00000002;
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)
}
@@ -17170,25 +18717,14 @@ public static io.kubernetes.client.proto.Meta.GroupKind getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parseroptional string group = 1;
- * @return Whether the group field is set.
*/
boolean hasGroup();
/**
* optional string group = 1;
- * @return The group.
*/
java.lang.String getGroup();
/**
* optional string group = 1;
- * @return The bytes for group.
*/
com.google.protobuf.ByteString
getGroupBytes();
/**
* optional string resource = 2;
- * @return Whether the resource field is set.
*/
boolean hasResource();
/**
* optional string resource = 2;
- * @return The resource.
*/
java.lang.String getResource();
/**
* optional string resource = 2;
- * @return The bytes for resource.
*/
com.google.protobuf.ByteString
getResourceBytes();
@@ -17250,28 +18780,18 @@ public interface GroupResourceOrBuilder extends
*
* 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.GroupResource}
*/
- public static final class GroupResource extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class GroupResource extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupResource)
GroupResourceOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- GroupResource.class.getName());
- }
// Use GroupResource.newBuilder() to construct.
- private GroupResource(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private GroupResource(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GroupResource() {
@@ -17279,13 +18799,68 @@ private GroupResource() {
resource_ = "";
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ 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();
+ 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;
+ group_ = bs;
+ break;
+ }
+ case 18: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000002;
+ resource_ = 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_GroupResource_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupResource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -17294,21 +18869,16 @@ private GroupResource() {
private int bitField0_;
public static final int GROUP_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object group_ = "";
+ private volatile java.lang.Object group_;
/**
* optional string group = 1;
- * @return Whether the group field is set.
*/
- @java.lang.Override
public boolean hasGroup() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string group = 1;
- * @return The group.
*/
- @java.lang.Override
public java.lang.String getGroup() {
java.lang.Object ref = group_;
if (ref instanceof java.lang.String) {
@@ -17325,9 +18895,7 @@ public java.lang.String getGroup() {
}
/**
* optional string group = 1;
- * @return The bytes for group.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getGroupBytes() {
java.lang.Object ref = group_;
@@ -17343,21 +18911,16 @@ public java.lang.String getGroup() {
}
public static final int RESOURCE_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private volatile java.lang.Object resource_ = "";
+ private volatile java.lang.Object resource_;
/**
* optional string resource = 2;
- * @return Whether the resource field is set.
*/
- @java.lang.Override
public boolean hasResource() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string resource = 2;
- * @return The resource.
*/
- @java.lang.Override
public java.lang.String getResource() {
java.lang.Object ref = resource_;
if (ref instanceof java.lang.String) {
@@ -17374,9 +18937,7 @@ public java.lang.String getResource() {
}
/**
* optional string resource = 2;
- * @return The bytes for resource.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getResourceBytes() {
java.lang.Object ref = resource_;
@@ -17405,13 +18966,13 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 1, group_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 2, resource_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resource_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -17420,13 +18981,13 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(1, group_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, group_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(2, resource_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resource_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -17441,18 +19002,19 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.GroupResource other = (io.kubernetes.client.proto.Meta.GroupResource) obj;
- if (hasGroup() != other.hasGroup()) return false;
+ boolean result = true;
+ result = result && (hasGroup() == other.hasGroup());
if (hasGroup()) {
- if (!getGroup()
- .equals(other.getGroup())) return false;
+ result = result && getGroup()
+ .equals(other.getGroup());
}
- if (hasResource() != other.hasResource()) return false;
+ result = result && (hasResource() == other.hasResource());
if (hasResource()) {
- if (!getResource()
- .equals(other.getResource())) return false;
+ result = result && getResource()
+ .equals(other.getResource());
}
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -17470,7 +19032,7 @@ public int hashCode() {
hash = (37 * hash) + RESOURCE_FIELD_NUMBER;
hash = (53 * hash) + getResource().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -17509,41 +19071,39 @@ public static io.kubernetes.client.proto.Meta.GroupResource parseFrom(
}
public static io.kubernetes.client.proto.Meta.GroupResource parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.GroupResource parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.GroupResource parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.GroupResource parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -17563,7 +19123,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -17571,14 +19131,13 @@ 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
*
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupResource}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional string group = 1;
- * @return Whether the group field is set.
*/
public boolean hasGroup() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string group = 1;
- * @return The group.
*/
public java.lang.String getGroup() {
java.lang.Object ref = group_;
@@ -17758,7 +19326,6 @@ public java.lang.String getGroup() {
}
/**
* optional string group = 1;
- * @return The bytes for group.
*/
public com.google.protobuf.ByteString
getGroupBytes() {
@@ -17775,37 +19342,36 @@ public java.lang.String getGroup() {
}
/**
* optional string group = 1;
- * @param value The group to set.
- * @return This builder for chaining.
*/
public Builder setGroup(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
group_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional string group = 1;
- * @return This builder for chaining.
*/
public Builder clearGroup() {
- group_ = getDefaultInstance().getGroup();
bitField0_ = (bitField0_ & ~0x00000001);
+ group_ = getDefaultInstance().getGroup();
onChanged();
return this;
}
/**
* optional string group = 1;
- * @param value The bytes for group to set.
- * @return This builder for chaining.
*/
public Builder setGroupBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
group_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -17813,14 +19379,12 @@ public Builder setGroupBytes(
private java.lang.Object resource_ = "";
/**
* optional string resource = 2;
- * @return Whether the resource field is set.
*/
public boolean hasResource() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string resource = 2;
- * @return The resource.
*/
public java.lang.String getResource() {
java.lang.Object ref = resource_;
@@ -17838,7 +19402,6 @@ public java.lang.String getResource() {
}
/**
* optional string resource = 2;
- * @return The bytes for resource.
*/
public com.google.protobuf.ByteString
getResourceBytes() {
@@ -17855,40 +19418,51 @@ public java.lang.String getResource() {
}
/**
* optional string resource = 2;
- * @param value The resource to set.
- * @return This builder for chaining.
*/
public Builder setResource(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
resource_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional string resource = 2;
- * @return This builder for chaining.
*/
public Builder clearResource() {
- resource_ = getDefaultInstance().getResource();
bitField0_ = (bitField0_ & ~0x00000002);
+ resource_ = getDefaultInstance().getResource();
onChanged();
return this;
}
/**
* optional string resource = 2;
- * @param value The bytes for resource to set.
- * @return This builder for chaining.
*/
public Builder setResourceBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
resource_ = value;
- bitField0_ |= 0x00000002;
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.GroupResource)
}
@@ -17903,25 +19477,14 @@ public static io.kubernetes.client.proto.Meta.GroupResource getDefaultInstance()
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parseroptional string group = 1;
- * @return Whether the group field is set.
*/
boolean hasGroup();
/**
* optional string group = 1;
- * @return The group.
*/
java.lang.String getGroup();
/**
* optional string group = 1;
- * @return The bytes for group.
*/
com.google.protobuf.ByteString
getGroupBytes();
/**
* optional string version = 2;
- * @return Whether the version field is set.
*/
boolean hasVersion();
/**
* optional string version = 2;
- * @return The version.
*/
java.lang.String getVersion();
/**
* optional string version = 2;
- * @return The bytes for version.
*/
com.google.protobuf.ByteString
getVersionBytes();
@@ -17982,28 +19539,18 @@ public interface GroupVersionOrBuilder extends
/**
*
* 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.GroupVersion}
*/
- public static final class GroupVersion extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class GroupVersion extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersion)
GroupVersionOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- GroupVersion.class.getName());
- }
// Use GroupVersion.newBuilder() to construct.
- private GroupVersion(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private GroupVersion(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GroupVersion() {
@@ -18011,13 +19558,68 @@ private GroupVersion() {
version_ = "";
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ 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();
+ 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;
+ group_ = bs;
+ break;
+ }
+ case 18: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000002;
+ version_ = 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_GroupVersion_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersion_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -18026,21 +19628,16 @@ private GroupVersion() {
private int bitField0_;
public static final int GROUP_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object group_ = "";
+ private volatile java.lang.Object group_;
/**
* optional string group = 1;
- * @return Whether the group field is set.
*/
- @java.lang.Override
public boolean hasGroup() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string group = 1;
- * @return The group.
*/
- @java.lang.Override
public java.lang.String getGroup() {
java.lang.Object ref = group_;
if (ref instanceof java.lang.String) {
@@ -18057,9 +19654,7 @@ public java.lang.String getGroup() {
}
/**
* optional string group = 1;
- * @return The bytes for group.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getGroupBytes() {
java.lang.Object ref = group_;
@@ -18075,21 +19670,16 @@ public java.lang.String getGroup() {
}
public static final int VERSION_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private volatile java.lang.Object version_ = "";
+ private volatile java.lang.Object version_;
/**
* optional string version = 2;
- * @return Whether the version field is set.
*/
- @java.lang.Override
public boolean hasVersion() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string version = 2;
- * @return The version.
*/
- @java.lang.Override
public java.lang.String getVersion() {
java.lang.Object ref = version_;
if (ref instanceof java.lang.String) {
@@ -18106,9 +19696,7 @@ public java.lang.String getVersion() {
}
/**
* optional string version = 2;
- * @return The bytes for version.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getVersionBytes() {
java.lang.Object ref = version_;
@@ -18137,13 +19725,13 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 1, group_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 2, version_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -18152,13 +19740,13 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(1, group_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, group_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(2, version_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -18173,18 +19761,19 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.GroupVersion other = (io.kubernetes.client.proto.Meta.GroupVersion) obj;
- if (hasGroup() != other.hasGroup()) return false;
+ boolean result = true;
+ result = result && (hasGroup() == other.hasGroup());
if (hasGroup()) {
- if (!getGroup()
- .equals(other.getGroup())) return false;
+ result = result && getGroup()
+ .equals(other.getGroup());
}
- if (hasVersion() != other.hasVersion()) return false;
+ result = result && (hasVersion() == other.hasVersion());
if (hasVersion()) {
- if (!getVersion()
- .equals(other.getVersion())) return false;
+ result = result && getVersion()
+ .equals(other.getVersion());
}
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -18202,7 +19791,7 @@ public int hashCode() {
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + getVersion().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -18241,41 +19830,39 @@ public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom(
}
public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.GroupVersion parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -18295,21 +19882,20 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* 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.GroupVersion}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional string group = 1;
- * @return Whether the group field is set.
*/
public boolean hasGroup() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string group = 1;
- * @return The group.
*/
public java.lang.String getGroup() {
java.lang.Object ref = group_;
@@ -18489,7 +20084,6 @@ public java.lang.String getGroup() {
}
/**
* optional string group = 1;
- * @return The bytes for group.
*/
public com.google.protobuf.ByteString
getGroupBytes() {
@@ -18506,37 +20100,36 @@ public java.lang.String getGroup() {
}
/**
* optional string group = 1;
- * @param value The group to set.
- * @return This builder for chaining.
*/
public Builder setGroup(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
group_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional string group = 1;
- * @return This builder for chaining.
*/
public Builder clearGroup() {
- group_ = getDefaultInstance().getGroup();
bitField0_ = (bitField0_ & ~0x00000001);
+ group_ = getDefaultInstance().getGroup();
onChanged();
return this;
}
/**
* optional string group = 1;
- * @param value The bytes for group to set.
- * @return This builder for chaining.
*/
public Builder setGroupBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
group_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -18544,14 +20137,12 @@ public Builder setGroupBytes(
private java.lang.Object version_ = "";
/**
* optional string version = 2;
- * @return Whether the version field is set.
*/
public boolean hasVersion() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string version = 2;
- * @return The version.
*/
public java.lang.String getVersion() {
java.lang.Object ref = version_;
@@ -18569,7 +20160,6 @@ public java.lang.String getVersion() {
}
/**
* optional string version = 2;
- * @return The bytes for version.
*/
public com.google.protobuf.ByteString
getVersionBytes() {
@@ -18586,40 +20176,51 @@ public java.lang.String getVersion() {
}
/**
* optional string version = 2;
- * @param value The version to set.
- * @return This builder for chaining.
*/
public Builder setVersion(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
version_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional string version = 2;
- * @return This builder for chaining.
*/
public Builder clearVersion() {
- version_ = getDefaultInstance().getVersion();
bitField0_ = (bitField0_ & ~0x00000002);
+ version_ = getDefaultInstance().getVersion();
onChanged();
return this;
}
/**
* optional string version = 2;
- * @param value The bytes for version to set.
- * @return This builder for chaining.
*/
public Builder setVersionBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
version_ = value;
- bitField0_ |= 0x00000002;
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)
}
@@ -18634,25 +20235,14 @@ public static io.kubernetes.client.proto.Meta.GroupVersion getDefaultInstance()
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parseroptional string groupVersion = 1;
- * @return Whether the groupVersion field is set.
*/
boolean hasGroupVersion();
/**
@@ -18691,7 +20280,6 @@ public interface GroupVersionForDiscoveryOrBuilder extends
*
*
* optional string groupVersion = 1;
- * @return The groupVersion.
*/
java.lang.String getGroupVersion();
/**
@@ -18700,7 +20288,6 @@ public interface GroupVersionForDiscoveryOrBuilder extends
*
*
* optional string groupVersion = 1;
- * @return The bytes for groupVersion.
*/
com.google.protobuf.ByteString
getGroupVersionBytes();
@@ -18712,7 +20299,6 @@ public interface GroupVersionForDiscoveryOrBuilder extends
*
*
* optional string version = 2;
- * @return Whether the version field is set.
*/
boolean hasVersion();
/**
@@ -18722,7 +20308,6 @@ public interface GroupVersionForDiscoveryOrBuilder extends
*
*
* optional string version = 2;
- * @return The version.
*/
java.lang.String getVersion();
/**
@@ -18732,7 +20317,6 @@ public interface GroupVersionForDiscoveryOrBuilder extends
*
*
* optional string version = 2;
- * @return The bytes for version.
*/
com.google.protobuf.ByteString
getVersionBytes();
@@ -18745,22 +20329,13 @@ public interface GroupVersionForDiscoveryOrBuilder extends
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery}
*/
- public static final class GroupVersionForDiscovery extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class GroupVersionForDiscovery extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery)
GroupVersionForDiscoveryOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- GroupVersionForDiscovery.class.getName());
- }
// Use GroupVersionForDiscovery.newBuilder() to construct.
- private GroupVersionForDiscovery(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private GroupVersionForDiscovery(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GroupVersionForDiscovery() {
@@ -18768,13 +20343,68 @@ private GroupVersionForDiscovery() {
version_ = "";
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ 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();
+ 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;
+ groupVersion_ = bs;
+ break;
+ }
+ case 18: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000002;
+ version_ = 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_GroupVersionForDiscovery_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionForDiscovery_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -18783,19 +20413,16 @@ private GroupVersionForDiscovery() {
private int bitField0_;
public static final int GROUPVERSION_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object groupVersion_ = "";
+ private volatile java.lang.Object groupVersion_;
/**
*
* groupVersion specifies the API group and version in the form "group/version"
*
*
* optional string groupVersion = 1;
- * @return Whether the groupVersion field is set.
*/
- @java.lang.Override
public boolean hasGroupVersion() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -18803,9 +20430,7 @@ public boolean hasGroupVersion() {
*
*
* optional string groupVersion = 1;
- * @return The groupVersion.
*/
- @java.lang.Override
public java.lang.String getGroupVersion() {
java.lang.Object ref = groupVersion_;
if (ref instanceof java.lang.String) {
@@ -18826,9 +20451,7 @@ public java.lang.String getGroupVersion() {
*
*
* optional string groupVersion = 1;
- * @return The bytes for groupVersion.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getGroupVersionBytes() {
java.lang.Object ref = groupVersion_;
@@ -18844,8 +20467,7 @@ public java.lang.String getGroupVersion() {
}
public static final int VERSION_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private volatile java.lang.Object version_ = "";
+ private volatile java.lang.Object version_;
/**
*
* version specifies the version in the form of "version". This is to save
@@ -18853,11 +20475,9 @@ public java.lang.String getGroupVersion() {
*
*
* optional string version = 2;
- * @return Whether the version field is set.
*/
- @java.lang.Override
public boolean hasVersion() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -18866,9 +20486,7 @@ public boolean hasVersion() {
*
*
* optional string version = 2;
- * @return The version.
*/
- @java.lang.Override
public java.lang.String getVersion() {
java.lang.Object ref = version_;
if (ref instanceof java.lang.String) {
@@ -18890,9 +20508,7 @@ public java.lang.String getVersion() {
*
*
* optional string version = 2;
- * @return The bytes for version.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getVersionBytes() {
java.lang.Object ref = version_;
@@ -18921,13 +20537,13 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 1, groupVersion_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, groupVersion_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 2, version_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -18936,13 +20552,13 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(1, groupVersion_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, groupVersion_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(2, version_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -18957,18 +20573,19 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.GroupVersionForDiscovery other = (io.kubernetes.client.proto.Meta.GroupVersionForDiscovery) obj;
- if (hasGroupVersion() != other.hasGroupVersion()) return false;
+ boolean result = true;
+ result = result && (hasGroupVersion() == other.hasGroupVersion());
if (hasGroupVersion()) {
- if (!getGroupVersion()
- .equals(other.getGroupVersion())) return false;
+ result = result && getGroupVersion()
+ .equals(other.getGroupVersion());
}
- if (hasVersion() != other.hasVersion()) return false;
+ result = result && (hasVersion() == other.hasVersion());
if (hasVersion()) {
- if (!getVersion()
- .equals(other.getVersion())) return false;
+ result = result && getVersion()
+ .equals(other.getVersion());
}
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -18986,7 +20603,7 @@ public int hashCode() {
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + getVersion().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -19025,41 +20642,39 @@ public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom
}
public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -19079,7 +20694,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -19092,7 +20707,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional string groupVersion = 1;
- * @return Whether the groupVersion field is set.
*/
public boolean hasGroupVersion() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -19262,7 +20887,6 @@ public boolean hasGroupVersion() {
*
*
* optional string groupVersion = 1;
- * @return The groupVersion.
*/
public java.lang.String getGroupVersion() {
java.lang.Object ref = groupVersion_;
@@ -19284,7 +20908,6 @@ public java.lang.String getGroupVersion() {
*
*
* optional string groupVersion = 1;
- * @return The bytes for groupVersion.
*/
public com.google.protobuf.ByteString
getGroupVersionBytes() {
@@ -19305,14 +20928,14 @@ public java.lang.String getGroupVersion() {
*
*
* optional string groupVersion = 1;
- * @param value The groupVersion to set.
- * @return This builder for chaining.
*/
public Builder setGroupVersion(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
groupVersion_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -19322,11 +20945,10 @@ public Builder setGroupVersion(
*
*
* optional string groupVersion = 1;
- * @return This builder for chaining.
*/
public Builder clearGroupVersion() {
- groupVersion_ = getDefaultInstance().getGroupVersion();
bitField0_ = (bitField0_ & ~0x00000001);
+ groupVersion_ = getDefaultInstance().getGroupVersion();
onChanged();
return this;
}
@@ -19336,14 +20958,14 @@ public Builder clearGroupVersion() {
*
*
* optional string groupVersion = 1;
- * @param value The bytes for groupVersion to set.
- * @return This builder for chaining.
*/
public Builder setGroupVersionBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
groupVersion_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -19356,10 +20978,9 @@ public Builder setGroupVersionBytes(
*
*
* optional string version = 2;
- * @return Whether the version field is set.
*/
public boolean hasVersion() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -19368,7 +20989,6 @@ public boolean hasVersion() {
*
*
* optional string version = 2;
- * @return The version.
*/
public java.lang.String getVersion() {
java.lang.Object ref = version_;
@@ -19391,7 +21011,6 @@ public java.lang.String getVersion() {
*
*
* optional string version = 2;
- * @return The bytes for version.
*/
public com.google.protobuf.ByteString
getVersionBytes() {
@@ -19413,14 +21032,14 @@ public java.lang.String getVersion() {
*
*
* optional string version = 2;
- * @param value The version to set.
- * @return This builder for chaining.
*/
public Builder setVersion(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
version_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -19431,11 +21050,10 @@ public Builder setVersion(
*
*
* optional string version = 2;
- * @return This builder for chaining.
*/
public Builder clearVersion() {
- version_ = getDefaultInstance().getVersion();
bitField0_ = (bitField0_ & ~0x00000002);
+ version_ = getDefaultInstance().getVersion();
onChanged();
return this;
}
@@ -19446,17 +21064,29 @@ public Builder clearVersion() {
*
*
* optional string version = 2;
- * @param value The bytes for version to set.
- * @return This builder for chaining.
*/
public Builder setVersionBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
version_ = value;
- bitField0_ |= 0x00000002;
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)
}
@@ -19471,25 +21101,14 @@ public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery getDefaul
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parseroptional string group = 1;
- * @return Whether the group field is set.
*/
boolean hasGroup();
/**
* optional string group = 1;
- * @return The group.
*/
java.lang.String getGroup();
/**
* optional string group = 1;
- * @return The bytes for group.
*/
com.google.protobuf.ByteString
getGroupBytes();
/**
* optional string version = 2;
- * @return Whether the version field is set.
*/
boolean hasVersion();
/**
* optional string version = 2;
- * @return The version.
*/
java.lang.String getVersion();
/**
* optional string version = 2;
- * @return The bytes for version.
*/
com.google.protobuf.ByteString
getVersionBytes();
/**
* optional string kind = 3;
- * @return Whether the kind field is set.
*/
boolean hasKind();
/**
* optional string kind = 3;
- * @return The kind.
*/
java.lang.String getKind();
/**
* optional string kind = 3;
- * @return The bytes for kind.
*/
com.google.protobuf.ByteString
getKindBytes();
@@ -19568,28 +21178,18 @@ public interface GroupVersionKindOrBuilder extends
*
* GroupVersionKind unambiguously identifies a kind. It doesn't anonymously include GroupVersion
* to avoid automatic coercion. 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.GroupVersionKind}
*/
- public static final class GroupVersionKind extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class GroupVersionKind extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind)
GroupVersionKindOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- GroupVersionKind.class.getName());
- }
// Use GroupVersionKind.newBuilder() to construct.
- private GroupVersionKind(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private GroupVersionKind(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GroupVersionKind() {
@@ -19598,13 +21198,74 @@ private GroupVersionKind() {
kind_ = "";
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ 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();
+ 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;
+ 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)) {
+ 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_GroupVersionKind_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionKind_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -19613,21 +21274,16 @@ private GroupVersionKind() {
private int bitField0_;
public static final int GROUP_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object group_ = "";
+ private volatile java.lang.Object group_;
/**
* optional string group = 1;
- * @return Whether the group field is set.
*/
- @java.lang.Override
public boolean hasGroup() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string group = 1;
- * @return The group.
*/
- @java.lang.Override
public java.lang.String getGroup() {
java.lang.Object ref = group_;
if (ref instanceof java.lang.String) {
@@ -19644,9 +21300,7 @@ public java.lang.String getGroup() {
}
/**
* optional string group = 1;
- * @return The bytes for group.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getGroupBytes() {
java.lang.Object ref = group_;
@@ -19662,21 +21316,16 @@ public java.lang.String getGroup() {
}
public static final int VERSION_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private volatile java.lang.Object version_ = "";
+ private volatile java.lang.Object version_;
/**
* optional string version = 2;
- * @return Whether the version field is set.
*/
- @java.lang.Override
public boolean hasVersion() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string version = 2;
- * @return The version.
*/
- @java.lang.Override
public java.lang.String getVersion() {
java.lang.Object ref = version_;
if (ref instanceof java.lang.String) {
@@ -19693,9 +21342,7 @@ public java.lang.String getVersion() {
}
/**
* optional string version = 2;
- * @return The bytes for version.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getVersionBytes() {
java.lang.Object ref = version_;
@@ -19711,21 +21358,16 @@ public java.lang.String getVersion() {
}
public static final int KIND_FIELD_NUMBER = 3;
- @SuppressWarnings("serial")
- private volatile java.lang.Object kind_ = "";
+ private volatile java.lang.Object kind_;
/**
* optional string kind = 3;
- * @return Whether the kind field is set.
*/
- @java.lang.Override
public boolean hasKind() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string kind = 3;
- * @return The kind.
*/
- @java.lang.Override
public java.lang.String getKind() {
java.lang.Object ref = kind_;
if (ref instanceof java.lang.String) {
@@ -19742,9 +21384,7 @@ public java.lang.String getKind() {
}
/**
* optional string kind = 3;
- * @return The bytes for kind.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getKindBytes() {
java.lang.Object ref = kind_;
@@ -19773,16 +21413,16 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 1, group_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 2, version_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_);
}
- if (((bitField0_ & 0x00000004) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 3, kind_);
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, kind_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -19791,16 +21431,16 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(1, group_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, group_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(2, version_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_);
}
- if (((bitField0_ & 0x00000004) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(3, kind_);
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, kind_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -19815,23 +21455,24 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.GroupVersionKind other = (io.kubernetes.client.proto.Meta.GroupVersionKind) obj;
- if (hasGroup() != other.hasGroup()) return false;
+ boolean result = true;
+ result = result && (hasGroup() == other.hasGroup());
if (hasGroup()) {
- if (!getGroup()
- .equals(other.getGroup())) return false;
+ result = result && getGroup()
+ .equals(other.getGroup());
}
- if (hasVersion() != other.hasVersion()) return false;
+ result = result && (hasVersion() == other.hasVersion());
if (hasVersion()) {
- if (!getVersion()
- .equals(other.getVersion())) return false;
+ result = result && getVersion()
+ .equals(other.getVersion());
}
- if (hasKind() != other.hasKind()) return false;
+ result = result && (hasKind() == other.hasKind());
if (hasKind()) {
- if (!getKind()
- .equals(other.getKind())) return false;
+ result = result && getKind()
+ .equals(other.getKind());
}
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -19853,7 +21494,7 @@ public int hashCode() {
hash = (37 * hash) + KIND_FIELD_NUMBER;
hash = (53 * hash) + getKind().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -19892,41 +21533,39 @@ public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom(
}
public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.GroupVersionKind parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -19946,7 +21585,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -19954,14 +21593,13 @@ protected Builder newBuilderForType(
*
* GroupVersionKind unambiguously identifies a kind. It doesn't anonymously include GroupVersion
* to avoid automatic coercion. 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.GroupVersionKind}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional string group = 1;
- * @return Whether the group field is set.
*/
public boolean hasGroup() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string group = 1;
- * @return The group.
*/
public java.lang.String getGroup() {
java.lang.Object ref = group_;
@@ -20156,7 +21799,6 @@ public java.lang.String getGroup() {
}
/**
* optional string group = 1;
- * @return The bytes for group.
*/
public com.google.protobuf.ByteString
getGroupBytes() {
@@ -20173,37 +21815,36 @@ public java.lang.String getGroup() {
}
/**
* optional string group = 1;
- * @param value The group to set.
- * @return This builder for chaining.
*/
public Builder setGroup(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
group_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional string group = 1;
- * @return This builder for chaining.
*/
public Builder clearGroup() {
- group_ = getDefaultInstance().getGroup();
bitField0_ = (bitField0_ & ~0x00000001);
+ group_ = getDefaultInstance().getGroup();
onChanged();
return this;
}
/**
* optional string group = 1;
- * @param value The bytes for group to set.
- * @return This builder for chaining.
*/
public Builder setGroupBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
group_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -20211,14 +21852,12 @@ public Builder setGroupBytes(
private java.lang.Object version_ = "";
/**
* optional string version = 2;
- * @return Whether the version field is set.
*/
public boolean hasVersion() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string version = 2;
- * @return The version.
*/
public java.lang.String getVersion() {
java.lang.Object ref = version_;
@@ -20236,7 +21875,6 @@ public java.lang.String getVersion() {
}
/**
* optional string version = 2;
- * @return The bytes for version.
*/
public com.google.protobuf.ByteString
getVersionBytes() {
@@ -20253,37 +21891,36 @@ public java.lang.String getVersion() {
}
/**
* optional string version = 2;
- * @param value The version to set.
- * @return This builder for chaining.
*/
public Builder setVersion(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
version_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional string version = 2;
- * @return This builder for chaining.
*/
public Builder clearVersion() {
- version_ = getDefaultInstance().getVersion();
bitField0_ = (bitField0_ & ~0x00000002);
+ version_ = getDefaultInstance().getVersion();
onChanged();
return this;
}
/**
* optional string version = 2;
- * @param value The bytes for version to set.
- * @return This builder for chaining.
*/
public Builder setVersionBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
version_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -20291,14 +21928,12 @@ public Builder setVersionBytes(
private java.lang.Object kind_ = "";
/**
* optional string kind = 3;
- * @return Whether the kind field is set.
*/
public boolean hasKind() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string kind = 3;
- * @return The kind.
*/
public java.lang.String getKind() {
java.lang.Object ref = kind_;
@@ -20316,7 +21951,6 @@ public java.lang.String getKind() {
}
/**
* optional string kind = 3;
- * @return The bytes for kind.
*/
public com.google.protobuf.ByteString
getKindBytes() {
@@ -20333,40 +21967,51 @@ public java.lang.String getKind() {
}
/**
* optional string kind = 3;
- * @param value The kind to set.
- * @return This builder for chaining.
*/
public Builder setKind(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
kind_ = value;
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional string kind = 3;
- * @return This builder for chaining.
*/
public Builder clearKind() {
- kind_ = getDefaultInstance().getKind();
bitField0_ = (bitField0_ & ~0x00000004);
+ kind_ = getDefaultInstance().getKind();
onChanged();
return this;
}
/**
* optional string kind = 3;
- * @param value The bytes for kind to set.
- * @return This builder for chaining.
*/
public Builder setKindBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
kind_ = value;
- bitField0_ |= 0x00000004;
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)
}
@@ -20381,25 +22026,14 @@ public static io.kubernetes.client.proto.Meta.GroupVersionKind getDefaultInstanc
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parseroptional string group = 1;
- * @return Whether the group field is set.
*/
boolean hasGroup();
/**
* optional string group = 1;
- * @return The group.
*/
java.lang.String getGroup();
/**
* optional string group = 1;
- * @return The bytes for group.
*/
com.google.protobuf.ByteString
getGroupBytes();
/**
* optional string version = 2;
- * @return Whether the version field is set.
*/
boolean hasVersion();
/**
* optional string version = 2;
- * @return The version.
*/
java.lang.String getVersion();
/**
* optional string version = 2;
- * @return The bytes for version.
*/
com.google.protobuf.ByteString
getVersionBytes();
/**
* optional string resource = 3;
- * @return Whether the resource field is set.
*/
boolean hasResource();
/**
* optional string resource = 3;
- * @return The resource.
*/
java.lang.String getResource();
/**
* optional string resource = 3;
- * @return The bytes for resource.
*/
com.google.protobuf.ByteString
getResourceBytes();
@@ -20478,28 +22103,18 @@ public interface GroupVersionResourceOrBuilder extends
*
* GroupVersionResource unambiguously identifies a resource. It doesn't anonymously include GroupVersion
* to avoid automatic coercion. 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.GroupVersionResource}
*/
- public static final class GroupVersionResource extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class GroupVersionResource extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource)
GroupVersionResourceOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- GroupVersionResource.class.getName());
- }
// Use GroupVersionResource.newBuilder() to construct.
- private GroupVersionResource(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private GroupVersionResource(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GroupVersionResource() {
@@ -20508,13 +22123,74 @@ private GroupVersionResource() {
resource_ = "";
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ 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();
+ 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;
+ 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;
+ resource_ = 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_GroupVersionResource_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionResource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -20523,21 +22199,16 @@ private GroupVersionResource() {
private int bitField0_;
public static final int GROUP_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object group_ = "";
+ private volatile java.lang.Object group_;
/**
* optional string group = 1;
- * @return Whether the group field is set.
*/
- @java.lang.Override
public boolean hasGroup() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string group = 1;
- * @return The group.
*/
- @java.lang.Override
public java.lang.String getGroup() {
java.lang.Object ref = group_;
if (ref instanceof java.lang.String) {
@@ -20554,9 +22225,7 @@ public java.lang.String getGroup() {
}
/**
* optional string group = 1;
- * @return The bytes for group.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getGroupBytes() {
java.lang.Object ref = group_;
@@ -20572,21 +22241,16 @@ public java.lang.String getGroup() {
}
public static final int VERSION_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private volatile java.lang.Object version_ = "";
+ private volatile java.lang.Object version_;
/**
* optional string version = 2;
- * @return Whether the version field is set.
*/
- @java.lang.Override
public boolean hasVersion() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string version = 2;
- * @return The version.
*/
- @java.lang.Override
public java.lang.String getVersion() {
java.lang.Object ref = version_;
if (ref instanceof java.lang.String) {
@@ -20603,9 +22267,7 @@ public java.lang.String getVersion() {
}
/**
* optional string version = 2;
- * @return The bytes for version.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getVersionBytes() {
java.lang.Object ref = version_;
@@ -20621,21 +22283,16 @@ public java.lang.String getVersion() {
}
public static final int RESOURCE_FIELD_NUMBER = 3;
- @SuppressWarnings("serial")
- private volatile java.lang.Object resource_ = "";
+ private volatile java.lang.Object resource_;
/**
* optional string resource = 3;
- * @return Whether the resource field is set.
*/
- @java.lang.Override
public boolean hasResource() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string resource = 3;
- * @return The resource.
*/
- @java.lang.Override
public java.lang.String getResource() {
java.lang.Object ref = resource_;
if (ref instanceof java.lang.String) {
@@ -20652,9 +22309,7 @@ public java.lang.String getResource() {
}
/**
* optional string resource = 3;
- * @return The bytes for resource.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getResourceBytes() {
java.lang.Object ref = resource_;
@@ -20683,16 +22338,16 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 1, group_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 2, version_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_);
}
- if (((bitField0_ & 0x00000004) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 3, resource_);
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, resource_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -20701,16 +22356,16 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(1, group_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, group_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(2, version_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_);
}
- if (((bitField0_ & 0x00000004) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(3, resource_);
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, resource_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -20725,23 +22380,24 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.GroupVersionResource other = (io.kubernetes.client.proto.Meta.GroupVersionResource) obj;
- if (hasGroup() != other.hasGroup()) return false;
+ boolean result = true;
+ result = result && (hasGroup() == other.hasGroup());
if (hasGroup()) {
- if (!getGroup()
- .equals(other.getGroup())) return false;
+ result = result && getGroup()
+ .equals(other.getGroup());
}
- if (hasVersion() != other.hasVersion()) return false;
+ result = result && (hasVersion() == other.hasVersion());
if (hasVersion()) {
- if (!getVersion()
- .equals(other.getVersion())) return false;
+ result = result && getVersion()
+ .equals(other.getVersion());
}
- if (hasResource() != other.hasResource()) return false;
+ result = result && (hasResource() == other.hasResource());
if (hasResource()) {
- if (!getResource()
- .equals(other.getResource())) return false;
+ result = result && getResource()
+ .equals(other.getResource());
}
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -20763,7 +22419,7 @@ public int hashCode() {
hash = (37 * hash) + RESOURCE_FIELD_NUMBER;
hash = (53 * hash) + getResource().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -20802,41 +22458,39 @@ public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom(
}
public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.GroupVersionResource parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -20856,7 +22510,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -20864,14 +22518,13 @@ protected Builder newBuilderForType(
*
* GroupVersionResource unambiguously identifies a resource. It doesn't anonymously include GroupVersion
* to avoid automatic coercion. 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.GroupVersionResource}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional string group = 1;
- * @return Whether the group field is set.
*/
public boolean hasGroup() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string group = 1;
- * @return The group.
*/
public java.lang.String getGroup() {
java.lang.Object ref = group_;
@@ -21066,7 +22724,6 @@ public java.lang.String getGroup() {
}
/**
* optional string group = 1;
- * @return The bytes for group.
*/
public com.google.protobuf.ByteString
getGroupBytes() {
@@ -21083,37 +22740,36 @@ public java.lang.String getGroup() {
}
/**
* optional string group = 1;
- * @param value The group to set.
- * @return This builder for chaining.
*/
public Builder setGroup(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
group_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional string group = 1;
- * @return This builder for chaining.
*/
public Builder clearGroup() {
- group_ = getDefaultInstance().getGroup();
bitField0_ = (bitField0_ & ~0x00000001);
+ group_ = getDefaultInstance().getGroup();
onChanged();
return this;
}
/**
* optional string group = 1;
- * @param value The bytes for group to set.
- * @return This builder for chaining.
*/
public Builder setGroupBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
group_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -21121,14 +22777,12 @@ public Builder setGroupBytes(
private java.lang.Object version_ = "";
/**
* optional string version = 2;
- * @return Whether the version field is set.
*/
public boolean hasVersion() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string version = 2;
- * @return The version.
*/
public java.lang.String getVersion() {
java.lang.Object ref = version_;
@@ -21146,7 +22800,6 @@ public java.lang.String getVersion() {
}
/**
* optional string version = 2;
- * @return The bytes for version.
*/
public com.google.protobuf.ByteString
getVersionBytes() {
@@ -21163,37 +22816,36 @@ public java.lang.String getVersion() {
}
/**
* optional string version = 2;
- * @param value The version to set.
- * @return This builder for chaining.
*/
public Builder setVersion(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
version_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional string version = 2;
- * @return This builder for chaining.
*/
public Builder clearVersion() {
- version_ = getDefaultInstance().getVersion();
bitField0_ = (bitField0_ & ~0x00000002);
+ version_ = getDefaultInstance().getVersion();
onChanged();
return this;
}
/**
* optional string version = 2;
- * @param value The bytes for version to set.
- * @return This builder for chaining.
*/
public Builder setVersionBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
version_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -21201,14 +22853,12 @@ public Builder setVersionBytes(
private java.lang.Object resource_ = "";
/**
* optional string resource = 3;
- * @return Whether the resource field is set.
*/
public boolean hasResource() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string resource = 3;
- * @return The resource.
*/
public java.lang.String getResource() {
java.lang.Object ref = resource_;
@@ -21226,7 +22876,6 @@ public java.lang.String getResource() {
}
/**
* optional string resource = 3;
- * @return The bytes for resource.
*/
public com.google.protobuf.ByteString
getResourceBytes() {
@@ -21243,40 +22892,51 @@ public java.lang.String getResource() {
}
/**
* optional string resource = 3;
- * @param value The resource to set.
- * @return This builder for chaining.
*/
public Builder setResource(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
resource_ = value;
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional string resource = 3;
- * @return This builder for chaining.
*/
public Builder clearResource() {
- resource_ = getDefaultInstance().getResource();
bitField0_ = (bitField0_ & ~0x00000004);
+ resource_ = getDefaultInstance().getResource();
onChanged();
return this;
}
/**
* optional string resource = 3;
- * @param value The bytes for resource to set.
- * @return This builder for chaining.
*/
public Builder setResourceBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
resource_ = value;
- bitField0_ |= 0x00000004;
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)
}
@@ -21291,25 +22951,14 @@ public static io.kubernetes.client.proto.Meta.GroupVersionResource getDefaultIns
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parsermap<string, string> matchLabels = 1;
*/
- /* nullable */
-java.lang.String getMatchLabelsOrDefault(
+
+ java.lang.String getMatchLabelsOrDefault(
java.lang.String key,
- /* nullable */
-java.lang.String defaultValue);
+ java.lang.String defaultValue);
/**
*
* matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
@@ -21399,6 +23047,7 @@ java.lang.String getMatchLabelsOrDefault(
*
* map<string, string> matchLabels = 1;
*/
+
java.lang.String getMatchLabelsOrThrow(
java.lang.String key);
@@ -21466,28 +23115,87 @@ io.kubernetes.client.proto.Meta.LabelSelectorRequirementOrBuilder getMatchExpres
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector}
*/
- public static final class LabelSelector extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class LabelSelector extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector)
LabelSelectorOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- LabelSelector.class.getName());
- }
// Use LabelSelector.newBuilder() to construct.
- private LabelSelector(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private LabelSelector(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private LabelSelector() {
matchExpressions_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ 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();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ 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;
+ }
+ 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 {
+ 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;
@@ -21495,7 +23203,7 @@ private LabelSelector() {
@SuppressWarnings({"rawtypes"})
@java.lang.Override
- protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 1:
@@ -21506,7 +23214,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
}
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelector_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -21525,7 +23233,6 @@ private static final class MatchLabelsDefaultEntryHolder {
com.google.protobuf.WireFormat.FieldType.STRING,
"");
}
- @SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> matchLabels_;
private com.google.protobuf.MapField
@@ -21536,6 +23243,7 @@ private static final class MatchLabelsDefaultEntryHolder {
}
return matchLabels_;
}
+
public int getMatchLabelsCount() {
return internalGetMatchLabels().getMap().size();
}
@@ -21549,16 +23257,15 @@ public int getMatchLabelsCount() {
*
* map<string, string> matchLabels = 1;
*/
- @java.lang.Override
+
public boolean containsMatchLabels(
java.lang.String key) {
- if (key == null) { throw new NullPointerException("map key"); }
+ if (key == null) { throw new java.lang.NullPointerException(); }
return internalGetMatchLabels().getMap().containsKey(key);
}
/**
* Use {@link #getMatchLabelsMap()} instead.
*/
- @java.lang.Override
@java.lang.Deprecated
public java.util.Map getMatchLabels() {
return getMatchLabelsMap();
@@ -21573,7 +23280,7 @@ public java.util.Map getMatchLabels() {
*
* map<string, string> matchLabels = 1;
*/
- @java.lang.Override
+
public java.util.Map getMatchLabelsMap() {
return internalGetMatchLabels().getMap();
}
@@ -21587,13 +23294,11 @@ public java.util.Map getMatchLabelsMap() {
*
* map<string, string> matchLabels = 1;
*/
- @java.lang.Override
- public /* nullable */
-java.lang.String getMatchLabelsOrDefault(
+
+ public java.lang.String getMatchLabelsOrDefault(
java.lang.String key,
- /* nullable */
-java.lang.String defaultValue) {
- if (key == null) { throw new NullPointerException("map 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;
@@ -21608,10 +23313,10 @@ java.lang.String getMatchLabelsOrDefault(
*
* map<string, string> matchLabels = 1;
*/
- @java.lang.Override
+
public java.lang.String getMatchLabelsOrThrow(
java.lang.String key) {
- if (key == null) { throw new NullPointerException("map key"); }
+ if (key == null) { throw new java.lang.NullPointerException(); }
java.util.Map map =
internalGetMatchLabels().getMap();
if (!map.containsKey(key)) {
@@ -21621,7 +23326,6 @@ public java.lang.String getMatchLabelsOrThrow(
}
public static final int MATCHEXPRESSIONS_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
private java.util.List matchExpressions_;
/**
*
@@ -21632,7 +23336,6 @@ public java.lang.String getMatchLabelsOrThrow(
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2;
*/
- @java.lang.Override
public java.util.List getMatchExpressionsList() {
return matchExpressions_;
}
@@ -21645,7 +23348,6 @@ public java.util.List
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2;
*/
- @java.lang.Override
public java.util.List extends io.kubernetes.client.proto.Meta.LabelSelectorRequirementOrBuilder>
getMatchExpressionsOrBuilderList() {
return matchExpressions_;
@@ -21659,7 +23361,6 @@ public java.util.List
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2;
*/
- @java.lang.Override
public int getMatchExpressionsCount() {
return matchExpressions_.size();
}
@@ -21672,7 +23373,6 @@ public int getMatchExpressionsCount() {
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.LabelSelectorRequirement getMatchExpressions(int index) {
return matchExpressions_.get(index);
}
@@ -21685,7 +23385,6 @@ public io.kubernetes.client.proto.Meta.LabelSelectorRequirement getMatchExpressi
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.LabelSelectorRequirementOrBuilder getMatchExpressionsOrBuilder(
int index) {
return matchExpressions_.get(index);
@@ -21705,7 +23404,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- com.google.protobuf.GeneratedMessage
+ com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetMatchLabels(),
@@ -21714,7 +23413,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
for (int i = 0; i < matchExpressions_.size(); i++) {
output.writeMessage(2, matchExpressions_.get(i));
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -21737,7 +23436,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, matchExpressions_.get(i));
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -21752,12 +23451,13 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.LabelSelector other = (io.kubernetes.client.proto.Meta.LabelSelector) obj;
- if (!internalGetMatchLabels().equals(
- other.internalGetMatchLabels())) return false;
- if (!getMatchExpressionsList()
- .equals(other.getMatchExpressionsList())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ boolean result = true;
+ result = result && internalGetMatchLabels().equals(
+ other.internalGetMatchLabels());
+ result = result && getMatchExpressionsList()
+ .equals(other.getMatchExpressionsList());
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -21775,7 +23475,7 @@ public int hashCode() {
hash = (37 * hash) + MATCHEXPRESSIONS_FIELD_NUMBER;
hash = (53 * hash) + getMatchExpressionsList().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -21814,41 +23514,39 @@ public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom(
}
public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.LabelSelector parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -21868,7 +23566,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -21883,7 +23581,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder implements
+ 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 {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -21892,7 +23590,7 @@ public static final class Builder extends
}
@SuppressWarnings({"rawtypes"})
- protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 1:
@@ -21903,7 +23601,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
}
}
@SuppressWarnings({"rawtypes"})
- protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
+ protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 1:
@@ -21914,7 +23612,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi
}
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelector_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -21923,26 +23621,30 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi
// Construct using io.kubernetes.client.proto.Meta.LabelSelector.newBuilder()
private Builder() {
-
+ maybeForceBuilderInitialization();
}
private Builder(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
-
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3
+ .alwaysUseFieldBuilders) {
+ getMatchExpressionsFieldBuilder();
+ }
}
@java.lang.Override
public Builder clear() {
super.clear();
- bitField0_ = 0;
internalGetMutableMatchLabels().clear();
if (matchExpressionsBuilder_ == null) {
matchExpressions_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
- matchExpressions_ = null;
matchExpressionsBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@@ -21969,15 +23671,11 @@ public io.kubernetes.client.proto.Meta.LabelSelector build() {
@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);
- buildPartialRepeatedFields(result);
- if (bitField0_ != 0) { buildPartial0(result); }
- onBuilt();
- return result;
- }
-
- private void buildPartialRepeatedFields(io.kubernetes.client.proto.Meta.LabelSelector result) {
+ int from_bitField0_ = bitField0_;
+ result.matchLabels_ = internalGetMatchLabels();
+ result.matchLabels_.makeImmutable();
if (matchExpressionsBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
matchExpressions_ = java.util.Collections.unmodifiableList(matchExpressions_);
bitField0_ = (bitField0_ & ~0x00000002);
}
@@ -21985,16 +23683,42 @@ private void buildPartialRepeatedFields(io.kubernetes.client.proto.Meta.LabelSel
} else {
result.matchExpressions_ = matchExpressionsBuilder_.build();
}
+ onBuilt();
+ return result;
}
- private void buildPartial0(io.kubernetes.client.proto.Meta.LabelSelector result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.matchLabels_ = internalGetMatchLabels();
- result.matchLabels_.makeImmutable();
- }
+ @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) {
@@ -22009,7 +23733,6 @@ 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());
- bitField0_ |= 0x00000001;
if (matchExpressionsBuilder_ == null) {
if (!other.matchExpressions_.isEmpty()) {
if (matchExpressions_.isEmpty()) {
@@ -22029,14 +23752,14 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.LabelSelector other) {
matchExpressions_ = other.matchExpressions_;
bitField0_ = (bitField0_ & ~0x00000002);
matchExpressionsBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getMatchExpressionsFieldBuilder() : null;
} else {
matchExpressionsBuilder_.addAllMessages(other.matchExpressions_);
}
}
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -22051,52 +23774,17 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.kubernetes.client.proto.Meta.LabelSelector parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- com.google.protobuf.MapEntry
- matchLabels__ = input.readMessage(
- MatchLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
- internalGetMutableMatchLabels().getMutableMap().put(
- matchLabels__.getKey(), matchLabels__.getValue());
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- case 18: {
- io.kubernetes.client.proto.Meta.LabelSelectorRequirement m =
- input.readMessage(
- io.kubernetes.client.proto.Meta.LabelSelectorRequirement.parser(),
- extensionRegistry);
- if (matchExpressionsBuilder_ == null) {
- ensureMatchExpressionsIsMutable();
- matchExpressions_.add(m);
- } else {
- matchExpressionsBuilder_.addMessage(m);
- }
- break;
- } // case 18
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.kubernetes.client.proto.Meta.LabelSelector) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
private int bitField0_;
@@ -22104,7 +23792,7 @@ public Builder mergeFrom(
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> matchLabels_;
private com.google.protobuf.MapField
- internalGetMatchLabels() {
+ internalGetMatchLabels() {
if (matchLabels_ == null) {
return com.google.protobuf.MapField.emptyMapField(
MatchLabelsDefaultEntryHolder.defaultEntry);
@@ -22112,7 +23800,8 @@ public Builder mergeFrom(
return matchLabels_;
}
private com.google.protobuf.MapField
- internalGetMutableMatchLabels() {
+ internalGetMutableMatchLabels() {
+ onChanged();;
if (matchLabels_ == null) {
matchLabels_ = com.google.protobuf.MapField.newMapField(
MatchLabelsDefaultEntryHolder.defaultEntry);
@@ -22120,10 +23809,9 @@ public Builder mergeFrom(
if (!matchLabels_.isMutable()) {
matchLabels_ = matchLabels_.copy();
}
- bitField0_ |= 0x00000001;
- onChanged();
return matchLabels_;
}
+
public int getMatchLabelsCount() {
return internalGetMatchLabels().getMap().size();
}
@@ -22137,16 +23825,15 @@ public int getMatchLabelsCount() {
*
* map<string, string> matchLabels = 1;
*/
- @java.lang.Override
+
public boolean containsMatchLabels(
java.lang.String key) {
- if (key == null) { throw new NullPointerException("map key"); }
+ if (key == null) { throw new java.lang.NullPointerException(); }
return internalGetMatchLabels().getMap().containsKey(key);
}
/**
* Use {@link #getMatchLabelsMap()} instead.
*/
- @java.lang.Override
@java.lang.Deprecated
public java.util.Map getMatchLabels() {
return getMatchLabelsMap();
@@ -22161,7 +23848,7 @@ public java.util.Map getMatchLabels() {
*
* map<string, string> matchLabels = 1;
*/
- @java.lang.Override
+
public java.util.Map getMatchLabelsMap() {
return internalGetMatchLabels().getMap();
}
@@ -22175,13 +23862,11 @@ public java.util.Map getMatchLabelsMap() {
*
* map<string, string> matchLabels = 1;
*/
- @java.lang.Override
- public /* nullable */
-java.lang.String getMatchLabelsOrDefault(
+
+ public java.lang.String getMatchLabelsOrDefault(
java.lang.String key,
- /* nullable */
-java.lang.String defaultValue) {
- if (key == null) { throw new NullPointerException("map 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;
@@ -22196,10 +23881,10 @@ java.lang.String getMatchLabelsOrDefault(
*
* map<string, string> matchLabels = 1;
*/
- @java.lang.Override
+
public java.lang.String getMatchLabelsOrThrow(
java.lang.String key) {
- if (key == null) { throw new NullPointerException("map key"); }
+ if (key == null) { throw new java.lang.NullPointerException(); }
java.util.Map map =
internalGetMatchLabels().getMap();
if (!map.containsKey(key)) {
@@ -22207,8 +23892,8 @@ public java.lang.String getMatchLabelsOrThrow(
}
return map.get(key);
}
+
public Builder clearMatchLabels() {
- bitField0_ = (bitField0_ & ~0x00000001);
internalGetMutableMatchLabels().getMutableMap()
.clear();
return this;
@@ -22223,9 +23908,10 @@ public Builder clearMatchLabels() {
*
* map<string, string> matchLabels = 1;
*/
+
public Builder removeMatchLabels(
java.lang.String key) {
- if (key == null) { throw new NullPointerException("map key"); }
+ if (key == null) { throw new java.lang.NullPointerException(); }
internalGetMutableMatchLabels().getMutableMap()
.remove(key);
return this;
@@ -22235,8 +23921,7 @@ public Builder removeMatchLabels(
*/
@java.lang.Deprecated
public java.util.Map
- getMutableMatchLabels() {
- bitField0_ |= 0x00000001;
+ getMutableMatchLabels() {
return internalGetMutableMatchLabels().getMutableMap();
}
/**
@@ -22252,11 +23937,10 @@ public Builder removeMatchLabels(
public Builder putMatchLabels(
java.lang.String key,
java.lang.String value) {
- if (key == null) { throw new NullPointerException("map key"); }
- if (value == null) { throw new NullPointerException("map value"); }
+ if (key == null) { throw new java.lang.NullPointerException(); }
+ if (value == null) { throw new java.lang.NullPointerException(); }
internalGetMutableMatchLabels().getMutableMap()
.put(key, value);
- bitField0_ |= 0x00000001;
return this;
}
/**
@@ -22269,24 +23953,24 @@ public Builder putMatchLabels(
*
* map<string, string> matchLabels = 1;
*/
+
public Builder putAllMatchLabels(
java.util.Map values) {
internalGetMutableMatchLabels().getMutableMap()
.putAll(values);
- bitField0_ |= 0x00000001;
return this;
}
private java.util.List matchExpressions_ =
java.util.Collections.emptyList();
private void ensureMatchExpressionsIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000002) == 0x00000002)) {
matchExpressions_ = new java.util.ArrayList(matchExpressions_);
bitField0_ |= 0x00000002;
}
}
- private com.google.protobuf.RepeatedFieldBuilder<
+ 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_;
/**
@@ -22610,20 +24294,32 @@ public io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder addMatch
getMatchExpressionsBuilderList() {
return getMatchExpressionsFieldBuilder().getBuilderList();
}
- private com.google.protobuf.RepeatedFieldBuilder<
+ 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.RepeatedFieldBuilder<
+ 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) != 0),
+ ((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)
}
@@ -22638,25 +24334,14 @@ public static io.kubernetes.client.proto.Meta.LabelSelector getDefaultInstance()
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser
+ @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 {
- Builder builder = newBuilder();
- try {
- builder.mergeFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(builder.buildPartial());
- } catch (com.google.protobuf.UninitializedMessageException e) {
- throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(e)
- .setUnfinishedMessage(builder.buildPartial());
- }
- return builder.buildPartial();
+ return new LabelSelector(input, extensionRegistry);
}
};
@@ -22686,7 +24371,6 @@ public interface LabelSelectorRequirementOrBuilder extends
*
*
* optional string key = 1;
- * @return Whether the key field is set.
*/
boolean hasKey();
/**
@@ -22695,7 +24379,6 @@ public interface LabelSelectorRequirementOrBuilder extends
*
*
* optional string key = 1;
- * @return The key.
*/
java.lang.String getKey();
/**
@@ -22704,7 +24387,6 @@ public interface LabelSelectorRequirementOrBuilder extends
*
*
* optional string key = 1;
- * @return The bytes for key.
*/
com.google.protobuf.ByteString
getKeyBytes();
@@ -22716,7 +24398,6 @@ public interface LabelSelectorRequirementOrBuilder extends
*
*
* optional string operator = 2;
- * @return Whether the operator field is set.
*/
boolean hasOperator();
/**
@@ -22726,7 +24407,6 @@ public interface LabelSelectorRequirementOrBuilder extends
*
*
* optional string operator = 2;
- * @return The operator.
*/
java.lang.String getOperator();
/**
@@ -22736,7 +24416,6 @@ public interface LabelSelectorRequirementOrBuilder extends
*
*
* optional string operator = 2;
- * @return The bytes for operator.
*/
com.google.protobuf.ByteString
getOperatorBytes();
@@ -22752,7 +24431,6 @@ public interface LabelSelectorRequirementOrBuilder extends
*
*
* repeated string values = 3;
- * @return A list containing the values.
*/
java.util.Listrepeated string values = 3;
- * @return The count of values.
*/
int getValuesCount();
/**
@@ -22781,8 +24458,6 @@ public interface LabelSelectorRequirementOrBuilder extends
*
*
* repeated string values = 3;
- * @param index The index of the element to return.
- * @return The values at the given index.
*/
java.lang.String getValues(int index);
/**
@@ -22796,8 +24471,6 @@ public interface LabelSelectorRequirementOrBuilder extends
*
*
* repeated string values = 3;
- * @param index The index of the value to return.
- * @return The bytes of the values at the given index.
*/
com.google.protobuf.ByteString
getValuesBytes(int index);
@@ -22810,38 +24483,95 @@ public interface LabelSelectorRequirementOrBuilder extends
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement}
*/
- public static final class LabelSelectorRequirement extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class LabelSelectorRequirement extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement)
LabelSelectorRequirementOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- LabelSelectorRequirement.class.getName());
- }
// Use LabelSelectorRequirement.newBuilder() to construct.
- private LabelSelectorRequirement(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private LabelSelectorRequirement(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private LabelSelectorRequirement() {
key_ = "";
operator_ = "";
- values_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
+ values_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ 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();
+ 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;
+ key_ = bs;
+ break;
+ }
+ case 18: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000002;
+ operator_ = bs;
+ break;
+ }
+ case 26: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
+ values_ = new com.google.protobuf.LazyStringArrayList();
+ mutable_bitField0_ |= 0x00000004;
+ }
+ values_.add(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 {
+ 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_LabelSelectorRequirement_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -22850,19 +24580,16 @@ private LabelSelectorRequirement() {
private int bitField0_;
public static final int KEY_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object key_ = "";
+ private volatile java.lang.Object key_;
/**
*
* key is the label key that the selector applies to.
*
*
* optional string key = 1;
- * @return Whether the key field is set.
*/
- @java.lang.Override
public boolean hasKey() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -22870,9 +24597,7 @@ public boolean hasKey() {
*
*
* optional string key = 1;
- * @return The key.
*/
- @java.lang.Override
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
@@ -22893,9 +24618,7 @@ public java.lang.String getKey() {
*
*
* optional string key = 1;
- * @return The bytes for key.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
@@ -22911,8 +24634,7 @@ public java.lang.String getKey() {
}
public static final int OPERATOR_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private volatile java.lang.Object operator_ = "";
+ private volatile java.lang.Object operator_;
/**
*
* operator represents a key's relationship to a set of values.
@@ -22920,11 +24642,9 @@ public java.lang.String getKey() {
*
*
* optional string operator = 2;
- * @return Whether the operator field is set.
*/
- @java.lang.Override
public boolean hasOperator() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -22933,9 +24653,7 @@ public boolean hasOperator() {
*
*
* optional string operator = 2;
- * @return The operator.
*/
- @java.lang.Override
public java.lang.String getOperator() {
java.lang.Object ref = operator_;
if (ref instanceof java.lang.String) {
@@ -22957,9 +24675,7 @@ public java.lang.String getOperator() {
*
*
* optional string operator = 2;
- * @return The bytes for operator.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getOperatorBytes() {
java.lang.Object ref = operator_;
@@ -22975,9 +24691,7 @@ public java.lang.String getOperator() {
}
public static final int VALUES_FIELD_NUMBER = 3;
- @SuppressWarnings("serial")
- private com.google.protobuf.LazyStringArrayList values_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
+ private com.google.protobuf.LazyStringList values_;
/**
*
* values is an array of string values. If the operator is In or NotIn,
@@ -22989,7 +24703,6 @@ public java.lang.String getOperator() {
*
*
* repeated string values = 3;
- * @return A list containing the values.
*/
public com.google.protobuf.ProtocolStringList
getValuesList() {
@@ -23006,7 +24719,6 @@ public java.lang.String getOperator() {
*
*
* repeated string values = 3;
- * @return The count of values.
*/
public int getValuesCount() {
return values_.size();
@@ -23022,8 +24734,6 @@ public int getValuesCount() {
*
*
* repeated string values = 3;
- * @param index The index of the element to return.
- * @return The values at the given index.
*/
public java.lang.String getValues(int index) {
return values_.get(index);
@@ -23039,8 +24749,6 @@ public java.lang.String getValues(int index) {
*
*
* repeated string values = 3;
- * @param index The index of the value to return.
- * @return The bytes of the values at the given index.
*/
public com.google.protobuf.ByteString
getValuesBytes(int index) {
@@ -23061,16 +24769,16 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 1, key_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 2, operator_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, operator_);
}
for (int i = 0; i < values_.size(); i++) {
- com.google.protobuf.GeneratedMessage.writeString(output, 3, values_.getRaw(i));
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, values_.getRaw(i));
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -23079,11 +24787,11 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(1, key_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(2, operator_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, operator_);
}
{
int dataSize = 0;
@@ -23093,7 +24801,7 @@ public int getSerializedSize() {
size += dataSize;
size += 1 * getValuesList().size();
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -23108,20 +24816,21 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.LabelSelectorRequirement other = (io.kubernetes.client.proto.Meta.LabelSelectorRequirement) obj;
- if (hasKey() != other.hasKey()) return false;
+ boolean result = true;
+ result = result && (hasKey() == other.hasKey());
if (hasKey()) {
- if (!getKey()
- .equals(other.getKey())) return false;
+ result = result && getKey()
+ .equals(other.getKey());
}
- if (hasOperator() != other.hasOperator()) return false;
+ result = result && (hasOperator() == other.hasOperator());
if (hasOperator()) {
- if (!getOperator()
- .equals(other.getOperator())) return false;
+ result = result && getOperator()
+ .equals(other.getOperator());
}
- if (!getValuesList()
- .equals(other.getValuesList())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && getValuesList()
+ .equals(other.getValuesList());
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -23143,7 +24852,7 @@ public int hashCode() {
hash = (37 * hash) + VALUES_FIELD_NUMBER;
hash = (53 * hash) + getValuesList().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -23182,41 +24891,39 @@ public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom
}
public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -23236,7 +24943,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -23249,7 +24956,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional string key = 1;
- * @return Whether the key field is set.
*/
public boolean hasKey() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -23441,7 +25153,6 @@ public boolean hasKey() {
*
*
* optional string key = 1;
- * @return The key.
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
@@ -23463,7 +25174,6 @@ public java.lang.String getKey() {
*
*
* optional string key = 1;
- * @return The bytes for key.
*/
public com.google.protobuf.ByteString
getKeyBytes() {
@@ -23484,14 +25194,14 @@ public java.lang.String getKey() {
*
*
* optional string key = 1;
- * @param value The key to set.
- * @return This builder for chaining.
*/
public Builder setKey(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
key_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -23501,11 +25211,10 @@ public Builder setKey(
*
*
* optional string key = 1;
- * @return This builder for chaining.
*/
public Builder clearKey() {
- key_ = getDefaultInstance().getKey();
bitField0_ = (bitField0_ & ~0x00000001);
+ key_ = getDefaultInstance().getKey();
onChanged();
return this;
}
@@ -23515,14 +25224,14 @@ public Builder clearKey() {
*
*
* optional string key = 1;
- * @param value The bytes for key to set.
- * @return This builder for chaining.
*/
public Builder setKeyBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
key_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -23535,10 +25244,9 @@ public Builder setKeyBytes(
*
*
* optional string operator = 2;
- * @return Whether the operator field is set.
*/
public boolean hasOperator() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -23547,7 +25255,6 @@ public boolean hasOperator() {
*
*
* optional string operator = 2;
- * @return The operator.
*/
public java.lang.String getOperator() {
java.lang.Object ref = operator_;
@@ -23570,7 +25277,6 @@ public java.lang.String getOperator() {
*
*
* optional string operator = 2;
- * @return The bytes for operator.
*/
public com.google.protobuf.ByteString
getOperatorBytes() {
@@ -23592,14 +25298,14 @@ public java.lang.String getOperator() {
*
*
* optional string operator = 2;
- * @param value The operator to set.
- * @return This builder for chaining.
*/
public Builder setOperator(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
operator_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -23610,11 +25316,10 @@ public Builder setOperator(
*
*
* optional string operator = 2;
- * @return This builder for chaining.
*/
public Builder clearOperator() {
- operator_ = getDefaultInstance().getOperator();
bitField0_ = (bitField0_ & ~0x00000002);
+ operator_ = getDefaultInstance().getOperator();
onChanged();
return this;
}
@@ -23625,25 +25330,24 @@ public Builder clearOperator() {
*
*
* optional string operator = 2;
- * @param value The bytes for operator to set.
- * @return This builder for chaining.
*/
public Builder setOperatorBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
operator_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
- private com.google.protobuf.LazyStringArrayList values_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
+ private com.google.protobuf.LazyStringList values_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureValuesIsMutable() {
- if (!values_.isModifiable()) {
+ if (!((bitField0_ & 0x00000004) == 0x00000004)) {
values_ = new com.google.protobuf.LazyStringArrayList(values_);
- }
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000004;
+ }
}
/**
*
@@ -23656,12 +25360,10 @@ private void ensureValuesIsMutable() {
*
*
* repeated string values = 3;
- * @return A list containing the values.
*/
public com.google.protobuf.ProtocolStringList
getValuesList() {
- values_.makeImmutable();
- return values_;
+ return values_.getUnmodifiableView();
}
/**
*
@@ -23674,7 +25376,6 @@ private void ensureValuesIsMutable() {
*
*
* repeated string values = 3;
- * @return The count of values.
*/
public int getValuesCount() {
return values_.size();
@@ -23690,8 +25391,6 @@ public int getValuesCount() {
*
*
* repeated string values = 3;
- * @param index The index of the element to return.
- * @return The values at the given index.
*/
public java.lang.String getValues(int index) {
return values_.get(index);
@@ -23707,8 +25406,6 @@ public java.lang.String getValues(int index) {
*
*
* repeated string values = 3;
- * @param index The index of the value to return.
- * @return The bytes of the values at the given index.
*/
public com.google.protobuf.ByteString
getValuesBytes(int index) {
@@ -23725,16 +25422,14 @@ public java.lang.String getValues(int index) {
*
*
* repeated string values = 3;
- * @param index The index to set the value at.
- * @param value The values to set.
- * @return This builder for chaining.
*/
public Builder setValues(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureValuesIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureValuesIsMutable();
values_.set(index, value);
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -23749,15 +25444,14 @@ public Builder setValues(
*
*
* repeated string values = 3;
- * @param value The values to add.
- * @return This builder for chaining.
*/
public Builder addValues(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureValuesIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureValuesIsMutable();
values_.add(value);
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -23772,15 +25466,12 @@ public Builder addValues(
*
*
* repeated string values = 3;
- * @param values The values to add.
- * @return This builder for chaining.
*/
public Builder addAllValues(
java.lang.Iterablerepeated string values = 3;
- * @return This builder for chaining.
*/
public Builder clearValues() {
- values_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);;
+ values_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@@ -23815,18 +25504,29 @@ public Builder clearValues() {
*
*
* repeated string values = 3;
- * @param value The bytes of the values to add.
- * @return This builder for chaining.
*/
public Builder addValuesBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- ensureValuesIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureValuesIsMutable();
values_.add(value);
- bitField0_ |= 0x00000004;
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.LabelSelectorRequirement)
}
@@ -23841,25 +25541,14 @@ public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement getDefaul
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parseroptional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
- * @return Whether the metadata field is set.
*/
boolean hasMetadata();
/**
@@ -23902,7 +25590,6 @@ public interface ListOrBuilder extends
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
- * @return The metadata.
*/
io.kubernetes.client.proto.Meta.ListMeta getMetadata();
/**
@@ -23967,35 +25654,94 @@ io.kubernetes.client.proto.Runtime.RawExtensionOrBuilder getItemsOrBuilder(
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.List}
*/
- public static final class List extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class List extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.List)
ListOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- List.class.getName());
- }
// Use List.newBuilder() to construct.
- private List(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private List(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private List() {
items_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ 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();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ 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 18: {
+ if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
+ items_ = new java.util.ArrayListoptional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
- * @return Whether the metadata field is set.
*/
- @java.lang.Override
public boolean hasMetadata() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -24027,9 +25771,7 @@ public boolean hasMetadata() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
- * @return The metadata.
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.ListMeta getMetadata() {
return metadata_ == null ? io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance() : metadata_;
}
@@ -24042,13 +25784,11 @@ public io.kubernetes.client.proto.Meta.ListMeta getMetadata() {
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
*/
- @java.lang.Override
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;
- @SuppressWarnings("serial")
private java.util.List
@@ -24057,7 +25797,6 @@ public io.kubernetes.client.proto.Meta.ListMetaOrBuilder getMetadataOrBuilder()
*
* repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2;
*/
- @java.lang.Override
public java.util.List getItemsList() {
return items_;
}
@@ -24068,7 +25807,6 @@ public java.util.List getItemsL
*
* repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2;
*/
- @java.lang.Override
public java.util.List extends io.kubernetes.client.proto.Runtime.RawExtensionOrBuilder>
getItemsOrBuilderList() {
return items_;
@@ -24080,7 +25818,6 @@ public java.util.List getItemsL
*
* repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2;
*/
- @java.lang.Override
public int getItemsCount() {
return items_.size();
}
@@ -24091,7 +25828,6 @@ public int getItemsCount() {
*
* repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Runtime.RawExtension getItems(int index) {
return items_.get(index);
}
@@ -24102,7 +25838,6 @@ public io.kubernetes.client.proto.Runtime.RawExtension getItems(int index) {
*
* repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Runtime.RawExtensionOrBuilder getItemsOrBuilder(
int index) {
return items_.get(index);
@@ -24122,13 +25857,13 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, getMetadata());
}
for (int i = 0; i < items_.size(); i++) {
output.writeMessage(2, items_.get(i));
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -24137,7 +25872,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getMetadata());
}
@@ -24145,7 +25880,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, items_.get(i));
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -24160,15 +25895,16 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.List other = (io.kubernetes.client.proto.Meta.List) obj;
- if (hasMetadata() != other.hasMetadata()) return false;
+ boolean result = true;
+ result = result && (hasMetadata() == other.hasMetadata());
if (hasMetadata()) {
- if (!getMetadata()
- .equals(other.getMetadata())) return false;
+ result = result && getMetadata()
+ .equals(other.getMetadata());
}
- if (!getItemsList()
- .equals(other.getItemsList())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && getItemsList()
+ .equals(other.getItemsList());
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -24186,7 +25922,7 @@ public int hashCode() {
hash = (37 * hash) + ITEMS_FIELD_NUMBER;
hash = (53 * hash) + getItemsList().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -24225,41 +25961,39 @@ public static io.kubernetes.client.proto.Meta.List parseFrom(
}
public static io.kubernetes.client.proto.Meta.List parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.List parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.List parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.List parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -24279,7 +26013,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -24291,7 +26025,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.List}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder implements
+ com.google.protobuf.GeneratedMessageV3.Builder implements
// @@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
@@ -24300,7 +26034,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_List_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -24313,12 +26047,12 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage
+ if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getMetadataFieldBuilder();
getItemsFieldBuilder();
@@ -24327,19 +26061,18 @@ private void maybeForceBuilderInitialization() {
@java.lang.Override
public Builder clear() {
super.clear();
- bitField0_ = 0;
- metadata_ = null;
- if (metadataBuilder_ != null) {
- metadataBuilder_.dispose();
- metadataBuilder_ = null;
+ if (metadataBuilder_ == null) {
+ metadata_ = null;
+ } else {
+ metadataBuilder_.clear();
}
+ bitField0_ = (bitField0_ & ~0x00000001);
if (itemsBuilder_ == null) {
items_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
- items_ = null;
itemsBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@@ -24366,15 +26099,18 @@ public io.kubernetes.client.proto.Meta.List build() {
@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);
- buildPartialRepeatedFields(result);
- if (bitField0_ != 0) { buildPartial0(result); }
- onBuilt();
- return result;
- }
-
- private void buildPartialRepeatedFields(io.kubernetes.client.proto.Meta.List result) {
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ to_bitField0_ |= 0x00000001;
+ }
+ if (metadataBuilder_ == null) {
+ result.metadata_ = metadata_;
+ } else {
+ result.metadata_ = metadataBuilder_.build();
+ }
if (itemsBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
items_ = java.util.Collections.unmodifiableList(items_);
bitField0_ = (bitField0_ & ~0x00000002);
}
@@ -24382,20 +26118,43 @@ private void buildPartialRepeatedFields(io.kubernetes.client.proto.Meta.List res
} else {
result.items_ = itemsBuilder_.build();
}
+ result.bitField0_ = to_bitField0_;
+ onBuilt();
+ return result;
}
- private void buildPartial0(io.kubernetes.client.proto.Meta.List result) {
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.metadata_ = metadataBuilder_ == null
- ? metadata_
- : metadataBuilder_.build();
- to_bitField0_ |= 0x00000001;
- }
- result.bitField0_ |= to_bitField0_;
+ @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.List) {
@@ -24430,14 +26189,14 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.List other) {
items_ = other.items_;
bitField0_ = (bitField0_ & ~0x00000002);
itemsBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getItemsFieldBuilder() : null;
} else {
itemsBuilder_.addAllMessages(other.items_);
}
}
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -24452,56 +26211,23 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.kubernetes.client.proto.Meta.List parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- input.readMessage(
- getMetadataFieldBuilder().getBuilder(),
- extensionRegistry);
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- case 18: {
- io.kubernetes.client.proto.Runtime.RawExtension m =
- input.readMessage(
- io.kubernetes.client.proto.Runtime.RawExtension.parser(),
- extensionRegistry);
- if (itemsBuilder_ == null) {
- ensureItemsIsMutable();
- items_.add(m);
- } else {
- itemsBuilder_.addMessage(m);
- }
- break;
- } // case 18
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.kubernetes.client.proto.Meta.List) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
private int bitField0_;
- private io.kubernetes.client.proto.Meta.ListMeta metadata_;
- private com.google.protobuf.SingleFieldBuilder<
+ 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_;
/**
*
@@ -24511,10 +26237,9 @@ public Builder mergeFrom(
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
- * @return Whether the metadata field is set.
*/
public boolean hasMetadata() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -24524,7 +26249,6 @@ public boolean hasMetadata() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
- * @return The metadata.
*/
public io.kubernetes.client.proto.Meta.ListMeta getMetadata() {
if (metadataBuilder_ == null) {
@@ -24548,11 +26272,11 @@ public Builder setMetadata(io.kubernetes.client.proto.Meta.ListMeta value) {
throw new NullPointerException();
}
metadata_ = value;
+ onChanged();
} else {
metadataBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
- onChanged();
return this;
}
/**
@@ -24568,11 +26292,11 @@ 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;
- onChanged();
return this;
}
/**
@@ -24586,20 +26310,19 @@ public Builder setMetadata(
*/
public Builder mergeMetadata(io.kubernetes.client.proto.Meta.ListMeta value) {
if (metadataBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0) &&
- metadata_ != null &&
- metadata_ != io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance()) {
- getMetadataBuilder().mergeFrom(value);
+ 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);
}
- if (metadata_ != null) {
- bitField0_ |= 0x00000001;
- onChanged();
- }
+ bitField0_ |= 0x00000001;
return this;
}
/**
@@ -24612,13 +26335,13 @@ public Builder mergeMetadata(io.kubernetes.client.proto.Meta.ListMeta value) {
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
*/
public Builder clearMetadata() {
- bitField0_ = (bitField0_ & ~0x00000001);
- metadata_ = null;
- if (metadataBuilder_ != null) {
- metadataBuilder_.dispose();
- metadataBuilder_ = null;
+ if (metadataBuilder_ == null) {
+ metadata_ = null;
+ onChanged();
+ } else {
+ metadataBuilder_.clear();
}
- onChanged();
+ bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
@@ -24661,11 +26384,11 @@ public io.kubernetes.client.proto.Meta.ListMetaOrBuilder getMetadataOrBuilder()
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
*/
- private com.google.protobuf.SingleFieldBuilder<
+ 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.SingleFieldBuilder<
+ 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(),
@@ -24678,13 +26401,13 @@ public io.kubernetes.client.proto.Meta.ListMetaOrBuilder getMetadataOrBuilder()
private java.util.List items_ =
java.util.Collections.emptyList();
private void ensureItemsIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000002) == 0x00000002)) {
items_ = new java.util.ArrayList(items_);
bitField0_ |= 0x00000002;
}
}
- private com.google.protobuf.RepeatedFieldBuilder<
+ 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_;
/**
@@ -24972,20 +26695,32 @@ public io.kubernetes.client.proto.Runtime.RawExtension.Builder addItemsBuilder(
getItemsBuilderList() {
return getItemsFieldBuilder().getBuilderList();
}
- private com.google.protobuf.RepeatedFieldBuilder<
+ 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.RepeatedFieldBuilder<
+ 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) != 0),
+ ((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)
}
@@ -25000,25 +26735,14 @@ public static io.kubernetes.client.proto.Meta.List getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser
+ @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 {
- Builder builder = newBuilder();
- try {
- builder.mergeFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(builder.buildPartial());
- } catch (com.google.protobuf.UninitializedMessageException e) {
- throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(e)
- .setUnfinishedMessage(builder.buildPartial());
- }
- return builder.buildPartial();
+ return new List(input, extensionRegistry);
}
};
@@ -25049,7 +26773,6 @@ public interface ListMetaOrBuilder extends
*
*
* optional string selfLink = 1;
- * @return Whether the selfLink field is set.
*/
boolean hasSelfLink();
/**
@@ -25059,7 +26782,6 @@ public interface ListMetaOrBuilder extends
*
*
* optional string selfLink = 1;
- * @return The selfLink.
*/
java.lang.String getSelfLink();
/**
@@ -25069,7 +26791,6 @@ public interface ListMetaOrBuilder extends
*
*
* optional string selfLink = 1;
- * @return The bytes for selfLink.
*/
com.google.protobuf.ByteString
getSelfLinkBytes();
@@ -25086,7 +26807,6 @@ public interface ListMetaOrBuilder extends
*
*
* optional string resourceVersion = 2;
- * @return Whether the resourceVersion field is set.
*/
boolean hasResourceVersion();
/**
@@ -25101,7 +26821,6 @@ public interface ListMetaOrBuilder extends
*
*
* optional string resourceVersion = 2;
- * @return The resourceVersion.
*/
java.lang.String getResourceVersion();
/**
@@ -25116,7 +26835,6 @@ public interface ListMetaOrBuilder extends
*
*
* optional string resourceVersion = 2;
- * @return The bytes for resourceVersion.
*/
com.google.protobuf.ByteString
getResourceVersionBytes();
@@ -25133,7 +26851,6 @@ public interface ListMetaOrBuilder extends
*
*
* optional string continue = 3;
- * @return Whether the continue field is set.
*/
boolean hasContinue();
/**
@@ -25148,7 +26865,6 @@ public interface ListMetaOrBuilder extends
*
*
* optional string continue = 3;
- * @return The continue.
*/
java.lang.String getContinue();
/**
@@ -25163,7 +26879,6 @@ public interface ListMetaOrBuilder extends
*
*
* optional string continue = 3;
- * @return The bytes for continue.
*/
com.google.protobuf.ByteString
getContinueBytes();
@@ -25183,7 +26898,6 @@ public interface ListMetaOrBuilder extends
*
*
* optional int64 remainingItemCount = 4;
- * @return Whether the remainingItemCount field is set.
*/
boolean hasRemainingItemCount();
/**
@@ -25201,7 +26915,6 @@ public interface ListMetaOrBuilder extends
*
*
* optional int64 remainingItemCount = 4;
- * @return The remainingItemCount.
*/
long getRemainingItemCount();
}
@@ -25213,37 +26926,95 @@ public interface ListMetaOrBuilder extends
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta}
*/
- public static final class ListMeta extends
- com.google.protobuf.GeneratedMessage implements
+ 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;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- ListMeta.class.getName());
- }
// Use ListMeta.newBuilder() to construct.
- private ListMeta(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private ListMeta(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ListMeta() {
selfLink_ = "";
resourceVersion_ = "";
continue_ = "";
+ remainingItemCount_ = 0L;
}
+ @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;
+ }
+ case 32: {
+ bitField0_ |= 0x00000008;
+ remainingItemCount_ = input.readInt64();
+ 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.GeneratedMessage.FieldAccessorTable
+ 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(
@@ -25252,8 +27023,7 @@ private ListMeta() {
private int bitField0_;
public static final int SELFLINK_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object selfLink_ = "";
+ private volatile java.lang.Object selfLink_;
/**
*
* Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
@@ -25261,11 +27031,9 @@ private ListMeta() {
*
*
* optional string selfLink = 1;
- * @return Whether the selfLink field is set.
*/
- @java.lang.Override
public boolean hasSelfLink() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -25274,9 +27042,7 @@ public boolean hasSelfLink() {
*
*
* optional string selfLink = 1;
- * @return The selfLink.
*/
- @java.lang.Override
public java.lang.String getSelfLink() {
java.lang.Object ref = selfLink_;
if (ref instanceof java.lang.String) {
@@ -25298,9 +27064,7 @@ public java.lang.String getSelfLink() {
*
*
* optional string selfLink = 1;
- * @return The bytes for selfLink.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getSelfLinkBytes() {
java.lang.Object ref = selfLink_;
@@ -25316,8 +27080,7 @@ public java.lang.String getSelfLink() {
}
public static final int RESOURCEVERSION_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private volatile java.lang.Object resourceVersion_ = "";
+ private volatile java.lang.Object resourceVersion_;
/**
*
* String that identifies the server's internal version of this object that
@@ -25330,11 +27093,9 @@ public java.lang.String getSelfLink() {
*
*
* optional string resourceVersion = 2;
- * @return Whether the resourceVersion field is set.
*/
- @java.lang.Override
public boolean hasResourceVersion() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -25348,9 +27109,7 @@ public boolean hasResourceVersion() {
*
*
* optional string resourceVersion = 2;
- * @return The resourceVersion.
*/
- @java.lang.Override
public java.lang.String getResourceVersion() {
java.lang.Object ref = resourceVersion_;
if (ref instanceof java.lang.String) {
@@ -25377,9 +27136,7 @@ public java.lang.String getResourceVersion() {
*
*
* optional string resourceVersion = 2;
- * @return The bytes for resourceVersion.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getResourceVersionBytes() {
java.lang.Object ref = resourceVersion_;
@@ -25395,8 +27152,7 @@ public java.lang.String getResourceVersion() {
}
public static final int CONTINUE_FIELD_NUMBER = 3;
- @SuppressWarnings("serial")
- private volatile java.lang.Object continue_ = "";
+ private volatile java.lang.Object continue_;
/**
*
* continue may be set if the user set a limit on the number of items returned, and indicates that
@@ -25409,11 +27165,9 @@ public java.lang.String getResourceVersion() {
*
*
* optional string continue = 3;
- * @return Whether the continue field is set.
*/
- @java.lang.Override
public boolean hasContinue() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
@@ -25427,9 +27181,7 @@ public boolean hasContinue() {
*
*
* optional string continue = 3;
- * @return The continue.
*/
- @java.lang.Override
public java.lang.String getContinue() {
java.lang.Object ref = continue_;
if (ref instanceof java.lang.String) {
@@ -25456,9 +27208,7 @@ public java.lang.String getContinue() {
*
*
* optional string continue = 3;
- * @return The bytes for continue.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getContinueBytes() {
java.lang.Object ref = continue_;
@@ -25474,7 +27224,7 @@ public java.lang.String getContinue() {
}
public static final int REMAININGITEMCOUNT_FIELD_NUMBER = 4;
- private long remainingItemCount_ = 0L;
+ private long remainingItemCount_;
/**
*
* remainingItemCount is the number of subsequent items in the list which are not included in this
@@ -25490,11 +27240,9 @@ public java.lang.String getContinue() {
*
*
* optional int64 remainingItemCount = 4;
- * @return Whether the remainingItemCount field is set.
*/
- @java.lang.Override
public boolean hasRemainingItemCount() {
- return ((bitField0_ & 0x00000008) != 0);
+ return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
@@ -25511,9 +27259,7 @@ public boolean hasRemainingItemCount() {
*
*
* optional int64 remainingItemCount = 4;
- * @return The remainingItemCount.
*/
- @java.lang.Override
public long getRemainingItemCount() {
return remainingItemCount_;
}
@@ -25532,19 +27278,19 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 1, selfLink_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, selfLink_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 2, resourceVersion_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resourceVersion_);
}
- if (((bitField0_ & 0x00000004) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 3, continue_);
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, continue_);
}
- if (((bitField0_ & 0x00000008) != 0)) {
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt64(4, remainingItemCount_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -25553,20 +27299,20 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(1, selfLink_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, selfLink_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(2, resourceVersion_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceVersion_);
}
- if (((bitField0_ & 0x00000004) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(3, continue_);
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, continue_);
}
- if (((bitField0_ & 0x00000008) != 0)) {
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, remainingItemCount_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -25581,28 +27327,29 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.ListMeta other = (io.kubernetes.client.proto.Meta.ListMeta) obj;
- if (hasSelfLink() != other.hasSelfLink()) return false;
+ boolean result = true;
+ result = result && (hasSelfLink() == other.hasSelfLink());
if (hasSelfLink()) {
- if (!getSelfLink()
- .equals(other.getSelfLink())) return false;
+ result = result && getSelfLink()
+ .equals(other.getSelfLink());
}
- if (hasResourceVersion() != other.hasResourceVersion()) return false;
+ result = result && (hasResourceVersion() == other.hasResourceVersion());
if (hasResourceVersion()) {
- if (!getResourceVersion()
- .equals(other.getResourceVersion())) return false;
+ result = result && getResourceVersion()
+ .equals(other.getResourceVersion());
}
- if (hasContinue() != other.hasContinue()) return false;
+ result = result && (hasContinue() == other.hasContinue());
if (hasContinue()) {
- if (!getContinue()
- .equals(other.getContinue())) return false;
+ result = result && getContinue()
+ .equals(other.getContinue());
}
- if (hasRemainingItemCount() != other.hasRemainingItemCount()) return false;
+ result = result && (hasRemainingItemCount() == other.hasRemainingItemCount());
if (hasRemainingItemCount()) {
- if (getRemainingItemCount()
- != other.getRemainingItemCount()) return false;
+ result = result && (getRemainingItemCount()
+ == other.getRemainingItemCount());
}
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -25629,7 +27376,7 @@ public int hashCode() {
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getRemainingItemCount());
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -25668,41 +27415,39 @@ public static io.kubernetes.client.proto.Meta.ListMeta parseFrom(
}
public static io.kubernetes.client.proto.Meta.ListMeta parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ 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.GeneratedMessage
+ 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.GeneratedMessage
+ 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.GeneratedMessage
+ 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.GeneratedMessage
+ 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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -25722,7 +27467,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -25735,7 +27480,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional string selfLink = 1;
- * @return Whether the selfLink field is set.
*/
public boolean hasSelfLink() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -25935,7 +27682,6 @@ public boolean hasSelfLink() {
*
*
* optional string selfLink = 1;
- * @return The selfLink.
*/
public java.lang.String getSelfLink() {
java.lang.Object ref = selfLink_;
@@ -25958,7 +27704,6 @@ public java.lang.String getSelfLink() {
*
*
* optional string selfLink = 1;
- * @return The bytes for selfLink.
*/
public com.google.protobuf.ByteString
getSelfLinkBytes() {
@@ -25980,14 +27725,14 @@ public java.lang.String getSelfLink() {
*
*
* optional string selfLink = 1;
- * @param value The selfLink to set.
- * @return This builder for chaining.
*/
public Builder setSelfLink(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
selfLink_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -25998,11 +27743,10 @@ public Builder setSelfLink(
*
*
* optional string selfLink = 1;
- * @return This builder for chaining.
*/
public Builder clearSelfLink() {
- selfLink_ = getDefaultInstance().getSelfLink();
bitField0_ = (bitField0_ & ~0x00000001);
+ selfLink_ = getDefaultInstance().getSelfLink();
onChanged();
return this;
}
@@ -26013,14 +27757,14 @@ public Builder clearSelfLink() {
*
*
* optional string selfLink = 1;
- * @param value The bytes for selfLink to set.
- * @return This builder for chaining.
*/
public Builder setSelfLinkBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
selfLink_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -26038,10 +27782,9 @@ public Builder setSelfLinkBytes(
*
*
* optional string resourceVersion = 2;
- * @return Whether the resourceVersion field is set.
*/
public boolean hasResourceVersion() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -26055,7 +27798,6 @@ public boolean hasResourceVersion() {
*
*
* optional string resourceVersion = 2;
- * @return The resourceVersion.
*/
public java.lang.String getResourceVersion() {
java.lang.Object ref = resourceVersion_;
@@ -26083,7 +27825,6 @@ public java.lang.String getResourceVersion() {
*
*
* optional string resourceVersion = 2;
- * @return The bytes for resourceVersion.
*/
public com.google.protobuf.ByteString
getResourceVersionBytes() {
@@ -26110,14 +27851,14 @@ public java.lang.String getResourceVersion() {
*
*
* optional string resourceVersion = 2;
- * @param value The resourceVersion to set.
- * @return This builder for chaining.
*/
public Builder setResourceVersion(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
resourceVersion_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -26133,11 +27874,10 @@ public Builder setResourceVersion(
*
*
* optional string resourceVersion = 2;
- * @return This builder for chaining.
*/
public Builder clearResourceVersion() {
- resourceVersion_ = getDefaultInstance().getResourceVersion();
bitField0_ = (bitField0_ & ~0x00000002);
+ resourceVersion_ = getDefaultInstance().getResourceVersion();
onChanged();
return this;
}
@@ -26153,14 +27893,14 @@ public Builder clearResourceVersion() {
*
*
* optional string resourceVersion = 2;
- * @param value The bytes for resourceVersion to set.
- * @return This builder for chaining.
*/
public Builder setResourceVersionBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
resourceVersion_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -26178,10 +27918,9 @@ public Builder setResourceVersionBytes(
*
*
* optional string continue = 3;
- * @return Whether the continue field is set.
*/
public boolean hasContinue() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
@@ -26195,7 +27934,6 @@ public boolean hasContinue() {
*
*
* optional string continue = 3;
- * @return The continue.
*/
public java.lang.String getContinue() {
java.lang.Object ref = continue_;
@@ -26223,7 +27961,6 @@ public java.lang.String getContinue() {
*
*
* optional string continue = 3;
- * @return The bytes for continue.
*/
public com.google.protobuf.ByteString
getContinueBytes() {
@@ -26250,14 +27987,14 @@ public java.lang.String getContinue() {
*
*
* optional string continue = 3;
- * @param value The continue to set.
- * @return This builder for chaining.
*/
public Builder setContinue(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
continue_ = value;
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -26273,11 +28010,10 @@ public Builder setContinue(
*
*
* optional string continue = 3;
- * @return This builder for chaining.
*/
public Builder clearContinue() {
- continue_ = getDefaultInstance().getContinue();
bitField0_ = (bitField0_ & ~0x00000004);
+ continue_ = getDefaultInstance().getContinue();
onChanged();
return this;
}
@@ -26293,14 +28029,14 @@ public Builder clearContinue() {
*
*
* optional string continue = 3;
- * @param value The bytes for continue to set.
- * @return This builder for chaining.
*/
public Builder setContinueBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
continue_ = value;
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -26321,11 +28057,9 @@ public Builder setContinueBytes(
*
*
* optional int64 remainingItemCount = 4;
- * @return Whether the remainingItemCount field is set.
*/
- @java.lang.Override
public boolean hasRemainingItemCount() {
- return ((bitField0_ & 0x00000008) != 0);
+ return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
@@ -26342,9 +28076,7 @@ public boolean hasRemainingItemCount() {
*
*
* optional int64 remainingItemCount = 4;
- * @return The remainingItemCount.
*/
- @java.lang.Override
public long getRemainingItemCount() {
return remainingItemCount_;
}
@@ -26363,13 +28095,10 @@ public long getRemainingItemCount() {
*
*
* optional int64 remainingItemCount = 4;
- * @param value The remainingItemCount to set.
- * @return This builder for chaining.
*/
public Builder setRemainingItemCount(long value) {
-
- remainingItemCount_ = value;
bitField0_ |= 0x00000008;
+ remainingItemCount_ = value;
onChanged();
return this;
}
@@ -26388,7 +28117,6 @@ public Builder setRemainingItemCount(long value) {
*
*
* optional int64 remainingItemCount = 4;
- * @return This builder for chaining.
*/
public Builder clearRemainingItemCount() {
bitField0_ = (bitField0_ & ~0x00000008);
@@ -26396,6 +28124,18 @@ public Builder clearRemainingItemCount() {
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)
}
@@ -26410,25 +28150,14 @@ public static io.kubernetes.client.proto.Meta.ListMeta getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parseroptional string labelSelector = 1;
- * @return Whether the labelSelector field is set.
*/
boolean hasLabelSelector();
/**
@@ -26471,7 +28199,6 @@ public interface ListOptionsOrBuilder extends
*
*
* optional string labelSelector = 1;
- * @return The labelSelector.
*/
java.lang.String getLabelSelector();
/**
@@ -26482,7 +28209,6 @@ public interface ListOptionsOrBuilder extends
*
*
* optional string labelSelector = 1;
- * @return The bytes for labelSelector.
*/
com.google.protobuf.ByteString
getLabelSelectorBytes();
@@ -26495,7 +28221,6 @@ public interface ListOptionsOrBuilder extends
*
*
* optional string fieldSelector = 2;
- * @return Whether the fieldSelector field is set.
*/
boolean hasFieldSelector();
/**
@@ -26506,7 +28231,6 @@ public interface ListOptionsOrBuilder extends
*
*
* optional string fieldSelector = 2;
- * @return The fieldSelector.
*/
java.lang.String getFieldSelector();
/**
@@ -26517,7 +28241,6 @@ public interface ListOptionsOrBuilder extends
*
*
* optional string fieldSelector = 2;
- * @return The bytes for fieldSelector.
*/
com.google.protobuf.ByteString
getFieldSelectorBytes();
@@ -26530,7 +28253,6 @@ public interface ListOptionsOrBuilder extends
*
*
* optional bool watch = 3;
- * @return Whether the watch field is set.
*/
boolean hasWatch();
/**
@@ -26541,7 +28263,6 @@ public interface ListOptionsOrBuilder extends
*
*
* optional bool watch = 3;
- * @return The watch.
*/
boolean getWatch();
@@ -26557,7 +28278,6 @@ public interface ListOptionsOrBuilder extends
*
*
* optional bool allowWatchBookmarks = 9;
- * @return Whether the allowWatchBookmarks field is set.
*/
boolean hasAllowWatchBookmarks();
/**
@@ -26572,7 +28292,6 @@ public interface ListOptionsOrBuilder extends
*
*
* optional bool allowWatchBookmarks = 9;
- * @return The allowWatchBookmarks.
*/
boolean getAllowWatchBookmarks();
@@ -26581,13 +28300,11 @@ public interface ListOptionsOrBuilder extends
* resourceVersion sets a constraint on what resource versions a request may be served from.
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersion = 4;
- * @return Whether the resourceVersion field is set.
*/
boolean hasResourceVersion();
/**
@@ -26595,13 +28312,11 @@ public interface ListOptionsOrBuilder extends
* resourceVersion sets a constraint on what resource versions a request may be served from.
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersion = 4;
- * @return The resourceVersion.
*/
java.lang.String getResourceVersion();
/**
@@ -26609,13 +28324,11 @@ public interface ListOptionsOrBuilder extends
* resourceVersion sets a constraint on what resource versions a request may be served from.
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersion = 4;
- * @return The bytes for resourceVersion.
*/
com.google.protobuf.ByteString
getResourceVersionBytes();
@@ -26627,13 +28340,11 @@ public interface ListOptionsOrBuilder extends
* resourceVersion is set
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersionMatch = 10;
- * @return Whether the resourceVersionMatch field is set.
*/
boolean hasResourceVersionMatch();
/**
@@ -26643,13 +28354,11 @@ public interface ListOptionsOrBuilder extends
* resourceVersion is set
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersionMatch = 10;
- * @return The resourceVersionMatch.
*/
java.lang.String getResourceVersionMatch();
/**
@@ -26659,13 +28368,11 @@ public interface ListOptionsOrBuilder extends
* resourceVersion is set
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersionMatch = 10;
- * @return The bytes for resourceVersionMatch.
*/
com.google.protobuf.ByteString
getResourceVersionMatchBytes();
@@ -26678,7 +28385,6 @@ public interface ListOptionsOrBuilder extends
*
*
* optional int64 timeoutSeconds = 5;
- * @return Whether the timeoutSeconds field is set.
*/
boolean hasTimeoutSeconds();
/**
@@ -26689,7 +28395,6 @@ public interface ListOptionsOrBuilder extends
*
*
* optional int64 timeoutSeconds = 5;
- * @return The timeoutSeconds.
*/
long getTimeoutSeconds();
@@ -26703,7 +28408,6 @@ public interface ListOptionsOrBuilder extends
* 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
@@ -26714,7 +28418,6 @@ public interface ListOptionsOrBuilder extends
*
*
* optional int64 limit = 7;
- * @return Whether the limit field is set.
*/
boolean hasLimit();
/**
@@ -26727,7 +28430,6 @@ public interface ListOptionsOrBuilder extends
* 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
@@ -26738,7 +28440,6 @@ public interface ListOptionsOrBuilder extends
*
*
* optional int64 limit = 7;
- * @return The limit.
*/
long getLimit();
@@ -26755,13 +28456,11 @@ public interface ListOptionsOrBuilder extends
* 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;
- * @return Whether the continue field is set.
*/
boolean hasContinue();
/**
@@ -26777,13 +28476,11 @@ public interface ListOptionsOrBuilder extends
* 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;
- * @return The continue.
*/
java.lang.String getContinue();
/**
@@ -26799,13 +28496,11 @@ public interface ListOptionsOrBuilder extends
* 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;
- * @return The bytes for continue.
*/
com.google.protobuf.ByteString
getContinueBytes();
@@ -26820,26 +28515,23 @@ public interface ListOptionsOrBuilder extends
* set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation.
* Afterwards, the watch stream will proceed as usual, sending watch events
* corresponding to changes (subsequent to the RV) to objects watched.
- *
* When `sendInitialEvents` option is set, we require `resourceVersionMatch`
* option to also be set. The semantic of the watch request is as following:
* - `resourceVersionMatch` = NotOlderThan
- * is interpreted as "data at least as new as the provided `resourceVersion`"
- * and the bookmark event is send when the state is synced
- * to a `resourceVersion` at least as fresh as the one provided by the ListOptions.
- * If `resourceVersion` is unset, this is interpreted as "consistent read" and the
- * bookmark event is send when the state is synced at least to the moment
- * when request started being processed.
+ * is interpreted as "data at least as new as the provided `resourceVersion`"
+ * and the bookmark event is send when the state is synced
+ * to a `resourceVersion` at least as fresh as the one provided by the ListOptions.
+ * If `resourceVersion` is unset, this is interpreted as "consistent read" and the
+ * bookmark event is send when the state is synced at least to the moment
+ * when request started being processed.
* - `resourceVersionMatch` set to any other value or unset
- * Invalid error is returned.
- *
+ * Invalid error is returned.
* Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward
* compatibility reasons) and to false otherwise.
* +optional
*
*
* optional bool sendInitialEvents = 11;
- * @return Whether the sendInitialEvents field is set.
*/
boolean hasSendInitialEvents();
/**
@@ -26852,26 +28544,23 @@ public interface ListOptionsOrBuilder extends
* set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation.
* Afterwards, the watch stream will proceed as usual, sending watch events
* corresponding to changes (subsequent to the RV) to objects watched.
- *
* When `sendInitialEvents` option is set, we require `resourceVersionMatch`
* option to also be set. The semantic of the watch request is as following:
* - `resourceVersionMatch` = NotOlderThan
- * is interpreted as "data at least as new as the provided `resourceVersion`"
- * and the bookmark event is send when the state is synced
- * to a `resourceVersion` at least as fresh as the one provided by the ListOptions.
- * If `resourceVersion` is unset, this is interpreted as "consistent read" and the
- * bookmark event is send when the state is synced at least to the moment
- * when request started being processed.
+ * is interpreted as "data at least as new as the provided `resourceVersion`"
+ * and the bookmark event is send when the state is synced
+ * to a `resourceVersion` at least as fresh as the one provided by the ListOptions.
+ * If `resourceVersion` is unset, this is interpreted as "consistent read" and the
+ * bookmark event is send when the state is synced at least to the moment
+ * when request started being processed.
* - `resourceVersionMatch` set to any other value or unset
- * Invalid error is returned.
- *
+ * Invalid error is returned.
* Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward
* compatibility reasons) and to false otherwise.
* +optional
*
*
* optional bool sendInitialEvents = 11;
- * @return The sendInitialEvents.
*/
boolean getSendInitialEvents();
}
@@ -26882,39 +28571,133 @@ public interface ListOptionsOrBuilder extends
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions}
*/
- public static final class ListOptions extends
- com.google.protobuf.GeneratedMessage implements
+ 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;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- ListOptions.class.getName());
- }
// Use ListOptions.newBuilder() to construct.
- private ListOptions(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private ListOptions(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ListOptions() {
labelSelector_ = "";
fieldSelector_ = "";
+ watch_ = false;
+ allowWatchBookmarks_ = false;
resourceVersion_ = "";
resourceVersionMatch_ = "";
+ timeoutSeconds_ = 0L;
+ limit_ = 0L;
continue_ = "";
+ sendInitialEvents_ = false;
}
+ @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_ |= 0x00000010;
+ resourceVersion_ = bs;
+ break;
+ }
+ case 40: {
+ bitField0_ |= 0x00000040;
+ timeoutSeconds_ = input.readInt64();
+ break;
+ }
+ case 56: {
+ bitField0_ |= 0x00000080;
+ limit_ = input.readInt64();
+ break;
+ }
+ case 66: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000100;
+ continue_ = bs;
+ break;
+ }
+ case 72: {
+ bitField0_ |= 0x00000008;
+ allowWatchBookmarks_ = input.readBool();
+ break;
+ }
+ case 82: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000020;
+ resourceVersionMatch_ = bs;
+ break;
+ }
+ case 88: {
+ bitField0_ |= 0x00000200;
+ sendInitialEvents_ = input.readBool();
+ 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.GeneratedMessage.FieldAccessorTable
+ 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(
@@ -26923,8 +28706,7 @@ private ListOptions() {
private int bitField0_;
public static final int LABELSELECTOR_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object labelSelector_ = "";
+ private volatile java.lang.Object labelSelector_;
/**
*
* A selector to restrict the list of returned objects by their labels.
@@ -26933,11 +28715,9 @@ private ListOptions() {
*
*
* optional string labelSelector = 1;
- * @return Whether the labelSelector field is set.
*/
- @java.lang.Override
public boolean hasLabelSelector() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -26947,9 +28727,7 @@ public boolean hasLabelSelector() {
*
*
* optional string labelSelector = 1;
- * @return The labelSelector.
*/
- @java.lang.Override
public java.lang.String getLabelSelector() {
java.lang.Object ref = labelSelector_;
if (ref instanceof java.lang.String) {
@@ -26972,9 +28750,7 @@ public java.lang.String getLabelSelector() {
*
*
* optional string labelSelector = 1;
- * @return The bytes for labelSelector.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getLabelSelectorBytes() {
java.lang.Object ref = labelSelector_;
@@ -26990,8 +28766,7 @@ public java.lang.String getLabelSelector() {
}
public static final int FIELDSELECTOR_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private volatile java.lang.Object fieldSelector_ = "";
+ private volatile java.lang.Object fieldSelector_;
/**
*
* A selector to restrict the list of returned objects by their fields.
@@ -27000,11 +28775,9 @@ public java.lang.String getLabelSelector() {
*
*
* optional string fieldSelector = 2;
- * @return Whether the fieldSelector field is set.
*/
- @java.lang.Override
public boolean hasFieldSelector() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -27014,9 +28787,7 @@ public boolean hasFieldSelector() {
*
*
* optional string fieldSelector = 2;
- * @return The fieldSelector.
*/
- @java.lang.Override
public java.lang.String getFieldSelector() {
java.lang.Object ref = fieldSelector_;
if (ref instanceof java.lang.String) {
@@ -27039,9 +28810,7 @@ public java.lang.String getFieldSelector() {
*
*
* optional string fieldSelector = 2;
- * @return The bytes for fieldSelector.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getFieldSelectorBytes() {
java.lang.Object ref = fieldSelector_;
@@ -27057,7 +28826,7 @@ public java.lang.String getFieldSelector() {
}
public static final int WATCH_FIELD_NUMBER = 3;
- private boolean watch_ = false;
+ private boolean watch_;
/**
*
* Watch for changes to the described resources and return them as a stream of
@@ -27066,11 +28835,9 @@ public java.lang.String getFieldSelector() {
*
*
* optional bool watch = 3;
- * @return Whether the watch field is set.
*/
- @java.lang.Override
public boolean hasWatch() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
@@ -27080,15 +28847,13 @@ public boolean hasWatch() {
*
*
* optional bool watch = 3;
- * @return The watch.
*/
- @java.lang.Override
public boolean getWatch() {
return watch_;
}
public static final int ALLOWWATCHBOOKMARKS_FIELD_NUMBER = 9;
- private boolean allowWatchBookmarks_ = false;
+ private boolean allowWatchBookmarks_;
/**
*
* allowWatchBookmarks requests watch events with type "BOOKMARK".
@@ -27101,11 +28866,9 @@ public boolean getWatch() {
*
*
* optional bool allowWatchBookmarks = 9;
- * @return Whether the allowWatchBookmarks field is set.
*/
- @java.lang.Override
public boolean hasAllowWatchBookmarks() {
- return ((bitField0_ & 0x00000008) != 0);
+ return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
@@ -27119,47 +28882,38 @@ public boolean hasAllowWatchBookmarks() {
*
*
* optional bool allowWatchBookmarks = 9;
- * @return The allowWatchBookmarks.
*/
- @java.lang.Override
public boolean getAllowWatchBookmarks() {
return allowWatchBookmarks_;
}
public static final int RESOURCEVERSION_FIELD_NUMBER = 4;
- @SuppressWarnings("serial")
- private volatile java.lang.Object resourceVersion_ = "";
+ private volatile java.lang.Object resourceVersion_;
/**
*
* resourceVersion sets a constraint on what resource versions a request may be served from.
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersion = 4;
- * @return Whether the resourceVersion field is set.
*/
- @java.lang.Override
public boolean hasResourceVersion() {
- return ((bitField0_ & 0x00000010) != 0);
+ return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
* resourceVersion sets a constraint on what resource versions a request may be served from.
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersion = 4;
- * @return The resourceVersion.
*/
- @java.lang.Override
public java.lang.String getResourceVersion() {
java.lang.Object ref = resourceVersion_;
if (ref instanceof java.lang.String) {
@@ -27179,15 +28933,12 @@ public java.lang.String getResourceVersion() {
* resourceVersion sets a constraint on what resource versions a request may be served from.
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersion = 4;
- * @return The bytes for resourceVersion.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getResourceVersionBytes() {
java.lang.Object ref = resourceVersion_;
@@ -27203,8 +28954,7 @@ public java.lang.String getResourceVersion() {
}
public static final int RESOURCEVERSIONMATCH_FIELD_NUMBER = 10;
- @SuppressWarnings("serial")
- private volatile java.lang.Object resourceVersionMatch_ = "";
+ private volatile java.lang.Object resourceVersionMatch_;
/**
*
* resourceVersionMatch determines how resourceVersion is applied to list calls.
@@ -27212,17 +28962,14 @@ public java.lang.String getResourceVersion() {
* resourceVersion is set
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersionMatch = 10;
- * @return Whether the resourceVersionMatch field is set.
*/
- @java.lang.Override
public boolean hasResourceVersionMatch() {
- return ((bitField0_ & 0x00000020) != 0);
+ return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
*
@@ -27231,15 +28978,12 @@ public boolean hasResourceVersionMatch() {
* resourceVersion is set
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersionMatch = 10;
- * @return The resourceVersionMatch.
*/
- @java.lang.Override
public java.lang.String getResourceVersionMatch() {
java.lang.Object ref = resourceVersionMatch_;
if (ref instanceof java.lang.String) {
@@ -27261,15 +29005,12 @@ public java.lang.String getResourceVersionMatch() {
* resourceVersion is set
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersionMatch = 10;
- * @return The bytes for resourceVersionMatch.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getResourceVersionMatchBytes() {
java.lang.Object ref = resourceVersionMatch_;
@@ -27285,7 +29026,7 @@ public java.lang.String getResourceVersionMatch() {
}
public static final int TIMEOUTSECONDS_FIELD_NUMBER = 5;
- private long timeoutSeconds_ = 0L;
+ private long timeoutSeconds_;
/**
*
* Timeout for the list/watch call.
@@ -27294,11 +29035,9 @@ public java.lang.String getResourceVersionMatch() {
*
*
* optional int64 timeoutSeconds = 5;
- * @return Whether the timeoutSeconds field is set.
*/
- @java.lang.Override
public boolean hasTimeoutSeconds() {
- return ((bitField0_ & 0x00000040) != 0);
+ return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
*
@@ -27308,15 +29047,13 @@ public boolean hasTimeoutSeconds() {
*
*
* optional int64 timeoutSeconds = 5;
- * @return The timeoutSeconds.
*/
- @java.lang.Override
public long getTimeoutSeconds() {
return timeoutSeconds_;
}
public static final int LIMIT_FIELD_NUMBER = 7;
- private long limit_ = 0L;
+ private long limit_;
/**
*
* limit is a maximum number of responses to return for a list call. If more items exist, the
@@ -27327,7 +29064,6 @@ public long getTimeoutSeconds() {
* 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
@@ -27338,11 +29074,9 @@ public long getTimeoutSeconds() {
*
*
* optional int64 limit = 7;
- * @return Whether the limit field is set.
*/
- @java.lang.Override
public boolean hasLimit() {
- return ((bitField0_ & 0x00000080) != 0);
+ return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
*
@@ -27354,7 +29088,6 @@ public boolean hasLimit() {
* 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
@@ -27365,16 +29098,13 @@ public boolean hasLimit() {
*
*
* optional int64 limit = 7;
- * @return The limit.
*/
- @java.lang.Override
public long getLimit() {
return limit_;
}
public static final int CONTINUE_FIELD_NUMBER = 8;
- @SuppressWarnings("serial")
- private volatile java.lang.Object continue_ = "";
+ private volatile java.lang.Object continue_;
/**
*
* The continue option should be set when retrieving more results from the server. Since this value is
@@ -27388,17 +29118,14 @@ public long getLimit() {
* 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;
- * @return Whether the continue field is set.
*/
- @java.lang.Override
public boolean hasContinue() {
- return ((bitField0_ & 0x00000100) != 0);
+ return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
*
@@ -27413,15 +29140,12 @@ public boolean hasContinue() {
* 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;
- * @return The continue.
*/
- @java.lang.Override
public java.lang.String getContinue() {
java.lang.Object ref = continue_;
if (ref instanceof java.lang.String) {
@@ -27449,15 +29173,12 @@ public java.lang.String getContinue() {
* 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;
- * @return The bytes for continue.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getContinueBytes() {
java.lang.Object ref = continue_;
@@ -27473,7 +29194,7 @@ public java.lang.String getContinue() {
}
public static final int SENDINITIALEVENTS_FIELD_NUMBER = 11;
- private boolean sendInitialEvents_ = false;
+ private boolean sendInitialEvents_;
/**
*
* `sendInitialEvents=true` may be set together with `watch=true`.
@@ -27484,30 +29205,26 @@ public java.lang.String getContinue() {
* set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation.
* Afterwards, the watch stream will proceed as usual, sending watch events
* corresponding to changes (subsequent to the RV) to objects watched.
- *
* When `sendInitialEvents` option is set, we require `resourceVersionMatch`
* option to also be set. The semantic of the watch request is as following:
* - `resourceVersionMatch` = NotOlderThan
- * is interpreted as "data at least as new as the provided `resourceVersion`"
- * and the bookmark event is send when the state is synced
- * to a `resourceVersion` at least as fresh as the one provided by the ListOptions.
- * If `resourceVersion` is unset, this is interpreted as "consistent read" and the
- * bookmark event is send when the state is synced at least to the moment
- * when request started being processed.
+ * is interpreted as "data at least as new as the provided `resourceVersion`"
+ * and the bookmark event is send when the state is synced
+ * to a `resourceVersion` at least as fresh as the one provided by the ListOptions.
+ * If `resourceVersion` is unset, this is interpreted as "consistent read" and the
+ * bookmark event is send when the state is synced at least to the moment
+ * when request started being processed.
* - `resourceVersionMatch` set to any other value or unset
- * Invalid error is returned.
- *
+ * Invalid error is returned.
* Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward
* compatibility reasons) and to false otherwise.
* +optional
*
*
* optional bool sendInitialEvents = 11;
- * @return Whether the sendInitialEvents field is set.
*/
- @java.lang.Override
public boolean hasSendInitialEvents() {
- return ((bitField0_ & 0x00000200) != 0);
+ return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
*
@@ -27519,28 +29236,24 @@ public boolean hasSendInitialEvents() {
* set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation.
* Afterwards, the watch stream will proceed as usual, sending watch events
* corresponding to changes (subsequent to the RV) to objects watched.
- *
* When `sendInitialEvents` option is set, we require `resourceVersionMatch`
* option to also be set. The semantic of the watch request is as following:
* - `resourceVersionMatch` = NotOlderThan
- * is interpreted as "data at least as new as the provided `resourceVersion`"
- * and the bookmark event is send when the state is synced
- * to a `resourceVersion` at least as fresh as the one provided by the ListOptions.
- * If `resourceVersion` is unset, this is interpreted as "consistent read" and the
- * bookmark event is send when the state is synced at least to the moment
- * when request started being processed.
+ * is interpreted as "data at least as new as the provided `resourceVersion`"
+ * and the bookmark event is send when the state is synced
+ * to a `resourceVersion` at least as fresh as the one provided by the ListOptions.
+ * If `resourceVersion` is unset, this is interpreted as "consistent read" and the
+ * bookmark event is send when the state is synced at least to the moment
+ * when request started being processed.
* - `resourceVersionMatch` set to any other value or unset
- * Invalid error is returned.
- *
+ * Invalid error is returned.
* Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward
* compatibility reasons) and to false otherwise.
* +optional
*
*
* optional bool sendInitialEvents = 11;
- * @return The sendInitialEvents.
*/
- @java.lang.Override
public boolean getSendInitialEvents() {
return sendInitialEvents_;
}
@@ -27559,37 +29272,37 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 1, labelSelector_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, labelSelector_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 2, fieldSelector_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fieldSelector_);
}
- if (((bitField0_ & 0x00000004) != 0)) {
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBool(3, watch_);
}
- if (((bitField0_ & 0x00000010) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 4, resourceVersion_);
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, resourceVersion_);
}
- if (((bitField0_ & 0x00000040) != 0)) {
+ if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeInt64(5, timeoutSeconds_);
}
- if (((bitField0_ & 0x00000080) != 0)) {
+ if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeInt64(7, limit_);
}
- if (((bitField0_ & 0x00000100) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 8, continue_);
+ if (((bitField0_ & 0x00000100) == 0x00000100)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 8, continue_);
}
- if (((bitField0_ & 0x00000008) != 0)) {
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBool(9, allowWatchBookmarks_);
}
- if (((bitField0_ & 0x00000020) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 10, resourceVersionMatch_);
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 10, resourceVersionMatch_);
}
- if (((bitField0_ & 0x00000200) != 0)) {
+ if (((bitField0_ & 0x00000200) == 0x00000200)) {
output.writeBool(11, sendInitialEvents_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -27598,42 +29311,42 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(1, labelSelector_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, labelSelector_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(2, fieldSelector_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fieldSelector_);
}
- if (((bitField0_ & 0x00000004) != 0)) {
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, watch_);
}
- if (((bitField0_ & 0x00000010) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(4, resourceVersion_);
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, resourceVersion_);
}
- if (((bitField0_ & 0x00000040) != 0)) {
+ if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, timeoutSeconds_);
}
- if (((bitField0_ & 0x00000080) != 0)) {
+ if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(7, limit_);
}
- if (((bitField0_ & 0x00000100) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(8, continue_);
+ if (((bitField0_ & 0x00000100) == 0x00000100)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, continue_);
}
- if (((bitField0_ & 0x00000008) != 0)) {
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(9, allowWatchBookmarks_);
}
- if (((bitField0_ & 0x00000020) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(10, resourceVersionMatch_);
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, resourceVersionMatch_);
}
- if (((bitField0_ & 0x00000200) != 0)) {
+ if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(11, sendInitialEvents_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -27648,58 +29361,59 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.ListOptions other = (io.kubernetes.client.proto.Meta.ListOptions) obj;
- if (hasLabelSelector() != other.hasLabelSelector()) return false;
+ boolean result = true;
+ result = result && (hasLabelSelector() == other.hasLabelSelector());
if (hasLabelSelector()) {
- if (!getLabelSelector()
- .equals(other.getLabelSelector())) return false;
+ result = result && getLabelSelector()
+ .equals(other.getLabelSelector());
}
- if (hasFieldSelector() != other.hasFieldSelector()) return false;
+ result = result && (hasFieldSelector() == other.hasFieldSelector());
if (hasFieldSelector()) {
- if (!getFieldSelector()
- .equals(other.getFieldSelector())) return false;
+ result = result && getFieldSelector()
+ .equals(other.getFieldSelector());
}
- if (hasWatch() != other.hasWatch()) return false;
+ result = result && (hasWatch() == other.hasWatch());
if (hasWatch()) {
- if (getWatch()
- != other.getWatch()) return false;
+ result = result && (getWatch()
+ == other.getWatch());
}
- if (hasAllowWatchBookmarks() != other.hasAllowWatchBookmarks()) return false;
+ result = result && (hasAllowWatchBookmarks() == other.hasAllowWatchBookmarks());
if (hasAllowWatchBookmarks()) {
- if (getAllowWatchBookmarks()
- != other.getAllowWatchBookmarks()) return false;
+ result = result && (getAllowWatchBookmarks()
+ == other.getAllowWatchBookmarks());
}
- if (hasResourceVersion() != other.hasResourceVersion()) return false;
+ result = result && (hasResourceVersion() == other.hasResourceVersion());
if (hasResourceVersion()) {
- if (!getResourceVersion()
- .equals(other.getResourceVersion())) return false;
+ result = result && getResourceVersion()
+ .equals(other.getResourceVersion());
}
- if (hasResourceVersionMatch() != other.hasResourceVersionMatch()) return false;
+ result = result && (hasResourceVersionMatch() == other.hasResourceVersionMatch());
if (hasResourceVersionMatch()) {
- if (!getResourceVersionMatch()
- .equals(other.getResourceVersionMatch())) return false;
+ result = result && getResourceVersionMatch()
+ .equals(other.getResourceVersionMatch());
}
- if (hasTimeoutSeconds() != other.hasTimeoutSeconds()) return false;
+ result = result && (hasTimeoutSeconds() == other.hasTimeoutSeconds());
if (hasTimeoutSeconds()) {
- if (getTimeoutSeconds()
- != other.getTimeoutSeconds()) return false;
+ result = result && (getTimeoutSeconds()
+ == other.getTimeoutSeconds());
}
- if (hasLimit() != other.hasLimit()) return false;
+ result = result && (hasLimit() == other.hasLimit());
if (hasLimit()) {
- if (getLimit()
- != other.getLimit()) return false;
+ result = result && (getLimit()
+ == other.getLimit());
}
- if (hasContinue() != other.hasContinue()) return false;
+ result = result && (hasContinue() == other.hasContinue());
if (hasContinue()) {
- if (!getContinue()
- .equals(other.getContinue())) return false;
+ result = result && getContinue()
+ .equals(other.getContinue());
}
- if (hasSendInitialEvents() != other.hasSendInitialEvents()) return false;
+ result = result && (hasSendInitialEvents() == other.hasSendInitialEvents());
if (hasSendInitialEvents()) {
- if (getSendInitialEvents()
- != other.getSendInitialEvents()) return false;
+ result = result && (getSendInitialEvents()
+ == other.getSendInitialEvents());
}
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -27754,7 +29468,7 @@ public int hashCode() {
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getSendInitialEvents());
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -27793,41 +29507,39 @@ public static io.kubernetes.client.proto.Meta.ListOptions parseFrom(
}
public static io.kubernetes.client.proto.Meta.ListOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ 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.GeneratedMessage
+ 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.GeneratedMessage
+ 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.GeneratedMessage
+ 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.GeneratedMessage
+ 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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -27847,7 +29559,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -27859,7 +29571,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional string labelSelector = 1;
- * @return Whether the labelSelector field is set.
*/
public boolean hasLabelSelector() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -28143,7 +29833,6 @@ public boolean hasLabelSelector() {
*
*
* optional string labelSelector = 1;
- * @return The labelSelector.
*/
public java.lang.String getLabelSelector() {
java.lang.Object ref = labelSelector_;
@@ -28167,7 +29856,6 @@ public java.lang.String getLabelSelector() {
*
*
* optional string labelSelector = 1;
- * @return The bytes for labelSelector.
*/
public com.google.protobuf.ByteString
getLabelSelectorBytes() {
@@ -28190,14 +29878,14 @@ public java.lang.String getLabelSelector() {
*
*
* optional string labelSelector = 1;
- * @param value The labelSelector to set.
- * @return This builder for chaining.
*/
public Builder setLabelSelector(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
labelSelector_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -28209,11 +29897,10 @@ public Builder setLabelSelector(
*
*
* optional string labelSelector = 1;
- * @return This builder for chaining.
*/
public Builder clearLabelSelector() {
- labelSelector_ = getDefaultInstance().getLabelSelector();
bitField0_ = (bitField0_ & ~0x00000001);
+ labelSelector_ = getDefaultInstance().getLabelSelector();
onChanged();
return this;
}
@@ -28225,14 +29912,14 @@ public Builder clearLabelSelector() {
*
*
* optional string labelSelector = 1;
- * @param value The bytes for labelSelector to set.
- * @return This builder for chaining.
*/
public Builder setLabelSelectorBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
labelSelector_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -28246,10 +29933,9 @@ public Builder setLabelSelectorBytes(
*
*
* optional string fieldSelector = 2;
- * @return Whether the fieldSelector field is set.
*/
public boolean hasFieldSelector() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -28259,7 +29945,6 @@ public boolean hasFieldSelector() {
*
*
* optional string fieldSelector = 2;
- * @return The fieldSelector.
*/
public java.lang.String getFieldSelector() {
java.lang.Object ref = fieldSelector_;
@@ -28283,7 +29968,6 @@ public java.lang.String getFieldSelector() {
*
*
* optional string fieldSelector = 2;
- * @return The bytes for fieldSelector.
*/
public com.google.protobuf.ByteString
getFieldSelectorBytes() {
@@ -28306,14 +29990,14 @@ public java.lang.String getFieldSelector() {
*
*
* optional string fieldSelector = 2;
- * @param value The fieldSelector to set.
- * @return This builder for chaining.
*/
public Builder setFieldSelector(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
fieldSelector_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -28325,11 +30009,10 @@ public Builder setFieldSelector(
*
*
* optional string fieldSelector = 2;
- * @return This builder for chaining.
*/
public Builder clearFieldSelector() {
- fieldSelector_ = getDefaultInstance().getFieldSelector();
bitField0_ = (bitField0_ & ~0x00000002);
+ fieldSelector_ = getDefaultInstance().getFieldSelector();
onChanged();
return this;
}
@@ -28341,14 +30024,14 @@ public Builder clearFieldSelector() {
*
*
* optional string fieldSelector = 2;
- * @param value The bytes for fieldSelector to set.
- * @return This builder for chaining.
*/
public Builder setFieldSelectorBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
fieldSelector_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -28362,11 +30045,9 @@ public Builder setFieldSelectorBytes(
*
*
* optional bool watch = 3;
- * @return Whether the watch field is set.
*/
- @java.lang.Override
public boolean hasWatch() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
@@ -28376,9 +30057,7 @@ public boolean hasWatch() {
*
*
* optional bool watch = 3;
- * @return The watch.
*/
- @java.lang.Override
public boolean getWatch() {
return watch_;
}
@@ -28390,13 +30069,10 @@ public boolean getWatch() {
*
*
* optional bool watch = 3;
- * @param value The watch to set.
- * @return This builder for chaining.
*/
public Builder setWatch(boolean value) {
-
- watch_ = value;
bitField0_ |= 0x00000004;
+ watch_ = value;
onChanged();
return this;
}
@@ -28408,7 +30084,6 @@ public Builder setWatch(boolean value) {
*
*
* optional bool watch = 3;
- * @return This builder for chaining.
*/
public Builder clearWatch() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -28430,11 +30105,9 @@ public Builder clearWatch() {
*
*
* optional bool allowWatchBookmarks = 9;
- * @return Whether the allowWatchBookmarks field is set.
*/
- @java.lang.Override
public boolean hasAllowWatchBookmarks() {
- return ((bitField0_ & 0x00000008) != 0);
+ return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
@@ -28448,9 +30121,7 @@ public boolean hasAllowWatchBookmarks() {
*
*
* optional bool allowWatchBookmarks = 9;
- * @return The allowWatchBookmarks.
*/
- @java.lang.Override
public boolean getAllowWatchBookmarks() {
return allowWatchBookmarks_;
}
@@ -28466,13 +30137,10 @@ public boolean getAllowWatchBookmarks() {
*
*
* optional bool allowWatchBookmarks = 9;
- * @param value The allowWatchBookmarks to set.
- * @return This builder for chaining.
*/
public Builder setAllowWatchBookmarks(boolean value) {
-
- allowWatchBookmarks_ = value;
bitField0_ |= 0x00000008;
+ allowWatchBookmarks_ = value;
onChanged();
return this;
}
@@ -28488,7 +30156,6 @@ public Builder setAllowWatchBookmarks(boolean value) {
*
*
* optional bool allowWatchBookmarks = 9;
- * @return This builder for chaining.
*/
public Builder clearAllowWatchBookmarks() {
bitField0_ = (bitField0_ & ~0x00000008);
@@ -28503,29 +30170,25 @@ public Builder clearAllowWatchBookmarks() {
* resourceVersion sets a constraint on what resource versions a request may be served from.
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersion = 4;
- * @return Whether the resourceVersion field is set.
*/
public boolean hasResourceVersion() {
- return ((bitField0_ & 0x00000010) != 0);
+ return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
* resourceVersion sets a constraint on what resource versions a request may be served from.
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersion = 4;
- * @return The resourceVersion.
*/
public java.lang.String getResourceVersion() {
java.lang.Object ref = resourceVersion_;
@@ -28546,13 +30209,11 @@ public java.lang.String getResourceVersion() {
* resourceVersion sets a constraint on what resource versions a request may be served from.
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersion = 4;
- * @return The bytes for resourceVersion.
*/
public com.google.protobuf.ByteString
getResourceVersionBytes() {
@@ -28572,20 +30233,19 @@ public java.lang.String getResourceVersion() {
* resourceVersion sets a constraint on what resource versions a request may be served from.
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersion = 4;
- * @param value The resourceVersion to set.
- * @return This builder for chaining.
*/
public Builder setResourceVersion(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000010;
resourceVersion_ = value;
- bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -28594,17 +30254,15 @@ public Builder setResourceVersion(
* resourceVersion sets a constraint on what resource versions a request may be served from.
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersion = 4;
- * @return This builder for chaining.
*/
public Builder clearResourceVersion() {
- resourceVersion_ = getDefaultInstance().getResourceVersion();
bitField0_ = (bitField0_ & ~0x00000010);
+ resourceVersion_ = getDefaultInstance().getResourceVersion();
onChanged();
return this;
}
@@ -28613,20 +30271,19 @@ public Builder clearResourceVersion() {
* resourceVersion sets a constraint on what resource versions a request may be served from.
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersion = 4;
- * @param value The bytes for resourceVersion to set.
- * @return This builder for chaining.
*/
public Builder setResourceVersionBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000010;
resourceVersion_ = value;
- bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -28639,16 +30296,14 @@ public Builder setResourceVersionBytes(
* resourceVersion is set
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersionMatch = 10;
- * @return Whether the resourceVersionMatch field is set.
*/
public boolean hasResourceVersionMatch() {
- return ((bitField0_ & 0x00000020) != 0);
+ return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
*
@@ -28657,13 +30312,11 @@ public boolean hasResourceVersionMatch() {
* resourceVersion is set
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersionMatch = 10;
- * @return The resourceVersionMatch.
*/
public java.lang.String getResourceVersionMatch() {
java.lang.Object ref = resourceVersionMatch_;
@@ -28686,13 +30339,11 @@ public java.lang.String getResourceVersionMatch() {
* resourceVersion is set
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersionMatch = 10;
- * @return The bytes for resourceVersionMatch.
*/
public com.google.protobuf.ByteString
getResourceVersionMatchBytes() {
@@ -28714,20 +30365,19 @@ public java.lang.String getResourceVersionMatch() {
* resourceVersion is set
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersionMatch = 10;
- * @param value The resourceVersionMatch to set.
- * @return This builder for chaining.
*/
public Builder setResourceVersionMatch(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000020;
resourceVersionMatch_ = value;
- bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -28738,17 +30388,15 @@ public Builder setResourceVersionMatch(
* resourceVersion is set
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersionMatch = 10;
- * @return This builder for chaining.
*/
public Builder clearResourceVersionMatch() {
- resourceVersionMatch_ = getDefaultInstance().getResourceVersionMatch();
bitField0_ = (bitField0_ & ~0x00000020);
+ resourceVersionMatch_ = getDefaultInstance().getResourceVersionMatch();
onChanged();
return this;
}
@@ -28759,20 +30407,19 @@ public Builder clearResourceVersionMatch() {
* resourceVersion is set
* See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
* details.
- *
* Defaults to unset
* +optional
*
*
* optional string resourceVersionMatch = 10;
- * @param value The bytes for resourceVersionMatch to set.
- * @return This builder for chaining.
*/
public Builder setResourceVersionMatchBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000020;
resourceVersionMatch_ = value;
- bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -28786,11 +30433,9 @@ public Builder setResourceVersionMatchBytes(
*
*
* optional int64 timeoutSeconds = 5;
- * @return Whether the timeoutSeconds field is set.
*/
- @java.lang.Override
public boolean hasTimeoutSeconds() {
- return ((bitField0_ & 0x00000040) != 0);
+ return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
*
@@ -28800,9 +30445,7 @@ public boolean hasTimeoutSeconds() {
*
*
* optional int64 timeoutSeconds = 5;
- * @return The timeoutSeconds.
*/
- @java.lang.Override
public long getTimeoutSeconds() {
return timeoutSeconds_;
}
@@ -28814,13 +30457,10 @@ public long getTimeoutSeconds() {
*
*
* optional int64 timeoutSeconds = 5;
- * @param value The timeoutSeconds to set.
- * @return This builder for chaining.
*/
public Builder setTimeoutSeconds(long value) {
-
- timeoutSeconds_ = value;
bitField0_ |= 0x00000040;
+ timeoutSeconds_ = value;
onChanged();
return this;
}
@@ -28832,7 +30472,6 @@ public Builder setTimeoutSeconds(long value) {
*
*
* optional int64 timeoutSeconds = 5;
- * @return This builder for chaining.
*/
public Builder clearTimeoutSeconds() {
bitField0_ = (bitField0_ & ~0x00000040);
@@ -28852,7 +30491,6 @@ public Builder clearTimeoutSeconds() {
* 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
@@ -28863,11 +30501,9 @@ public Builder clearTimeoutSeconds() {
*
*
* optional int64 limit = 7;
- * @return Whether the limit field is set.
*/
- @java.lang.Override
public boolean hasLimit() {
- return ((bitField0_ & 0x00000080) != 0);
+ return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
*
@@ -28879,7 +30515,6 @@ public boolean hasLimit() {
* 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
@@ -28890,9 +30525,7 @@ public boolean hasLimit() {
*
*
* optional int64 limit = 7;
- * @return The limit.
*/
- @java.lang.Override
public long getLimit() {
return limit_;
}
@@ -28906,7 +30539,6 @@ public long getLimit() {
* 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
@@ -28917,13 +30549,10 @@ public long getLimit() {
*
*
* optional int64 limit = 7;
- * @param value The limit to set.
- * @return This builder for chaining.
*/
public Builder setLimit(long value) {
-
- limit_ = value;
bitField0_ |= 0x00000080;
+ limit_ = value;
onChanged();
return this;
}
@@ -28937,7 +30566,6 @@ public Builder setLimit(long value) {
* 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
@@ -28948,7 +30576,6 @@ public Builder setLimit(long value) {
*
*
* optional int64 limit = 7;
- * @return This builder for chaining.
*/
public Builder clearLimit() {
bitField0_ = (bitField0_ & ~0x00000080);
@@ -28971,16 +30598,14 @@ public Builder clearLimit() {
* 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;
- * @return Whether the continue field is set.
*/
public boolean hasContinue() {
- return ((bitField0_ & 0x00000100) != 0);
+ return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
*
@@ -28995,13 +30620,11 @@ public boolean hasContinue() {
* 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;
- * @return The continue.
*/
public java.lang.String getContinue() {
java.lang.Object ref = continue_;
@@ -29030,13 +30653,11 @@ public java.lang.String getContinue() {
* 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;
- * @return The bytes for continue.
*/
public com.google.protobuf.ByteString
getContinueBytes() {
@@ -29064,20 +30685,19 @@ public java.lang.String getContinue() {
* 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;
- * @param value The continue to set.
- * @return This builder for chaining.
*/
public Builder setContinue(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000100;
continue_ = value;
- bitField0_ |= 0x00000100;
onChanged();
return this;
}
@@ -29094,17 +30714,15 @@ public Builder setContinue(
* 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;
- * @return This builder for chaining.
*/
public Builder clearContinue() {
- continue_ = getDefaultInstance().getContinue();
bitField0_ = (bitField0_ & ~0x00000100);
+ continue_ = getDefaultInstance().getContinue();
onChanged();
return this;
}
@@ -29121,20 +30739,19 @@ public Builder clearContinue() {
* 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;
- * @param value The bytes for continue to set.
- * @return This builder for chaining.
*/
public Builder setContinueBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000100;
continue_ = value;
- bitField0_ |= 0x00000100;
onChanged();
return this;
}
@@ -29150,30 +30767,26 @@ public Builder setContinueBytes(
* set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation.
* Afterwards, the watch stream will proceed as usual, sending watch events
* corresponding to changes (subsequent to the RV) to objects watched.
- *
* When `sendInitialEvents` option is set, we require `resourceVersionMatch`
* option to also be set. The semantic of the watch request is as following:
* - `resourceVersionMatch` = NotOlderThan
- * is interpreted as "data at least as new as the provided `resourceVersion`"
- * and the bookmark event is send when the state is synced
- * to a `resourceVersion` at least as fresh as the one provided by the ListOptions.
- * If `resourceVersion` is unset, this is interpreted as "consistent read" and the
- * bookmark event is send when the state is synced at least to the moment
- * when request started being processed.
+ * is interpreted as "data at least as new as the provided `resourceVersion`"
+ * and the bookmark event is send when the state is synced
+ * to a `resourceVersion` at least as fresh as the one provided by the ListOptions.
+ * If `resourceVersion` is unset, this is interpreted as "consistent read" and the
+ * bookmark event is send when the state is synced at least to the moment
+ * when request started being processed.
* - `resourceVersionMatch` set to any other value or unset
- * Invalid error is returned.
- *
+ * Invalid error is returned.
* Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward
* compatibility reasons) and to false otherwise.
* +optional
*
*
* optional bool sendInitialEvents = 11;
- * @return Whether the sendInitialEvents field is set.
*/
- @java.lang.Override
public boolean hasSendInitialEvents() {
- return ((bitField0_ & 0x00000200) != 0);
+ return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
*
@@ -29185,28 +30798,24 @@ public boolean hasSendInitialEvents() {
* set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation.
* Afterwards, the watch stream will proceed as usual, sending watch events
* corresponding to changes (subsequent to the RV) to objects watched.
- *
* When `sendInitialEvents` option is set, we require `resourceVersionMatch`
* option to also be set. The semantic of the watch request is as following:
* - `resourceVersionMatch` = NotOlderThan
- * is interpreted as "data at least as new as the provided `resourceVersion`"
- * and the bookmark event is send when the state is synced
- * to a `resourceVersion` at least as fresh as the one provided by the ListOptions.
- * If `resourceVersion` is unset, this is interpreted as "consistent read" and the
- * bookmark event is send when the state is synced at least to the moment
- * when request started being processed.
+ * is interpreted as "data at least as new as the provided `resourceVersion`"
+ * and the bookmark event is send when the state is synced
+ * to a `resourceVersion` at least as fresh as the one provided by the ListOptions.
+ * If `resourceVersion` is unset, this is interpreted as "consistent read" and the
+ * bookmark event is send when the state is synced at least to the moment
+ * when request started being processed.
* - `resourceVersionMatch` set to any other value or unset
- * Invalid error is returned.
- *
+ * Invalid error is returned.
* Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward
* compatibility reasons) and to false otherwise.
* +optional
*
*
* optional bool sendInitialEvents = 11;
- * @return The sendInitialEvents.
*/
- @java.lang.Override
public boolean getSendInitialEvents() {
return sendInitialEvents_;
}
@@ -29220,32 +30829,27 @@ public boolean getSendInitialEvents() {
* set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation.
* Afterwards, the watch stream will proceed as usual, sending watch events
* corresponding to changes (subsequent to the RV) to objects watched.
- *
* When `sendInitialEvents` option is set, we require `resourceVersionMatch`
* option to also be set. The semantic of the watch request is as following:
* - `resourceVersionMatch` = NotOlderThan
- * is interpreted as "data at least as new as the provided `resourceVersion`"
- * and the bookmark event is send when the state is synced
- * to a `resourceVersion` at least as fresh as the one provided by the ListOptions.
- * If `resourceVersion` is unset, this is interpreted as "consistent read" and the
- * bookmark event is send when the state is synced at least to the moment
- * when request started being processed.
+ * is interpreted as "data at least as new as the provided `resourceVersion`"
+ * and the bookmark event is send when the state is synced
+ * to a `resourceVersion` at least as fresh as the one provided by the ListOptions.
+ * If `resourceVersion` is unset, this is interpreted as "consistent read" and the
+ * bookmark event is send when the state is synced at least to the moment
+ * when request started being processed.
* - `resourceVersionMatch` set to any other value or unset
- * Invalid error is returned.
- *
+ * Invalid error is returned.
* Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward
* compatibility reasons) and to false otherwise.
* +optional
*
*
* optional bool sendInitialEvents = 11;
- * @param value The sendInitialEvents to set.
- * @return This builder for chaining.
*/
public Builder setSendInitialEvents(boolean value) {
-
- sendInitialEvents_ = value;
bitField0_ |= 0x00000200;
+ sendInitialEvents_ = value;
onChanged();
return this;
}
@@ -29259,26 +30863,23 @@ public Builder setSendInitialEvents(boolean value) {
* set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation.
* Afterwards, the watch stream will proceed as usual, sending watch events
* corresponding to changes (subsequent to the RV) to objects watched.
- *
* When `sendInitialEvents` option is set, we require `resourceVersionMatch`
* option to also be set. The semantic of the watch request is as following:
* - `resourceVersionMatch` = NotOlderThan
- * is interpreted as "data at least as new as the provided `resourceVersion`"
- * and the bookmark event is send when the state is synced
- * to a `resourceVersion` at least as fresh as the one provided by the ListOptions.
- * If `resourceVersion` is unset, this is interpreted as "consistent read" and the
- * bookmark event is send when the state is synced at least to the moment
- * when request started being processed.
+ * is interpreted as "data at least as new as the provided `resourceVersion`"
+ * and the bookmark event is send when the state is synced
+ * to a `resourceVersion` at least as fresh as the one provided by the ListOptions.
+ * If `resourceVersion` is unset, this is interpreted as "consistent read" and the
+ * bookmark event is send when the state is synced at least to the moment
+ * when request started being processed.
* - `resourceVersionMatch` set to any other value or unset
- * Invalid error is returned.
- *
+ * Invalid error is returned.
* Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward
* compatibility reasons) and to false otherwise.
* +optional
*
*
* optional bool sendInitialEvents = 11;
- * @return This builder for chaining.
*/
public Builder clearSendInitialEvents() {
bitField0_ = (bitField0_ & ~0x00000200);
@@ -29286,6 +30887,18 @@ public Builder clearSendInitialEvents() {
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)
}
@@ -29300,25 +30913,14 @@ public static io.kubernetes.client.proto.Meta.ListOptions getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parseroptional string manager = 1;
- * @return Whether the manager field is set.
*/
boolean hasManager();
/**
@@ -29357,7 +30958,6 @@ public interface ManagedFieldsEntryOrBuilder extends
*
*
* optional string manager = 1;
- * @return The manager.
*/
java.lang.String getManager();
/**
@@ -29366,7 +30966,6 @@ public interface ManagedFieldsEntryOrBuilder extends
*
*
* optional string manager = 1;
- * @return The bytes for manager.
*/
com.google.protobuf.ByteString
getManagerBytes();
@@ -29378,7 +30977,6 @@ public interface ManagedFieldsEntryOrBuilder extends
*
*
* optional string operation = 2;
- * @return Whether the operation field is set.
*/
boolean hasOperation();
/**
@@ -29388,7 +30986,6 @@ public interface ManagedFieldsEntryOrBuilder extends
*
*
* optional string operation = 2;
- * @return The operation.
*/
java.lang.String getOperation();
/**
@@ -29398,7 +30995,6 @@ public interface ManagedFieldsEntryOrBuilder extends
*
*
* optional string operation = 2;
- * @return The bytes for operation.
*/
com.google.protobuf.ByteString
getOperationBytes();
@@ -29412,7 +31008,6 @@ public interface ManagedFieldsEntryOrBuilder extends
*
*
* optional string apiVersion = 3;
- * @return Whether the apiVersion field is set.
*/
boolean hasApiVersion();
/**
@@ -29424,7 +31019,6 @@ public interface ManagedFieldsEntryOrBuilder extends
*
*
* optional string apiVersion = 3;
- * @return The apiVersion.
*/
java.lang.String getApiVersion();
/**
@@ -29436,7 +31030,6 @@ public interface ManagedFieldsEntryOrBuilder extends
*
*
* optional string apiVersion = 3;
- * @return The bytes for apiVersion.
*/
com.google.protobuf.ByteString
getApiVersionBytes();
@@ -29452,7 +31045,6 @@ public interface ManagedFieldsEntryOrBuilder extends
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4;
- * @return Whether the time field is set.
*/
boolean hasTime();
/**
@@ -29466,7 +31058,6 @@ public interface ManagedFieldsEntryOrBuilder extends
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4;
- * @return The time.
*/
io.kubernetes.client.proto.Meta.Time getTime();
/**
@@ -29490,7 +31081,6 @@ public interface ManagedFieldsEntryOrBuilder extends
*
*
* optional string fieldsType = 6;
- * @return Whether the fieldsType field is set.
*/
boolean hasFieldsType();
/**
@@ -29500,7 +31090,6 @@ public interface ManagedFieldsEntryOrBuilder extends
*
*
* optional string fieldsType = 6;
- * @return The fieldsType.
*/
java.lang.String getFieldsType();
/**
@@ -29510,7 +31099,6 @@ public interface ManagedFieldsEntryOrBuilder extends
*
*
* optional string fieldsType = 6;
- * @return The bytes for fieldsType.
*/
com.google.protobuf.ByteString
getFieldsTypeBytes();
@@ -29522,7 +31110,6 @@ public interface ManagedFieldsEntryOrBuilder extends
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7;
- * @return Whether the fieldsV1 field is set.
*/
boolean hasFieldsV1();
/**
@@ -29532,7 +31119,6 @@ public interface ManagedFieldsEntryOrBuilder extends
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7;
- * @return The fieldsV1.
*/
io.kubernetes.client.proto.Meta.FieldsV1 getFieldsV1();
/**
@@ -29557,7 +31143,6 @@ public interface ManagedFieldsEntryOrBuilder extends
*
*
* optional string subresource = 8;
- * @return Whether the subresource field is set.
*/
boolean hasSubresource();
/**
@@ -29572,7 +31157,6 @@ public interface ManagedFieldsEntryOrBuilder extends
*
*
* optional string subresource = 8;
- * @return The subresource.
*/
java.lang.String getSubresource();
/**
@@ -29587,7 +31171,6 @@ public interface ManagedFieldsEntryOrBuilder extends
*
*
* optional string subresource = 8;
- * @return The bytes for subresource.
*/
com.google.protobuf.ByteString
getSubresourceBytes();
@@ -29600,22 +31183,13 @@ public interface ManagedFieldsEntryOrBuilder extends
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry}
*/
- public static final class ManagedFieldsEntry extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class ManagedFieldsEntry extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry)
ManagedFieldsEntryOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- ManagedFieldsEntry.class.getName());
- }
// Use ManagedFieldsEntry.newBuilder() to construct.
- private ManagedFieldsEntry(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private ManagedFieldsEntry(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ManagedFieldsEntry() {
@@ -29626,13 +31200,112 @@ private ManagedFieldsEntry() {
subresource_ = "";
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private ManagedFieldsEntry(
+ 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;
+ manager_ = bs;
+ break;
+ }
+ case 18: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000002;
+ operation_ = bs;
+ break;
+ }
+ case 26: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000004;
+ apiVersion_ = bs;
+ break;
+ }
+ case 34: {
+ io.kubernetes.client.proto.Meta.Time.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ subBuilder = time_.toBuilder();
+ }
+ time_ = input.readMessage(io.kubernetes.client.proto.Meta.Time.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(time_);
+ time_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000008;
+ break;
+ }
+ case 50: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000010;
+ fieldsType_ = bs;
+ break;
+ }
+ case 58: {
+ io.kubernetes.client.proto.Meta.FieldsV1.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ subBuilder = fieldsV1_.toBuilder();
+ }
+ fieldsV1_ = input.readMessage(io.kubernetes.client.proto.Meta.FieldsV1.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(fieldsV1_);
+ fieldsV1_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000020;
+ break;
+ }
+ case 66: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000040;
+ subresource_ = 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_ManagedFieldsEntry_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ManagedFieldsEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -29641,19 +31314,16 @@ private ManagedFieldsEntry() {
private int bitField0_;
public static final int MANAGER_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object manager_ = "";
+ private volatile java.lang.Object manager_;
/**
*
* Manager is an identifier of the workflow managing these fields.
*
*
* optional string manager = 1;
- * @return Whether the manager field is set.
*/
- @java.lang.Override
public boolean hasManager() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -29661,9 +31331,7 @@ public boolean hasManager() {
*
*
* optional string manager = 1;
- * @return The manager.
*/
- @java.lang.Override
public java.lang.String getManager() {
java.lang.Object ref = manager_;
if (ref instanceof java.lang.String) {
@@ -29684,9 +31352,7 @@ public java.lang.String getManager() {
*
*
* optional string manager = 1;
- * @return The bytes for manager.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getManagerBytes() {
java.lang.Object ref = manager_;
@@ -29702,8 +31368,7 @@ public java.lang.String getManager() {
}
public static final int OPERATION_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private volatile java.lang.Object operation_ = "";
+ private volatile java.lang.Object operation_;
/**
*
* Operation is the type of operation which lead to this ManagedFieldsEntry being created.
@@ -29711,11 +31376,9 @@ public java.lang.String getManager() {
*
*
* optional string operation = 2;
- * @return Whether the operation field is set.
*/
- @java.lang.Override
public boolean hasOperation() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -29724,9 +31387,7 @@ public boolean hasOperation() {
*
*
* optional string operation = 2;
- * @return The operation.
*/
- @java.lang.Override
public java.lang.String getOperation() {
java.lang.Object ref = operation_;
if (ref instanceof java.lang.String) {
@@ -29748,9 +31409,7 @@ public java.lang.String getOperation() {
*
*
* optional string operation = 2;
- * @return The bytes for operation.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getOperationBytes() {
java.lang.Object ref = operation_;
@@ -29766,8 +31425,7 @@ public java.lang.String getOperation() {
}
public static final int APIVERSION_FIELD_NUMBER = 3;
- @SuppressWarnings("serial")
- private volatile java.lang.Object apiVersion_ = "";
+ private volatile java.lang.Object apiVersion_;
/**
*
* APIVersion defines the version of this resource that this field set
@@ -29777,11 +31435,9 @@ public java.lang.String getOperation() {
*
*
* optional string apiVersion = 3;
- * @return Whether the apiVersion field is set.
*/
- @java.lang.Override
public boolean hasApiVersion() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
@@ -29792,9 +31448,7 @@ public boolean hasApiVersion() {
*
*
* optional string apiVersion = 3;
- * @return The apiVersion.
*/
- @java.lang.Override
public java.lang.String getApiVersion() {
java.lang.Object ref = apiVersion_;
if (ref instanceof java.lang.String) {
@@ -29818,9 +31472,7 @@ public java.lang.String getApiVersion() {
*
*
* optional string apiVersion = 3;
- * @return The bytes for apiVersion.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getApiVersionBytes() {
java.lang.Object ref = apiVersion_;
@@ -29848,11 +31500,9 @@ public java.lang.String getApiVersion() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4;
- * @return Whether the time field is set.
*/
- @java.lang.Override
public boolean hasTime() {
- return ((bitField0_ & 0x00000008) != 0);
+ return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
@@ -29865,9 +31515,7 @@ public boolean hasTime() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4;
- * @return The time.
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.Time getTime() {
return time_ == null ? io.kubernetes.client.proto.Meta.Time.getDefaultInstance() : time_;
}
@@ -29883,14 +31531,12 @@ public io.kubernetes.client.proto.Meta.Time getTime() {
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.TimeOrBuilder getTimeOrBuilder() {
return time_ == null ? io.kubernetes.client.proto.Meta.Time.getDefaultInstance() : time_;
}
public static final int FIELDSTYPE_FIELD_NUMBER = 6;
- @SuppressWarnings("serial")
- private volatile java.lang.Object fieldsType_ = "";
+ private volatile java.lang.Object fieldsType_;
/**
*
* FieldsType is the discriminator for the different fields format and version.
@@ -29898,11 +31544,9 @@ public io.kubernetes.client.proto.Meta.TimeOrBuilder getTimeOrBuilder() {
*
*
* optional string fieldsType = 6;
- * @return Whether the fieldsType field is set.
*/
- @java.lang.Override
public boolean hasFieldsType() {
- return ((bitField0_ & 0x00000010) != 0);
+ return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
@@ -29911,9 +31555,7 @@ public boolean hasFieldsType() {
*
*
* optional string fieldsType = 6;
- * @return The fieldsType.
*/
- @java.lang.Override
public java.lang.String getFieldsType() {
java.lang.Object ref = fieldsType_;
if (ref instanceof java.lang.String) {
@@ -29935,9 +31577,7 @@ public java.lang.String getFieldsType() {
*
*
* optional string fieldsType = 6;
- * @return The bytes for fieldsType.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getFieldsTypeBytes() {
java.lang.Object ref = fieldsType_;
@@ -29961,11 +31601,9 @@ public java.lang.String getFieldsType() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7;
- * @return Whether the fieldsV1 field is set.
*/
- @java.lang.Override
public boolean hasFieldsV1() {
- return ((bitField0_ & 0x00000020) != 0);
+ return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
*
@@ -29974,9 +31612,7 @@ public boolean hasFieldsV1() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7;
- * @return The fieldsV1.
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.FieldsV1 getFieldsV1() {
return fieldsV1_ == null ? io.kubernetes.client.proto.Meta.FieldsV1.getDefaultInstance() : fieldsV1_;
}
@@ -29988,14 +31624,12 @@ public io.kubernetes.client.proto.Meta.FieldsV1 getFieldsV1() {
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.FieldsV1OrBuilder getFieldsV1OrBuilder() {
return fieldsV1_ == null ? io.kubernetes.client.proto.Meta.FieldsV1.getDefaultInstance() : fieldsV1_;
}
public static final int SUBRESOURCE_FIELD_NUMBER = 8;
- @SuppressWarnings("serial")
- private volatile java.lang.Object subresource_ = "";
+ private volatile java.lang.Object subresource_;
/**
*
* Subresource is the name of the subresource used to update that object, or
@@ -30008,11 +31642,9 @@ public io.kubernetes.client.proto.Meta.FieldsV1OrBuilder getFieldsV1OrBuilder()
*
*
* optional string subresource = 8;
- * @return Whether the subresource field is set.
*/
- @java.lang.Override
public boolean hasSubresource() {
- return ((bitField0_ & 0x00000040) != 0);
+ return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
*
@@ -30026,9 +31658,7 @@ public boolean hasSubresource() {
*
*
* optional string subresource = 8;
- * @return The subresource.
*/
- @java.lang.Override
public java.lang.String getSubresource() {
java.lang.Object ref = subresource_;
if (ref instanceof java.lang.String) {
@@ -30055,9 +31685,7 @@ public java.lang.String getSubresource() {
*
*
* optional string subresource = 8;
- * @return The bytes for subresource.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getSubresourceBytes() {
java.lang.Object ref = subresource_;
@@ -30086,28 +31714,28 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 1, manager_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, manager_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 2, operation_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, operation_);
}
- if (((bitField0_ & 0x00000004) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 3, apiVersion_);
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, apiVersion_);
}
- if (((bitField0_ & 0x00000008) != 0)) {
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeMessage(4, getTime());
}
- if (((bitField0_ & 0x00000010) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 6, fieldsType_);
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 6, fieldsType_);
}
- if (((bitField0_ & 0x00000020) != 0)) {
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeMessage(7, getFieldsV1());
}
- if (((bitField0_ & 0x00000040) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 8, subresource_);
+ if (((bitField0_ & 0x00000040) == 0x00000040)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 8, subresource_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -30116,30 +31744,30 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(1, manager_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, manager_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(2, operation_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, operation_);
}
- if (((bitField0_ & 0x00000004) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(3, apiVersion_);
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, apiVersion_);
}
- if (((bitField0_ & 0x00000008) != 0)) {
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getTime());
}
- if (((bitField0_ & 0x00000010) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(6, fieldsType_);
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, fieldsType_);
}
- if (((bitField0_ & 0x00000020) != 0)) {
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getFieldsV1());
}
- if (((bitField0_ & 0x00000040) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(8, subresource_);
+ if (((bitField0_ & 0x00000040) == 0x00000040)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, subresource_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -30154,43 +31782,44 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.ManagedFieldsEntry other = (io.kubernetes.client.proto.Meta.ManagedFieldsEntry) obj;
- if (hasManager() != other.hasManager()) return false;
+ boolean result = true;
+ result = result && (hasManager() == other.hasManager());
if (hasManager()) {
- if (!getManager()
- .equals(other.getManager())) return false;
+ result = result && getManager()
+ .equals(other.getManager());
}
- if (hasOperation() != other.hasOperation()) return false;
+ result = result && (hasOperation() == other.hasOperation());
if (hasOperation()) {
- if (!getOperation()
- .equals(other.getOperation())) return false;
+ result = result && getOperation()
+ .equals(other.getOperation());
}
- if (hasApiVersion() != other.hasApiVersion()) return false;
+ result = result && (hasApiVersion() == other.hasApiVersion());
if (hasApiVersion()) {
- if (!getApiVersion()
- .equals(other.getApiVersion())) return false;
+ result = result && getApiVersion()
+ .equals(other.getApiVersion());
}
- if (hasTime() != other.hasTime()) return false;
+ result = result && (hasTime() == other.hasTime());
if (hasTime()) {
- if (!getTime()
- .equals(other.getTime())) return false;
+ result = result && getTime()
+ .equals(other.getTime());
}
- if (hasFieldsType() != other.hasFieldsType()) return false;
+ result = result && (hasFieldsType() == other.hasFieldsType());
if (hasFieldsType()) {
- if (!getFieldsType()
- .equals(other.getFieldsType())) return false;
+ result = result && getFieldsType()
+ .equals(other.getFieldsType());
}
- if (hasFieldsV1() != other.hasFieldsV1()) return false;
+ result = result && (hasFieldsV1() == other.hasFieldsV1());
if (hasFieldsV1()) {
- if (!getFieldsV1()
- .equals(other.getFieldsV1())) return false;
+ result = result && getFieldsV1()
+ .equals(other.getFieldsV1());
}
- if (hasSubresource() != other.hasSubresource()) return false;
+ result = result && (hasSubresource() == other.hasSubresource());
if (hasSubresource()) {
- if (!getSubresource()
- .equals(other.getSubresource())) return false;
+ result = result && getSubresource()
+ .equals(other.getSubresource());
}
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -30228,7 +31857,7 @@ public int hashCode() {
hash = (37 * hash) + SUBRESOURCE_FIELD_NUMBER;
hash = (53 * hash) + getSubresource().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -30267,41 +31896,39 @@ public static io.kubernetes.client.proto.Meta.ManagedFieldsEntry parseFrom(
}
public static io.kubernetes.client.proto.Meta.ManagedFieldsEntry parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.ManagedFieldsEntry parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.ManagedFieldsEntry parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
public static io.kubernetes.client.proto.Meta.ManagedFieldsEntry parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.ManagedFieldsEntry parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.ManagedFieldsEntry parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -30321,7 +31948,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -30334,7 +31961,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional string manager = 1;
- * @return Whether the manager field is set.
*/
public boolean hasManager() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -30598,7 +32210,6 @@ public boolean hasManager() {
*
*
* optional string manager = 1;
- * @return The manager.
*/
public java.lang.String getManager() {
java.lang.Object ref = manager_;
@@ -30620,7 +32231,6 @@ public java.lang.String getManager() {
*
*
* optional string manager = 1;
- * @return The bytes for manager.
*/
public com.google.protobuf.ByteString
getManagerBytes() {
@@ -30641,14 +32251,14 @@ public java.lang.String getManager() {
*
*
* optional string manager = 1;
- * @param value The manager to set.
- * @return This builder for chaining.
*/
public Builder setManager(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
manager_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -30658,11 +32268,10 @@ public Builder setManager(
*
*
* optional string manager = 1;
- * @return This builder for chaining.
*/
public Builder clearManager() {
- manager_ = getDefaultInstance().getManager();
bitField0_ = (bitField0_ & ~0x00000001);
+ manager_ = getDefaultInstance().getManager();
onChanged();
return this;
}
@@ -30672,14 +32281,14 @@ public Builder clearManager() {
*
*
* optional string manager = 1;
- * @param value The bytes for manager to set.
- * @return This builder for chaining.
*/
public Builder setManagerBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
manager_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -30692,10 +32301,9 @@ public Builder setManagerBytes(
*
*
* optional string operation = 2;
- * @return Whether the operation field is set.
*/
public boolean hasOperation() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -30704,7 +32312,6 @@ public boolean hasOperation() {
*
*
* optional string operation = 2;
- * @return The operation.
*/
public java.lang.String getOperation() {
java.lang.Object ref = operation_;
@@ -30727,7 +32334,6 @@ public java.lang.String getOperation() {
*
*
* optional string operation = 2;
- * @return The bytes for operation.
*/
public com.google.protobuf.ByteString
getOperationBytes() {
@@ -30749,14 +32355,14 @@ public java.lang.String getOperation() {
*
*
* optional string operation = 2;
- * @param value The operation to set.
- * @return This builder for chaining.
*/
public Builder setOperation(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
operation_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -30767,11 +32373,10 @@ public Builder setOperation(
*
*
* optional string operation = 2;
- * @return This builder for chaining.
*/
public Builder clearOperation() {
- operation_ = getDefaultInstance().getOperation();
bitField0_ = (bitField0_ & ~0x00000002);
+ operation_ = getDefaultInstance().getOperation();
onChanged();
return this;
}
@@ -30782,14 +32387,14 @@ public Builder clearOperation() {
*
*
* optional string operation = 2;
- * @param value The bytes for operation to set.
- * @return This builder for chaining.
*/
public Builder setOperationBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
operation_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -30804,10 +32409,9 @@ public Builder setOperationBytes(
*
*
* optional string apiVersion = 3;
- * @return Whether the apiVersion field is set.
*/
public boolean hasApiVersion() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
@@ -30818,7 +32422,6 @@ public boolean hasApiVersion() {
*
*
* optional string apiVersion = 3;
- * @return The apiVersion.
*/
public java.lang.String getApiVersion() {
java.lang.Object ref = apiVersion_;
@@ -30843,7 +32446,6 @@ public java.lang.String getApiVersion() {
*
*
* optional string apiVersion = 3;
- * @return The bytes for apiVersion.
*/
public com.google.protobuf.ByteString
getApiVersionBytes() {
@@ -30867,14 +32469,14 @@ public java.lang.String getApiVersion() {
*
*
* optional string apiVersion = 3;
- * @param value The apiVersion to set.
- * @return This builder for chaining.
*/
public Builder setApiVersion(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
apiVersion_ = value;
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -30887,11 +32489,10 @@ public Builder setApiVersion(
*
*
* optional string apiVersion = 3;
- * @return This builder for chaining.
*/
public Builder clearApiVersion() {
- apiVersion_ = getDefaultInstance().getApiVersion();
bitField0_ = (bitField0_ & ~0x00000004);
+ apiVersion_ = getDefaultInstance().getApiVersion();
onChanged();
return this;
}
@@ -30904,20 +32505,20 @@ public Builder clearApiVersion() {
*
*
* optional string apiVersion = 3;
- * @param value The bytes for apiVersion to set.
- * @return This builder for chaining.
*/
public Builder setApiVersionBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
apiVersion_ = value;
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
- private io.kubernetes.client.proto.Meta.Time time_;
- private com.google.protobuf.SingleFieldBuilder<
+ private io.kubernetes.client.proto.Meta.Time time_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.Meta.Time, io.kubernetes.client.proto.Meta.Time.Builder, io.kubernetes.client.proto.Meta.TimeOrBuilder> timeBuilder_;
/**
*
@@ -30930,10 +32531,9 @@ public Builder setApiVersionBytes(
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4;
- * @return Whether the time field is set.
*/
public boolean hasTime() {
- return ((bitField0_ & 0x00000008) != 0);
+ return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
@@ -30946,7 +32546,6 @@ public boolean hasTime() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4;
- * @return The time.
*/
public io.kubernetes.client.proto.Meta.Time getTime() {
if (timeBuilder_ == null) {
@@ -30973,11 +32572,11 @@ public Builder setTime(io.kubernetes.client.proto.Meta.Time value) {
throw new NullPointerException();
}
time_ = value;
+ onChanged();
} else {
timeBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
- onChanged();
return this;
}
/**
@@ -30996,11 +32595,11 @@ public Builder setTime(
io.kubernetes.client.proto.Meta.Time.Builder builderForValue) {
if (timeBuilder_ == null) {
time_ = builderForValue.build();
+ onChanged();
} else {
timeBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
- onChanged();
return this;
}
/**
@@ -31017,20 +32616,19 @@ public Builder setTime(
*/
public Builder mergeTime(io.kubernetes.client.proto.Meta.Time value) {
if (timeBuilder_ == null) {
- if (((bitField0_ & 0x00000008) != 0) &&
- time_ != null &&
- time_ != io.kubernetes.client.proto.Meta.Time.getDefaultInstance()) {
- getTimeBuilder().mergeFrom(value);
+ if (((bitField0_ & 0x00000008) == 0x00000008) &&
+ time_ != null &&
+ time_ != io.kubernetes.client.proto.Meta.Time.getDefaultInstance()) {
+ time_ =
+ io.kubernetes.client.proto.Meta.Time.newBuilder(time_).mergeFrom(value).buildPartial();
} else {
time_ = value;
}
+ onChanged();
} else {
timeBuilder_.mergeFrom(value);
}
- if (time_ != null) {
- bitField0_ |= 0x00000008;
- onChanged();
- }
+ bitField0_ |= 0x00000008;
return this;
}
/**
@@ -31046,13 +32644,13 @@ public Builder mergeTime(io.kubernetes.client.proto.Meta.Time value) {
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4;
*/
public Builder clearTime() {
- bitField0_ = (bitField0_ & ~0x00000008);
- time_ = null;
- if (timeBuilder_ != null) {
- timeBuilder_.dispose();
- timeBuilder_ = null;
+ if (timeBuilder_ == null) {
+ time_ = null;
+ onChanged();
+ } else {
+ timeBuilder_.clear();
}
- onChanged();
+ bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
@@ -31104,11 +32702,11 @@ public io.kubernetes.client.proto.Meta.TimeOrBuilder getTimeOrBuilder() {
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4;
*/
- private com.google.protobuf.SingleFieldBuilder<
+ private com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.Meta.Time, io.kubernetes.client.proto.Meta.Time.Builder, io.kubernetes.client.proto.Meta.TimeOrBuilder>
getTimeFieldBuilder() {
if (timeBuilder_ == null) {
- timeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+ timeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.Meta.Time, io.kubernetes.client.proto.Meta.Time.Builder, io.kubernetes.client.proto.Meta.TimeOrBuilder>(
getTime(),
getParentForChildren(),
@@ -31126,10 +32724,9 @@ public io.kubernetes.client.proto.Meta.TimeOrBuilder getTimeOrBuilder() {
*
*
* optional string fieldsType = 6;
- * @return Whether the fieldsType field is set.
*/
public boolean hasFieldsType() {
- return ((bitField0_ & 0x00000010) != 0);
+ return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
@@ -31138,7 +32735,6 @@ public boolean hasFieldsType() {
*
*
* optional string fieldsType = 6;
- * @return The fieldsType.
*/
public java.lang.String getFieldsType() {
java.lang.Object ref = fieldsType_;
@@ -31161,7 +32757,6 @@ public java.lang.String getFieldsType() {
*
*
* optional string fieldsType = 6;
- * @return The bytes for fieldsType.
*/
public com.google.protobuf.ByteString
getFieldsTypeBytes() {
@@ -31183,14 +32778,14 @@ public java.lang.String getFieldsType() {
*
*
* optional string fieldsType = 6;
- * @param value The fieldsType to set.
- * @return This builder for chaining.
*/
public Builder setFieldsType(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000010;
fieldsType_ = value;
- bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -31201,11 +32796,10 @@ public Builder setFieldsType(
*
*
* optional string fieldsType = 6;
- * @return This builder for chaining.
*/
public Builder clearFieldsType() {
- fieldsType_ = getDefaultInstance().getFieldsType();
bitField0_ = (bitField0_ & ~0x00000010);
+ fieldsType_ = getDefaultInstance().getFieldsType();
onChanged();
return this;
}
@@ -31216,20 +32810,20 @@ public Builder clearFieldsType() {
*
*
* optional string fieldsType = 6;
- * @param value The bytes for fieldsType to set.
- * @return This builder for chaining.
*/
public Builder setFieldsTypeBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000010;
fieldsType_ = value;
- bitField0_ |= 0x00000010;
onChanged();
return this;
}
- private io.kubernetes.client.proto.Meta.FieldsV1 fieldsV1_;
- private com.google.protobuf.SingleFieldBuilder<
+ private io.kubernetes.client.proto.Meta.FieldsV1 fieldsV1_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.Meta.FieldsV1, io.kubernetes.client.proto.Meta.FieldsV1.Builder, io.kubernetes.client.proto.Meta.FieldsV1OrBuilder> fieldsV1Builder_;
/**
*
@@ -31238,10 +32832,9 @@ public Builder setFieldsTypeBytes(
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7;
- * @return Whether the fieldsV1 field is set.
*/
public boolean hasFieldsV1() {
- return ((bitField0_ & 0x00000020) != 0);
+ return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
*
@@ -31250,7 +32843,6 @@ public boolean hasFieldsV1() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7;
- * @return The fieldsV1.
*/
public io.kubernetes.client.proto.Meta.FieldsV1 getFieldsV1() {
if (fieldsV1Builder_ == null) {
@@ -31273,11 +32865,11 @@ public Builder setFieldsV1(io.kubernetes.client.proto.Meta.FieldsV1 value) {
throw new NullPointerException();
}
fieldsV1_ = value;
+ onChanged();
} else {
fieldsV1Builder_.setMessage(value);
}
bitField0_ |= 0x00000020;
- onChanged();
return this;
}
/**
@@ -31292,11 +32884,11 @@ public Builder setFieldsV1(
io.kubernetes.client.proto.Meta.FieldsV1.Builder builderForValue) {
if (fieldsV1Builder_ == null) {
fieldsV1_ = builderForValue.build();
+ onChanged();
} else {
fieldsV1Builder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000020;
- onChanged();
return this;
}
/**
@@ -31309,20 +32901,19 @@ public Builder setFieldsV1(
*/
public Builder mergeFieldsV1(io.kubernetes.client.proto.Meta.FieldsV1 value) {
if (fieldsV1Builder_ == null) {
- if (((bitField0_ & 0x00000020) != 0) &&
- fieldsV1_ != null &&
- fieldsV1_ != io.kubernetes.client.proto.Meta.FieldsV1.getDefaultInstance()) {
- getFieldsV1Builder().mergeFrom(value);
+ if (((bitField0_ & 0x00000020) == 0x00000020) &&
+ fieldsV1_ != null &&
+ fieldsV1_ != io.kubernetes.client.proto.Meta.FieldsV1.getDefaultInstance()) {
+ fieldsV1_ =
+ io.kubernetes.client.proto.Meta.FieldsV1.newBuilder(fieldsV1_).mergeFrom(value).buildPartial();
} else {
fieldsV1_ = value;
}
+ onChanged();
} else {
fieldsV1Builder_.mergeFrom(value);
}
- if (fieldsV1_ != null) {
- bitField0_ |= 0x00000020;
- onChanged();
- }
+ bitField0_ |= 0x00000020;
return this;
}
/**
@@ -31334,13 +32925,13 @@ public Builder mergeFieldsV1(io.kubernetes.client.proto.Meta.FieldsV1 value) {
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7;
*/
public Builder clearFieldsV1() {
- bitField0_ = (bitField0_ & ~0x00000020);
- fieldsV1_ = null;
- if (fieldsV1Builder_ != null) {
- fieldsV1Builder_.dispose();
- fieldsV1Builder_ = null;
+ if (fieldsV1Builder_ == null) {
+ fieldsV1_ = null;
+ onChanged();
+ } else {
+ fieldsV1Builder_.clear();
}
- onChanged();
+ bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
/**
@@ -31380,11 +32971,11 @@ public io.kubernetes.client.proto.Meta.FieldsV1OrBuilder getFieldsV1OrBuilder()
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7;
*/
- private com.google.protobuf.SingleFieldBuilder<
+ private com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.Meta.FieldsV1, io.kubernetes.client.proto.Meta.FieldsV1.Builder, io.kubernetes.client.proto.Meta.FieldsV1OrBuilder>
getFieldsV1FieldBuilder() {
if (fieldsV1Builder_ == null) {
- fieldsV1Builder_ = new com.google.protobuf.SingleFieldBuilder<
+ fieldsV1Builder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.Meta.FieldsV1, io.kubernetes.client.proto.Meta.FieldsV1.Builder, io.kubernetes.client.proto.Meta.FieldsV1OrBuilder>(
getFieldsV1(),
getParentForChildren(),
@@ -31407,10 +32998,9 @@ public io.kubernetes.client.proto.Meta.FieldsV1OrBuilder getFieldsV1OrBuilder()
*
*
* optional string subresource = 8;
- * @return Whether the subresource field is set.
*/
public boolean hasSubresource() {
- return ((bitField0_ & 0x00000040) != 0);
+ return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
*
@@ -31424,7 +33014,6 @@ public boolean hasSubresource() {
*
*
* optional string subresource = 8;
- * @return The subresource.
*/
public java.lang.String getSubresource() {
java.lang.Object ref = subresource_;
@@ -31452,7 +33041,6 @@ public java.lang.String getSubresource() {
*
*
* optional string subresource = 8;
- * @return The bytes for subresource.
*/
public com.google.protobuf.ByteString
getSubresourceBytes() {
@@ -31479,14 +33067,14 @@ public java.lang.String getSubresource() {
*
*
* optional string subresource = 8;
- * @param value The subresource to set.
- * @return This builder for chaining.
*/
public Builder setSubresource(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000040;
subresource_ = value;
- bitField0_ |= 0x00000040;
onChanged();
return this;
}
@@ -31502,11 +33090,10 @@ public Builder setSubresource(
*
*
* optional string subresource = 8;
- * @return This builder for chaining.
*/
public Builder clearSubresource() {
- subresource_ = getDefaultInstance().getSubresource();
bitField0_ = (bitField0_ & ~0x00000040);
+ subresource_ = getDefaultInstance().getSubresource();
onChanged();
return this;
}
@@ -31522,17 +33109,29 @@ public Builder clearSubresource() {
*
*
* optional string subresource = 8;
- * @param value The bytes for subresource to set.
- * @return This builder for chaining.
*/
public Builder setSubresourceBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000040;
subresource_ = value;
- bitField0_ |= 0x00000040;
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.ManagedFieldsEntry)
}
@@ -31547,25 +33146,14 @@ public static io.kubernetes.client.proto.Meta.ManagedFieldsEntry getDefaultInsta
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parseroptional int64 seconds = 1;
- * @return Whether the seconds field is set.
*/
boolean hasSeconds();
/**
@@ -31608,7 +33195,6 @@ public interface MicroTimeOrBuilder extends
*
*
* optional int64 seconds = 1;
- * @return The seconds.
*/
long getSeconds();
@@ -31621,7 +33207,6 @@ public interface MicroTimeOrBuilder extends
*
*
* optional int32 nanos = 2;
- * @return Whether the nanos field is set.
*/
boolean hasNanos();
/**
@@ -31633,14 +33218,12 @@ public interface MicroTimeOrBuilder extends
*
*
* optional int32 nanos = 2;
- * @return The nanos.
*/
int getNanos();
}
/**
*
* MicroTime is version of Time with microsecond level precision.
- *
* +protobuf.options.marshal=false
* +protobuf.as=Timestamp
* +protobuf.options.(gogoproto.goproto_stringer)=false
@@ -31648,34 +33231,80 @@ public interface MicroTimeOrBuilder extends
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime}
*/
- public static final class MicroTime extends
- com.google.protobuf.GeneratedMessage implements
+ 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;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- MicroTime.class.getName());
- }
// Use MicroTime.newBuilder() to construct.
- private MicroTime(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ 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.GeneratedMessage.FieldAccessorTable
+ 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(
@@ -31684,7 +33313,7 @@ private MicroTime() {
private int bitField0_;
public static final int SECONDS_FIELD_NUMBER = 1;
- private long seconds_ = 0L;
+ private long seconds_;
/**
*
* Represents seconds of UTC time since Unix epoch
@@ -31693,11 +33322,9 @@ private MicroTime() {
*
*
* optional int64 seconds = 1;
- * @return Whether the seconds field is set.
*/
- @java.lang.Override
public boolean hasSeconds() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -31707,15 +33334,13 @@ public boolean hasSeconds() {
*
*
* optional int64 seconds = 1;
- * @return The seconds.
*/
- @java.lang.Override
public long getSeconds() {
return seconds_;
}
public static final int NANOS_FIELD_NUMBER = 2;
- private int nanos_ = 0;
+ private int nanos_;
/**
*
* Non-negative fractions of a second at nanosecond resolution. Negative
@@ -31725,11 +33350,9 @@ public long getSeconds() {
*
*
* optional int32 nanos = 2;
- * @return Whether the nanos field is set.
*/
- @java.lang.Override
public boolean hasNanos() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -31740,9 +33363,7 @@ public boolean hasNanos() {
*
*
* optional int32 nanos = 2;
- * @return The nanos.
*/
- @java.lang.Override
public int getNanos() {
return nanos_;
}
@@ -31761,13 +33382,13 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt64(1, seconds_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, nanos_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -31776,15 +33397,15 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, seconds_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, nanos_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -31799,18 +33420,19 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.MicroTime other = (io.kubernetes.client.proto.Meta.MicroTime) obj;
- if (hasSeconds() != other.hasSeconds()) return false;
+ boolean result = true;
+ result = result && (hasSeconds() == other.hasSeconds());
if (hasSeconds()) {
- if (getSeconds()
- != other.getSeconds()) return false;
+ result = result && (getSeconds()
+ == other.getSeconds());
}
- if (hasNanos() != other.hasNanos()) return false;
+ result = result && (hasNanos() == other.hasNanos());
if (hasNanos()) {
- if (getNanos()
- != other.getNanos()) return false;
+ result = result && (getNanos()
+ == other.getNanos());
}
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -31829,7 +33451,7 @@ public int hashCode() {
hash = (37 * hash) + NANOS_FIELD_NUMBER;
hash = (53 * hash) + getNanos();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -31868,41 +33490,39 @@ public static io.kubernetes.client.proto.Meta.MicroTime parseFrom(
}
public static io.kubernetes.client.proto.Meta.MicroTime parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ 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.GeneratedMessage
+ 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.GeneratedMessage
+ 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.GeneratedMessage
+ 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.GeneratedMessage
+ 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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -31922,14 +33542,13 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ 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
@@ -31938,7 +33557,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder implements
+ 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
@@ -31947,7 +33566,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ 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(
@@ -31956,20 +33575,26 @@ public static final class Builder extends
// Construct using io.kubernetes.client.proto.Meta.MicroTime.newBuilder()
private Builder() {
-
+ maybeForceBuilderInitialization();
}
private Builder(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ 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();
- bitField0_ = 0;
seconds_ = 0L;
+ bitField0_ = (bitField0_ & ~0x00000001);
nanos_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@@ -31996,25 +33621,53 @@ public io.kubernetes.client.proto.Meta.MicroTime build() {
@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);
- if (bitField0_ != 0) { buildPartial0(result); }
- onBuilt();
- return result;
- }
-
- private void buildPartial0(io.kubernetes.client.proto.Meta.MicroTime result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.seconds_ = seconds_;
+ if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
- if (((from_bitField0_ & 0x00000002) != 0)) {
- result.nanos_ = nanos_;
+ result.seconds_ = seconds_;
+ if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
- result.bitField0_ |= to_bitField0_;
+ 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) {
@@ -32033,7 +33686,7 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.MicroTime other) {
if (other.hasNanos()) {
setNanos(other.getNanos());
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -32048,40 +33701,17 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.kubernetes.client.proto.Meta.MicroTime parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 8: {
- seconds_ = input.readInt64();
- bitField0_ |= 0x00000001;
- break;
- } // case 8
- case 16: {
- nanos_ = input.readInt32();
- bitField0_ |= 0x00000002;
- break;
- } // case 16
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.kubernetes.client.proto.Meta.MicroTime) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
private int bitField0_;
@@ -32095,11 +33725,9 @@ public Builder mergeFrom(
*
*
* optional int64 seconds = 1;
- * @return Whether the seconds field is set.
*/
- @java.lang.Override
public boolean hasSeconds() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -32109,9 +33737,7 @@ public boolean hasSeconds() {
*
*
* optional int64 seconds = 1;
- * @return The seconds.
*/
- @java.lang.Override
public long getSeconds() {
return seconds_;
}
@@ -32123,13 +33749,10 @@ public long getSeconds() {
*
*
* optional int64 seconds = 1;
- * @param value The seconds to set.
- * @return This builder for chaining.
*/
public Builder setSeconds(long value) {
-
- seconds_ = value;
bitField0_ |= 0x00000001;
+ seconds_ = value;
onChanged();
return this;
}
@@ -32141,7 +33764,6 @@ public Builder setSeconds(long value) {
*
*
* optional int64 seconds = 1;
- * @return This builder for chaining.
*/
public Builder clearSeconds() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -32160,11 +33782,9 @@ public Builder clearSeconds() {
*
*
* optional int32 nanos = 2;
- * @return Whether the nanos field is set.
*/
- @java.lang.Override
public boolean hasNanos() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -32175,9 +33795,7 @@ public boolean hasNanos() {
*
*
* optional int32 nanos = 2;
- * @return The nanos.
*/
- @java.lang.Override
public int getNanos() {
return nanos_;
}
@@ -32190,13 +33808,10 @@ public int getNanos() {
*
*
* optional int32 nanos = 2;
- * @param value The nanos to set.
- * @return This builder for chaining.
*/
public Builder setNanos(int value) {
-
- nanos_ = value;
bitField0_ |= 0x00000002;
+ nanos_ = value;
onChanged();
return this;
}
@@ -32209,7 +33824,6 @@ public Builder setNanos(int value) {
*
*
* optional int32 nanos = 2;
- * @return This builder for chaining.
*/
public Builder clearNanos() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -32217,6 +33831,18 @@ public Builder clearNanos() {
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)
}
@@ -32231,25 +33857,14 @@ public static io.kubernetes.client.proto.Meta.MicroTime getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parseroptional string name = 1;
- * @return Whether the name field is set.
*/
boolean hasName();
/**
@@ -32300,7 +33914,6 @@ public interface ObjectMetaOrBuilder extends
*
*
* optional string name = 1;
- * @return The name.
*/
java.lang.String getName();
/**
@@ -32315,7 +33928,6 @@ public interface ObjectMetaOrBuilder extends
*
*
* optional string name = 1;
- * @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
@@ -32329,16 +33941,13 @@ public interface ObjectMetaOrBuilder extends
* 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 return a 409.
- *
* Applied only if Name is not specified.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
* +optional
*
*
* optional string generateName = 2;
- * @return Whether the generateName field is set.
*/
boolean hasGenerateName();
/**
@@ -32350,16 +33959,13 @@ public interface ObjectMetaOrBuilder extends
* 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 return a 409.
- *
* Applied only if Name is not specified.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
* +optional
*
*
* optional string generateName = 2;
- * @return The generateName.
*/
java.lang.String getGenerateName();
/**
@@ -32371,16 +33977,13 @@ public interface ObjectMetaOrBuilder extends
* 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 return a 409.
- *
* Applied only if Name is not specified.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
* +optional
*
*
* optional string generateName = 2;
- * @return The bytes for generateName.
*/
com.google.protobuf.ByteString
getGenerateNameBytes();
@@ -32391,7 +33994,6 @@ public interface ObjectMetaOrBuilder extends
* 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: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces
@@ -32399,7 +34001,6 @@ public interface ObjectMetaOrBuilder extends
*
*
* optional string namespace = 3;
- * @return Whether the namespace field is set.
*/
boolean hasNamespace();
/**
@@ -32408,7 +34009,6 @@ public interface ObjectMetaOrBuilder extends
* 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: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces
@@ -32416,7 +34016,6 @@ public interface ObjectMetaOrBuilder extends
*
*
* optional string namespace = 3;
- * @return The namespace.
*/
java.lang.String getNamespace();
/**
@@ -32425,7 +34024,6 @@ public interface ObjectMetaOrBuilder extends
* 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: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces
@@ -32433,7 +34031,6 @@ public interface ObjectMetaOrBuilder extends
*
*
* optional string namespace = 3;
- * @return The bytes for namespace.
*/
com.google.protobuf.ByteString
getNamespaceBytes();
@@ -32445,7 +34042,6 @@ public interface ObjectMetaOrBuilder extends
*
*
* optional string selfLink = 4;
- * @return Whether the selfLink field is set.
*/
boolean hasSelfLink();
/**
@@ -32455,7 +34051,6 @@ public interface ObjectMetaOrBuilder extends
*
*
* optional string selfLink = 4;
- * @return The selfLink.
*/
java.lang.String getSelfLink();
/**
@@ -32465,7 +34060,6 @@ public interface ObjectMetaOrBuilder extends
*
*
* optional string selfLink = 4;
- * @return The bytes for selfLink.
*/
com.google.protobuf.ByteString
getSelfLinkBytes();
@@ -32475,7 +34069,6 @@ public interface ObjectMetaOrBuilder extends
* 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: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
@@ -32483,7 +34076,6 @@ public interface ObjectMetaOrBuilder extends
*
*
* optional string uid = 5;
- * @return Whether the uid field is set.
*/
boolean hasUid();
/**
@@ -32491,7 +34083,6 @@ public interface ObjectMetaOrBuilder extends
* 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: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
@@ -32499,7 +34090,6 @@ public interface ObjectMetaOrBuilder extends
*
*
* optional string uid = 5;
- * @return The uid.
*/
java.lang.String getUid();
/**
@@ -32507,7 +34097,6 @@ public interface ObjectMetaOrBuilder extends
* 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: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
@@ -32515,7 +34104,6 @@ public interface ObjectMetaOrBuilder extends
*
*
* optional string uid = 5;
- * @return The bytes for uid.
*/
com.google.protobuf.ByteString
getUidBytes();
@@ -32527,7 +34115,6 @@ public interface ObjectMetaOrBuilder extends
* 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 .
@@ -32536,7 +34123,6 @@ public interface ObjectMetaOrBuilder extends
*
*
* optional string resourceVersion = 6;
- * @return Whether the resourceVersion field is set.
*/
boolean hasResourceVersion();
/**
@@ -32546,7 +34132,6 @@ public interface ObjectMetaOrBuilder extends
* 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 .
@@ -32555,7 +34140,6 @@ public interface ObjectMetaOrBuilder extends
*
*
* optional string resourceVersion = 6;
- * @return The resourceVersion.
*/
java.lang.String getResourceVersion();
/**
@@ -32565,7 +34149,6 @@ public interface ObjectMetaOrBuilder extends
* 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 .
@@ -32574,7 +34157,6 @@ public interface ObjectMetaOrBuilder extends
*
*
* optional string resourceVersion = 6;
- * @return The bytes for resourceVersion.
*/
com.google.protobuf.ByteString
getResourceVersionBytes();
@@ -32587,7 +34169,6 @@ public interface ObjectMetaOrBuilder extends
*
*
* optional int64 generation = 7;
- * @return Whether the generation field is set.
*/
boolean hasGeneration();
/**
@@ -32598,7 +34179,6 @@ public interface ObjectMetaOrBuilder extends
*
*
* optional int64 generation = 7;
- * @return The generation.
*/
long getGeneration();
@@ -32607,7 +34187,6 @@ public interface ObjectMetaOrBuilder extends
* 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.
@@ -32616,7 +34195,6 @@ public interface ObjectMetaOrBuilder extends
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8;
- * @return Whether the creationTimestamp field is set.
*/
boolean hasCreationTimestamp();
/**
@@ -32624,7 +34202,6 @@ public interface ObjectMetaOrBuilder extends
* 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.
@@ -32633,7 +34210,6 @@ public interface ObjectMetaOrBuilder extends
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8;
- * @return The creationTimestamp.
*/
io.kubernetes.client.proto.Meta.Time getCreationTimestamp();
/**
@@ -32641,7 +34217,6 @@ public interface ObjectMetaOrBuilder extends
* 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.
@@ -32669,7 +34244,6 @@ public interface ObjectMetaOrBuilder extends
* 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/sig-architecture/api-conventions.md#metadata
@@ -32677,7 +34251,6 @@ public interface ObjectMetaOrBuilder extends
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9;
- * @return Whether the deletionTimestamp field is set.
*/
boolean hasDeletionTimestamp();
/**
@@ -32696,7 +34269,6 @@ public interface ObjectMetaOrBuilder extends
* 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/sig-architecture/api-conventions.md#metadata
@@ -32704,7 +34276,6 @@ public interface ObjectMetaOrBuilder extends
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9;
- * @return The deletionTimestamp.
*/
io.kubernetes.client.proto.Meta.Time getDeletionTimestamp();
/**
@@ -32723,7 +34294,6 @@ public interface ObjectMetaOrBuilder extends
* 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/sig-architecture/api-conventions.md#metadata
@@ -32744,7 +34314,6 @@ public interface ObjectMetaOrBuilder extends
*
*
* optional int64 deletionGracePeriodSeconds = 10;
- * @return Whether the deletionGracePeriodSeconds field is set.
*/
boolean hasDeletionGracePeriodSeconds();
/**
@@ -32757,7 +34326,6 @@ public interface ObjectMetaOrBuilder extends
*
*
* optional int64 deletionGracePeriodSeconds = 10;
- * @return The deletionGracePeriodSeconds.
*/
long getDeletionGracePeriodSeconds();
@@ -32816,11 +34384,10 @@ boolean containsLabels(
*
* map<string, string> labels = 11;
*/
- /* nullable */
-java.lang.String getLabelsOrDefault(
+
+ java.lang.String getLabelsOrDefault(
java.lang.String key,
- /* nullable */
-java.lang.String defaultValue);
+ java.lang.String defaultValue);
/**
*
* Map of string keys and values that can be used to organize and categorize
@@ -32832,6 +34399,7 @@ java.lang.String getLabelsOrDefault(
*
* map<string, string> labels = 11;
*/
+
java.lang.String getLabelsOrThrow(
java.lang.String key);
@@ -32890,11 +34458,10 @@ boolean containsAnnotations(
*
* map<string, string> annotations = 12;
*/
- /* nullable */
-java.lang.String getAnnotationsOrDefault(
+
+ java.lang.String getAnnotationsOrDefault(
java.lang.String key,
- /* nullable */
-java.lang.String defaultValue);
+ java.lang.String defaultValue);
/**
*
* Annotations is an unstructured key value map stored with a resource that may be
@@ -32906,6 +34473,7 @@ java.lang.String getAnnotationsOrDefault(
*
* map<string, string> annotations = 12;
*/
+
java.lang.String getAnnotationsOrThrow(
java.lang.String key);
@@ -33014,7 +34582,6 @@ io.kubernetes.client.proto.Meta.OwnerReferenceOrBuilder getOwnerReferencesOrBuil
*
*
* repeated string finalizers = 14;
- * @return A list containing the finalizers.
*/
java.util.List
getFinalizersList();
@@ -33039,7 +34606,6 @@ io.kubernetes.client.proto.Meta.OwnerReferenceOrBuilder getOwnerReferencesOrBuil
*
*
* repeated string finalizers = 14;
- * @return The count of finalizers.
*/
int getFinalizersCount();
/**
@@ -33063,8 +34629,6 @@ io.kubernetes.client.proto.Meta.OwnerReferenceOrBuilder getOwnerReferencesOrBuil
*
*
* repeated string finalizers = 14;
- * @param index The index of the element to return.
- * @return The finalizers at the given index.
*/
java.lang.String getFinalizers(int index);
/**
@@ -33088,8 +34652,6 @@ io.kubernetes.client.proto.Meta.OwnerReferenceOrBuilder getOwnerReferencesOrBuil
*
*
* repeated string finalizers = 14;
- * @param index The index of the value to return.
- * @return The bytes of the finalizers at the given index.
*/
com.google.protobuf.ByteString
getFinalizersBytes(int index);
@@ -33103,7 +34665,6 @@ io.kubernetes.client.proto.Meta.OwnerReferenceOrBuilder getOwnerReferencesOrBuil
* controller's name, or the name of a specific apply path like
* "ci-cd". The set of fields is always in the version that the
* workflow used when modifying the object.
- *
* +optional
* +listType=atomic
*
@@ -33121,7 +34682,6 @@ io.kubernetes.client.proto.Meta.OwnerReferenceOrBuilder getOwnerReferencesOrBuil
* controller's name, or the name of a specific apply path like
* "ci-cd". The set of fields is always in the version that the
* workflow used when modifying the object.
- *
* +optional
* +listType=atomic
*
@@ -33138,7 +34698,6 @@ io.kubernetes.client.proto.Meta.OwnerReferenceOrBuilder getOwnerReferencesOrBuil
* controller's name, or the name of a specific apply path like
* "ci-cd". The set of fields is always in the version that the
* workflow used when modifying the object.
- *
* +optional
* +listType=atomic
*
@@ -33155,7 +34714,6 @@ io.kubernetes.client.proto.Meta.OwnerReferenceOrBuilder getOwnerReferencesOrBuil
* controller's name, or the name of a specific apply path like
* "ci-cd". The set of fields is always in the version that the
* workflow used when modifying the object.
- *
* +optional
* +listType=atomic
*
@@ -33173,7 +34731,6 @@ io.kubernetes.client.proto.Meta.OwnerReferenceOrBuilder getOwnerReferencesOrBuil
* controller's name, or the name of a specific apply path like
* "ci-cd". The set of fields is always in the version that the
* workflow used when modifying the object.
- *
* +optional
* +listType=atomic
*
@@ -33191,22 +34748,13 @@ io.kubernetes.client.proto.Meta.ManagedFieldsEntryOrBuilder getManagedFieldsOrBu
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta}
*/
- public static final class ObjectMeta extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class ObjectMeta extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta)
ObjectMetaOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- ObjectMeta.class.getName());
- }
// Use ObjectMeta.newBuilder() to construct.
- private ObjectMeta(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private ObjectMeta(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ObjectMeta() {
@@ -33216,12 +34764,190 @@ private ObjectMeta() {
selfLink_ = "";
uid_ = "";
resourceVersion_ = "";
+ generation_ = 0L;
+ deletionGracePeriodSeconds_ = 0L;
ownerReferences_ = java.util.Collections.emptyList();
- finalizers_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
+ finalizers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
managedFields_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private ObjectMeta(
+ 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;
+ name_ = bs;
+ break;
+ }
+ case 18: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000002;
+ generateName_ = bs;
+ break;
+ }
+ case 26: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000004;
+ namespace_ = bs;
+ break;
+ }
+ case 34: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000008;
+ selfLink_ = bs;
+ break;
+ }
+ case 42: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000010;
+ uid_ = bs;
+ break;
+ }
+ case 50: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000020;
+ resourceVersion_ = bs;
+ break;
+ }
+ case 56: {
+ bitField0_ |= 0x00000040;
+ generation_ = input.readInt64();
+ break;
+ }
+ case 66: {
+ io.kubernetes.client.proto.Meta.Time.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000080) == 0x00000080)) {
+ subBuilder = creationTimestamp_.toBuilder();
+ }
+ creationTimestamp_ = input.readMessage(io.kubernetes.client.proto.Meta.Time.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(creationTimestamp_);
+ creationTimestamp_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000080;
+ break;
+ }
+ case 74: {
+ io.kubernetes.client.proto.Meta.Time.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000100) == 0x00000100)) {
+ subBuilder = deletionTimestamp_.toBuilder();
+ }
+ deletionTimestamp_ = input.readMessage(io.kubernetes.client.proto.Meta.Time.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(deletionTimestamp_);
+ deletionTimestamp_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000100;
+ break;
+ }
+ case 80: {
+ bitField0_ |= 0x00000200;
+ deletionGracePeriodSeconds_ = input.readInt64();
+ break;
+ }
+ case 90: {
+ if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
+ labels_ = com.google.protobuf.MapField.newMapField(
+ LabelsDefaultEntryHolder.defaultEntry);
+ mutable_bitField0_ |= 0x00000400;
+ }
+ com.google.protobuf.MapEntry
* Name must be unique within a namespace. Is required when creating resources, although
@@ -33265,11 +34990,9 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
*
*
* optional string name = 1;
- * @return Whether the name field is set.
*/
- @java.lang.Override
public boolean hasName() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -33283,9 +35006,7 @@ public boolean hasName() {
*
*
* optional string name = 1;
- * @return The name.
*/
- @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -33312,9 +35033,7 @@ public java.lang.String getName() {
*
*
* optional string name = 1;
- * @return The bytes for name.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
@@ -33330,8 +35049,7 @@ public java.lang.String getName() {
}
public static final int GENERATENAME_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private volatile java.lang.Object generateName_ = "";
+ private volatile java.lang.Object generateName_;
/**
*
* GenerateName is an optional prefix, used by the server, to generate a unique
@@ -33341,20 +35059,16 @@ 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 return a 409.
- *
* Applied only if Name is not specified.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
* +optional
*
*
* optional string generateName = 2;
- * @return Whether the generateName field is set.
*/
- @java.lang.Override
public boolean hasGenerateName() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -33365,18 +35079,14 @@ 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 return a 409.
- *
* Applied only if Name is not specified.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
* +optional
*
*
* optional string generateName = 2;
- * @return The generateName.
*/
- @java.lang.Override
public java.lang.String getGenerateName() {
java.lang.Object ref = generateName_;
if (ref instanceof java.lang.String) {
@@ -33400,18 +35110,14 @@ 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 return a 409.
- *
* Applied only if Name is not specified.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
* +optional
*
*
* optional string generateName = 2;
- * @return The bytes for generateName.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getGenerateNameBytes() {
java.lang.Object ref = generateName_;
@@ -33427,15 +35133,13 @@ public java.lang.String getGenerateName() {
}
public static final int NAMESPACE_FIELD_NUMBER = 3;
- @SuppressWarnings("serial")
- private volatile java.lang.Object namespace_ = "";
+ private volatile java.lang.Object namespace_;
/**
*
* Namespace defines the space within which 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: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces
@@ -33443,11 +35147,9 @@ public java.lang.String getGenerateName() {
*
*
* optional string namespace = 3;
- * @return Whether the namespace field is set.
*/
- @java.lang.Override
public boolean hasNamespace() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
@@ -33455,7 +35157,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: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces
@@ -33463,9 +35164,7 @@ public boolean hasNamespace() {
*
*
* optional string namespace = 3;
- * @return The namespace.
*/
- @java.lang.Override
public java.lang.String getNamespace() {
java.lang.Object ref = namespace_;
if (ref instanceof java.lang.String) {
@@ -33486,7 +35185,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: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces
@@ -33494,9 +35192,7 @@ public java.lang.String getNamespace() {
*
*
* optional string namespace = 3;
- * @return The bytes for namespace.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getNamespaceBytes() {
java.lang.Object ref = namespace_;
@@ -33512,8 +35208,7 @@ public java.lang.String getNamespace() {
}
public static final int SELFLINK_FIELD_NUMBER = 4;
- @SuppressWarnings("serial")
- private volatile java.lang.Object selfLink_ = "";
+ private volatile java.lang.Object selfLink_;
/**
*
* Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
@@ -33521,11 +35216,9 @@ public java.lang.String getNamespace() {
*
*
* optional string selfLink = 4;
- * @return Whether the selfLink field is set.
*/
- @java.lang.Override
public boolean hasSelfLink() {
- return ((bitField0_ & 0x00000008) != 0);
+ return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
@@ -33534,9 +35227,7 @@ public boolean hasSelfLink() {
*
*
* optional string selfLink = 4;
- * @return The selfLink.
*/
- @java.lang.Override
public java.lang.String getSelfLink() {
java.lang.Object ref = selfLink_;
if (ref instanceof java.lang.String) {
@@ -33558,9 +35249,7 @@ public java.lang.String getSelfLink() {
*
*
* optional string selfLink = 4;
- * @return The bytes for selfLink.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getSelfLinkBytes() {
java.lang.Object ref = selfLink_;
@@ -33576,14 +35265,12 @@ public java.lang.String getSelfLink() {
}
public static final int UID_FIELD_NUMBER = 5;
- @SuppressWarnings("serial")
- private volatile java.lang.Object uid_ = "";
+ private volatile java.lang.Object uid_;
/**
*
* 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: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
@@ -33591,18 +35278,15 @@ public java.lang.String getSelfLink() {
*
*
* optional string uid = 5;
- * @return Whether the uid field is set.
*/
- @java.lang.Override
public boolean hasUid() {
- return ((bitField0_ & 0x00000010) != 0);
+ return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
* 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: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
@@ -33610,9 +35294,7 @@ public boolean hasUid() {
*
*
* optional string uid = 5;
- * @return The uid.
*/
- @java.lang.Override
public java.lang.String getUid() {
java.lang.Object ref = uid_;
if (ref instanceof java.lang.String) {
@@ -33632,7 +35314,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: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
@@ -33640,9 +35321,7 @@ public java.lang.String getUid() {
*
*
* optional string uid = 5;
- * @return The bytes for uid.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getUidBytes() {
java.lang.Object ref = uid_;
@@ -33658,8 +35337,7 @@ public java.lang.String getUid() {
}
public static final int RESOURCEVERSION_FIELD_NUMBER = 6;
- @SuppressWarnings("serial")
- private volatile java.lang.Object resourceVersion_ = "";
+ private volatile java.lang.Object resourceVersion_;
/**
*
* An opaque value that represents the internal version of this object that can
@@ -33667,7 +35345,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 .
@@ -33676,11 +35353,9 @@ public java.lang.String getUid() {
*
*
* optional string resourceVersion = 6;
- * @return Whether the resourceVersion field is set.
*/
- @java.lang.Override
public boolean hasResourceVersion() {
- return ((bitField0_ & 0x00000020) != 0);
+ return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
*
@@ -33689,7 +35364,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 .
@@ -33698,9 +35372,7 @@ public boolean hasResourceVersion() {
*
*
* optional string resourceVersion = 6;
- * @return The resourceVersion.
*/
- @java.lang.Override
public java.lang.String getResourceVersion() {
java.lang.Object ref = resourceVersion_;
if (ref instanceof java.lang.String) {
@@ -33722,7 +35394,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 .
@@ -33731,9 +35402,7 @@ public java.lang.String getResourceVersion() {
*
*
* optional string resourceVersion = 6;
- * @return The bytes for resourceVersion.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getResourceVersionBytes() {
java.lang.Object ref = resourceVersion_;
@@ -33749,7 +35418,7 @@ public java.lang.String getResourceVersion() {
}
public static final int GENERATION_FIELD_NUMBER = 7;
- private long generation_ = 0L;
+ private long generation_;
/**
*
* A sequence number representing a specific generation of the desired state.
@@ -33758,11 +35427,9 @@ public java.lang.String getResourceVersion() {
*
*
* optional int64 generation = 7;
- * @return Whether the generation field is set.
*/
- @java.lang.Override
public boolean hasGeneration() {
- return ((bitField0_ & 0x00000040) != 0);
+ return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
*
@@ -33772,9 +35439,7 @@ public boolean hasGeneration() {
*
*
* optional int64 generation = 7;
- * @return The generation.
*/
- @java.lang.Override
public long getGeneration() {
return generation_;
}
@@ -33786,7 +35451,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.
@@ -33795,18 +35459,15 @@ public long getGeneration() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8;
- * @return Whether the creationTimestamp field is set.
*/
- @java.lang.Override
public boolean hasCreationTimestamp() {
- return ((bitField0_ & 0x00000080) != 0);
+ return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
*
* 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.
@@ -33815,9 +35476,7 @@ public boolean hasCreationTimestamp() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8;
- * @return The creationTimestamp.
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.Time getCreationTimestamp() {
return creationTimestamp_ == null ? io.kubernetes.client.proto.Meta.Time.getDefaultInstance() : creationTimestamp_;
}
@@ -33826,7 +35485,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.
@@ -33836,7 +35494,6 @@ public io.kubernetes.client.proto.Meta.Time getCreationTimestamp() {
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.TimeOrBuilder getCreationTimestampOrBuilder() {
return creationTimestamp_ == null ? io.kubernetes.client.proto.Meta.Time.getDefaultInstance() : creationTimestamp_;
}
@@ -33859,7 +35516,6 @@ public io.kubernetes.client.proto.Meta.TimeOrBuilder getCreationTimestampOrBuild
* 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/sig-architecture/api-conventions.md#metadata
@@ -33867,11 +35523,9 @@ public io.kubernetes.client.proto.Meta.TimeOrBuilder getCreationTimestampOrBuild
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9;
- * @return Whether the deletionTimestamp field is set.
*/
- @java.lang.Override
public boolean hasDeletionTimestamp() {
- return ((bitField0_ & 0x00000100) != 0);
+ return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
*
@@ -33889,7 +35543,6 @@ public boolean hasDeletionTimestamp() {
* 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/sig-architecture/api-conventions.md#metadata
@@ -33897,9 +35550,7 @@ public boolean hasDeletionTimestamp() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9;
- * @return The deletionTimestamp.
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.Time getDeletionTimestamp() {
return deletionTimestamp_ == null ? io.kubernetes.client.proto.Meta.Time.getDefaultInstance() : deletionTimestamp_;
}
@@ -33919,7 +35570,6 @@ public io.kubernetes.client.proto.Meta.Time getDeletionTimestamp() {
* 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/sig-architecture/api-conventions.md#metadata
@@ -33928,13 +35578,12 @@ public io.kubernetes.client.proto.Meta.Time getDeletionTimestamp() {
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.TimeOrBuilder getDeletionTimestampOrBuilder() {
return deletionTimestamp_ == null ? io.kubernetes.client.proto.Meta.Time.getDefaultInstance() : deletionTimestamp_;
}
public static final int DELETIONGRACEPERIODSECONDS_FIELD_NUMBER = 10;
- private long deletionGracePeriodSeconds_ = 0L;
+ private long deletionGracePeriodSeconds_;
/**
*
* Number of seconds allowed for this object to gracefully terminate before
@@ -33945,11 +35594,9 @@ public io.kubernetes.client.proto.Meta.TimeOrBuilder getDeletionTimestampOrBuild
*
*
* optional int64 deletionGracePeriodSeconds = 10;
- * @return Whether the deletionGracePeriodSeconds field is set.
*/
- @java.lang.Override
public boolean hasDeletionGracePeriodSeconds() {
- return ((bitField0_ & 0x00000200) != 0);
+ return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
*
@@ -33961,9 +35608,7 @@ public boolean hasDeletionGracePeriodSeconds() {
*
*
* optional int64 deletionGracePeriodSeconds = 10;
- * @return The deletionGracePeriodSeconds.
*/
- @java.lang.Override
public long getDeletionGracePeriodSeconds() {
return deletionGracePeriodSeconds_;
}
@@ -33980,7 +35625,6 @@ private static final class LabelsDefaultEntryHolder {
com.google.protobuf.WireFormat.FieldType.STRING,
"");
}
- @SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> labels_;
private com.google.protobuf.MapFieldmap<string, string> labels = 11;
*/
- @java.lang.Override
+
public boolean containsLabels(
java.lang.String key) {
- if (key == null) { throw new NullPointerException("map key"); }
+ if (key == null) { throw new java.lang.NullPointerException(); }
return internalGetLabels().getMap().containsKey(key);
}
/**
* Use {@link #getLabelsMap()} instead.
*/
- @java.lang.Override
@java.lang.Deprecated
public java.util.Mapmap<string, string> labels = 11;
*/
- @java.lang.Override
+
public java.util.Mapmap<string, string> labels = 11;
*/
- @java.lang.Override
- public /* nullable */
-java.lang.String getLabelsOrDefault(
+
+ public java.lang.String getLabelsOrDefault(
java.lang.String key,
- /* nullable */
-java.lang.String defaultValue) {
- if (key == null) { throw new NullPointerException("map key"); }
+ java.lang.String defaultValue) {
+ if (key == null) { throw new java.lang.NullPointerException(); }
java.util.Mapmap<string, string> labels = 11;
*/
- @java.lang.Override
+
public java.lang.String getLabelsOrThrow(
java.lang.String key) {
- if (key == null) { throw new NullPointerException("map key"); }
+ if (key == null) { throw new java.lang.NullPointerException(); }
java.util.Mapmap<string, string> annotations = 12;
*/
- @java.lang.Override
+
public boolean containsAnnotations(
java.lang.String key) {
- if (key == null) { throw new NullPointerException("map key"); }
+ if (key == null) { throw new java.lang.NullPointerException(); }
return internalGetAnnotations().getMap().containsKey(key);
}
/**
* Use {@link #getAnnotationsMap()} instead.
*/
- @java.lang.Override
@java.lang.Deprecated
public java.util.Mapmap<string, string> annotations = 12;
*/
- @java.lang.Override
+
public java.util.Mapmap<string, string> annotations = 12;
*/
- @java.lang.Override
- public /* nullable */
-java.lang.String getAnnotationsOrDefault(
+
+ public java.lang.String getAnnotationsOrDefault(
java.lang.String key,
- /* nullable */
-java.lang.String defaultValue) {
- if (key == null) { throw new NullPointerException("map key"); }
+ java.lang.String defaultValue) {
+ if (key == null) { throw new java.lang.NullPointerException(); }
java.util.Mapmap<string, string> annotations = 12;
*/
- @java.lang.Override
+
public java.lang.String getAnnotationsOrThrow(
java.lang.String key) {
- if (key == null) { throw new NullPointerException("map key"); }
+ if (key == null) { throw new java.lang.NullPointerException(); }
java.util.Map
@@ -34208,7 +35846,6 @@ public java.lang.String getAnnotationsOrThrow(
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13;
*/
- @java.lang.Override
public java.util.List getOwnerReferencesList() {
return ownerReferences_;
}
@@ -34227,7 +35864,6 @@ public java.util.List getOwnerRe
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13;
*/
- @java.lang.Override
public java.util.List extends io.kubernetes.client.proto.Meta.OwnerReferenceOrBuilder>
getOwnerReferencesOrBuilderList() {
return ownerReferences_;
@@ -34247,7 +35883,6 @@ public java.util.List getOwnerRe
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13;
*/
- @java.lang.Override
public int getOwnerReferencesCount() {
return ownerReferences_.size();
}
@@ -34266,7 +35901,6 @@ public int getOwnerReferencesCount() {
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.OwnerReference getOwnerReferences(int index) {
return ownerReferences_.get(index);
}
@@ -34285,16 +35919,13 @@ public io.kubernetes.client.proto.Meta.OwnerReference getOwnerReferences(int ind
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.OwnerReferenceOrBuilder getOwnerReferencesOrBuilder(
int index) {
return ownerReferences_.get(index);
}
public static final int FINALIZERS_FIELD_NUMBER = 14;
- @SuppressWarnings("serial")
- private com.google.protobuf.LazyStringArrayList finalizers_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
+ private com.google.protobuf.LazyStringList finalizers_;
/**
*
* Must be empty before the object is deleted from the registry. Each entry
@@ -34316,7 +35947,6 @@ public io.kubernetes.client.proto.Meta.OwnerReferenceOrBuilder getOwnerReference
*
*
* repeated string finalizers = 14;
- * @return A list containing the finalizers.
*/
public com.google.protobuf.ProtocolStringList
getFinalizersList() {
@@ -34343,7 +35973,6 @@ public io.kubernetes.client.proto.Meta.OwnerReferenceOrBuilder getOwnerReference
*
*
* repeated string finalizers = 14;
- * @return The count of finalizers.
*/
public int getFinalizersCount() {
return finalizers_.size();
@@ -34369,8 +35998,6 @@ public int getFinalizersCount() {
*
*
* repeated string finalizers = 14;
- * @param index The index of the element to return.
- * @return The finalizers at the given index.
*/
public java.lang.String getFinalizers(int index) {
return finalizers_.get(index);
@@ -34396,8 +36023,6 @@ public java.lang.String getFinalizers(int index) {
*
*
* repeated string finalizers = 14;
- * @param index The index of the value to return.
- * @return The bytes of the finalizers at the given index.
*/
public com.google.protobuf.ByteString
getFinalizersBytes(int index) {
@@ -34405,7 +36030,6 @@ public java.lang.String getFinalizers(int index) {
}
public static final int MANAGEDFIELDS_FIELD_NUMBER = 17;
- @SuppressWarnings("serial")
private java.util.List
@@ -34416,14 +36040,12 @@ public java.lang.String getFinalizers(int index) {
* controller's name, or the name of a specific apply path like
* "ci-cd". The set of fields is always in the version that the
* workflow used when modifying the object.
- *
* +optional
* +listType=atomic
*
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17;
*/
- @java.lang.Override
public java.util.Listrepeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17;
*/
- @java.lang.Override
public java.util.List extends io.kubernetes.client.proto.Meta.ManagedFieldsEntryOrBuilder>
getManagedFieldsOrBuilderList() {
return managedFields_;
@@ -34457,14 +36077,12 @@ public java.util.Listrepeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17;
*/
- @java.lang.Override
public int getManagedFieldsCount() {
return managedFields_.size();
}
@@ -34477,14 +36095,12 @@ public int getManagedFieldsCount() {
* controller's name, or the name of a specific apply path like
* "ci-cd". The set of fields is always in the version that the
* workflow used when modifying the object.
- *
* +optional
* +listType=atomic
*
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.ManagedFieldsEntry getManagedFields(int index) {
return managedFields_.get(index);
}
@@ -34497,14 +36113,12 @@ public io.kubernetes.client.proto.Meta.ManagedFieldsEntry getManagedFields(int i
* controller's name, or the name of a specific apply path like
* "ci-cd". The set of fields is always in the version that the
* workflow used when modifying the object.
- *
* +optional
* +listType=atomic
*
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.ManagedFieldsEntryOrBuilder getManagedFieldsOrBuilder(
int index) {
return managedFields_.get(index);
@@ -34524,43 +36138,43 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 2, generateName_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, generateName_);
}
- if (((bitField0_ & 0x00000004) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 3, namespace_);
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, namespace_);
}
- if (((bitField0_ & 0x00000008) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 4, selfLink_);
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, selfLink_);
}
- if (((bitField0_ & 0x00000010) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 5, uid_);
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 5, uid_);
}
- if (((bitField0_ & 0x00000020) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 6, resourceVersion_);
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 6, resourceVersion_);
}
- if (((bitField0_ & 0x00000040) != 0)) {
+ if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeInt64(7, generation_);
}
- if (((bitField0_ & 0x00000080) != 0)) {
+ if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeMessage(8, getCreationTimestamp());
}
- if (((bitField0_ & 0x00000100) != 0)) {
+ if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeMessage(9, getDeletionTimestamp());
}
- if (((bitField0_ & 0x00000200) != 0)) {
+ if (((bitField0_ & 0x00000200) == 0x00000200)) {
output.writeInt64(10, deletionGracePeriodSeconds_);
}
- com.google.protobuf.GeneratedMessage
+ com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetLabels(),
LabelsDefaultEntryHolder.defaultEntry,
11);
- com.google.protobuf.GeneratedMessage
+ com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetAnnotations(),
@@ -34570,12 +36184,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
output.writeMessage(13, ownerReferences_.get(i));
}
for (int i = 0; i < finalizers_.size(); i++) {
- com.google.protobuf.GeneratedMessage.writeString(output, 14, finalizers_.getRaw(i));
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 14, finalizers_.getRaw(i));
}
for (int i = 0; i < managedFields_.size(); i++) {
output.writeMessage(17, managedFields_.get(i));
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -34584,37 +36198,37 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(2, generateName_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, generateName_);
}
- if (((bitField0_ & 0x00000004) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(3, namespace_);
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, namespace_);
}
- if (((bitField0_ & 0x00000008) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(4, selfLink_);
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, selfLink_);
}
- if (((bitField0_ & 0x00000010) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(5, uid_);
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, uid_);
}
- if (((bitField0_ & 0x00000020) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(6, resourceVersion_);
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, resourceVersion_);
}
- if (((bitField0_ & 0x00000040) != 0)) {
+ if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(7, generation_);
}
- if (((bitField0_ & 0x00000080) != 0)) {
+ if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getCreationTimestamp());
}
- if (((bitField0_ & 0x00000100) != 0)) {
+ if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getDeletionTimestamp());
}
- if (((bitField0_ & 0x00000200) != 0)) {
+ if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(10, deletionGracePeriodSeconds_);
}
@@ -34654,7 +36268,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, managedFields_.get(i));
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -34669,68 +36283,69 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.ObjectMeta other = (io.kubernetes.client.proto.Meta.ObjectMeta) obj;
- if (hasName() != other.hasName()) return false;
+ boolean result = true;
+ result = result && (hasName() == other.hasName());
if (hasName()) {
- if (!getName()
- .equals(other.getName())) return false;
+ result = result && getName()
+ .equals(other.getName());
}
- if (hasGenerateName() != other.hasGenerateName()) return false;
+ result = result && (hasGenerateName() == other.hasGenerateName());
if (hasGenerateName()) {
- if (!getGenerateName()
- .equals(other.getGenerateName())) return false;
+ result = result && getGenerateName()
+ .equals(other.getGenerateName());
}
- if (hasNamespace() != other.hasNamespace()) return false;
+ result = result && (hasNamespace() == other.hasNamespace());
if (hasNamespace()) {
- if (!getNamespace()
- .equals(other.getNamespace())) return false;
+ result = result && getNamespace()
+ .equals(other.getNamespace());
}
- if (hasSelfLink() != other.hasSelfLink()) return false;
+ result = result && (hasSelfLink() == other.hasSelfLink());
if (hasSelfLink()) {
- if (!getSelfLink()
- .equals(other.getSelfLink())) return false;
+ result = result && getSelfLink()
+ .equals(other.getSelfLink());
}
- if (hasUid() != other.hasUid()) return false;
+ result = result && (hasUid() == other.hasUid());
if (hasUid()) {
- if (!getUid()
- .equals(other.getUid())) return false;
+ result = result && getUid()
+ .equals(other.getUid());
}
- if (hasResourceVersion() != other.hasResourceVersion()) return false;
+ result = result && (hasResourceVersion() == other.hasResourceVersion());
if (hasResourceVersion()) {
- if (!getResourceVersion()
- .equals(other.getResourceVersion())) return false;
+ result = result && getResourceVersion()
+ .equals(other.getResourceVersion());
}
- if (hasGeneration() != other.hasGeneration()) return false;
+ result = result && (hasGeneration() == other.hasGeneration());
if (hasGeneration()) {
- if (getGeneration()
- != other.getGeneration()) return false;
+ result = result && (getGeneration()
+ == other.getGeneration());
}
- if (hasCreationTimestamp() != other.hasCreationTimestamp()) return false;
+ result = result && (hasCreationTimestamp() == other.hasCreationTimestamp());
if (hasCreationTimestamp()) {
- if (!getCreationTimestamp()
- .equals(other.getCreationTimestamp())) return false;
+ result = result && getCreationTimestamp()
+ .equals(other.getCreationTimestamp());
}
- if (hasDeletionTimestamp() != other.hasDeletionTimestamp()) return false;
+ result = result && (hasDeletionTimestamp() == other.hasDeletionTimestamp());
if (hasDeletionTimestamp()) {
- if (!getDeletionTimestamp()
- .equals(other.getDeletionTimestamp())) return false;
+ result = result && getDeletionTimestamp()
+ .equals(other.getDeletionTimestamp());
}
- if (hasDeletionGracePeriodSeconds() != other.hasDeletionGracePeriodSeconds()) return false;
+ result = result && (hasDeletionGracePeriodSeconds() == other.hasDeletionGracePeriodSeconds());
if (hasDeletionGracePeriodSeconds()) {
- if (getDeletionGracePeriodSeconds()
- != other.getDeletionGracePeriodSeconds()) return false;
- }
- if (!internalGetLabels().equals(
- other.internalGetLabels())) return false;
- if (!internalGetAnnotations().equals(
- other.internalGetAnnotations())) return false;
- if (!getOwnerReferencesList()
- .equals(other.getOwnerReferencesList())) return false;
- if (!getFinalizersList()
- .equals(other.getFinalizersList())) return false;
- if (!getManagedFieldsList()
- .equals(other.getManagedFieldsList())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && (getDeletionGracePeriodSeconds()
+ == other.getDeletionGracePeriodSeconds());
+ }
+ result = result && internalGetLabels().equals(
+ other.internalGetLabels());
+ result = result && internalGetAnnotations().equals(
+ other.internalGetAnnotations());
+ result = result && getOwnerReferencesList()
+ .equals(other.getOwnerReferencesList());
+ result = result && getFinalizersList()
+ .equals(other.getFinalizersList());
+ result = result && getManagedFieldsList()
+ .equals(other.getManagedFieldsList());
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -34802,7 +36417,7 @@ public int hashCode() {
hash = (37 * hash) + MANAGEDFIELDS_FIELD_NUMBER;
hash = (53 * hash) + getManagedFieldsList().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -34841,41 +36456,39 @@ public static io.kubernetes.client.proto.Meta.ObjectMeta parseFrom(
}
public static io.kubernetes.client.proto.Meta.ObjectMeta parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.ObjectMeta parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.ObjectMeta parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
public static io.kubernetes.client.proto.Meta.ObjectMeta parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.ObjectMeta parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.ObjectMeta parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -34895,7 +36508,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -34908,7 +36521,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional string name = 1;
- * @return Whether the name field is set.
*/
public boolean hasName() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -35423,7 +36948,6 @@ public boolean hasName() {
*
*
* optional string name = 1;
- * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -35451,7 +36975,6 @@ public java.lang.String getName() {
*
*
* optional string name = 1;
- * @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
@@ -35478,14 +37001,14 @@ public java.lang.String getName() {
*
*
* optional string name = 1;
- * @param value The name to set.
- * @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
name_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -35501,11 +37024,10 @@ public Builder setName(
*
*
* optional string name = 1;
- * @return This builder for chaining.
*/
public Builder clearName() {
- name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
+ name_ = getDefaultInstance().getName();
onChanged();
return this;
}
@@ -35521,14 +37043,14 @@ public Builder clearName() {
*
*
* optional string name = 1;
- * @param value The bytes for name to set.
- * @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
name_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -35543,19 +37065,16 @@ 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 return a 409.
- *
* Applied only if Name is not specified.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
* +optional
*
*
* optional string generateName = 2;
- * @return Whether the generateName field is set.
*/
public boolean hasGenerateName() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -35566,16 +37085,13 @@ 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 return a 409.
- *
* Applied only if Name is not specified.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
* +optional
*
*
* optional string generateName = 2;
- * @return The generateName.
*/
public java.lang.String getGenerateName() {
java.lang.Object ref = generateName_;
@@ -35600,16 +37116,13 @@ 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 return a 409.
- *
* Applied only if Name is not specified.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
* +optional
*
*
* optional string generateName = 2;
- * @return The bytes for generateName.
*/
public com.google.protobuf.ByteString
getGenerateNameBytes() {
@@ -35633,23 +37146,21 @@ 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 return a 409.
- *
* Applied only if Name is not specified.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
* +optional
*
*
* optional string generateName = 2;
- * @param value The generateName to set.
- * @return This builder for chaining.
*/
public Builder setGenerateName(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
generateName_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -35662,20 +37173,17 @@ 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 return a 409.
- *
* Applied only if Name is not specified.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
* +optional
*
*
* optional string generateName = 2;
- * @return This builder for chaining.
*/
public Builder clearGenerateName() {
- generateName_ = getDefaultInstance().getGenerateName();
bitField0_ = (bitField0_ & ~0x00000002);
+ generateName_ = getDefaultInstance().getGenerateName();
onChanged();
return this;
}
@@ -35688,23 +37196,21 @@ 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 return a 409.
- *
* Applied only if Name is not specified.
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
* +optional
*
*
* optional string generateName = 2;
- * @param value The bytes for generateName to set.
- * @return This builder for chaining.
*/
public Builder setGenerateNameBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
generateName_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -35716,7 +37222,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: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces
@@ -35724,10 +37229,9 @@ public Builder setGenerateNameBytes(
*
*
* optional string namespace = 3;
- * @return Whether the namespace field is set.
*/
public boolean hasNamespace() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
@@ -35735,7 +37239,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: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces
@@ -35743,7 +37246,6 @@ public boolean hasNamespace() {
*
*
* optional string namespace = 3;
- * @return The namespace.
*/
public java.lang.String getNamespace() {
java.lang.Object ref = namespace_;
@@ -35765,7 +37267,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: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces
@@ -35773,7 +37274,6 @@ public java.lang.String getNamespace() {
*
*
* optional string namespace = 3;
- * @return The bytes for namespace.
*/
public com.google.protobuf.ByteString
getNamespaceBytes() {
@@ -35794,7 +37294,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: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces
@@ -35802,14 +37301,14 @@ public java.lang.String getNamespace() {
*
*
* optional string namespace = 3;
- * @param value The namespace to set.
- * @return This builder for chaining.
*/
public Builder setNamespace(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
namespace_ = value;
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -35819,7 +37318,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: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces
@@ -35827,11 +37325,10 @@ public Builder setNamespace(
*
*
* optional string namespace = 3;
- * @return This builder for chaining.
*/
public Builder clearNamespace() {
- namespace_ = getDefaultInstance().getNamespace();
bitField0_ = (bitField0_ & ~0x00000004);
+ namespace_ = getDefaultInstance().getNamespace();
onChanged();
return this;
}
@@ -35841,7 +37338,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: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces
@@ -35849,14 +37345,14 @@ public Builder clearNamespace() {
*
*
* optional string namespace = 3;
- * @param value The bytes for namespace to set.
- * @return This builder for chaining.
*/
public Builder setNamespaceBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
namespace_ = value;
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -35869,10 +37365,9 @@ public Builder setNamespaceBytes(
*
*
* optional string selfLink = 4;
- * @return Whether the selfLink field is set.
*/
public boolean hasSelfLink() {
- return ((bitField0_ & 0x00000008) != 0);
+ return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
@@ -35881,7 +37376,6 @@ public boolean hasSelfLink() {
*
*
* optional string selfLink = 4;
- * @return The selfLink.
*/
public java.lang.String getSelfLink() {
java.lang.Object ref = selfLink_;
@@ -35904,7 +37398,6 @@ public java.lang.String getSelfLink() {
*
*
* optional string selfLink = 4;
- * @return The bytes for selfLink.
*/
public com.google.protobuf.ByteString
getSelfLinkBytes() {
@@ -35926,14 +37419,14 @@ public java.lang.String getSelfLink() {
*
*
* optional string selfLink = 4;
- * @param value The selfLink to set.
- * @return This builder for chaining.
*/
public Builder setSelfLink(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000008;
selfLink_ = value;
- bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -35944,11 +37437,10 @@ public Builder setSelfLink(
*
*
* optional string selfLink = 4;
- * @return This builder for chaining.
*/
public Builder clearSelfLink() {
- selfLink_ = getDefaultInstance().getSelfLink();
bitField0_ = (bitField0_ & ~0x00000008);
+ selfLink_ = getDefaultInstance().getSelfLink();
onChanged();
return this;
}
@@ -35959,14 +37451,14 @@ public Builder clearSelfLink() {
*
*
* optional string selfLink = 4;
- * @param value The bytes for selfLink to set.
- * @return This builder for chaining.
*/
public Builder setSelfLinkBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000008;
selfLink_ = value;
- bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -35977,7 +37469,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: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
@@ -35985,17 +37476,15 @@ public Builder setSelfLinkBytes(
*
*
* optional string uid = 5;
- * @return Whether the uid field is set.
*/
public boolean hasUid() {
- return ((bitField0_ & 0x00000010) != 0);
+ return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
* 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: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
@@ -36003,7 +37492,6 @@ public boolean hasUid() {
*
*
* optional string uid = 5;
- * @return The uid.
*/
public java.lang.String getUid() {
java.lang.Object ref = uid_;
@@ -36024,7 +37512,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: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
@@ -36032,7 +37519,6 @@ public java.lang.String getUid() {
*
*
* optional string uid = 5;
- * @return The bytes for uid.
*/
public com.google.protobuf.ByteString
getUidBytes() {
@@ -36052,7 +37538,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: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
@@ -36060,14 +37545,14 @@ public java.lang.String getUid() {
*
*
* optional string uid = 5;
- * @param value The uid to set.
- * @return This builder for chaining.
*/
public Builder setUid(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000010;
uid_ = value;
- bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -36076,7 +37561,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: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
@@ -36084,11 +37568,10 @@ public Builder setUid(
*
*
* optional string uid = 5;
- * @return This builder for chaining.
*/
public Builder clearUid() {
- uid_ = getDefaultInstance().getUid();
bitField0_ = (bitField0_ & ~0x00000010);
+ uid_ = getDefaultInstance().getUid();
onChanged();
return this;
}
@@ -36097,7 +37580,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: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
@@ -36105,14 +37587,14 @@ public Builder clearUid() {
*
*
* optional string uid = 5;
- * @param value The bytes for uid to set.
- * @return This builder for chaining.
*/
public Builder setUidBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000010;
uid_ = value;
- bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -36125,7 +37607,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 .
@@ -36134,10 +37615,9 @@ public Builder setUidBytes(
*
*
* optional string resourceVersion = 6;
- * @return Whether the resourceVersion field is set.
*/
public boolean hasResourceVersion() {
- return ((bitField0_ & 0x00000020) != 0);
+ return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
*
@@ -36146,7 +37626,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 .
@@ -36155,7 +37634,6 @@ public boolean hasResourceVersion() {
*
*
* optional string resourceVersion = 6;
- * @return The resourceVersion.
*/
public java.lang.String getResourceVersion() {
java.lang.Object ref = resourceVersion_;
@@ -36178,7 +37656,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 .
@@ -36187,7 +37664,6 @@ public java.lang.String getResourceVersion() {
*
*
* optional string resourceVersion = 6;
- * @return The bytes for resourceVersion.
*/
public com.google.protobuf.ByteString
getResourceVersionBytes() {
@@ -36209,7 +37685,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 .
@@ -36218,14 +37693,14 @@ public java.lang.String getResourceVersion() {
*
*
* optional string resourceVersion = 6;
- * @param value The resourceVersion to set.
- * @return This builder for chaining.
*/
public Builder setResourceVersion(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000020;
resourceVersion_ = value;
- bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -36236,7 +37711,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 .
@@ -36245,11 +37719,10 @@ public Builder setResourceVersion(
*
*
* optional string resourceVersion = 6;
- * @return This builder for chaining.
*/
public Builder clearResourceVersion() {
- resourceVersion_ = getDefaultInstance().getResourceVersion();
bitField0_ = (bitField0_ & ~0x00000020);
+ resourceVersion_ = getDefaultInstance().getResourceVersion();
onChanged();
return this;
}
@@ -36260,7 +37733,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 .
@@ -36269,14 +37741,14 @@ public Builder clearResourceVersion() {
*
*
* optional string resourceVersion = 6;
- * @param value The bytes for resourceVersion to set.
- * @return This builder for chaining.
*/
public Builder setResourceVersionBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000020;
resourceVersion_ = value;
- bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -36290,11 +37762,9 @@ public Builder setResourceVersionBytes(
*
*
* optional int64 generation = 7;
- * @return Whether the generation field is set.
*/
- @java.lang.Override
public boolean hasGeneration() {
- return ((bitField0_ & 0x00000040) != 0);
+ return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
*
@@ -36304,9 +37774,7 @@ public boolean hasGeneration() {
*
*
* optional int64 generation = 7;
- * @return The generation.
*/
- @java.lang.Override
public long getGeneration() {
return generation_;
}
@@ -36318,13 +37786,10 @@ public long getGeneration() {
*
*
* optional int64 generation = 7;
- * @param value The generation to set.
- * @return This builder for chaining.
*/
public Builder setGeneration(long value) {
-
- generation_ = value;
bitField0_ |= 0x00000040;
+ generation_ = value;
onChanged();
return this;
}
@@ -36336,7 +37801,6 @@ public Builder setGeneration(long value) {
*
*
* optional int64 generation = 7;
- * @return This builder for chaining.
*/
public Builder clearGeneration() {
bitField0_ = (bitField0_ & ~0x00000040);
@@ -36345,15 +37809,14 @@ public Builder clearGeneration() {
return this;
}
- private io.kubernetes.client.proto.Meta.Time creationTimestamp_;
- private com.google.protobuf.SingleFieldBuilder<
+ private io.kubernetes.client.proto.Meta.Time creationTimestamp_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.Meta.Time, io.kubernetes.client.proto.Meta.Time.Builder, io.kubernetes.client.proto.Meta.TimeOrBuilder> creationTimestampBuilder_;
/**
*
* 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.
@@ -36362,17 +37825,15 @@ public Builder clearGeneration() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8;
- * @return Whether the creationTimestamp field is set.
*/
public boolean hasCreationTimestamp() {
- return ((bitField0_ & 0x00000080) != 0);
+ return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
*
* 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.
@@ -36381,7 +37842,6 @@ public boolean hasCreationTimestamp() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8;
- * @return The creationTimestamp.
*/
public io.kubernetes.client.proto.Meta.Time getCreationTimestamp() {
if (creationTimestampBuilder_ == null) {
@@ -36395,7 +37855,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.
@@ -36411,11 +37870,11 @@ public Builder setCreationTimestamp(io.kubernetes.client.proto.Meta.Time value)
throw new NullPointerException();
}
creationTimestamp_ = value;
+ onChanged();
} else {
creationTimestampBuilder_.setMessage(value);
}
bitField0_ |= 0x00000080;
- onChanged();
return this;
}
/**
@@ -36423,7 +37882,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.
@@ -36437,11 +37895,11 @@ public Builder setCreationTimestamp(
io.kubernetes.client.proto.Meta.Time.Builder builderForValue) {
if (creationTimestampBuilder_ == null) {
creationTimestamp_ = builderForValue.build();
+ onChanged();
} else {
creationTimestampBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000080;
- onChanged();
return this;
}
/**
@@ -36449,7 +37907,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.
@@ -36461,20 +37918,19 @@ public Builder setCreationTimestamp(
*/
public Builder mergeCreationTimestamp(io.kubernetes.client.proto.Meta.Time value) {
if (creationTimestampBuilder_ == null) {
- if (((bitField0_ & 0x00000080) != 0) &&
- creationTimestamp_ != null &&
- creationTimestamp_ != io.kubernetes.client.proto.Meta.Time.getDefaultInstance()) {
- getCreationTimestampBuilder().mergeFrom(value);
+ if (((bitField0_ & 0x00000080) == 0x00000080) &&
+ creationTimestamp_ != null &&
+ creationTimestamp_ != io.kubernetes.client.proto.Meta.Time.getDefaultInstance()) {
+ creationTimestamp_ =
+ io.kubernetes.client.proto.Meta.Time.newBuilder(creationTimestamp_).mergeFrom(value).buildPartial();
} else {
creationTimestamp_ = value;
}
+ onChanged();
} else {
creationTimestampBuilder_.mergeFrom(value);
}
- if (creationTimestamp_ != null) {
- bitField0_ |= 0x00000080;
- onChanged();
- }
+ bitField0_ |= 0x00000080;
return this;
}
/**
@@ -36482,7 +37938,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.
@@ -36493,13 +37948,13 @@ public Builder mergeCreationTimestamp(io.kubernetes.client.proto.Meta.Time value
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8;
*/
public Builder clearCreationTimestamp() {
- bitField0_ = (bitField0_ & ~0x00000080);
- creationTimestamp_ = null;
- if (creationTimestampBuilder_ != null) {
- creationTimestampBuilder_.dispose();
- creationTimestampBuilder_ = null;
+ if (creationTimestampBuilder_ == null) {
+ creationTimestamp_ = null;
+ onChanged();
+ } else {
+ creationTimestampBuilder_.clear();
}
- onChanged();
+ bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
/**
@@ -36507,7 +37962,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.
@@ -36527,7 +37981,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.
@@ -36550,7 +38003,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.
@@ -36560,11 +38012,11 @@ public io.kubernetes.client.proto.Meta.TimeOrBuilder getCreationTimestampOrBuild
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8;
*/
- private com.google.protobuf.SingleFieldBuilder<
+ private com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.Meta.Time, io.kubernetes.client.proto.Meta.Time.Builder, io.kubernetes.client.proto.Meta.TimeOrBuilder>
getCreationTimestampFieldBuilder() {
if (creationTimestampBuilder_ == null) {
- creationTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+ creationTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.Meta.Time, io.kubernetes.client.proto.Meta.Time.Builder, io.kubernetes.client.proto.Meta.TimeOrBuilder>(
getCreationTimestamp(),
getParentForChildren(),
@@ -36574,8 +38026,8 @@ public io.kubernetes.client.proto.Meta.TimeOrBuilder getCreationTimestampOrBuild
return creationTimestampBuilder_;
}
- private io.kubernetes.client.proto.Meta.Time deletionTimestamp_;
- private com.google.protobuf.SingleFieldBuilder<
+ private io.kubernetes.client.proto.Meta.Time deletionTimestamp_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.Meta.Time, io.kubernetes.client.proto.Meta.Time.Builder, io.kubernetes.client.proto.Meta.TimeOrBuilder> deletionTimestampBuilder_;
/**
*
@@ -36593,7 +38045,6 @@ public io.kubernetes.client.proto.Meta.TimeOrBuilder getCreationTimestampOrBuild
* 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/sig-architecture/api-conventions.md#metadata
@@ -36601,10 +38052,9 @@ public io.kubernetes.client.proto.Meta.TimeOrBuilder getCreationTimestampOrBuild
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9;
- * @return Whether the deletionTimestamp field is set.
*/
public boolean hasDeletionTimestamp() {
- return ((bitField0_ & 0x00000100) != 0);
+ return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
*
@@ -36622,7 +38072,6 @@ public boolean hasDeletionTimestamp() {
* 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/sig-architecture/api-conventions.md#metadata
@@ -36630,7 +38079,6 @@ public boolean hasDeletionTimestamp() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9;
- * @return The deletionTimestamp.
*/
public io.kubernetes.client.proto.Meta.Time getDeletionTimestamp() {
if (deletionTimestampBuilder_ == null) {
@@ -36655,7 +38103,6 @@ public io.kubernetes.client.proto.Meta.Time getDeletionTimestamp() {
* 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/sig-architecture/api-conventions.md#metadata
@@ -36670,11 +38117,11 @@ public Builder setDeletionTimestamp(io.kubernetes.client.proto.Meta.Time value)
throw new NullPointerException();
}
deletionTimestamp_ = value;
+ onChanged();
} else {
deletionTimestampBuilder_.setMessage(value);
}
bitField0_ |= 0x00000100;
- onChanged();
return this;
}
/**
@@ -36693,7 +38140,6 @@ public Builder setDeletionTimestamp(io.kubernetes.client.proto.Meta.Time value)
* 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/sig-architecture/api-conventions.md#metadata
@@ -36706,11 +38152,11 @@ public Builder setDeletionTimestamp(
io.kubernetes.client.proto.Meta.Time.Builder builderForValue) {
if (deletionTimestampBuilder_ == null) {
deletionTimestamp_ = builderForValue.build();
+ onChanged();
} else {
deletionTimestampBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000100;
- onChanged();
return this;
}
/**
@@ -36729,7 +38175,6 @@ public Builder setDeletionTimestamp(
* 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/sig-architecture/api-conventions.md#metadata
@@ -36740,20 +38185,19 @@ public Builder setDeletionTimestamp(
*/
public Builder mergeDeletionTimestamp(io.kubernetes.client.proto.Meta.Time value) {
if (deletionTimestampBuilder_ == null) {
- if (((bitField0_ & 0x00000100) != 0) &&
- deletionTimestamp_ != null &&
- deletionTimestamp_ != io.kubernetes.client.proto.Meta.Time.getDefaultInstance()) {
- getDeletionTimestampBuilder().mergeFrom(value);
+ if (((bitField0_ & 0x00000100) == 0x00000100) &&
+ deletionTimestamp_ != null &&
+ deletionTimestamp_ != io.kubernetes.client.proto.Meta.Time.getDefaultInstance()) {
+ deletionTimestamp_ =
+ io.kubernetes.client.proto.Meta.Time.newBuilder(deletionTimestamp_).mergeFrom(value).buildPartial();
} else {
deletionTimestamp_ = value;
}
+ onChanged();
} else {
deletionTimestampBuilder_.mergeFrom(value);
}
- if (deletionTimestamp_ != null) {
- bitField0_ |= 0x00000100;
- onChanged();
- }
+ bitField0_ |= 0x00000100;
return this;
}
/**
@@ -36772,7 +38216,6 @@ public Builder mergeDeletionTimestamp(io.kubernetes.client.proto.Meta.Time value
* 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/sig-architecture/api-conventions.md#metadata
@@ -36782,13 +38225,13 @@ public Builder mergeDeletionTimestamp(io.kubernetes.client.proto.Meta.Time value
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9;
*/
public Builder clearDeletionTimestamp() {
- bitField0_ = (bitField0_ & ~0x00000100);
- deletionTimestamp_ = null;
- if (deletionTimestampBuilder_ != null) {
- deletionTimestampBuilder_.dispose();
- deletionTimestampBuilder_ = null;
+ if (deletionTimestampBuilder_ == null) {
+ deletionTimestamp_ = null;
+ onChanged();
+ } else {
+ deletionTimestampBuilder_.clear();
}
- onChanged();
+ bitField0_ = (bitField0_ & ~0x00000100);
return this;
}
/**
@@ -36807,7 +38250,6 @@ public Builder clearDeletionTimestamp() {
* 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/sig-architecture/api-conventions.md#metadata
@@ -36837,7 +38279,6 @@ public io.kubernetes.client.proto.Meta.Time.Builder getDeletionTimestampBuilder(
* 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/sig-architecture/api-conventions.md#metadata
@@ -36870,7 +38311,6 @@ public io.kubernetes.client.proto.Meta.TimeOrBuilder getDeletionTimestampOrBuild
* 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/sig-architecture/api-conventions.md#metadata
@@ -36879,11 +38319,11 @@ public io.kubernetes.client.proto.Meta.TimeOrBuilder getDeletionTimestampOrBuild
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9;
*/
- private com.google.protobuf.SingleFieldBuilder<
+ private com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.Meta.Time, io.kubernetes.client.proto.Meta.Time.Builder, io.kubernetes.client.proto.Meta.TimeOrBuilder>
getDeletionTimestampFieldBuilder() {
if (deletionTimestampBuilder_ == null) {
- deletionTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+ deletionTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.Meta.Time, io.kubernetes.client.proto.Meta.Time.Builder, io.kubernetes.client.proto.Meta.TimeOrBuilder>(
getDeletionTimestamp(),
getParentForChildren(),
@@ -36904,11 +38344,9 @@ public io.kubernetes.client.proto.Meta.TimeOrBuilder getDeletionTimestampOrBuild
*
*
* optional int64 deletionGracePeriodSeconds = 10;
- * @return Whether the deletionGracePeriodSeconds field is set.
*/
- @java.lang.Override
public boolean hasDeletionGracePeriodSeconds() {
- return ((bitField0_ & 0x00000200) != 0);
+ return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
*
@@ -36920,9 +38358,7 @@ public boolean hasDeletionGracePeriodSeconds() {
*
*
* optional int64 deletionGracePeriodSeconds = 10;
- * @return The deletionGracePeriodSeconds.
*/
- @java.lang.Override
public long getDeletionGracePeriodSeconds() {
return deletionGracePeriodSeconds_;
}
@@ -36936,13 +38372,10 @@ public long getDeletionGracePeriodSeconds() {
*
*
* optional int64 deletionGracePeriodSeconds = 10;
- * @param value The deletionGracePeriodSeconds to set.
- * @return This builder for chaining.
*/
public Builder setDeletionGracePeriodSeconds(long value) {
-
- deletionGracePeriodSeconds_ = value;
bitField0_ |= 0x00000200;
+ deletionGracePeriodSeconds_ = value;
onChanged();
return this;
}
@@ -36956,7 +38389,6 @@ public Builder setDeletionGracePeriodSeconds(long value) {
*
*
* optional int64 deletionGracePeriodSeconds = 10;
- * @return This builder for chaining.
*/
public Builder clearDeletionGracePeriodSeconds() {
bitField0_ = (bitField0_ & ~0x00000200);
@@ -36968,7 +38400,7 @@ public Builder clearDeletionGracePeriodSeconds() {
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> labels_;
private com.google.protobuf.MapFieldmap<string, string> labels = 11;
*/
- @java.lang.Override
+
public boolean containsLabels(
java.lang.String key) {
- if (key == null) { throw new NullPointerException("map key"); }
+ if (key == null) { throw new java.lang.NullPointerException(); }
return internalGetLabels().getMap().containsKey(key);
}
/**
* Use {@link #getLabelsMap()} instead.
*/
- @java.lang.Override
@java.lang.Deprecated
public java.util.Mapmap<string, string> labels = 11;
*/
- @java.lang.Override
+
public java.util.Mapmap<string, string> labels = 11;
*/
- @java.lang.Override
- public /* nullable */
-java.lang.String getLabelsOrDefault(
+
+ public java.lang.String getLabelsOrDefault(
java.lang.String key,
- /* nullable */
-java.lang.String defaultValue) {
- if (key == null) { throw new NullPointerException("map key"); }
+ java.lang.String defaultValue) {
+ if (key == null) { throw new java.lang.NullPointerException(); }
java.util.Mapmap<string, string> labels = 11;
*/
- @java.lang.Override
+
public java.lang.String getLabelsOrThrow(
java.lang.String key) {
- if (key == null) { throw new NullPointerException("map key"); }
+ if (key == null) { throw new java.lang.NullPointerException(); }
java.util.Mapmap<string, string> labels = 11;
*/
+
public Builder removeLabels(
java.lang.String key) {
- if (key == null) { throw new NullPointerException("map key"); }
+ if (key == null) { throw new java.lang.NullPointerException(); }
internalGetMutableLabels().getMutableMap()
.remove(key);
return this;
@@ -37104,8 +38534,7 @@ public Builder removeLabels(
*/
@java.lang.Deprecated
public java.util.Mapmap<string, string> labels = 11;
*/
+
public Builder putAllLabels(
java.util.Mapmap<string, string> annotations = 12;
*/
- @java.lang.Override
+
public boolean containsAnnotations(
java.lang.String key) {
- if (key == null) { throw new NullPointerException("map key"); }
+ if (key == null) { throw new java.lang.NullPointerException(); }
return internalGetAnnotations().getMap().containsKey(key);
}
/**
* Use {@link #getAnnotationsMap()} instead.
*/
- @java.lang.Override
@java.lang.Deprecated
public java.util.Mapmap<string, string> annotations = 12;
*/
- @java.lang.Override
+
public java.util.Mapmap<string, string> annotations = 12;
*/
- @java.lang.Override
- public /* nullable */
-java.lang.String getAnnotationsOrDefault(
+
+ public java.lang.String getAnnotationsOrDefault(
java.lang.String key,
- /* nullable */
-java.lang.String defaultValue) {
- if (key == null) { throw new NullPointerException("map key"); }
+ java.lang.String defaultValue) {
+ if (key == null) { throw new java.lang.NullPointerException(); }
java.util.Mapmap<string, string> annotations = 12;
*/
- @java.lang.Override
+
public java.lang.String getAnnotationsOrThrow(
java.lang.String key) {
- if (key == null) { throw new NullPointerException("map key"); }
+ if (key == null) { throw new java.lang.NullPointerException(); }
java.util.Mapmap<string, string> annotations = 12;
*/
+
public Builder removeAnnotations(
java.lang.String key) {
- if (key == null) { throw new NullPointerException("map key"); }
+ if (key == null) { throw new java.lang.NullPointerException(); }
internalGetMutableAnnotations().getMutableMap()
.remove(key);
return this;
@@ -37287,8 +38713,7 @@ public Builder removeAnnotations(
*/
@java.lang.Deprecated
public java.util.Mapmap<string, string> annotations = 12;
*/
+
public Builder putAllAnnotations(
java.util.Map
@@ -37816,12 +39239,10 @@ private void ensureFinalizersIsMutable() {
*
*
* repeated string finalizers = 14;
- * @return A list containing the finalizers.
*/
public com.google.protobuf.ProtocolStringList
getFinalizersList() {
- finalizers_.makeImmutable();
- return finalizers_;
+ return finalizers_.getUnmodifiableView();
}
/**
*
@@ -37844,7 +39265,6 @@ private void ensureFinalizersIsMutable() {
*
*
* repeated string finalizers = 14;
- * @return The count of finalizers.
*/
public int getFinalizersCount() {
return finalizers_.size();
@@ -37870,8 +39290,6 @@ public int getFinalizersCount() {
*
*
* repeated string finalizers = 14;
- * @param index The index of the element to return.
- * @return The finalizers at the given index.
*/
public java.lang.String getFinalizers(int index) {
return finalizers_.get(index);
@@ -37897,8 +39315,6 @@ public java.lang.String getFinalizers(int index) {
*
*
* repeated string finalizers = 14;
- * @param index The index of the value to return.
- * @return The bytes of the finalizers at the given index.
*/
public com.google.protobuf.ByteString
getFinalizersBytes(int index) {
@@ -37925,16 +39341,14 @@ public java.lang.String getFinalizers(int index) {
*
*
* repeated string finalizers = 14;
- * @param index The index to set the value at.
- * @param value The finalizers to set.
- * @return This builder for chaining.
*/
public Builder setFinalizers(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureFinalizersIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureFinalizersIsMutable();
finalizers_.set(index, value);
- bitField0_ |= 0x00002000;
onChanged();
return this;
}
@@ -37959,15 +39373,14 @@ public Builder setFinalizers(
*
*
* repeated string finalizers = 14;
- * @param value The finalizers to add.
- * @return This builder for chaining.
*/
public Builder addFinalizers(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureFinalizersIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureFinalizersIsMutable();
finalizers_.add(value);
- bitField0_ |= 0x00002000;
onChanged();
return this;
}
@@ -37992,15 +39405,12 @@ public Builder addFinalizers(
*
*
* repeated string finalizers = 14;
- * @param values The finalizers to add.
- * @return This builder for chaining.
*/
public Builder addAllFinalizers(
java.lang.Iterablerepeated string finalizers = 14;
- * @return This builder for chaining.
*/
public Builder clearFinalizers() {
- finalizers_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
- bitField0_ = (bitField0_ & ~0x00002000);;
+ finalizers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00002000);
onChanged();
return this;
}
@@ -38055,15 +39463,14 @@ public Builder clearFinalizers() {
*
*
* repeated string finalizers = 14;
- * @param value The bytes of the finalizers to add.
- * @return This builder for chaining.
*/
public Builder addFinalizersBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- ensureFinalizersIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureFinalizersIsMutable();
finalizers_.add(value);
- bitField0_ |= 0x00002000;
onChanged();
return this;
}
@@ -38071,13 +39478,13 @@ public Builder addFinalizersBytes(
private java.util.Listoptional string apiVersion = 5;
- * @return Whether the apiVersion field is set.
*/
boolean hasApiVersion();
/**
@@ -38612,7 +40001,6 @@ public interface OwnerReferenceOrBuilder extends
*
*
* optional string apiVersion = 5;
- * @return The apiVersion.
*/
java.lang.String getApiVersion();
/**
@@ -38621,7 +40009,6 @@ public interface OwnerReferenceOrBuilder extends
*
*
* optional string apiVersion = 5;
- * @return The bytes for apiVersion.
*/
com.google.protobuf.ByteString
getApiVersionBytes();
@@ -38633,7 +40020,6 @@ public interface OwnerReferenceOrBuilder extends
*
*
* optional string kind = 1;
- * @return Whether the kind field is set.
*/
boolean hasKind();
/**
@@ -38643,7 +40029,6 @@ public interface OwnerReferenceOrBuilder extends
*
*
* optional string kind = 1;
- * @return The kind.
*/
java.lang.String getKind();
/**
@@ -38653,7 +40038,6 @@ public interface OwnerReferenceOrBuilder extends
*
*
* optional string kind = 1;
- * @return The bytes for kind.
*/
com.google.protobuf.ByteString
getKindBytes();
@@ -38665,7 +40049,6 @@ public interface OwnerReferenceOrBuilder extends
*
*
* optional string name = 3;
- * @return Whether the name field is set.
*/
boolean hasName();
/**
@@ -38675,7 +40058,6 @@ public interface OwnerReferenceOrBuilder extends
*
*
* optional string name = 3;
- * @return The name.
*/
java.lang.String getName();
/**
@@ -38685,7 +40067,6 @@ public interface OwnerReferenceOrBuilder extends
*
*
* optional string name = 3;
- * @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
@@ -38697,7 +40078,6 @@ public interface OwnerReferenceOrBuilder extends
*
*
* optional string uid = 4;
- * @return Whether the uid field is set.
*/
boolean hasUid();
/**
@@ -38707,7 +40087,6 @@ public interface OwnerReferenceOrBuilder extends
*
*
* optional string uid = 4;
- * @return The uid.
*/
java.lang.String getUid();
/**
@@ -38717,7 +40096,6 @@ public interface OwnerReferenceOrBuilder extends
*
*
* optional string uid = 4;
- * @return The bytes for uid.
*/
com.google.protobuf.ByteString
getUidBytes();
@@ -38729,7 +40107,6 @@ public interface OwnerReferenceOrBuilder extends
*
*
* optional bool controller = 6;
- * @return Whether the controller field is set.
*/
boolean hasController();
/**
@@ -38739,7 +40116,6 @@ public interface OwnerReferenceOrBuilder extends
*
*
* optional bool controller = 6;
- * @return The controller.
*/
boolean getController();
@@ -38757,7 +40133,6 @@ public interface OwnerReferenceOrBuilder extends
*
*
* optional bool blockOwnerDeletion = 7;
- * @return Whether the blockOwnerDeletion field is set.
*/
boolean hasBlockOwnerDeletion();
/**
@@ -38774,7 +40149,6 @@ public interface OwnerReferenceOrBuilder extends
*
*
* optional bool blockOwnerDeletion = 7;
- * @return The blockOwnerDeletion.
*/
boolean getBlockOwnerDeletion();
}
@@ -38788,22 +40162,13 @@ public interface OwnerReferenceOrBuilder extends
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference}
*/
- public static final class OwnerReference extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class OwnerReference extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference)
OwnerReferenceOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- OwnerReference.class.getName());
- }
// Use OwnerReference.newBuilder() to construct.
- private OwnerReference(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private OwnerReference(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private OwnerReference() {
@@ -38811,15 +40176,94 @@ private OwnerReference() {
kind_ = "";
name_ = "";
uid_ = "";
+ controller_ = false;
+ blockOwnerDeletion_ = false;
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private OwnerReference(
+ 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_ |= 0x00000002;
+ kind_ = bs;
+ break;
+ }
+ case 26: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000004;
+ name_ = bs;
+ break;
+ }
+ case 34: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000008;
+ uid_ = bs;
+ break;
+ }
+ case 42: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000001;
+ apiVersion_ = bs;
+ break;
+ }
+ case 48: {
+ bitField0_ |= 0x00000010;
+ controller_ = input.readBool();
+ break;
+ }
+ case 56: {
+ bitField0_ |= 0x00000020;
+ blockOwnerDeletion_ = input.readBool();
+ 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_OwnerReference_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_OwnerReference_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -38828,19 +40272,16 @@ private OwnerReference() {
private int bitField0_;
public static final int APIVERSION_FIELD_NUMBER = 5;
- @SuppressWarnings("serial")
- private volatile java.lang.Object apiVersion_ = "";
+ private volatile java.lang.Object apiVersion_;
/**
*
* API version of the referent.
*
*
* optional string apiVersion = 5;
- * @return Whether the apiVersion field is set.
*/
- @java.lang.Override
public boolean hasApiVersion() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -38848,9 +40289,7 @@ public boolean hasApiVersion() {
*
*
* optional string apiVersion = 5;
- * @return The apiVersion.
*/
- @java.lang.Override
public java.lang.String getApiVersion() {
java.lang.Object ref = apiVersion_;
if (ref instanceof java.lang.String) {
@@ -38871,9 +40310,7 @@ public java.lang.String getApiVersion() {
*
*
* optional string apiVersion = 5;
- * @return The bytes for apiVersion.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getApiVersionBytes() {
java.lang.Object ref = apiVersion_;
@@ -38889,8 +40326,7 @@ public java.lang.String getApiVersion() {
}
public static final int KIND_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object kind_ = "";
+ private volatile java.lang.Object kind_;
/**
*
* Kind of the referent.
@@ -38898,11 +40334,9 @@ public java.lang.String getApiVersion() {
*
*
* optional string kind = 1;
- * @return Whether the kind field is set.
*/
- @java.lang.Override
public boolean hasKind() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -38911,9 +40345,7 @@ public boolean hasKind() {
*
*
* optional string kind = 1;
- * @return The kind.
*/
- @java.lang.Override
public java.lang.String getKind() {
java.lang.Object ref = kind_;
if (ref instanceof java.lang.String) {
@@ -38935,9 +40367,7 @@ public java.lang.String getKind() {
*
*
* optional string kind = 1;
- * @return The bytes for kind.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getKindBytes() {
java.lang.Object ref = kind_;
@@ -38953,8 +40383,7 @@ public java.lang.String getKind() {
}
public static final int NAME_FIELD_NUMBER = 3;
- @SuppressWarnings("serial")
- private volatile java.lang.Object name_ = "";
+ private volatile java.lang.Object name_;
/**
*
* Name of the referent.
@@ -38962,11 +40391,9 @@ public java.lang.String getKind() {
*
*
* optional string name = 3;
- * @return Whether the name field is set.
*/
- @java.lang.Override
public boolean hasName() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
@@ -38975,9 +40402,7 @@ public boolean hasName() {
*
*
* optional string name = 3;
- * @return The name.
*/
- @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -38999,9 +40424,7 @@ public java.lang.String getName() {
*
*
* optional string name = 3;
- * @return The bytes for name.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
@@ -39017,8 +40440,7 @@ public java.lang.String getName() {
}
public static final int UID_FIELD_NUMBER = 4;
- @SuppressWarnings("serial")
- private volatile java.lang.Object uid_ = "";
+ private volatile java.lang.Object uid_;
/**
*
* UID of the referent.
@@ -39026,11 +40448,9 @@ public java.lang.String getName() {
*
*
* optional string uid = 4;
- * @return Whether the uid field is set.
*/
- @java.lang.Override
public boolean hasUid() {
- return ((bitField0_ & 0x00000008) != 0);
+ return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
@@ -39039,9 +40459,7 @@ public boolean hasUid() {
*
*
* optional string uid = 4;
- * @return The uid.
*/
- @java.lang.Override
public java.lang.String getUid() {
java.lang.Object ref = uid_;
if (ref instanceof java.lang.String) {
@@ -39063,9 +40481,7 @@ public java.lang.String getUid() {
*
*
* optional string uid = 4;
- * @return The bytes for uid.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getUidBytes() {
java.lang.Object ref = uid_;
@@ -39081,7 +40497,7 @@ public java.lang.String getUid() {
}
public static final int CONTROLLER_FIELD_NUMBER = 6;
- private boolean controller_ = false;
+ private boolean controller_;
/**
*
* If true, this reference points to the managing controller.
@@ -39089,11 +40505,9 @@ public java.lang.String getUid() {
*
*
* optional bool controller = 6;
- * @return Whether the controller field is set.
*/
- @java.lang.Override
public boolean hasController() {
- return ((bitField0_ & 0x00000010) != 0);
+ return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
@@ -39102,15 +40516,13 @@ public boolean hasController() {
*
*
* optional bool controller = 6;
- * @return The controller.
*/
- @java.lang.Override
public boolean getController() {
return controller_;
}
public static final int BLOCKOWNERDELETION_FIELD_NUMBER = 7;
- private boolean blockOwnerDeletion_ = false;
+ private boolean blockOwnerDeletion_;
/**
*
* If true, AND if the owner has the "foregroundDeletion" finalizer, then
@@ -39125,11 +40537,9 @@ public boolean getController() {
*
*
* optional bool blockOwnerDeletion = 7;
- * @return Whether the blockOwnerDeletion field is set.
*/
- @java.lang.Override
public boolean hasBlockOwnerDeletion() {
- return ((bitField0_ & 0x00000020) != 0);
+ return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
*
@@ -39145,9 +40555,7 @@ public boolean hasBlockOwnerDeletion() {
*
*
* optional bool blockOwnerDeletion = 7;
- * @return The blockOwnerDeletion.
*/
- @java.lang.Override
public boolean getBlockOwnerDeletion() {
return blockOwnerDeletion_;
}
@@ -39166,25 +40574,25 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000002) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 1, kind_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kind_);
}
- if (((bitField0_ & 0x00000004) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 3, name_);
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_);
}
- if (((bitField0_ & 0x00000008) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 4, uid_);
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, uid_);
}
- if (((bitField0_ & 0x00000001) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 5, apiVersion_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 5, apiVersion_);
}
- if (((bitField0_ & 0x00000010) != 0)) {
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBool(6, controller_);
}
- if (((bitField0_ & 0x00000020) != 0)) {
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBool(7, blockOwnerDeletion_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -39193,27 +40601,27 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(1, kind_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, kind_);
}
- if (((bitField0_ & 0x00000004) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(3, name_);
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_);
}
- if (((bitField0_ & 0x00000008) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(4, uid_);
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, uid_);
}
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(5, apiVersion_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, apiVersion_);
}
- if (((bitField0_ & 0x00000010) != 0)) {
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, controller_);
}
- if (((bitField0_ & 0x00000020) != 0)) {
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(7, blockOwnerDeletion_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -39228,38 +40636,39 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.OwnerReference other = (io.kubernetes.client.proto.Meta.OwnerReference) obj;
- if (hasApiVersion() != other.hasApiVersion()) return false;
+ boolean result = true;
+ result = result && (hasApiVersion() == other.hasApiVersion());
if (hasApiVersion()) {
- if (!getApiVersion()
- .equals(other.getApiVersion())) return false;
+ result = result && getApiVersion()
+ .equals(other.getApiVersion());
}
- if (hasKind() != other.hasKind()) return false;
+ result = result && (hasKind() == other.hasKind());
if (hasKind()) {
- if (!getKind()
- .equals(other.getKind())) return false;
+ result = result && getKind()
+ .equals(other.getKind());
}
- if (hasName() != other.hasName()) return false;
+ result = result && (hasName() == other.hasName());
if (hasName()) {
- if (!getName()
- .equals(other.getName())) return false;
+ result = result && getName()
+ .equals(other.getName());
}
- if (hasUid() != other.hasUid()) return false;
+ result = result && (hasUid() == other.hasUid());
if (hasUid()) {
- if (!getUid()
- .equals(other.getUid())) return false;
+ result = result && getUid()
+ .equals(other.getUid());
}
- if (hasController() != other.hasController()) return false;
+ result = result && (hasController() == other.hasController());
if (hasController()) {
- if (getController()
- != other.getController()) return false;
+ result = result && (getController()
+ == other.getController());
}
- if (hasBlockOwnerDeletion() != other.hasBlockOwnerDeletion()) return false;
+ result = result && (hasBlockOwnerDeletion() == other.hasBlockOwnerDeletion());
if (hasBlockOwnerDeletion()) {
- if (getBlockOwnerDeletion()
- != other.getBlockOwnerDeletion()) return false;
+ result = result && (getBlockOwnerDeletion()
+ == other.getBlockOwnerDeletion());
}
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -39295,7 +40704,7 @@ public int hashCode() {
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getBlockOwnerDeletion());
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -39334,41 +40743,39 @@ public static io.kubernetes.client.proto.Meta.OwnerReference parseFrom(
}
public static io.kubernetes.client.proto.Meta.OwnerReference parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.OwnerReference parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.OwnerReference parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
public static io.kubernetes.client.proto.Meta.OwnerReference parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.OwnerReference parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.OwnerReference parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -39388,7 +40795,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -39403,7 +40810,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional string apiVersion = 5;
- * @return Whether the apiVersion field is set.
*/
public boolean hasApiVersion() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -39629,7 +41030,6 @@ public boolean hasApiVersion() {
*
*
* optional string apiVersion = 5;
- * @return The apiVersion.
*/
public java.lang.String getApiVersion() {
java.lang.Object ref = apiVersion_;
@@ -39651,7 +41051,6 @@ public java.lang.String getApiVersion() {
*
*
* optional string apiVersion = 5;
- * @return The bytes for apiVersion.
*/
public com.google.protobuf.ByteString
getApiVersionBytes() {
@@ -39672,14 +41071,14 @@ public java.lang.String getApiVersion() {
*
*
* optional string apiVersion = 5;
- * @param value The apiVersion to set.
- * @return This builder for chaining.
*/
public Builder setApiVersion(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
apiVersion_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -39689,11 +41088,10 @@ public Builder setApiVersion(
*
*
* optional string apiVersion = 5;
- * @return This builder for chaining.
*/
public Builder clearApiVersion() {
- apiVersion_ = getDefaultInstance().getApiVersion();
bitField0_ = (bitField0_ & ~0x00000001);
+ apiVersion_ = getDefaultInstance().getApiVersion();
onChanged();
return this;
}
@@ -39703,14 +41101,14 @@ public Builder clearApiVersion() {
*
*
* optional string apiVersion = 5;
- * @param value The bytes for apiVersion to set.
- * @return This builder for chaining.
*/
public Builder setApiVersionBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
apiVersion_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -39723,10 +41121,9 @@ public Builder setApiVersionBytes(
*
*
* optional string kind = 1;
- * @return Whether the kind field is set.
*/
public boolean hasKind() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -39735,7 +41132,6 @@ public boolean hasKind() {
*
*
* optional string kind = 1;
- * @return The kind.
*/
public java.lang.String getKind() {
java.lang.Object ref = kind_;
@@ -39758,7 +41154,6 @@ public java.lang.String getKind() {
*
*
* optional string kind = 1;
- * @return The bytes for kind.
*/
public com.google.protobuf.ByteString
getKindBytes() {
@@ -39780,14 +41175,14 @@ public java.lang.String getKind() {
*
*
* optional string kind = 1;
- * @param value The kind to set.
- * @return This builder for chaining.
*/
public Builder setKind(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
kind_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -39798,11 +41193,10 @@ public Builder setKind(
*
*
* optional string kind = 1;
- * @return This builder for chaining.
*/
public Builder clearKind() {
- kind_ = getDefaultInstance().getKind();
bitField0_ = (bitField0_ & ~0x00000002);
+ kind_ = getDefaultInstance().getKind();
onChanged();
return this;
}
@@ -39813,14 +41207,14 @@ public Builder clearKind() {
*
*
* optional string kind = 1;
- * @param value The bytes for kind to set.
- * @return This builder for chaining.
*/
public Builder setKindBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
kind_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -39833,10 +41227,9 @@ public Builder setKindBytes(
*
*
* optional string name = 3;
- * @return Whether the name field is set.
*/
public boolean hasName() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
@@ -39845,7 +41238,6 @@ public boolean hasName() {
*
*
* optional string name = 3;
- * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -39868,7 +41260,6 @@ public java.lang.String getName() {
*
*
* optional string name = 3;
- * @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
@@ -39890,14 +41281,14 @@ public java.lang.String getName() {
*
*
* optional string name = 3;
- * @param value The name to set.
- * @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
name_ = value;
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -39908,11 +41299,10 @@ public Builder setName(
*
*
* optional string name = 3;
- * @return This builder for chaining.
*/
public Builder clearName() {
- name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000004);
+ name_ = getDefaultInstance().getName();
onChanged();
return this;
}
@@ -39923,14 +41313,14 @@ public Builder clearName() {
*
*
* optional string name = 3;
- * @param value The bytes for name to set.
- * @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
name_ = value;
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -39943,10 +41333,9 @@ public Builder setNameBytes(
*
*
* optional string uid = 4;
- * @return Whether the uid field is set.
*/
public boolean hasUid() {
- return ((bitField0_ & 0x00000008) != 0);
+ return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
@@ -39955,7 +41344,6 @@ public boolean hasUid() {
*
*
* optional string uid = 4;
- * @return The uid.
*/
public java.lang.String getUid() {
java.lang.Object ref = uid_;
@@ -39978,7 +41366,6 @@ public java.lang.String getUid() {
*
*
* optional string uid = 4;
- * @return The bytes for uid.
*/
public com.google.protobuf.ByteString
getUidBytes() {
@@ -40000,14 +41387,14 @@ public java.lang.String getUid() {
*
*
* optional string uid = 4;
- * @param value The uid to set.
- * @return This builder for chaining.
*/
public Builder setUid(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000008;
uid_ = value;
- bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -40018,11 +41405,10 @@ public Builder setUid(
*
*
* optional string uid = 4;
- * @return This builder for chaining.
*/
public Builder clearUid() {
- uid_ = getDefaultInstance().getUid();
bitField0_ = (bitField0_ & ~0x00000008);
+ uid_ = getDefaultInstance().getUid();
onChanged();
return this;
}
@@ -40033,14 +41419,14 @@ public Builder clearUid() {
*
*
* optional string uid = 4;
- * @param value The bytes for uid to set.
- * @return This builder for chaining.
*/
public Builder setUidBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000008;
uid_ = value;
- bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -40053,11 +41439,9 @@ public Builder setUidBytes(
*
*
* optional bool controller = 6;
- * @return Whether the controller field is set.
*/
- @java.lang.Override
public boolean hasController() {
- return ((bitField0_ & 0x00000010) != 0);
+ return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
@@ -40066,9 +41450,7 @@ public boolean hasController() {
*
*
* optional bool controller = 6;
- * @return The controller.
*/
- @java.lang.Override
public boolean getController() {
return controller_;
}
@@ -40079,13 +41461,10 @@ public boolean getController() {
*
*
* optional bool controller = 6;
- * @param value The controller to set.
- * @return This builder for chaining.
*/
public Builder setController(boolean value) {
-
- controller_ = value;
bitField0_ |= 0x00000010;
+ controller_ = value;
onChanged();
return this;
}
@@ -40096,7 +41475,6 @@ public Builder setController(boolean value) {
*
*
* optional bool controller = 6;
- * @return This builder for chaining.
*/
public Builder clearController() {
bitField0_ = (bitField0_ & ~0x00000010);
@@ -40120,11 +41498,9 @@ public Builder clearController() {
*
*
* optional bool blockOwnerDeletion = 7;
- * @return Whether the blockOwnerDeletion field is set.
*/
- @java.lang.Override
public boolean hasBlockOwnerDeletion() {
- return ((bitField0_ & 0x00000020) != 0);
+ return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
*
@@ -40140,9 +41516,7 @@ public boolean hasBlockOwnerDeletion() {
*
*
* optional bool blockOwnerDeletion = 7;
- * @return The blockOwnerDeletion.
*/
- @java.lang.Override
public boolean getBlockOwnerDeletion() {
return blockOwnerDeletion_;
}
@@ -40160,13 +41534,10 @@ public boolean getBlockOwnerDeletion() {
*
*
* optional bool blockOwnerDeletion = 7;
- * @param value The blockOwnerDeletion to set.
- * @return This builder for chaining.
*/
public Builder setBlockOwnerDeletion(boolean value) {
-
- blockOwnerDeletion_ = value;
bitField0_ |= 0x00000020;
+ blockOwnerDeletion_ = value;
onChanged();
return this;
}
@@ -40184,7 +41555,6 @@ public Builder setBlockOwnerDeletion(boolean value) {
*
*
* optional bool blockOwnerDeletion = 7;
- * @return This builder for chaining.
*/
public Builder clearBlockOwnerDeletion() {
bitField0_ = (bitField0_ & ~0x00000020);
@@ -40192,6 +41562,18 @@ 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);
+ }
+
// @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference)
}
@@ -40206,25 +41588,14 @@ public static io.kubernetes.client.proto.Meta.OwnerReference getDefaultInstance(
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parseroptional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
- * @return Whether the metadata field is set.
*/
boolean hasMetadata();
/**
@@ -40267,7 +41637,6 @@ public interface PartialObjectMetadataOrBuilder extends
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
- * @return The metadata.
*/
io.kubernetes.client.proto.Meta.ObjectMeta getMetadata();
/**
@@ -40290,34 +41659,81 @@ public interface PartialObjectMetadataOrBuilder extends
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata}
*/
- public static final class PartialObjectMetadata extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class PartialObjectMetadata extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata)
PartialObjectMetadataOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- PartialObjectMetadata.class.getName());
- }
// Use PartialObjectMetadata.newBuilder() to construct.
- private PartialObjectMetadata(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private PartialObjectMetadata(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PartialObjectMetadata() {
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private PartialObjectMetadata(
+ 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: {
+ io.kubernetes.client.proto.Meta.ObjectMeta.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ subBuilder = metadata_.toBuilder();
+ }
+ metadata_ = input.readMessage(io.kubernetes.client.proto.Meta.ObjectMeta.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(metadata_);
+ metadata_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000001;
+ 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_PartialObjectMetadata_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_PartialObjectMetadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -40335,11 +41751,9 @@ private PartialObjectMetadata() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
- * @return Whether the metadata field is set.
*/
- @java.lang.Override
public boolean hasMetadata() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -40349,9 +41763,7 @@ public boolean hasMetadata() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
- * @return The metadata.
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.ObjectMeta getMetadata() {
return metadata_ == null ? io.kubernetes.client.proto.Meta.ObjectMeta.getDefaultInstance() : metadata_;
}
@@ -40364,7 +41776,6 @@ public io.kubernetes.client.proto.Meta.ObjectMeta getMetadata() {
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.ObjectMetaOrBuilder getMetadataOrBuilder() {
return metadata_ == null ? io.kubernetes.client.proto.Meta.ObjectMeta.getDefaultInstance() : metadata_;
}
@@ -40383,10 +41794,10 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, getMetadata());
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -40395,11 +41806,11 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getMetadata());
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -40414,13 +41825,14 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.PartialObjectMetadata other = (io.kubernetes.client.proto.Meta.PartialObjectMetadata) obj;
- if (hasMetadata() != other.hasMetadata()) return false;
+ boolean result = true;
+ result = result && (hasMetadata() == other.hasMetadata());
if (hasMetadata()) {
- if (!getMetadata()
- .equals(other.getMetadata())) return false;
+ result = result && getMetadata()
+ .equals(other.getMetadata());
}
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -40434,7 +41846,7 @@ public int hashCode() {
hash = (37 * hash) + METADATA_FIELD_NUMBER;
hash = (53 * hash) + getMetadata().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -40473,41 +41885,39 @@ public static io.kubernetes.client.proto.Meta.PartialObjectMetadata parseFrom(
}
public static io.kubernetes.client.proto.Meta.PartialObjectMetadata parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.PartialObjectMetadata parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.PartialObjectMetadata parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
public static io.kubernetes.client.proto.Meta.PartialObjectMetadata parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.PartialObjectMetadata parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.PartialObjectMetadata parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -40527,7 +41937,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -40541,7 +41951,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
@@ -40701,10 +42121,9 @@ public Builder mergeFrom(
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
- * @return Whether the metadata field is set.
*/
public boolean hasMetadata() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -40714,7 +42133,6 @@ public boolean hasMetadata() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
- * @return The metadata.
*/
public io.kubernetes.client.proto.Meta.ObjectMeta getMetadata() {
if (metadataBuilder_ == null) {
@@ -40738,11 +42156,11 @@ public Builder setMetadata(io.kubernetes.client.proto.Meta.ObjectMeta value) {
throw new NullPointerException();
}
metadata_ = value;
+ onChanged();
} else {
metadataBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
- onChanged();
return this;
}
/**
@@ -40758,11 +42176,11 @@ public Builder setMetadata(
io.kubernetes.client.proto.Meta.ObjectMeta.Builder builderForValue) {
if (metadataBuilder_ == null) {
metadata_ = builderForValue.build();
+ onChanged();
} else {
metadataBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
- onChanged();
return this;
}
/**
@@ -40776,20 +42194,19 @@ public Builder setMetadata(
*/
public Builder mergeMetadata(io.kubernetes.client.proto.Meta.ObjectMeta value) {
if (metadataBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0) &&
- metadata_ != null &&
- metadata_ != io.kubernetes.client.proto.Meta.ObjectMeta.getDefaultInstance()) {
- getMetadataBuilder().mergeFrom(value);
+ if (((bitField0_ & 0x00000001) == 0x00000001) &&
+ metadata_ != null &&
+ metadata_ != io.kubernetes.client.proto.Meta.ObjectMeta.getDefaultInstance()) {
+ metadata_ =
+ io.kubernetes.client.proto.Meta.ObjectMeta.newBuilder(metadata_).mergeFrom(value).buildPartial();
} else {
metadata_ = value;
}
+ onChanged();
} else {
metadataBuilder_.mergeFrom(value);
}
- if (metadata_ != null) {
- bitField0_ |= 0x00000001;
- onChanged();
- }
+ bitField0_ |= 0x00000001;
return this;
}
/**
@@ -40802,13 +42219,13 @@ public Builder mergeMetadata(io.kubernetes.client.proto.Meta.ObjectMeta value) {
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
*/
public Builder clearMetadata() {
- bitField0_ = (bitField0_ & ~0x00000001);
- metadata_ = null;
- if (metadataBuilder_ != null) {
- metadataBuilder_.dispose();
- metadataBuilder_ = null;
+ if (metadataBuilder_ == null) {
+ metadata_ = null;
+ onChanged();
+ } else {
+ metadataBuilder_.clear();
}
- onChanged();
+ bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
@@ -40851,11 +42268,11 @@ public io.kubernetes.client.proto.Meta.ObjectMetaOrBuilder getMetadataOrBuilder(
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
*/
- private com.google.protobuf.SingleFieldBuilder<
+ private com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.Meta.ObjectMeta, io.kubernetes.client.proto.Meta.ObjectMeta.Builder, io.kubernetes.client.proto.Meta.ObjectMetaOrBuilder>
getMetadataFieldBuilder() {
if (metadataBuilder_ == null) {
- metadataBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+ metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.Meta.ObjectMeta, io.kubernetes.client.proto.Meta.ObjectMeta.Builder, io.kubernetes.client.proto.Meta.ObjectMetaOrBuilder>(
getMetadata(),
getParentForChildren(),
@@ -40864,6 +42281,18 @@ public io.kubernetes.client.proto.Meta.ObjectMetaOrBuilder getMetadataOrBuilder(
}
return metadataBuilder_;
}
+ @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.PartialObjectMetadata)
}
@@ -40878,25 +42307,14 @@ public static io.kubernetes.client.proto.Meta.PartialObjectMetadata getDefaultIn
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parseroptional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
- * @return Whether the metadata field is set.
*/
boolean hasMetadata();
/**
@@ -40939,7 +42356,6 @@ public interface PartialObjectMetadataListOrBuilder extends
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
- * @return The metadata.
*/
io.kubernetes.client.proto.Meta.ListMeta getMetadata();
/**
@@ -41005,35 +42421,94 @@ io.kubernetes.client.proto.Meta.PartialObjectMetadataOrBuilder getItemsOrBuilder
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadataList}
*/
- public static final class PartialObjectMetadataList extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class PartialObjectMetadataList extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadataList)
PartialObjectMetadataListOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- PartialObjectMetadataList.class.getName());
- }
// Use PartialObjectMetadataList.newBuilder() to construct.
- private PartialObjectMetadataList(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private PartialObjectMetadataList(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PartialObjectMetadataList() {
items_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private PartialObjectMetadataList(
+ 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: {
+ 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 18: {
+ if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
+ items_ = new java.util.ArrayListoptional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
- * @return Whether the metadata field is set.
*/
- @java.lang.Override
public boolean hasMetadata() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -41065,9 +42538,7 @@ public boolean hasMetadata() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
- * @return The metadata.
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.ListMeta getMetadata() {
return metadata_ == null ? io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance() : metadata_;
}
@@ -41080,13 +42551,11 @@ public io.kubernetes.client.proto.Meta.ListMeta getMetadata() {
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
*/
- @java.lang.Override
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;
- @SuppressWarnings("serial")
private java.util.List
@@ -41095,7 +42564,6 @@ public io.kubernetes.client.proto.Meta.ListMetaOrBuilder getMetadataOrBuilder()
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2;
*/
- @java.lang.Override
public java.util.List getItemsList() {
return items_;
}
@@ -41106,7 +42574,6 @@ public java.util.List get
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2;
*/
- @java.lang.Override
public java.util.List extends io.kubernetes.client.proto.Meta.PartialObjectMetadataOrBuilder>
getItemsOrBuilderList() {
return items_;
@@ -41118,7 +42585,6 @@ public java.util.List get
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2;
*/
- @java.lang.Override
public int getItemsCount() {
return items_.size();
}
@@ -41129,7 +42595,6 @@ public int getItemsCount() {
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.PartialObjectMetadata getItems(int index) {
return items_.get(index);
}
@@ -41140,7 +42605,6 @@ public io.kubernetes.client.proto.Meta.PartialObjectMetadata getItems(int index)
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.PartialObjectMetadataOrBuilder getItemsOrBuilder(
int index) {
return items_.get(index);
@@ -41160,13 +42624,13 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, getMetadata());
}
for (int i = 0; i < items_.size(); i++) {
output.writeMessage(2, items_.get(i));
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -41175,7 +42639,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getMetadata());
}
@@ -41183,7 +42647,7 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, items_.get(i));
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -41198,15 +42662,16 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.PartialObjectMetadataList other = (io.kubernetes.client.proto.Meta.PartialObjectMetadataList) obj;
- if (hasMetadata() != other.hasMetadata()) return false;
+ boolean result = true;
+ result = result && (hasMetadata() == other.hasMetadata());
if (hasMetadata()) {
- if (!getMetadata()
- .equals(other.getMetadata())) return false;
+ result = result && getMetadata()
+ .equals(other.getMetadata());
}
- if (!getItemsList()
- .equals(other.getItemsList())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && getItemsList()
+ .equals(other.getItemsList());
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -41224,7 +42689,7 @@ public int hashCode() {
hash = (37 * hash) + ITEMS_FIELD_NUMBER;
hash = (53 * hash) + getItemsList().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -41263,41 +42728,39 @@ public static io.kubernetes.client.proto.Meta.PartialObjectMetadataList parseFro
}
public static io.kubernetes.client.proto.Meta.PartialObjectMetadataList parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.PartialObjectMetadataList parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.PartialObjectMetadataList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
public static io.kubernetes.client.proto.Meta.PartialObjectMetadataList parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.PartialObjectMetadataList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.PartialObjectMetadataList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -41317,7 +42780,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -41330,7 +42793,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadataList}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder implements
+ com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadataList)
io.kubernetes.client.proto.Meta.PartialObjectMetadataListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
@@ -41339,7 +42802,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_PartialObjectMetadataList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -41352,12 +42815,12 @@ private Builder() {
}
private Builder(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessage
+ if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getMetadataFieldBuilder();
getItemsFieldBuilder();
@@ -41366,19 +42829,18 @@ private void maybeForceBuilderInitialization() {
@java.lang.Override
public Builder clear() {
super.clear();
- bitField0_ = 0;
- metadata_ = null;
- if (metadataBuilder_ != null) {
- metadataBuilder_.dispose();
- metadataBuilder_ = null;
+ if (metadataBuilder_ == null) {
+ metadata_ = null;
+ } else {
+ metadataBuilder_.clear();
}
+ bitField0_ = (bitField0_ & ~0x00000001);
if (itemsBuilder_ == null) {
items_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
- items_ = null;
itemsBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@@ -41405,15 +42867,18 @@ public io.kubernetes.client.proto.Meta.PartialObjectMetadataList build() {
@java.lang.Override
public io.kubernetes.client.proto.Meta.PartialObjectMetadataList buildPartial() {
io.kubernetes.client.proto.Meta.PartialObjectMetadataList result = new io.kubernetes.client.proto.Meta.PartialObjectMetadataList(this);
- buildPartialRepeatedFields(result);
- if (bitField0_ != 0) { buildPartial0(result); }
- onBuilt();
- return result;
- }
-
- private void buildPartialRepeatedFields(io.kubernetes.client.proto.Meta.PartialObjectMetadataList result) {
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ to_bitField0_ |= 0x00000001;
+ }
+ if (metadataBuilder_ == null) {
+ result.metadata_ = metadata_;
+ } else {
+ result.metadata_ = metadataBuilder_.build();
+ }
if (itemsBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
items_ = java.util.Collections.unmodifiableList(items_);
bitField0_ = (bitField0_ & ~0x00000002);
}
@@ -41421,20 +42886,43 @@ private void buildPartialRepeatedFields(io.kubernetes.client.proto.Meta.PartialO
} else {
result.items_ = itemsBuilder_.build();
}
+ result.bitField0_ = to_bitField0_;
+ onBuilt();
+ return result;
}
- private void buildPartial0(io.kubernetes.client.proto.Meta.PartialObjectMetadataList result) {
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.metadata_ = metadataBuilder_ == null
- ? metadata_
- : metadataBuilder_.build();
- to_bitField0_ |= 0x00000001;
- }
- result.bitField0_ |= to_bitField0_;
+ @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.PartialObjectMetadataList) {
@@ -41469,14 +42957,14 @@ public Builder mergeFrom(io.kubernetes.client.proto.Meta.PartialObjectMetadataLi
items_ = other.items_;
bitField0_ = (bitField0_ & ~0x00000002);
itemsBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getItemsFieldBuilder() : null;
} else {
itemsBuilder_.addAllMessages(other.items_);
}
}
}
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -41491,56 +42979,23 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.kubernetes.client.proto.Meta.PartialObjectMetadataList parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- input.readMessage(
- getMetadataFieldBuilder().getBuilder(),
- extensionRegistry);
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- case 18: {
- io.kubernetes.client.proto.Meta.PartialObjectMetadata m =
- input.readMessage(
- io.kubernetes.client.proto.Meta.PartialObjectMetadata.parser(),
- extensionRegistry);
- if (itemsBuilder_ == null) {
- ensureItemsIsMutable();
- items_.add(m);
- } else {
- itemsBuilder_.addMessage(m);
- }
- break;
- } // case 18
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.kubernetes.client.proto.Meta.PartialObjectMetadataList) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // finally
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
return this;
}
private int bitField0_;
- private io.kubernetes.client.proto.Meta.ListMeta metadata_;
- private com.google.protobuf.SingleFieldBuilder<
+ 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_;
/**
*
@@ -41550,10 +43005,9 @@ public Builder mergeFrom(
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
- * @return Whether the metadata field is set.
*/
public boolean hasMetadata() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -41563,7 +43017,6 @@ public boolean hasMetadata() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
- * @return The metadata.
*/
public io.kubernetes.client.proto.Meta.ListMeta getMetadata() {
if (metadataBuilder_ == null) {
@@ -41587,11 +43040,11 @@ public Builder setMetadata(io.kubernetes.client.proto.Meta.ListMeta value) {
throw new NullPointerException();
}
metadata_ = value;
+ onChanged();
} else {
metadataBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
- onChanged();
return this;
}
/**
@@ -41607,11 +43060,11 @@ 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;
- onChanged();
return this;
}
/**
@@ -41625,20 +43078,19 @@ public Builder setMetadata(
*/
public Builder mergeMetadata(io.kubernetes.client.proto.Meta.ListMeta value) {
if (metadataBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0) &&
- metadata_ != null &&
- metadata_ != io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance()) {
- getMetadataBuilder().mergeFrom(value);
+ 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);
}
- if (metadata_ != null) {
- bitField0_ |= 0x00000001;
- onChanged();
- }
+ bitField0_ |= 0x00000001;
return this;
}
/**
@@ -41651,13 +43103,13 @@ public Builder mergeMetadata(io.kubernetes.client.proto.Meta.ListMeta value) {
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
*/
public Builder clearMetadata() {
- bitField0_ = (bitField0_ & ~0x00000001);
- metadata_ = null;
- if (metadataBuilder_ != null) {
- metadataBuilder_.dispose();
- metadataBuilder_ = null;
+ if (metadataBuilder_ == null) {
+ metadata_ = null;
+ onChanged();
+ } else {
+ metadataBuilder_.clear();
}
- onChanged();
+ bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
@@ -41700,11 +43152,11 @@ public io.kubernetes.client.proto.Meta.ListMetaOrBuilder getMetadataOrBuilder()
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
*/
- private com.google.protobuf.SingleFieldBuilder<
+ 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.SingleFieldBuilder<
+ 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(),
@@ -41717,13 +43169,13 @@ public io.kubernetes.client.proto.Meta.ListMetaOrBuilder getMetadataOrBuilder()
private java.util.List items_ =
java.util.Collections.emptyList();
private void ensureItemsIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000002) == 0x00000002)) {
items_ = new java.util.ArrayList(items_);
bitField0_ |= 0x00000002;
}
}
- private com.google.protobuf.RepeatedFieldBuilder<
+ private com.google.protobuf.RepeatedFieldBuilderV3<
io.kubernetes.client.proto.Meta.PartialObjectMetadata, io.kubernetes.client.proto.Meta.PartialObjectMetadata.Builder, io.kubernetes.client.proto.Meta.PartialObjectMetadataOrBuilder> itemsBuilder_;
/**
@@ -42011,20 +43463,32 @@ public io.kubernetes.client.proto.Meta.PartialObjectMetadata.Builder addItemsBui
getItemsBuilderList() {
return getItemsFieldBuilder().getBuilderList();
}
- private com.google.protobuf.RepeatedFieldBuilder<
+ private com.google.protobuf.RepeatedFieldBuilderV3<
io.kubernetes.client.proto.Meta.PartialObjectMetadata, io.kubernetes.client.proto.Meta.PartialObjectMetadata.Builder, io.kubernetes.client.proto.Meta.PartialObjectMetadataOrBuilder>
getItemsFieldBuilder() {
if (itemsBuilder_ == null) {
- itemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
+ itemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
io.kubernetes.client.proto.Meta.PartialObjectMetadata, io.kubernetes.client.proto.Meta.PartialObjectMetadata.Builder, io.kubernetes.client.proto.Meta.PartialObjectMetadataOrBuilder>(
items_,
- ((bitField0_ & 0x00000002) != 0),
+ ((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.PartialObjectMetadataList)
}
@@ -42039,25 +43503,14 @@ public static io.kubernetes.client.proto.Meta.PartialObjectMetadataList getDefau
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser
+ @java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PartialObjectMetadataList parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- Builder builder = newBuilder();
- try {
- builder.mergeFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(builder.buildPartial());
- } catch (com.google.protobuf.UninitializedMessageException e) {
- throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(e)
- .setUnfinishedMessage(builder.buildPartial());
- }
- return builder.buildPartial();
+ return new PartialObjectMetadataList(input, extensionRegistry);
}
};
@@ -42088,34 +43541,67 @@ public interface PatchOrBuilder extends
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Patch}
*/
- public static final class Patch extends
- com.google.protobuf.GeneratedMessage implements
+ 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;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- Patch.class.getName());
- }
// Use Patch.newBuilder() to construct.
- private Patch(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ 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.GeneratedMessage.FieldAccessorTable
+ 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(
@@ -42136,7 +43622,7 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -42145,7 +43631,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -42160,8 +43646,9 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.Patch other = (io.kubernetes.client.proto.Meta.Patch) obj;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ boolean result = true;
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -42171,7 +43658,7 @@ public int hashCode() {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -42210,41 +43697,39 @@ public static io.kubernetes.client.proto.Meta.Patch parseFrom(
}
public static io.kubernetes.client.proto.Meta.Patch parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ 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.GeneratedMessage
+ 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.GeneratedMessage
+ 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.GeneratedMessage
+ 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.GeneratedMessage
+ 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.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -42264,7 +43749,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -42276,7 +43761,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Patch}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder implements
+ 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
@@ -42285,7 +43770,7 @@ public static final class Builder extends
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ 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(
@@ -42294,13 +43779,18 @@ public static final class Builder extends
// Construct using io.kubernetes.client.proto.Meta.Patch.newBuilder()
private Builder() {
-
+ maybeForceBuilderInitialization();
}
private Builder(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
-
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3
+ .alwaysUseFieldBuilders) {
+ }
}
@java.lang.Override
public Builder clear() {
@@ -42335,6 +43825,38 @@ public io.kubernetes.client.proto.Meta.Patch 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.Patch) {
@@ -42347,7 +43869,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
public Builder mergeFrom(io.kubernetes.client.proto.Meta.Patch other) {
if (other == io.kubernetes.client.proto.Meta.Patch.getDefaultInstance()) return this;
- this.mergeUnknownFields(other.getUnknownFields());
+ this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@@ -42362,32 +43884,31 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
+ io.kubernetes.client.proto.Meta.Patch parsedMessage = null;
try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (io.kubernetes.client.proto.Meta.Patch) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
- onChanged();
- } // 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)
}
@@ -42402,25 +43923,14 @@ public static io.kubernetes.client.proto.Meta.Patch getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser
+ @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 {
- Builder builder = newBuilder();
- try {
- builder.mergeFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(builder.buildPartial());
- } catch (com.google.protobuf.UninitializedMessageException e) {
- throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(e)
- .setUnfinishedMessage(builder.buildPartial());
- }
- return builder.buildPartial();
+ return new Patch(input, extensionRegistry);
}
};
@@ -42456,7 +43966,6 @@ public interface PatchOptionsOrBuilder extends
*
*
* repeated string dryRun = 1;
- * @return A list containing the dryRun.
*/
java.util.Listrepeated string dryRun = 1;
- * @return The count of dryRun.
*/
int getDryRunCount();
/**
@@ -42487,8 +43995,6 @@ public interface PatchOptionsOrBuilder extends
*
*
* repeated string dryRun = 1;
- * @param index The index of the element to return.
- * @return The dryRun at the given index.
*/
java.lang.String getDryRun(int index);
/**
@@ -42503,8 +44009,6 @@ public interface PatchOptionsOrBuilder extends
*
*
* repeated string dryRun = 1;
- * @param index The index of the value to return.
- * @return The bytes of the dryRun at the given index.
*/
com.google.protobuf.ByteString
getDryRunBytes(int index);
@@ -42518,7 +44022,6 @@ public interface PatchOptionsOrBuilder extends
*
*
* optional bool force = 2;
- * @return Whether the force field is set.
*/
boolean hasForce();
/**
@@ -42530,7 +44033,6 @@ public interface PatchOptionsOrBuilder extends
*
*
* optional bool force = 2;
- * @return The force.
*/
boolean getForce();
@@ -42547,7 +44049,6 @@ public interface PatchOptionsOrBuilder extends
*
*
* optional string fieldManager = 3;
- * @return Whether the fieldManager field is set.
*/
boolean hasFieldManager();
/**
@@ -42563,7 +44064,6 @@ public interface PatchOptionsOrBuilder extends
*
*
* optional string fieldManager = 3;
- * @return The fieldManager.
*/
java.lang.String getFieldManager();
/**
@@ -42579,7 +44079,6 @@ public interface PatchOptionsOrBuilder extends
*
*
* optional string fieldManager = 3;
- * @return The bytes for fieldManager.
*/
com.google.protobuf.ByteString
getFieldManagerBytes();
@@ -42606,7 +44105,6 @@ public interface PatchOptionsOrBuilder extends
*
*
* optional string fieldValidation = 4;
- * @return Whether the fieldValidation field is set.
*/
boolean hasFieldValidation();
/**
@@ -42631,7 +44129,6 @@ public interface PatchOptionsOrBuilder extends
*
*
* optional string fieldValidation = 4;
- * @return The fieldValidation.
*/
java.lang.String getFieldValidation();
/**
@@ -42656,7 +44153,6 @@ public interface PatchOptionsOrBuilder extends
*
*
* optional string fieldValidation = 4;
- * @return The bytes for fieldValidation.
*/
com.google.protobuf.ByteString
getFieldValidationBytes();
@@ -42669,38 +44165,101 @@ public interface PatchOptionsOrBuilder extends
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.PatchOptions}
*/
- public static final class PatchOptions extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class PatchOptions extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.PatchOptions)
PatchOptionsOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- PatchOptions.class.getName());
- }
// Use PatchOptions.newBuilder() to construct.
- private PatchOptions(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private PatchOptions(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PatchOptions() {
- dryRun_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
+ dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ force_ = false;
fieldManager_ = "";
fieldValidation_ = "";
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private PatchOptions(
+ 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();
+ if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
+ dryRun_ = new com.google.protobuf.LazyStringArrayList();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ dryRun_.add(bs);
+ break;
+ }
+ case 16: {
+ bitField0_ |= 0x00000001;
+ force_ = input.readBool();
+ break;
+ }
+ case 26: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000002;
+ fieldManager_ = bs;
+ break;
+ }
+ case 34: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000004;
+ fieldValidation_ = 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 {
+ 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_PatchOptions_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_PatchOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -42709,9 +44268,7 @@ private PatchOptions() {
private int bitField0_;
public static final int DRYRUN_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private com.google.protobuf.LazyStringArrayList dryRun_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
+ private com.google.protobuf.LazyStringList dryRun_;
/**
*
* When present, indicates that modifications should not be
@@ -42724,7 +44281,6 @@ private PatchOptions() {
*
*
* repeated string dryRun = 1;
- * @return A list containing the dryRun.
*/
public com.google.protobuf.ProtocolStringList
getDryRunList() {
@@ -42742,7 +44298,6 @@ private PatchOptions() {
*
*
* repeated string dryRun = 1;
- * @return The count of dryRun.
*/
public int getDryRunCount() {
return dryRun_.size();
@@ -42759,8 +44314,6 @@ public int getDryRunCount() {
*
*
* repeated string dryRun = 1;
- * @param index The index of the element to return.
- * @return The dryRun at the given index.
*/
public java.lang.String getDryRun(int index) {
return dryRun_.get(index);
@@ -42777,8 +44330,6 @@ public java.lang.String getDryRun(int index) {
*
*
* repeated string dryRun = 1;
- * @param index The index of the value to return.
- * @return The bytes of the dryRun at the given index.
*/
public com.google.protobuf.ByteString
getDryRunBytes(int index) {
@@ -42786,7 +44337,7 @@ public java.lang.String getDryRun(int index) {
}
public static final int FORCE_FIELD_NUMBER = 2;
- private boolean force_ = false;
+ private boolean force_;
/**
*
* Force is going to "force" Apply requests. It means user will
@@ -42796,11 +44347,9 @@ public java.lang.String getDryRun(int index) {
*
*
* optional bool force = 2;
- * @return Whether the force field is set.
*/
- @java.lang.Override
public boolean hasForce() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -42811,16 +44360,13 @@ public boolean hasForce() {
*
*
* optional bool force = 2;
- * @return The force.
*/
- @java.lang.Override
public boolean getForce() {
return force_;
}
public static final int FIELDMANAGER_FIELD_NUMBER = 3;
- @SuppressWarnings("serial")
- private volatile java.lang.Object fieldManager_ = "";
+ private volatile java.lang.Object fieldManager_;
/**
*
* fieldManager is a name associated with the actor or entity
@@ -42834,11 +44380,9 @@ public boolean getForce() {
*
*
* optional string fieldManager = 3;
- * @return Whether the fieldManager field is set.
*/
- @java.lang.Override
public boolean hasFieldManager() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -42853,9 +44397,7 @@ public boolean hasFieldManager() {
*
*
* optional string fieldManager = 3;
- * @return The fieldManager.
*/
- @java.lang.Override
public java.lang.String getFieldManager() {
java.lang.Object ref = fieldManager_;
if (ref instanceof java.lang.String) {
@@ -42883,9 +44425,7 @@ public java.lang.String getFieldManager() {
*
*
* optional string fieldManager = 3;
- * @return The bytes for fieldManager.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getFieldManagerBytes() {
java.lang.Object ref = fieldManager_;
@@ -42901,8 +44441,7 @@ public java.lang.String getFieldManager() {
}
public static final int FIELDVALIDATION_FIELD_NUMBER = 4;
- @SuppressWarnings("serial")
- private volatile java.lang.Object fieldValidation_ = "";
+ private volatile java.lang.Object fieldValidation_;
/**
*
* fieldValidation instructs the server on how to handle
@@ -42925,11 +44464,9 @@ public java.lang.String getFieldManager() {
*
*
* optional string fieldValidation = 4;
- * @return Whether the fieldValidation field is set.
*/
- @java.lang.Override
public boolean hasFieldValidation() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
@@ -42953,9 +44490,7 @@ public boolean hasFieldValidation() {
*
*
* optional string fieldValidation = 4;
- * @return The fieldValidation.
*/
- @java.lang.Override
public java.lang.String getFieldValidation() {
java.lang.Object ref = fieldValidation_;
if (ref instanceof java.lang.String) {
@@ -42992,9 +44527,7 @@ public java.lang.String getFieldValidation() {
*
*
* optional string fieldValidation = 4;
- * @return The bytes for fieldValidation.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getFieldValidationBytes() {
java.lang.Object ref = fieldValidation_;
@@ -43024,18 +44557,18 @@ public final boolean isInitialized() {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < dryRun_.size(); i++) {
- com.google.protobuf.GeneratedMessage.writeString(output, 1, dryRun_.getRaw(i));
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dryRun_.getRaw(i));
}
- if (((bitField0_ & 0x00000001) != 0)) {
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBool(2, force_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 3, fieldManager_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, fieldManager_);
}
- if (((bitField0_ & 0x00000004) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 4, fieldValidation_);
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, fieldValidation_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -43052,17 +44585,17 @@ public int getSerializedSize() {
size += dataSize;
size += 1 * getDryRunList().size();
}
- if (((bitField0_ & 0x00000001) != 0)) {
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, force_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(3, fieldManager_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, fieldManager_);
}
- if (((bitField0_ & 0x00000004) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(4, fieldValidation_);
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, fieldValidation_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -43077,25 +44610,26 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.PatchOptions other = (io.kubernetes.client.proto.Meta.PatchOptions) obj;
- if (!getDryRunList()
- .equals(other.getDryRunList())) return false;
- if (hasForce() != other.hasForce()) return false;
+ boolean result = true;
+ result = result && getDryRunList()
+ .equals(other.getDryRunList());
+ result = result && (hasForce() == other.hasForce());
if (hasForce()) {
- if (getForce()
- != other.getForce()) return false;
+ result = result && (getForce()
+ == other.getForce());
}
- if (hasFieldManager() != other.hasFieldManager()) return false;
+ result = result && (hasFieldManager() == other.hasFieldManager());
if (hasFieldManager()) {
- if (!getFieldManager()
- .equals(other.getFieldManager())) return false;
+ result = result && getFieldManager()
+ .equals(other.getFieldManager());
}
- if (hasFieldValidation() != other.hasFieldValidation()) return false;
+ result = result && (hasFieldValidation() == other.hasFieldValidation());
if (hasFieldValidation()) {
- if (!getFieldValidation()
- .equals(other.getFieldValidation())) return false;
+ result = result && getFieldValidation()
+ .equals(other.getFieldValidation());
}
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -43122,7 +44656,7 @@ public int hashCode() {
hash = (37 * hash) + FIELDVALIDATION_FIELD_NUMBER;
hash = (53 * hash) + getFieldValidation().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -43161,41 +44695,39 @@ public static io.kubernetes.client.proto.Meta.PatchOptions parseFrom(
}
public static io.kubernetes.client.proto.Meta.PatchOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.PatchOptions parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.PatchOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
public static io.kubernetes.client.proto.Meta.PatchOptions parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.PatchOptions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.PatchOptions parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -43215,7 +44747,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -43228,7 +44760,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.PatchOptions}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
@@ -43435,12 +44968,10 @@ private void ensureDryRunIsMutable() {
*
*
* repeated string dryRun = 1;
- * @return A list containing the dryRun.
*/
public com.google.protobuf.ProtocolStringList
getDryRunList() {
- dryRun_.makeImmutable();
- return dryRun_;
+ return dryRun_.getUnmodifiableView();
}
/**
*
@@ -43454,7 +44985,6 @@ private void ensureDryRunIsMutable() {
*
*
* repeated string dryRun = 1;
- * @return The count of dryRun.
*/
public int getDryRunCount() {
return dryRun_.size();
@@ -43471,8 +45001,6 @@ public int getDryRunCount() {
*
*
* repeated string dryRun = 1;
- * @param index The index of the element to return.
- * @return The dryRun at the given index.
*/
public java.lang.String getDryRun(int index) {
return dryRun_.get(index);
@@ -43489,8 +45017,6 @@ public java.lang.String getDryRun(int index) {
*
*
* repeated string dryRun = 1;
- * @param index The index of the value to return.
- * @return The bytes of the dryRun at the given index.
*/
public com.google.protobuf.ByteString
getDryRunBytes(int index) {
@@ -43508,16 +45034,14 @@ public java.lang.String getDryRun(int index) {
*
*
* repeated string dryRun = 1;
- * @param index The index to set the value at.
- * @param value The dryRun to set.
- * @return This builder for chaining.
*/
public Builder setDryRun(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureDryRunIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDryRunIsMutable();
dryRun_.set(index, value);
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -43533,15 +45057,14 @@ public Builder setDryRun(
*
*
* repeated string dryRun = 1;
- * @param value The dryRun to add.
- * @return This builder for chaining.
*/
public Builder addDryRun(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureDryRunIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDryRunIsMutable();
dryRun_.add(value);
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -43557,15 +45080,12 @@ public Builder addDryRun(
*
*
* repeated string dryRun = 1;
- * @param values The dryRun to add.
- * @return This builder for chaining.
*/
public Builder addAllDryRun(
java.lang.Iterablerepeated string dryRun = 1;
- * @return This builder for chaining.
*/
public Builder clearDryRun() {
- dryRun_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);;
+ dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -43602,15 +45120,14 @@ public Builder clearDryRun() {
*
*
* repeated string dryRun = 1;
- * @param value The bytes of the dryRun to add.
- * @return This builder for chaining.
*/
public Builder addDryRunBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- ensureDryRunIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDryRunIsMutable();
dryRun_.add(value);
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -43625,11 +45142,9 @@ public Builder addDryRunBytes(
*
*
* optional bool force = 2;
- * @return Whether the force field is set.
*/
- @java.lang.Override
public boolean hasForce() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -43640,9 +45155,7 @@ public boolean hasForce() {
*
*
* optional bool force = 2;
- * @return The force.
*/
- @java.lang.Override
public boolean getForce() {
return force_;
}
@@ -43655,13 +45168,10 @@ public boolean getForce() {
*
*
* optional bool force = 2;
- * @param value The force to set.
- * @return This builder for chaining.
*/
public Builder setForce(boolean value) {
-
- force_ = value;
bitField0_ |= 0x00000002;
+ force_ = value;
onChanged();
return this;
}
@@ -43674,7 +45184,6 @@ public Builder setForce(boolean value) {
*
*
* optional bool force = 2;
- * @return This builder for chaining.
*/
public Builder clearForce() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -43697,10 +45206,9 @@ public Builder clearForce() {
*
*
* optional string fieldManager = 3;
- * @return Whether the fieldManager field is set.
*/
public boolean hasFieldManager() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
@@ -43715,7 +45223,6 @@ public boolean hasFieldManager() {
*
*
* optional string fieldManager = 3;
- * @return The fieldManager.
*/
public java.lang.String getFieldManager() {
java.lang.Object ref = fieldManager_;
@@ -43744,7 +45251,6 @@ public java.lang.String getFieldManager() {
*
*
* optional string fieldManager = 3;
- * @return The bytes for fieldManager.
*/
public com.google.protobuf.ByteString
getFieldManagerBytes() {
@@ -43772,14 +45278,14 @@ public java.lang.String getFieldManager() {
*
*
* optional string fieldManager = 3;
- * @param value The fieldManager to set.
- * @return This builder for chaining.
*/
public Builder setFieldManager(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
fieldManager_ = value;
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -43796,11 +45302,10 @@ public Builder setFieldManager(
*
*
* optional string fieldManager = 3;
- * @return This builder for chaining.
*/
public Builder clearFieldManager() {
- fieldManager_ = getDefaultInstance().getFieldManager();
bitField0_ = (bitField0_ & ~0x00000004);
+ fieldManager_ = getDefaultInstance().getFieldManager();
onChanged();
return this;
}
@@ -43817,14 +45322,14 @@ public Builder clearFieldManager() {
*
*
* optional string fieldManager = 3;
- * @param value The bytes for fieldManager to set.
- * @return This builder for chaining.
*/
public Builder setFieldManagerBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
fieldManager_ = value;
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -43852,10 +45357,9 @@ public Builder setFieldManagerBytes(
*
*
* optional string fieldValidation = 4;
- * @return Whether the fieldValidation field is set.
*/
public boolean hasFieldValidation() {
- return ((bitField0_ & 0x00000008) != 0);
+ return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
@@ -43879,7 +45383,6 @@ public boolean hasFieldValidation() {
*
*
* optional string fieldValidation = 4;
- * @return The fieldValidation.
*/
public java.lang.String getFieldValidation() {
java.lang.Object ref = fieldValidation_;
@@ -43917,7 +45420,6 @@ public java.lang.String getFieldValidation() {
*
*
* optional string fieldValidation = 4;
- * @return The bytes for fieldValidation.
*/
public com.google.protobuf.ByteString
getFieldValidationBytes() {
@@ -43954,14 +45456,14 @@ public java.lang.String getFieldValidation() {
*
*
* optional string fieldValidation = 4;
- * @param value The fieldValidation to set.
- * @return This builder for chaining.
*/
public Builder setFieldValidation(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000008;
fieldValidation_ = value;
- bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -43987,11 +45489,10 @@ public Builder setFieldValidation(
*
*
* optional string fieldValidation = 4;
- * @return This builder for chaining.
*/
public Builder clearFieldValidation() {
- fieldValidation_ = getDefaultInstance().getFieldValidation();
bitField0_ = (bitField0_ & ~0x00000008);
+ fieldValidation_ = getDefaultInstance().getFieldValidation();
onChanged();
return this;
}
@@ -44017,17 +45518,29 @@ public Builder clearFieldValidation() {
*
*
* optional string fieldValidation = 4;
- * @param value The bytes for fieldValidation to set.
- * @return This builder for chaining.
*/
public Builder setFieldValidationBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000008;
fieldValidation_ = value;
- bitField0_ |= 0x00000008;
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.PatchOptions)
}
@@ -44042,25 +45555,14 @@ public static io.kubernetes.client.proto.Meta.PatchOptions getDefaultInstance()
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parseroptional string uid = 1;
- * @return Whether the uid field is set.
*/
boolean hasUid();
/**
@@ -44101,7 +45602,6 @@ public interface PreconditionsOrBuilder extends
*
*
* optional string uid = 1;
- * @return The uid.
*/
java.lang.String getUid();
/**
@@ -44111,7 +45611,6 @@ public interface PreconditionsOrBuilder extends
*
*
* optional string uid = 1;
- * @return The bytes for uid.
*/
com.google.protobuf.ByteString
getUidBytes();
@@ -44123,7 +45622,6 @@ public interface PreconditionsOrBuilder extends
*
*
* optional string resourceVersion = 2;
- * @return Whether the resourceVersion field is set.
*/
boolean hasResourceVersion();
/**
@@ -44133,7 +45631,6 @@ public interface PreconditionsOrBuilder extends
*
*
* optional string resourceVersion = 2;
- * @return The resourceVersion.
*/
java.lang.String getResourceVersion();
/**
@@ -44143,7 +45640,6 @@ public interface PreconditionsOrBuilder extends
*
*
* optional string resourceVersion = 2;
- * @return The bytes for resourceVersion.
*/
com.google.protobuf.ByteString
getResourceVersionBytes();
@@ -44155,22 +45651,13 @@ public interface PreconditionsOrBuilder extends
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions}
*/
- public static final class Preconditions extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class Preconditions extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions)
PreconditionsOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- Preconditions.class.getName());
- }
// Use Preconditions.newBuilder() to construct.
- private Preconditions(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private Preconditions(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Preconditions() {
@@ -44178,13 +45665,68 @@ private Preconditions() {
resourceVersion_ = "";
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private Preconditions(
+ 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;
+ uid_ = bs;
+ break;
+ }
+ case 18: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000002;
+ resourceVersion_ = 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_Preconditions_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Preconditions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -44193,8 +45735,7 @@ private Preconditions() {
private int bitField0_;
public static final int UID_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object uid_ = "";
+ private volatile java.lang.Object uid_;
/**
*
* Specifies the target UID.
@@ -44202,11 +45743,9 @@ private Preconditions() {
*
*
* optional string uid = 1;
- * @return Whether the uid field is set.
*/
- @java.lang.Override
public boolean hasUid() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -44215,9 +45754,7 @@ public boolean hasUid() {
*
*
* optional string uid = 1;
- * @return The uid.
*/
- @java.lang.Override
public java.lang.String getUid() {
java.lang.Object ref = uid_;
if (ref instanceof java.lang.String) {
@@ -44239,9 +45776,7 @@ public java.lang.String getUid() {
*
*
* optional string uid = 1;
- * @return The bytes for uid.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getUidBytes() {
java.lang.Object ref = uid_;
@@ -44257,8 +45792,7 @@ public java.lang.String getUid() {
}
public static final int RESOURCEVERSION_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private volatile java.lang.Object resourceVersion_ = "";
+ private volatile java.lang.Object resourceVersion_;
/**
*
* Specifies the target ResourceVersion
@@ -44266,11 +45800,9 @@ public java.lang.String getUid() {
*
*
* optional string resourceVersion = 2;
- * @return Whether the resourceVersion field is set.
*/
- @java.lang.Override
public boolean hasResourceVersion() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -44279,9 +45811,7 @@ public boolean hasResourceVersion() {
*
*
* optional string resourceVersion = 2;
- * @return The resourceVersion.
*/
- @java.lang.Override
public java.lang.String getResourceVersion() {
java.lang.Object ref = resourceVersion_;
if (ref instanceof java.lang.String) {
@@ -44303,9 +45833,7 @@ public java.lang.String getResourceVersion() {
*
*
* optional string resourceVersion = 2;
- * @return The bytes for resourceVersion.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getResourceVersionBytes() {
java.lang.Object ref = resourceVersion_;
@@ -44334,13 +45862,13 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 1, uid_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uid_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 2, resourceVersion_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resourceVersion_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -44349,13 +45877,13 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(1, uid_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uid_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(2, resourceVersion_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceVersion_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -44370,18 +45898,19 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.Preconditions other = (io.kubernetes.client.proto.Meta.Preconditions) obj;
- if (hasUid() != other.hasUid()) return false;
+ boolean result = true;
+ result = result && (hasUid() == other.hasUid());
if (hasUid()) {
- if (!getUid()
- .equals(other.getUid())) return false;
+ result = result && getUid()
+ .equals(other.getUid());
}
- if (hasResourceVersion() != other.hasResourceVersion()) return false;
+ result = result && (hasResourceVersion() == other.hasResourceVersion());
if (hasResourceVersion()) {
- if (!getResourceVersion()
- .equals(other.getResourceVersion())) return false;
+ result = result && getResourceVersion()
+ .equals(other.getResourceVersion());
}
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -44399,7 +45928,7 @@ public int hashCode() {
hash = (37 * hash) + RESOURCEVERSION_FIELD_NUMBER;
hash = (53 * hash) + getResourceVersion().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -44438,41 +45967,39 @@ public static io.kubernetes.client.proto.Meta.Preconditions parseFrom(
}
public static io.kubernetes.client.proto.Meta.Preconditions parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.Preconditions parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.Preconditions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
public static io.kubernetes.client.proto.Meta.Preconditions parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.Preconditions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.Preconditions parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -44492,7 +46019,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -44504,7 +46031,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional string uid = 1;
- * @return Whether the uid field is set.
*/
public boolean hasUid() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -44676,7 +46213,6 @@ public boolean hasUid() {
*
*
* optional string uid = 1;
- * @return The uid.
*/
public java.lang.String getUid() {
java.lang.Object ref = uid_;
@@ -44699,7 +46235,6 @@ public java.lang.String getUid() {
*
*
* optional string uid = 1;
- * @return The bytes for uid.
*/
public com.google.protobuf.ByteString
getUidBytes() {
@@ -44721,14 +46256,14 @@ public java.lang.String getUid() {
*
*
* optional string uid = 1;
- * @param value The uid to set.
- * @return This builder for chaining.
*/
public Builder setUid(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
uid_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -44739,11 +46274,10 @@ public Builder setUid(
*
*
* optional string uid = 1;
- * @return This builder for chaining.
*/
public Builder clearUid() {
- uid_ = getDefaultInstance().getUid();
bitField0_ = (bitField0_ & ~0x00000001);
+ uid_ = getDefaultInstance().getUid();
onChanged();
return this;
}
@@ -44754,14 +46288,14 @@ public Builder clearUid() {
*
*
* optional string uid = 1;
- * @param value The bytes for uid to set.
- * @return This builder for chaining.
*/
public Builder setUidBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
uid_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -44774,10 +46308,9 @@ public Builder setUidBytes(
*
*
* optional string resourceVersion = 2;
- * @return Whether the resourceVersion field is set.
*/
public boolean hasResourceVersion() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -44786,7 +46319,6 @@ public boolean hasResourceVersion() {
*
*
* optional string resourceVersion = 2;
- * @return The resourceVersion.
*/
public java.lang.String getResourceVersion() {
java.lang.Object ref = resourceVersion_;
@@ -44809,7 +46341,6 @@ public java.lang.String getResourceVersion() {
*
*
* optional string resourceVersion = 2;
- * @return The bytes for resourceVersion.
*/
public com.google.protobuf.ByteString
getResourceVersionBytes() {
@@ -44831,14 +46362,14 @@ public java.lang.String getResourceVersion() {
*
*
* optional string resourceVersion = 2;
- * @param value The resourceVersion to set.
- * @return This builder for chaining.
*/
public Builder setResourceVersion(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
resourceVersion_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -44849,11 +46380,10 @@ public Builder setResourceVersion(
*
*
* optional string resourceVersion = 2;
- * @return This builder for chaining.
*/
public Builder clearResourceVersion() {
- resourceVersion_ = getDefaultInstance().getResourceVersion();
bitField0_ = (bitField0_ & ~0x00000002);
+ resourceVersion_ = getDefaultInstance().getResourceVersion();
onChanged();
return this;
}
@@ -44864,17 +46394,29 @@ public Builder clearResourceVersion() {
*
*
* optional string resourceVersion = 2;
- * @param value The bytes for resourceVersion to set.
- * @return This builder for chaining.
*/
public Builder setResourceVersionBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
resourceVersion_ = value;
- bitField0_ |= 0x00000002;
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.Preconditions)
}
@@ -44889,25 +46431,14 @@ public static io.kubernetes.client.proto.Meta.Preconditions getDefaultInstance()
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parserrepeated string paths = 1;
- * @return A list containing the paths.
*/
java.util.Listrepeated string paths = 1;
- * @return The count of paths.
*/
int getPathsCount();
/**
@@ -44959,8 +46488,6 @@ public interface RootPathsOrBuilder extends
*
*
* repeated string paths = 1;
- * @param index The index of the element to return.
- * @return The paths at the given index.
*/
java.lang.String getPaths(int index);
/**
@@ -44970,8 +46497,6 @@ public interface RootPathsOrBuilder extends
*
*
* repeated string paths = 1;
- * @param index The index of the value to return.
- * @return The bytes of the paths at the given index.
*/
com.google.protobuf.ByteString
getPathsBytes(int index);
@@ -44984,36 +46509,81 @@ public interface RootPathsOrBuilder extends
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.RootPaths}
*/
- public static final class RootPaths extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class RootPaths extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.RootPaths)
RootPathsOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- RootPaths.class.getName());
- }
// Use RootPaths.newBuilder() to construct.
- private RootPaths(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private RootPaths(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RootPaths() {
- paths_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
+ paths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private RootPaths(
+ 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();
+ if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
+ paths_ = new com.google.protobuf.LazyStringArrayList();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ paths_.add(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 {
+ if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
+ paths_ = paths_.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_RootPaths_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_RootPaths_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -45021,9 +46591,7 @@ private RootPaths() {
}
public static final int PATHS_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private com.google.protobuf.LazyStringArrayList paths_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
+ private com.google.protobuf.LazyStringList paths_;
/**
*
* paths are the paths available at root.
@@ -45031,7 +46599,6 @@ private RootPaths() {
*
*
* repeated string paths = 1;
- * @return A list containing the paths.
*/
public com.google.protobuf.ProtocolStringList
getPathsList() {
@@ -45044,7 +46611,6 @@ private RootPaths() {
*
*
* repeated string paths = 1;
- * @return The count of paths.
*/
public int getPathsCount() {
return paths_.size();
@@ -45056,8 +46622,6 @@ public int getPathsCount() {
*
*
* repeated string paths = 1;
- * @param index The index of the element to return.
- * @return The paths at the given index.
*/
public java.lang.String getPaths(int index) {
return paths_.get(index);
@@ -45069,8 +46633,6 @@ public java.lang.String getPaths(int index) {
*
*
* repeated string paths = 1;
- * @param index The index of the value to return.
- * @return The bytes of the paths at the given index.
*/
public com.google.protobuf.ByteString
getPathsBytes(int index) {
@@ -45092,9 +46654,9 @@ public final boolean isInitialized() {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < paths_.size(); i++) {
- com.google.protobuf.GeneratedMessage.writeString(output, 1, paths_.getRaw(i));
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, paths_.getRaw(i));
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -45111,7 +46673,7 @@ public int getSerializedSize() {
size += dataSize;
size += 1 * getPathsList().size();
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -45126,10 +46688,11 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.RootPaths other = (io.kubernetes.client.proto.Meta.RootPaths) obj;
- if (!getPathsList()
- .equals(other.getPathsList())) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ boolean result = true;
+ result = result && getPathsList()
+ .equals(other.getPathsList());
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -45143,7 +46706,7 @@ public int hashCode() {
hash = (37 * hash) + PATHS_FIELD_NUMBER;
hash = (53 * hash) + getPathsList().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -45182,41 +46745,39 @@ public static io.kubernetes.client.proto.Meta.RootPaths parseFrom(
}
public static io.kubernetes.client.proto.Meta.RootPaths parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.RootPaths parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.RootPaths parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
public static io.kubernetes.client.proto.Meta.RootPaths parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.RootPaths parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.RootPaths parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -45236,7 +46797,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -45249,7 +46810,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.RootPaths}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
@@ -45406,12 +46980,10 @@ private void ensurePathsIsMutable() {
*
*
* repeated string paths = 1;
- * @return A list containing the paths.
*/
public com.google.protobuf.ProtocolStringList
getPathsList() {
- paths_.makeImmutable();
- return paths_;
+ return paths_.getUnmodifiableView();
}
/**
*
@@ -45420,7 +46992,6 @@ private void ensurePathsIsMutable() {
*
*
* repeated string paths = 1;
- * @return The count of paths.
*/
public int getPathsCount() {
return paths_.size();
@@ -45432,8 +47003,6 @@ public int getPathsCount() {
*
*
* repeated string paths = 1;
- * @param index The index of the element to return.
- * @return The paths at the given index.
*/
public java.lang.String getPaths(int index) {
return paths_.get(index);
@@ -45445,8 +47014,6 @@ public java.lang.String getPaths(int index) {
*
*
* repeated string paths = 1;
- * @param index The index of the value to return.
- * @return The bytes of the paths at the given index.
*/
public com.google.protobuf.ByteString
getPathsBytes(int index) {
@@ -45459,16 +47026,14 @@ public java.lang.String getPaths(int index) {
*
*
* repeated string paths = 1;
- * @param index The index to set the value at.
- * @param value The paths to set.
- * @return This builder for chaining.
*/
public Builder setPaths(
int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensurePathsIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePathsIsMutable();
paths_.set(index, value);
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -45479,15 +47044,14 @@ public Builder setPaths(
*
*
* repeated string paths = 1;
- * @param value The paths to add.
- * @return This builder for chaining.
*/
public Builder addPaths(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensurePathsIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePathsIsMutable();
paths_.add(value);
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -45498,15 +47062,12 @@ public Builder addPaths(
*
*
* repeated string paths = 1;
- * @param values The paths to add.
- * @return This builder for chaining.
*/
public Builder addAllPaths(
java.lang.Iterablerepeated string paths = 1;
- * @return This builder for chaining.
*/
public Builder clearPaths() {
- paths_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);;
+ paths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -45533,18 +47092,29 @@ public Builder clearPaths() {
*
*
* repeated string paths = 1;
- * @param value The bytes of the paths to add.
- * @return This builder for chaining.
*/
public Builder addPathsBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- ensurePathsIsMutable();
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePathsIsMutable();
paths_.add(value);
- bitField0_ |= 0x00000001;
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.RootPaths)
}
@@ -45559,25 +47129,14 @@ public static io.kubernetes.client.proto.Meta.RootPaths getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parseroptional string clientCIDR = 1;
- * @return Whether the clientCIDR field is set.
*/
boolean hasClientCIDR();
/**
@@ -45616,7 +47174,6 @@ public interface ServerAddressByClientCIDROrBuilder extends
*
*
* optional string clientCIDR = 1;
- * @return The clientCIDR.
*/
java.lang.String getClientCIDR();
/**
@@ -45625,7 +47182,6 @@ public interface ServerAddressByClientCIDROrBuilder extends
*
*
* optional string clientCIDR = 1;
- * @return The bytes for clientCIDR.
*/
com.google.protobuf.ByteString
getClientCIDRBytes();
@@ -45637,7 +47193,6 @@ public interface ServerAddressByClientCIDROrBuilder extends
*
*
* optional string serverAddress = 2;
- * @return Whether the serverAddress field is set.
*/
boolean hasServerAddress();
/**
@@ -45647,7 +47202,6 @@ public interface ServerAddressByClientCIDROrBuilder extends
*
*
* optional string serverAddress = 2;
- * @return The serverAddress.
*/
java.lang.String getServerAddress();
/**
@@ -45657,7 +47211,6 @@ public interface ServerAddressByClientCIDROrBuilder extends
*
*
* optional string serverAddress = 2;
- * @return The bytes for serverAddress.
*/
com.google.protobuf.ByteString
getServerAddressBytes();
@@ -45669,22 +47222,13 @@ public interface ServerAddressByClientCIDROrBuilder extends
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR}
*/
- public static final class ServerAddressByClientCIDR extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class ServerAddressByClientCIDR extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR)
ServerAddressByClientCIDROrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- ServerAddressByClientCIDR.class.getName());
- }
// Use ServerAddressByClientCIDR.newBuilder() to construct.
- private ServerAddressByClientCIDR(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private ServerAddressByClientCIDR(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ServerAddressByClientCIDR() {
@@ -45692,13 +47236,68 @@ private ServerAddressByClientCIDR() {
serverAddress_ = "";
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private ServerAddressByClientCIDR(
+ 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;
+ clientCIDR_ = bs;
+ break;
+ }
+ case 18: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000002;
+ serverAddress_ = 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_ServerAddressByClientCIDR_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ServerAddressByClientCIDR_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -45707,19 +47306,16 @@ private ServerAddressByClientCIDR() {
private int bitField0_;
public static final int CLIENTCIDR_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object clientCIDR_ = "";
+ private volatile java.lang.Object clientCIDR_;
/**
*
* The CIDR with which clients can match their IP to figure out the server address that they should use.
*
*
* optional string clientCIDR = 1;
- * @return Whether the clientCIDR field is set.
*/
- @java.lang.Override
public boolean hasClientCIDR() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -45727,9 +47323,7 @@ public boolean hasClientCIDR() {
*
*
* optional string clientCIDR = 1;
- * @return The clientCIDR.
*/
- @java.lang.Override
public java.lang.String getClientCIDR() {
java.lang.Object ref = clientCIDR_;
if (ref instanceof java.lang.String) {
@@ -45750,9 +47344,7 @@ public java.lang.String getClientCIDR() {
*
*
* optional string clientCIDR = 1;
- * @return The bytes for clientCIDR.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getClientCIDRBytes() {
java.lang.Object ref = clientCIDR_;
@@ -45768,8 +47360,7 @@ public java.lang.String getClientCIDR() {
}
public static final int SERVERADDRESS_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private volatile java.lang.Object serverAddress_ = "";
+ private volatile java.lang.Object serverAddress_;
/**
*
* Address of this server, suitable for a client that matches the above CIDR.
@@ -45777,11 +47368,9 @@ public java.lang.String getClientCIDR() {
*
*
* optional string serverAddress = 2;
- * @return Whether the serverAddress field is set.
*/
- @java.lang.Override
public boolean hasServerAddress() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -45790,9 +47379,7 @@ public boolean hasServerAddress() {
*
*
* optional string serverAddress = 2;
- * @return The serverAddress.
*/
- @java.lang.Override
public java.lang.String getServerAddress() {
java.lang.Object ref = serverAddress_;
if (ref instanceof java.lang.String) {
@@ -45814,9 +47401,7 @@ public java.lang.String getServerAddress() {
*
*
* optional string serverAddress = 2;
- * @return The bytes for serverAddress.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getServerAddressBytes() {
java.lang.Object ref = serverAddress_;
@@ -45845,13 +47430,13 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 1, clientCIDR_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, clientCIDR_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 2, serverAddress_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, serverAddress_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -45860,13 +47445,13 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(1, clientCIDR_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, clientCIDR_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(2, serverAddress_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, serverAddress_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -45881,18 +47466,19 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR other = (io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR) obj;
- if (hasClientCIDR() != other.hasClientCIDR()) return false;
+ boolean result = true;
+ result = result && (hasClientCIDR() == other.hasClientCIDR());
if (hasClientCIDR()) {
- if (!getClientCIDR()
- .equals(other.getClientCIDR())) return false;
+ result = result && getClientCIDR()
+ .equals(other.getClientCIDR());
}
- if (hasServerAddress() != other.hasServerAddress()) return false;
+ result = result && (hasServerAddress() == other.hasServerAddress());
if (hasServerAddress()) {
- if (!getServerAddress()
- .equals(other.getServerAddress())) return false;
+ result = result && getServerAddress()
+ .equals(other.getServerAddress());
}
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -45910,7 +47496,7 @@ public int hashCode() {
hash = (37 * hash) + SERVERADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getServerAddress().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -45949,41 +47535,39 @@ public static io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR parseFro
}
public static io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
public static io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -46003,7 +47587,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -46015,7 +47599,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional string clientCIDR = 1;
- * @return Whether the clientCIDR field is set.
*/
public boolean hasClientCIDR() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -46185,7 +47779,6 @@ public boolean hasClientCIDR() {
*
*
* optional string clientCIDR = 1;
- * @return The clientCIDR.
*/
public java.lang.String getClientCIDR() {
java.lang.Object ref = clientCIDR_;
@@ -46207,7 +47800,6 @@ public java.lang.String getClientCIDR() {
*
*
* optional string clientCIDR = 1;
- * @return The bytes for clientCIDR.
*/
public com.google.protobuf.ByteString
getClientCIDRBytes() {
@@ -46228,14 +47820,14 @@ public java.lang.String getClientCIDR() {
*
*
* optional string clientCIDR = 1;
- * @param value The clientCIDR to set.
- * @return This builder for chaining.
*/
public Builder setClientCIDR(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
clientCIDR_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -46245,11 +47837,10 @@ public Builder setClientCIDR(
*
*
* optional string clientCIDR = 1;
- * @return This builder for chaining.
*/
public Builder clearClientCIDR() {
- clientCIDR_ = getDefaultInstance().getClientCIDR();
bitField0_ = (bitField0_ & ~0x00000001);
+ clientCIDR_ = getDefaultInstance().getClientCIDR();
onChanged();
return this;
}
@@ -46259,14 +47850,14 @@ public Builder clearClientCIDR() {
*
*
* optional string clientCIDR = 1;
- * @param value The bytes for clientCIDR to set.
- * @return This builder for chaining.
*/
public Builder setClientCIDRBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
clientCIDR_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -46279,10 +47870,9 @@ public Builder setClientCIDRBytes(
*
*
* optional string serverAddress = 2;
- * @return Whether the serverAddress field is set.
*/
public boolean hasServerAddress() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -46291,7 +47881,6 @@ public boolean hasServerAddress() {
*
*
* optional string serverAddress = 2;
- * @return The serverAddress.
*/
public java.lang.String getServerAddress() {
java.lang.Object ref = serverAddress_;
@@ -46314,7 +47903,6 @@ public java.lang.String getServerAddress() {
*
*
* optional string serverAddress = 2;
- * @return The bytes for serverAddress.
*/
public com.google.protobuf.ByteString
getServerAddressBytes() {
@@ -46336,14 +47924,14 @@ public java.lang.String getServerAddress() {
*
*
* optional string serverAddress = 2;
- * @param value The serverAddress to set.
- * @return This builder for chaining.
*/
public Builder setServerAddress(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
serverAddress_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -46354,11 +47942,10 @@ public Builder setServerAddress(
*
*
* optional string serverAddress = 2;
- * @return This builder for chaining.
*/
public Builder clearServerAddress() {
- serverAddress_ = getDefaultInstance().getServerAddress();
bitField0_ = (bitField0_ & ~0x00000002);
+ serverAddress_ = getDefaultInstance().getServerAddress();
onChanged();
return this;
}
@@ -46369,17 +47956,29 @@ public Builder clearServerAddress() {
*
*
* optional string serverAddress = 2;
- * @param value The bytes for serverAddress to set.
- * @return This builder for chaining.
*/
public Builder setServerAddressBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
serverAddress_ = value;
- bitField0_ |= 0x00000002;
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.ServerAddressByClientCIDR)
}
@@ -46394,25 +47993,14 @@ public static io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR getDefau
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parseroptional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
- * @return Whether the metadata field is set.
*/
boolean hasMetadata();
/**
@@ -46455,7 +48042,6 @@ public interface StatusOrBuilder extends
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
- * @return The metadata.
*/
io.kubernetes.client.proto.Meta.ListMeta getMetadata();
/**
@@ -46478,7 +48064,6 @@ public interface StatusOrBuilder extends
*
*
* optional string status = 2;
- * @return Whether the status field is set.
*/
boolean hasStatus();
/**
@@ -46490,7 +48075,6 @@ public interface StatusOrBuilder extends
*
*
* optional string status = 2;
- * @return The status.
*/
java.lang.String getStatus();
/**
@@ -46502,7 +48086,6 @@ public interface StatusOrBuilder extends
*
*
* optional string status = 2;
- * @return The bytes for status.
*/
com.google.protobuf.ByteString
getStatusBytes();
@@ -46514,7 +48097,6 @@ public interface StatusOrBuilder extends
*
*
* optional string message = 3;
- * @return Whether the message field is set.
*/
boolean hasMessage();
/**
@@ -46524,7 +48106,6 @@ public interface StatusOrBuilder extends
*
*
* optional string message = 3;
- * @return The message.
*/
java.lang.String getMessage();
/**
@@ -46534,7 +48115,6 @@ public interface StatusOrBuilder extends
*
*
* optional string message = 3;
- * @return The bytes for message.
*/
com.google.protobuf.ByteString
getMessageBytes();
@@ -46549,7 +48129,6 @@ public interface StatusOrBuilder extends
*
*
* optional string reason = 4;
- * @return Whether the reason field is set.
*/
boolean hasReason();
/**
@@ -46562,7 +48141,6 @@ public interface StatusOrBuilder extends
*
*
* optional string reason = 4;
- * @return The reason.
*/
java.lang.String getReason();
/**
@@ -46575,7 +48153,6 @@ public interface StatusOrBuilder extends
*
*
* optional string reason = 4;
- * @return The bytes for reason.
*/
com.google.protobuf.ByteString
getReasonBytes();
@@ -46587,11 +48164,9 @@ public interface StatusOrBuilder extends
* is not guaranteed to conform to any schema except that defined by
* the reason type.
* +optional
- * +listType=atomic
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5;
- * @return Whether the details field is set.
*/
boolean hasDetails();
/**
@@ -46601,11 +48176,9 @@ public interface StatusOrBuilder extends
* is not guaranteed to conform to any schema except that defined by
* the reason type.
* +optional
- * +listType=atomic
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5;
- * @return The details.
*/
io.kubernetes.client.proto.Meta.StatusDetails getDetails();
/**
@@ -46615,7 +48188,6 @@ public interface StatusOrBuilder extends
* is not guaranteed to conform to any schema except that defined by
* the reason type.
* +optional
- * +listType=atomic
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5;
@@ -46629,7 +48201,6 @@ public interface StatusOrBuilder extends
*
*
* optional int32 code = 6;
- * @return Whether the code field is set.
*/
boolean hasCode();
/**
@@ -46639,7 +48210,6 @@ public interface StatusOrBuilder extends
*
*
* optional int32 code = 6;
- * @return The code.
*/
int getCode();
}
@@ -46650,37 +48220,121 @@ public interface StatusOrBuilder extends
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Status}
*/
- public static final class Status extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class Status extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Status)
StatusOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- Status.class.getName());
- }
// Use Status.newBuilder() to construct.
- private Status(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private Status(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Status() {
status_ = "";
message_ = "";
reason_ = "";
+ code_ = 0;
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private Status(
+ 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: {
+ 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 18: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000002;
+ status_ = bs;
+ break;
+ }
+ case 26: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000004;
+ message_ = bs;
+ break;
+ }
+ case 34: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000008;
+ reason_ = bs;
+ break;
+ }
+ case 42: {
+ io.kubernetes.client.proto.Meta.StatusDetails.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ subBuilder = details_.toBuilder();
+ }
+ details_ = input.readMessage(io.kubernetes.client.proto.Meta.StatusDetails.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(details_);
+ details_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000010;
+ break;
+ }
+ case 48: {
+ bitField0_ |= 0x00000020;
+ code_ = 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_Status_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Status_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -46698,11 +48352,9 @@ private Status() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
- * @return Whether the metadata field is set.
*/
- @java.lang.Override
public boolean hasMetadata() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -46712,9 +48364,7 @@ public boolean hasMetadata() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
- * @return The metadata.
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.ListMeta getMetadata() {
return metadata_ == null ? io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance() : metadata_;
}
@@ -46727,14 +48377,12 @@ public io.kubernetes.client.proto.Meta.ListMeta getMetadata() {
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.ListMetaOrBuilder getMetadataOrBuilder() {
return metadata_ == null ? io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance() : metadata_;
}
public static final int STATUS_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private volatile java.lang.Object status_ = "";
+ private volatile java.lang.Object status_;
/**
*
* Status of the operation.
@@ -46744,11 +48392,9 @@ public io.kubernetes.client.proto.Meta.ListMetaOrBuilder getMetadataOrBuilder()
*
*
* optional string status = 2;
- * @return Whether the status field is set.
*/
- @java.lang.Override
public boolean hasStatus() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -46759,9 +48405,7 @@ public boolean hasStatus() {
*
*
* optional string status = 2;
- * @return The status.
*/
- @java.lang.Override
public java.lang.String getStatus() {
java.lang.Object ref = status_;
if (ref instanceof java.lang.String) {
@@ -46785,9 +48429,7 @@ public java.lang.String getStatus() {
*
*
* optional string status = 2;
- * @return The bytes for status.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getStatusBytes() {
java.lang.Object ref = status_;
@@ -46803,8 +48445,7 @@ public java.lang.String getStatus() {
}
public static final int MESSAGE_FIELD_NUMBER = 3;
- @SuppressWarnings("serial")
- private volatile java.lang.Object message_ = "";
+ private volatile java.lang.Object message_;
/**
*
* A human-readable description of the status of this operation.
@@ -46812,11 +48453,9 @@ public java.lang.String getStatus() {
*
*
* optional string message = 3;
- * @return Whether the message field is set.
*/
- @java.lang.Override
public boolean hasMessage() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
@@ -46825,9 +48464,7 @@ public boolean hasMessage() {
*
*
* optional string message = 3;
- * @return The message.
*/
- @java.lang.Override
public java.lang.String getMessage() {
java.lang.Object ref = message_;
if (ref instanceof java.lang.String) {
@@ -46849,9 +48486,7 @@ public java.lang.String getMessage() {
*
*
* optional string message = 3;
- * @return The bytes for message.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
@@ -46867,8 +48502,7 @@ public java.lang.String getMessage() {
}
public static final int REASON_FIELD_NUMBER = 4;
- @SuppressWarnings("serial")
- private volatile java.lang.Object reason_ = "";
+ private volatile java.lang.Object reason_;
/**
*
* A machine-readable description of why this operation is in the
@@ -46879,11 +48513,9 @@ public java.lang.String getMessage() {
*
*
* optional string reason = 4;
- * @return Whether the reason field is set.
*/
- @java.lang.Override
public boolean hasReason() {
- return ((bitField0_ & 0x00000008) != 0);
+ return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
@@ -46895,9 +48527,7 @@ public boolean hasReason() {
*
*
* optional string reason = 4;
- * @return The reason.
*/
- @java.lang.Override
public java.lang.String getReason() {
java.lang.Object ref = reason_;
if (ref instanceof java.lang.String) {
@@ -46922,9 +48552,7 @@ public java.lang.String getReason() {
*
*
* optional string reason = 4;
- * @return The bytes for reason.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getReasonBytes() {
java.lang.Object ref = reason_;
@@ -46948,15 +48576,12 @@ public java.lang.String getReason() {
* is not guaranteed to conform to any schema except that defined by
* the reason type.
* +optional
- * +listType=atomic
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5;
- * @return Whether the details field is set.
*/
- @java.lang.Override
public boolean hasDetails() {
- return ((bitField0_ & 0x00000010) != 0);
+ return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
@@ -46965,13 +48590,10 @@ public boolean hasDetails() {
* is not guaranteed to conform to any schema except that defined by
* the reason type.
* +optional
- * +listType=atomic
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5;
- * @return The details.
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.StatusDetails getDetails() {
return details_ == null ? io.kubernetes.client.proto.Meta.StatusDetails.getDefaultInstance() : details_;
}
@@ -46982,18 +48604,16 @@ public io.kubernetes.client.proto.Meta.StatusDetails getDetails() {
* is not guaranteed to conform to any schema except that defined by
* the reason type.
* +optional
- * +listType=atomic
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5;
*/
- @java.lang.Override
public io.kubernetes.client.proto.Meta.StatusDetailsOrBuilder getDetailsOrBuilder() {
return details_ == null ? io.kubernetes.client.proto.Meta.StatusDetails.getDefaultInstance() : details_;
}
public static final int CODE_FIELD_NUMBER = 6;
- private int code_ = 0;
+ private int code_;
/**
*
* Suggested HTTP return code for this status, 0 if not set.
@@ -47001,11 +48621,9 @@ public io.kubernetes.client.proto.Meta.StatusDetailsOrBuilder getDetailsOrBuilde
*
*
* optional int32 code = 6;
- * @return Whether the code field is set.
*/
- @java.lang.Override
public boolean hasCode() {
- return ((bitField0_ & 0x00000020) != 0);
+ return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
*
@@ -47014,9 +48632,7 @@ public boolean hasCode() {
*
*
* optional int32 code = 6;
- * @return The code.
*/
- @java.lang.Override
public int getCode() {
return code_;
}
@@ -47035,25 +48651,25 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, getMetadata());
}
- if (((bitField0_ & 0x00000002) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 2, status_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, status_);
}
- if (((bitField0_ & 0x00000004) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 3, message_);
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, message_);
}
- if (((bitField0_ & 0x00000008) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 4, reason_);
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, reason_);
}
- if (((bitField0_ & 0x00000010) != 0)) {
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeMessage(5, getDetails());
}
- if (((bitField0_ & 0x00000020) != 0)) {
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeInt32(6, code_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -47062,28 +48678,28 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getMetadata());
}
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(2, status_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, status_);
}
- if (((bitField0_ & 0x00000004) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(3, message_);
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, message_);
}
- if (((bitField0_ & 0x00000008) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(4, reason_);
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, reason_);
}
- if (((bitField0_ & 0x00000010) != 0)) {
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getDetails());
}
- if (((bitField0_ & 0x00000020) != 0)) {
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, code_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -47098,38 +48714,39 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.Status other = (io.kubernetes.client.proto.Meta.Status) obj;
- if (hasMetadata() != other.hasMetadata()) return false;
+ boolean result = true;
+ result = result && (hasMetadata() == other.hasMetadata());
if (hasMetadata()) {
- if (!getMetadata()
- .equals(other.getMetadata())) return false;
+ result = result && getMetadata()
+ .equals(other.getMetadata());
}
- if (hasStatus() != other.hasStatus()) return false;
+ result = result && (hasStatus() == other.hasStatus());
if (hasStatus()) {
- if (!getStatus()
- .equals(other.getStatus())) return false;
+ result = result && getStatus()
+ .equals(other.getStatus());
}
- if (hasMessage() != other.hasMessage()) return false;
+ result = result && (hasMessage() == other.hasMessage());
if (hasMessage()) {
- if (!getMessage()
- .equals(other.getMessage())) return false;
+ result = result && getMessage()
+ .equals(other.getMessage());
}
- if (hasReason() != other.hasReason()) return false;
+ result = result && (hasReason() == other.hasReason());
if (hasReason()) {
- if (!getReason()
- .equals(other.getReason())) return false;
+ result = result && getReason()
+ .equals(other.getReason());
}
- if (hasDetails() != other.hasDetails()) return false;
+ result = result && (hasDetails() == other.hasDetails());
if (hasDetails()) {
- if (!getDetails()
- .equals(other.getDetails())) return false;
+ result = result && getDetails()
+ .equals(other.getDetails());
}
- if (hasCode() != other.hasCode()) return false;
+ result = result && (hasCode() == other.hasCode());
if (hasCode()) {
- if (getCode()
- != other.getCode()) return false;
+ result = result && (getCode()
+ == other.getCode());
}
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -47163,7 +48780,7 @@ public int hashCode() {
hash = (37 * hash) + CODE_FIELD_NUMBER;
hash = (53 * hash) + getCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -47202,41 +48819,39 @@ public static io.kubernetes.client.proto.Meta.Status parseFrom(
}
public static io.kubernetes.client.proto.Meta.Status parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.Status parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.Status parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
public static io.kubernetes.client.proto.Meta.Status parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.Status parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.Status parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -47256,7 +48871,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -47268,7 +48883,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Status}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder
@@ -47508,10 +49113,9 @@ public Builder mergeFrom(
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
- * @return Whether the metadata field is set.
*/
public boolean hasMetadata() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -47521,7 +49125,6 @@ public boolean hasMetadata() {
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
- * @return The metadata.
*/
public io.kubernetes.client.proto.Meta.ListMeta getMetadata() {
if (metadataBuilder_ == null) {
@@ -47545,11 +49148,11 @@ public Builder setMetadata(io.kubernetes.client.proto.Meta.ListMeta value) {
throw new NullPointerException();
}
metadata_ = value;
+ onChanged();
} else {
metadataBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
- onChanged();
return this;
}
/**
@@ -47565,11 +49168,11 @@ 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;
- onChanged();
return this;
}
/**
@@ -47583,20 +49186,19 @@ public Builder setMetadata(
*/
public Builder mergeMetadata(io.kubernetes.client.proto.Meta.ListMeta value) {
if (metadataBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0) &&
- metadata_ != null &&
- metadata_ != io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance()) {
- getMetadataBuilder().mergeFrom(value);
+ 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);
}
- if (metadata_ != null) {
- bitField0_ |= 0x00000001;
- onChanged();
- }
+ bitField0_ |= 0x00000001;
return this;
}
/**
@@ -47609,13 +49211,13 @@ public Builder mergeMetadata(io.kubernetes.client.proto.Meta.ListMeta value) {
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
*/
public Builder clearMetadata() {
- bitField0_ = (bitField0_ & ~0x00000001);
- metadata_ = null;
- if (metadataBuilder_ != null) {
- metadataBuilder_.dispose();
- metadataBuilder_ = null;
+ if (metadataBuilder_ == null) {
+ metadata_ = null;
+ onChanged();
+ } else {
+ metadataBuilder_.clear();
}
- onChanged();
+ bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
@@ -47658,11 +49260,11 @@ public io.kubernetes.client.proto.Meta.ListMetaOrBuilder getMetadataOrBuilder()
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
*/
- private com.google.protobuf.SingleFieldBuilder<
+ 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.SingleFieldBuilder<
+ 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(),
@@ -47682,10 +49284,9 @@ public io.kubernetes.client.proto.Meta.ListMetaOrBuilder getMetadataOrBuilder()
*
*
* optional string status = 2;
- * @return Whether the status field is set.
*/
public boolean hasStatus() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -47696,7 +49297,6 @@ public boolean hasStatus() {
*
*
* optional string status = 2;
- * @return The status.
*/
public java.lang.String getStatus() {
java.lang.Object ref = status_;
@@ -47721,7 +49321,6 @@ public java.lang.String getStatus() {
*
*
* optional string status = 2;
- * @return The bytes for status.
*/
public com.google.protobuf.ByteString
getStatusBytes() {
@@ -47745,14 +49344,14 @@ public java.lang.String getStatus() {
*
*
* optional string status = 2;
- * @param value The status to set.
- * @return This builder for chaining.
*/
public Builder setStatus(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
status_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -47765,11 +49364,10 @@ public Builder setStatus(
*
*
* optional string status = 2;
- * @return This builder for chaining.
*/
public Builder clearStatus() {
- status_ = getDefaultInstance().getStatus();
bitField0_ = (bitField0_ & ~0x00000002);
+ status_ = getDefaultInstance().getStatus();
onChanged();
return this;
}
@@ -47782,14 +49380,14 @@ public Builder clearStatus() {
*
*
* optional string status = 2;
- * @param value The bytes for status to set.
- * @return This builder for chaining.
*/
public Builder setStatusBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
status_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -47802,10 +49400,9 @@ public Builder setStatusBytes(
*
*
* optional string message = 3;
- * @return Whether the message field is set.
*/
public boolean hasMessage() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
@@ -47814,7 +49411,6 @@ public boolean hasMessage() {
*
*
* optional string message = 3;
- * @return The message.
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
@@ -47837,7 +49433,6 @@ public java.lang.String getMessage() {
*
*
* optional string message = 3;
- * @return The bytes for message.
*/
public com.google.protobuf.ByteString
getMessageBytes() {
@@ -47859,14 +49454,14 @@ public java.lang.String getMessage() {
*
*
* optional string message = 3;
- * @param value The message to set.
- * @return This builder for chaining.
*/
public Builder setMessage(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
message_ = value;
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -47877,11 +49472,10 @@ public Builder setMessage(
*
*
* optional string message = 3;
- * @return This builder for chaining.
*/
public Builder clearMessage() {
- message_ = getDefaultInstance().getMessage();
bitField0_ = (bitField0_ & ~0x00000004);
+ message_ = getDefaultInstance().getMessage();
onChanged();
return this;
}
@@ -47892,14 +49486,14 @@ public Builder clearMessage() {
*
*
* optional string message = 3;
- * @param value The bytes for message to set.
- * @return This builder for chaining.
*/
public Builder setMessageBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
message_ = value;
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -47915,10 +49509,9 @@ public Builder setMessageBytes(
*
*
* optional string reason = 4;
- * @return Whether the reason field is set.
*/
public boolean hasReason() {
- return ((bitField0_ & 0x00000008) != 0);
+ return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
@@ -47930,7 +49523,6 @@ public boolean hasReason() {
*
*
* optional string reason = 4;
- * @return The reason.
*/
public java.lang.String getReason() {
java.lang.Object ref = reason_;
@@ -47956,7 +49548,6 @@ public java.lang.String getReason() {
*
*
* optional string reason = 4;
- * @return The bytes for reason.
*/
public com.google.protobuf.ByteString
getReasonBytes() {
@@ -47981,14 +49572,14 @@ public java.lang.String getReason() {
*
*
* optional string reason = 4;
- * @param value The reason to set.
- * @return This builder for chaining.
*/
public Builder setReason(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000008;
reason_ = value;
- bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -48002,11 +49593,10 @@ public Builder setReason(
*
*
* optional string reason = 4;
- * @return This builder for chaining.
*/
public Builder clearReason() {
- reason_ = getDefaultInstance().getReason();
bitField0_ = (bitField0_ & ~0x00000008);
+ reason_ = getDefaultInstance().getReason();
onChanged();
return this;
}
@@ -48020,20 +49610,20 @@ public Builder clearReason() {
*
*
* optional string reason = 4;
- * @param value The bytes for reason to set.
- * @return This builder for chaining.
*/
public Builder setReasonBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000008;
reason_ = value;
- bitField0_ |= 0x00000008;
onChanged();
return this;
}
- private io.kubernetes.client.proto.Meta.StatusDetails details_;
- private com.google.protobuf.SingleFieldBuilder<
+ private io.kubernetes.client.proto.Meta.StatusDetails details_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.Meta.StatusDetails, io.kubernetes.client.proto.Meta.StatusDetails.Builder, io.kubernetes.client.proto.Meta.StatusDetailsOrBuilder> detailsBuilder_;
/**
*
@@ -48042,14 +49632,12 @@ public Builder setReasonBytes(
* is not guaranteed to conform to any schema except that defined by
* the reason type.
* +optional
- * +listType=atomic
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5;
- * @return Whether the details field is set.
*/
public boolean hasDetails() {
- return ((bitField0_ & 0x00000010) != 0);
+ return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
*
@@ -48058,11 +49646,9 @@ public boolean hasDetails() {
* is not guaranteed to conform to any schema except that defined by
* the reason type.
* +optional
- * +listType=atomic
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5;
- * @return The details.
*/
public io.kubernetes.client.proto.Meta.StatusDetails getDetails() {
if (detailsBuilder_ == null) {
@@ -48078,7 +49664,6 @@ public io.kubernetes.client.proto.Meta.StatusDetails getDetails() {
* is not guaranteed to conform to any schema except that defined by
* the reason type.
* +optional
- * +listType=atomic
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5;
@@ -48089,11 +49674,11 @@ public Builder setDetails(io.kubernetes.client.proto.Meta.StatusDetails value) {
throw new NullPointerException();
}
details_ = value;
+ onChanged();
} else {
detailsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000010;
- onChanged();
return this;
}
/**
@@ -48103,7 +49688,6 @@ public Builder setDetails(io.kubernetes.client.proto.Meta.StatusDetails value) {
* is not guaranteed to conform to any schema except that defined by
* the reason type.
* +optional
- * +listType=atomic
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5;
@@ -48112,11 +49696,11 @@ public Builder setDetails(
io.kubernetes.client.proto.Meta.StatusDetails.Builder builderForValue) {
if (detailsBuilder_ == null) {
details_ = builderForValue.build();
+ onChanged();
} else {
detailsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000010;
- onChanged();
return this;
}
/**
@@ -48126,27 +49710,25 @@ public Builder setDetails(
* is not guaranteed to conform to any schema except that defined by
* the reason type.
* +optional
- * +listType=atomic
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5;
*/
public Builder mergeDetails(io.kubernetes.client.proto.Meta.StatusDetails value) {
if (detailsBuilder_ == null) {
- if (((bitField0_ & 0x00000010) != 0) &&
- details_ != null &&
- details_ != io.kubernetes.client.proto.Meta.StatusDetails.getDefaultInstance()) {
- getDetailsBuilder().mergeFrom(value);
+ if (((bitField0_ & 0x00000010) == 0x00000010) &&
+ details_ != null &&
+ details_ != io.kubernetes.client.proto.Meta.StatusDetails.getDefaultInstance()) {
+ details_ =
+ io.kubernetes.client.proto.Meta.StatusDetails.newBuilder(details_).mergeFrom(value).buildPartial();
} else {
details_ = value;
}
+ onChanged();
} else {
detailsBuilder_.mergeFrom(value);
}
- if (details_ != null) {
- bitField0_ |= 0x00000010;
- onChanged();
- }
+ bitField0_ |= 0x00000010;
return this;
}
/**
@@ -48156,19 +49738,18 @@ public Builder mergeDetails(io.kubernetes.client.proto.Meta.StatusDetails value)
* is not guaranteed to conform to any schema except that defined by
* the reason type.
* +optional
- * +listType=atomic
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5;
*/
public Builder clearDetails() {
- bitField0_ = (bitField0_ & ~0x00000010);
- details_ = null;
- if (detailsBuilder_ != null) {
- detailsBuilder_.dispose();
- detailsBuilder_ = null;
+ if (detailsBuilder_ == null) {
+ details_ = null;
+ onChanged();
+ } else {
+ detailsBuilder_.clear();
}
- onChanged();
+ bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
/**
@@ -48178,7 +49759,6 @@ public Builder clearDetails() {
* is not guaranteed to conform to any schema except that defined by
* the reason type.
* +optional
- * +listType=atomic
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5;
@@ -48195,7 +49775,6 @@ public io.kubernetes.client.proto.Meta.StatusDetails.Builder getDetailsBuilder()
* is not guaranteed to conform to any schema except that defined by
* the reason type.
* +optional
- * +listType=atomic
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5;
@@ -48215,16 +49794,15 @@ public io.kubernetes.client.proto.Meta.StatusDetailsOrBuilder getDetailsOrBuilde
* is not guaranteed to conform to any schema except that defined by
* the reason type.
* +optional
- * +listType=atomic
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5;
*/
- private com.google.protobuf.SingleFieldBuilder<
+ private com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.Meta.StatusDetails, io.kubernetes.client.proto.Meta.StatusDetails.Builder, io.kubernetes.client.proto.Meta.StatusDetailsOrBuilder>
getDetailsFieldBuilder() {
if (detailsBuilder_ == null) {
- detailsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+ detailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.Meta.StatusDetails, io.kubernetes.client.proto.Meta.StatusDetails.Builder, io.kubernetes.client.proto.Meta.StatusDetailsOrBuilder>(
getDetails(),
getParentForChildren(),
@@ -48242,11 +49820,9 @@ public io.kubernetes.client.proto.Meta.StatusDetailsOrBuilder getDetailsOrBuilde
*
*
* optional int32 code = 6;
- * @return Whether the code field is set.
*/
- @java.lang.Override
public boolean hasCode() {
- return ((bitField0_ & 0x00000020) != 0);
+ return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
*
@@ -48255,9 +49831,7 @@ public boolean hasCode() {
*
*
* optional int32 code = 6;
- * @return The code.
*/
- @java.lang.Override
public int getCode() {
return code_;
}
@@ -48268,13 +49842,10 @@ public int getCode() {
*
*
* optional int32 code = 6;
- * @param value The code to set.
- * @return This builder for chaining.
*/
public Builder setCode(int value) {
-
- code_ = value;
bitField0_ |= 0x00000020;
+ code_ = value;
onChanged();
return this;
}
@@ -48285,7 +49856,6 @@ public Builder setCode(int value) {
*
*
* optional int32 code = 6;
- * @return This builder for chaining.
*/
public Builder clearCode() {
bitField0_ = (bitField0_ & ~0x00000020);
@@ -48293,6 +49863,18 @@ 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);
+ }
+
// @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Status)
}
@@ -48307,25 +49889,14 @@ public static io.kubernetes.client.proto.Meta.Status getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parseroptional string reason = 1;
- * @return Whether the reason field is set.
*/
boolean hasReason();
/**
@@ -48368,7 +49938,6 @@ public interface StatusCauseOrBuilder extends
*
*
* optional string reason = 1;
- * @return The reason.
*/
java.lang.String getReason();
/**
@@ -48379,7 +49948,6 @@ public interface StatusCauseOrBuilder extends
*
*
* optional string reason = 1;
- * @return The bytes for reason.
*/
com.google.protobuf.ByteString
getReasonBytes();
@@ -48392,7 +49960,6 @@ public interface StatusCauseOrBuilder extends
*
*
* optional string message = 2;
- * @return Whether the message field is set.
*/
boolean hasMessage();
/**
@@ -48403,7 +49970,6 @@ public interface StatusCauseOrBuilder extends
*
*
* optional string message = 2;
- * @return The message.
*/
java.lang.String getMessage();
/**
@@ -48414,7 +49980,6 @@ public interface StatusCauseOrBuilder extends
*
*
* optional string message = 2;
- * @return The bytes for message.
*/
com.google.protobuf.ByteString
getMessageBytes();
@@ -48426,15 +49991,13 @@ 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"
+ * "name" - the field "name" on the current resource
+ * "items[0].name" - the field "name" on the first array entry in "items"
* +optional
*
*
* optional string field = 3;
- * @return Whether the field field is set.
*/
boolean hasField();
/**
@@ -48444,15 +50007,13 @@ 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"
+ * "name" - the field "name" on the current resource
+ * "items[0].name" - the field "name" on the first array entry in "items"
* +optional
*
*
* optional string field = 3;
- * @return The field.
*/
java.lang.String getField();
/**
@@ -48462,15 +50023,13 @@ 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"
+ * "name" - the field "name" on the current resource
+ * "items[0].name" - the field "name" on the first array entry in "items"
* +optional
*
*
* optional string field = 3;
- * @return The bytes for field.
*/
com.google.protobuf.ByteString
getFieldBytes();
@@ -48483,22 +50042,13 @@ public interface StatusCauseOrBuilder extends
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause}
*/
- public static final class StatusCause extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class StatusCause extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause)
StatusCauseOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- StatusCause.class.getName());
- }
// Use StatusCause.newBuilder() to construct.
- private StatusCause(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private StatusCause(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private StatusCause() {
@@ -48507,13 +50057,74 @@ private StatusCause() {
field_ = "";
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private StatusCause(
+ 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;
+ reason_ = bs;
+ break;
+ }
+ case 18: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000002;
+ message_ = bs;
+ break;
+ }
+ case 26: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000004;
+ field_ = 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_StatusCause_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_StatusCause_fieldAccessorTable
.ensureFieldAccessorsInitialized(
@@ -48522,8 +50133,7 @@ private StatusCause() {
private int bitField0_;
public static final int REASON_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object reason_ = "";
+ private volatile java.lang.Object reason_;
/**
*
* A machine-readable description of the cause of the error. If this value is
@@ -48532,11 +50142,9 @@ private StatusCause() {
*
*
* optional string reason = 1;
- * @return Whether the reason field is set.
*/
- @java.lang.Override
public boolean hasReason() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -48546,9 +50154,7 @@ public boolean hasReason() {
*
*
* optional string reason = 1;
- * @return The reason.
*/
- @java.lang.Override
public java.lang.String getReason() {
java.lang.Object ref = reason_;
if (ref instanceof java.lang.String) {
@@ -48571,9 +50177,7 @@ public java.lang.String getReason() {
*
*
* optional string reason = 1;
- * @return The bytes for reason.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getReasonBytes() {
java.lang.Object ref = reason_;
@@ -48589,8 +50193,7 @@ public java.lang.String getReason() {
}
public static final int MESSAGE_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private volatile java.lang.Object message_ = "";
+ private volatile java.lang.Object message_;
/**
*
* A human-readable description of the cause of the error. This field may be
@@ -48599,11 +50202,9 @@ public java.lang.String getReason() {
*
*
* optional string message = 2;
- * @return Whether the message field is set.
*/
- @java.lang.Override
public boolean hasMessage() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -48613,9 +50214,7 @@ public boolean hasMessage() {
*
*
* optional string message = 2;
- * @return The message.
*/
- @java.lang.Override
public java.lang.String getMessage() {
java.lang.Object ref = message_;
if (ref instanceof java.lang.String) {
@@ -48638,9 +50237,7 @@ public java.lang.String getMessage() {
*
*
* optional string message = 2;
- * @return The bytes for message.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
@@ -48656,8 +50253,7 @@ public java.lang.String getMessage() {
}
public static final int FIELD_FIELD_NUMBER = 3;
- @SuppressWarnings("serial")
- private volatile java.lang.Object field_ = "";
+ private volatile java.lang.Object field_;
/**
*
* The field of the resource that has caused this error, as named by its JSON
@@ -48665,19 +50261,16 @@ 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"
+ * "name" - the field "name" on the current resource
+ * "items[0].name" - the field "name" on the first array entry in "items"
* +optional
*
*
* optional string field = 3;
- * @return Whether the field field is set.
*/
- @java.lang.Override
public boolean hasField() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
@@ -48686,17 +50279,14 @@ 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"
+ * "name" - the field "name" on the current resource
+ * "items[0].name" - the field "name" on the first array entry in "items"
* +optional
*
*
* optional string field = 3;
- * @return The field.
*/
- @java.lang.Override
public java.lang.String getField() {
java.lang.Object ref = field_;
if (ref instanceof java.lang.String) {
@@ -48718,17 +50308,14 @@ 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"
+ * "name" - the field "name" on the current resource
+ * "items[0].name" - the field "name" on the first array entry in "items"
* +optional
*
*
* optional string field = 3;
- * @return The bytes for field.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getFieldBytes() {
java.lang.Object ref = field_;
@@ -48757,16 +50344,16 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 1, reason_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, reason_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 2, message_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_);
}
- if (((bitField0_ & 0x00000004) != 0)) {
- com.google.protobuf.GeneratedMessage.writeString(output, 3, field_);
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, field_);
}
- getUnknownFields().writeTo(output);
+ unknownFields.writeTo(output);
}
@java.lang.Override
@@ -48775,16 +50362,16 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(1, reason_);
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, reason_);
}
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(2, message_);
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_);
}
- if (((bitField0_ & 0x00000004) != 0)) {
- size += com.google.protobuf.GeneratedMessage.computeStringSize(3, field_);
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, field_);
}
- size += getUnknownFields().getSerializedSize();
+ size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@@ -48799,23 +50386,24 @@ public boolean equals(final java.lang.Object obj) {
}
io.kubernetes.client.proto.Meta.StatusCause other = (io.kubernetes.client.proto.Meta.StatusCause) obj;
- if (hasReason() != other.hasReason()) return false;
+ boolean result = true;
+ result = result && (hasReason() == other.hasReason());
if (hasReason()) {
- if (!getReason()
- .equals(other.getReason())) return false;
+ result = result && getReason()
+ .equals(other.getReason());
}
- if (hasMessage() != other.hasMessage()) return false;
+ result = result && (hasMessage() == other.hasMessage());
if (hasMessage()) {
- if (!getMessage()
- .equals(other.getMessage())) return false;
+ result = result && getMessage()
+ .equals(other.getMessage());
}
- if (hasField() != other.hasField()) return false;
+ result = result && (hasField() == other.hasField());
if (hasField()) {
- if (!getField()
- .equals(other.getField())) return false;
+ result = result && getField()
+ .equals(other.getField());
}
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
}
@java.lang.Override
@@ -48837,7 +50425,7 @@ public int hashCode() {
hash = (37 * hash) + FIELD_FIELD_NUMBER;
hash = (53 * hash) + getField().hashCode();
}
- hash = (29 * hash) + getUnknownFields().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
@@ -48876,41 +50464,39 @@ public static io.kubernetes.client.proto.Meta.StatusCause parseFrom(
}
public static io.kubernetes.client.proto.Meta.StatusCause parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.StatusCause parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
-
public static io.kubernetes.client.proto.Meta.StatusCause parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
-
public static io.kubernetes.client.proto.Meta.StatusCause parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.Meta.StatusCause parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.Meta.StatusCause parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
+ return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@@ -48930,7 +50516,7 @@ public Builder toBuilder() {
@java.lang.Override
protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -48943,7 +50529,7 @@ protected Builder newBuilderForType(
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause}
*/
public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional string reason = 1;
- * @return Whether the reason field is set.
*/
public boolean hasReason() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -49132,7 +50724,6 @@ public boolean hasReason() {
*
*
* optional string reason = 1;
- * @return The reason.
*/
public java.lang.String getReason() {
java.lang.Object ref = reason_;
@@ -49156,7 +50747,6 @@ public java.lang.String getReason() {
*
*
* optional string reason = 1;
- * @return The bytes for reason.
*/
public com.google.protobuf.ByteString
getReasonBytes() {
@@ -49179,14 +50769,14 @@ public java.lang.String getReason() {
*
*
* optional string reason = 1;
- * @param value The reason to set.
- * @return This builder for chaining.
*/
public Builder setReason(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
reason_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -49198,11 +50788,10 @@ public Builder setReason(
*
*
* optional string reason = 1;
- * @return This builder for chaining.
*/
public Builder clearReason() {
- reason_ = getDefaultInstance().getReason();
bitField0_ = (bitField0_ & ~0x00000001);
+ reason_ = getDefaultInstance().getReason();
onChanged();
return this;
}
@@ -49214,14 +50803,14 @@ public Builder clearReason() {
*
*
* optional string reason = 1;
- * @param value The bytes for reason to set.
- * @return This builder for chaining.
*/
public Builder setReasonBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
reason_ = value;
- bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -49235,10 +50824,9 @@ public Builder setReasonBytes(
*
*
* optional string message = 2;
- * @return Whether the message field is set.
*/
public boolean hasMessage() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -49248,7 +50836,6 @@ public boolean hasMessage() {
*
*
* optional string message = 2;
- * @return The message.
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
@@ -49272,7 +50859,6 @@ public java.lang.String getMessage() {
*
*
* optional string message = 2;
- * @return The bytes for message.
*/
public com.google.protobuf.ByteString
getMessageBytes() {
@@ -49295,14 +50881,14 @@ public java.lang.String getMessage() {
*
*
* optional string message = 2;
- * @param value The message to set.
- * @return This builder for chaining.
*/
public Builder setMessage(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
message_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -49314,11 +50900,10 @@ public Builder setMessage(
*
*
* optional string message = 2;
- * @return This builder for chaining.
*/
public Builder clearMessage() {
- message_ = getDefaultInstance().getMessage();
bitField0_ = (bitField0_ & ~0x00000002);
+ message_ = getDefaultInstance().getMessage();
onChanged();
return this;
}
@@ -49330,14 +50915,14 @@ public Builder clearMessage() {
*
*
* optional string message = 2;
- * @param value The bytes for message to set.
- * @return This builder for chaining.
*/
public Builder setMessageBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
message_ = value;
- bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -49350,18 +50935,16 @@ 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"
+ * "name" - the field "name" on the current resource
+ * "items[0].name" - the field "name" on the first array entry in "items"
* +optional
*
*
* optional string field = 3;
- * @return Whether the field field is set.
*/
public boolean hasField() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
@@ -49370,15 +50953,13 @@ 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"
+ * "name" - the field "name" on the current resource
+ * "items[0].name" - the field "name" on the first array entry in "items"
* +optional
*
*
* optional string field = 3;
- * @return The field.
*/
public java.lang.String getField() {
java.lang.Object ref = field_;
@@ -49401,15 +50982,13 @@ 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"
+ * "name" - the field "name" on the current resource
+ * "items[0].name" - the field "name" on the first array entry in "items"
* +optional
*
*
* optional string field = 3;
- * @return The bytes for field.
*/
public com.google.protobuf.ByteString
getFieldBytes() {
@@ -49431,22 +51010,21 @@ 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"
+ * "name" - the field "name" on the current resource
+ * "items[0].name" - the field "name" on the first array entry in "items"
* +optional
*
*
* optional string field = 3;
- * @param value The field to set.
- * @return This builder for chaining.
*/
public Builder setField(
java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
field_ = value;
- bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -49457,19 +51035,17 @@ 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"
+ * "name" - the field "name" on the current resource
+ * "items[0].name" - the field "name" on the first array entry in "items"
* +optional
*
*
* optional string field = 3;
- * @return This builder for chaining.
*/
public Builder clearField() {
- field_ = getDefaultInstance().getField();
bitField0_ = (bitField0_ & ~0x00000004);
+ field_ = getDefaultInstance().getField();
onChanged();
return this;
}
@@ -49480,25 +51056,36 @@ 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"
+ * "name" - the field "name" on the current resource
+ * "items[0].name" - the field "name" on the first array entry in "items"
* +optional
*
*
* optional string field = 3;
- * @param value The bytes for field to set.
- * @return This builder for chaining.
*/
public Builder setFieldBytes(
com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
field_ = value;
- bitField0_ |= 0x00000004;
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.StatusCause)
}
@@ -49513,25 +51100,14 @@ public static io.kubernetes.client.proto.Meta.StatusCause getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parseroptional string name = 1;
- * @return Whether the name field is set.
*/
boolean hasName();
/**
@@ -49574,7 +51149,6 @@ public interface StatusDetailsOrBuilder extends
*
*
* optional string name = 1;
- * @return The name.
*/
java.lang.String getName();
/**
@@ -49585,7 +51159,6 @@ public interface StatusDetailsOrBuilder extends
*
*
* optional string name = 1;
- * @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
@@ -49597,7 +51170,6 @@ public interface StatusDetailsOrBuilder extends
*
*
* optional string group = 2;
- * @return Whether the group field is set.
*/
boolean hasGroup();
/**
@@ -49607,7 +51179,6 @@ public interface StatusDetailsOrBuilder extends
*
*
* optional string group = 2;
- * @return The group.
*/
java.lang.String getGroup();
/**
@@ -49617,7 +51188,6 @@ public interface StatusDetailsOrBuilder extends
*
*
* optional string group = 2;
- * @return The bytes for group.
*/
com.google.protobuf.ByteString
getGroupBytes();
@@ -49631,7 +51201,6 @@ public interface StatusDetailsOrBuilder extends
*
*
* optional string kind = 3;
- * @return Whether the kind field is set.
*/
boolean hasKind();
/**
@@ -49643,7 +51212,6 @@ public interface StatusDetailsOrBuilder extends
*
*
* optional string kind = 3;
- * @return The kind.
*/
java.lang.String getKind();
/**
@@ -49655,7 +51223,6 @@ public interface StatusDetailsOrBuilder extends
*
*
* optional string kind = 3;
- * @return The bytes for kind.
*/
com.google.protobuf.ByteString
getKindBytes();
@@ -49669,7 +51236,6 @@ public interface StatusDetailsOrBuilder extends
*
*
* optional string uid = 6;
- * @return Whether the uid field is set.
*/
boolean hasUid();
/**
@@ -49681,7 +51247,6 @@ public interface StatusDetailsOrBuilder extends
*
*
* optional string uid = 6;
- * @return The uid.
*/
java.lang.String getUid();
/**
@@ -49693,7 +51258,6 @@ public interface StatusDetailsOrBuilder extends
*
*
* optional string uid = 6;
- * @return The bytes for uid.
*/
com.google.protobuf.ByteString
getUidBytes();
@@ -49766,7 +51330,6 @@ io.kubernetes.client.proto.Meta.StatusCauseOrBuilder getCausesOrBuilder(
*
*
* optional int32 retryAfterSeconds = 5;
- * @return Whether the retryAfterSeconds field is set.
*/
boolean hasRetryAfterSeconds();
/**
@@ -49778,7 +51341,6 @@ io.kubernetes.client.proto.Meta.StatusCauseOrBuilder getCausesOrBuilder(
*
*
* optional int32 retryAfterSeconds = 5;
- * @return The retryAfterSeconds.
*/
int getRetryAfterSeconds();
}
@@ -49794,22 +51356,13 @@ io.kubernetes.client.proto.Meta.StatusCauseOrBuilder getCausesOrBuilder(
*
* Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails}
*/
- public static final class StatusDetails extends
- com.google.protobuf.GeneratedMessage implements
+ public static final class StatusDetails extends
+ com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails)
StatusDetailsOrBuilder {
private static final long serialVersionUID = 0L;
- static {
- com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 26,
- /* patch= */ 1,
- /* suffix= */ "",
- StatusDetails.class.getName());
- }
// Use StatusDetails.newBuilder() to construct.
- private StatusDetails(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private StatusDetails(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private StatusDetails() {
@@ -49818,15 +51371,100 @@ private StatusDetails() {
kind_ = "";
uid_ = "";
causes_ = java.util.Collections.emptyList();
+ retryAfterSeconds_ = 0;
}
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private StatusDetails(
+ 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;
+ name_ = bs;
+ break;
+ }
+ case 18: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000002;
+ group_ = bs;
+ break;
+ }
+ case 26: {
+ com.google.protobuf.ByteString bs = input.readBytes();
+ bitField0_ |= 0x00000004;
+ kind_ = bs;
+ break;
+ }
+ case 34: {
+ if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
+ causes_ = new java.util.ArrayList
* The name attribute of the resource associated with the status StatusReason
@@ -49845,11 +51482,9 @@ private StatusDetails() {
*
*
* optional string name = 1;
- * @return Whether the name field is set.
*/
- @java.lang.Override
public boolean hasName() {
- return ((bitField0_ & 0x00000001) != 0);
+ return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
*
@@ -49859,9 +51494,7 @@ public boolean hasName() {
*
*
* optional string name = 1;
- * @return The name.
*/
- @java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
@@ -49884,9 +51517,7 @@ public java.lang.String getName() {
*
*
* optional string name = 1;
- * @return The bytes for name.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
@@ -49902,8 +51533,7 @@ public java.lang.String getName() {
}
public static final int GROUP_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private volatile java.lang.Object group_ = "";
+ private volatile java.lang.Object group_;
/**
*
* The group attribute of the resource associated with the status StatusReason.
@@ -49911,11 +51541,9 @@ public java.lang.String getName() {
*
*
* optional string group = 2;
- * @return Whether the group field is set.
*/
- @java.lang.Override
public boolean hasGroup() {
- return ((bitField0_ & 0x00000002) != 0);
+ return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
*
@@ -49924,9 +51552,7 @@ public boolean hasGroup() {
*
*
* optional string group = 2;
- * @return The group.
*/
- @java.lang.Override
public java.lang.String getGroup() {
java.lang.Object ref = group_;
if (ref instanceof java.lang.String) {
@@ -49948,9 +51574,7 @@ public java.lang.String getGroup() {
*
*
* optional string group = 2;
- * @return The bytes for group.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getGroupBytes() {
java.lang.Object ref = group_;
@@ -49966,8 +51590,7 @@ public java.lang.String getGroup() {
}
public static final int KIND_FIELD_NUMBER = 3;
- @SuppressWarnings("serial")
- private volatile java.lang.Object kind_ = "";
+ private volatile java.lang.Object kind_;
/**
*
* The kind attribute of the resource associated with the status StatusReason.
@@ -49977,11 +51600,9 @@ public java.lang.String getGroup() {
*
*
* optional string kind = 3;
- * @return Whether the kind field is set.
*/
- @java.lang.Override
public boolean hasKind() {
- return ((bitField0_ & 0x00000004) != 0);
+ return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
@@ -49992,9 +51613,7 @@ public boolean hasKind() {
*
*
* optional string kind = 3;
- * @return The kind.
*/
- @java.lang.Override
public java.lang.String getKind() {
java.lang.Object ref = kind_;
if (ref instanceof java.lang.String) {
@@ -50018,9 +51637,7 @@ public java.lang.String getKind() {
*
*
* optional string kind = 3;
- * @return The bytes for kind.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getKindBytes() {
java.lang.Object ref = kind_;
@@ -50036,8 +51653,7 @@ public java.lang.String getKind() {
}
public static final int UID_FIELD_NUMBER = 6;
- @SuppressWarnings("serial")
- private volatile java.lang.Object uid_ = "";
+ private volatile java.lang.Object uid_;
/**
*
* UID of the resource.
@@ -50047,11 +51663,9 @@ public java.lang.String getKind() {
*
*
* optional string uid = 6;
- * @return Whether the uid field is set.
*/
- @java.lang.Override
public boolean hasUid() {
- return ((bitField0_ & 0x00000008) != 0);
+ return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
@@ -50062,9 +51676,7 @@ public boolean hasUid() {
*
*
* optional string uid = 6;
- * @return The uid.
*/
- @java.lang.Override
public java.lang.String getUid() {
java.lang.Object ref = uid_;
if (ref instanceof java.lang.String) {
@@ -50088,9 +51700,7 @@ public java.lang.String getUid() {
*
*
* optional string uid = 6;
- * @return The bytes for uid.
*/
- @java.lang.Override
public com.google.protobuf.ByteString
getUidBytes() {
java.lang.Object ref = uid_;
@@ -50106,7 +51716,6 @@ public java.lang.String getUid() {
}
public static final int CAUSES_FIELD_NUMBER = 4;
- @SuppressWarnings("serial")
private java.util.List
@@ -50118,7 +51727,6 @@ public java.lang.String getUid() {
*
* repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4;
*/
- @java.lang.Override
public java.util.List getCausesList() {
return causes_;
}
@@ -50132,7 +51740,6 @@ public java.util.List