All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.kubernetes.client.proto.Meta Maven / Gradle / Ivy

There is a newer version: 23.0.0-legacy
Show newest version
/*
Copyright 2021 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package io.kubernetes.client.proto;

public final class Meta {
  private Meta() {}

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
  }

  public interface APIGroupOrBuilder
      extends
      // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup)
      com.google.protobuf.MessageOrBuilder {

    /**
     *
     *
     * 
     * name is the name of the group.
     * 
* * optional string name = 1; */ boolean hasName(); /** * * *
     * name is the name of the group.
     * 
* * optional string name = 1; */ java.lang.String getName(); /** * * *
     * name is the name of the group.
     * 
* * optional string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** * * *
     * versions are the versions supported in this group.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2; * */ java.util.List getVersionsList(); /** * * *
     * versions are the versions supported in this group.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2; * */ io.kubernetes.client.proto.Meta.GroupVersionForDiscovery getVersions(int index); /** * * *
     * versions are the versions supported in this group.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2; * */ int getVersionsCount(); /** * * *
     * versions are the versions supported in this group.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2; * */ java.util.List getVersionsOrBuilderList(); /** * * *
     * versions are the versions supported in this group.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2; * */ io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder getVersionsOrBuilder( int index); /** * * *
     * preferredVersion is the version preferred by the API server, which
     * probably is the storage version.
     * +optional
     * 
* * * optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery preferredVersion = 3; * */ boolean hasPreferredVersion(); /** * * *
     * preferredVersion is the version preferred by the API server, which
     * probably is the storage version.
     * +optional
     * 
* * * optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery preferredVersion = 3; * */ io.kubernetes.client.proto.Meta.GroupVersionForDiscovery getPreferredVersion(); /** * * *
     * preferredVersion is the version preferred by the API server, which
     * probably is the storage version.
     * +optional
     * 
* * * optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery preferredVersion = 3; * */ io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder getPreferredVersionOrBuilder(); /** * * *
     * a map of client CIDR to server address that is serving this group.
     * This is to help clients reach servers in the most network-efficient way possible.
     * Clients can use the appropriate server address as per the CIDR that they match.
     * In case of multiple matches, clients should use the longest matching CIDR.
     * The server returns only those CIDRs that it thinks that the client can match.
     * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
     * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
     * +optional
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; * */ java.util.List getServerAddressByClientCIDRsList(); /** * * *
     * a map of client CIDR to server address that is serving this group.
     * This is to help clients reach servers in the most network-efficient way possible.
     * Clients can use the appropriate server address as per the CIDR that they match.
     * In case of multiple matches, clients should use the longest matching CIDR.
     * The server returns only those CIDRs that it thinks that the client can match.
     * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
     * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
     * +optional
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; * */ io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR getServerAddressByClientCIDRs( int index); /** * * *
     * a map of client CIDR to server address that is serving this group.
     * This is to help clients reach servers in the most network-efficient way possible.
     * Clients can use the appropriate server address as per the CIDR that they match.
     * In case of multiple matches, clients should use the longest matching CIDR.
     * The server returns only those CIDRs that it thinks that the client can match.
     * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
     * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
     * +optional
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; * */ int getServerAddressByClientCIDRsCount(); /** * * *
     * a map of client CIDR to server address that is serving this group.
     * This is to help clients reach servers in the most network-efficient way possible.
     * Clients can use the appropriate server address as per the CIDR that they match.
     * In case of multiple matches, clients should use the longest matching CIDR.
     * The server returns only those CIDRs that it thinks that the client can match.
     * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
     * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
     * +optional
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; * */ java.util.List getServerAddressByClientCIDRsOrBuilderList(); /** * * *
     * a map of client CIDR to server address that is serving this group.
     * This is to help clients reach servers in the most network-efficient way possible.
     * Clients can use the appropriate server address as per the CIDR that they match.
     * In case of multiple matches, clients should use the longest matching CIDR.
     * The server returns only those CIDRs that it thinks that the client can match.
     * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
     * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
     * +optional
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; * */ io.kubernetes.client.proto.Meta.ServerAddressByClientCIDROrBuilder getServerAddressByClientCIDRsOrBuilder(int index); } /** * * *
   * APIGroup contains the name, the supported versions, and the preferred version
   * of a group.
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup} */ 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; // Use APIGroup.newBuilder() to construct. private APIGroup(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private APIGroup() { name_ = ""; versions_ = java.util.Collections.emptyList(); 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< io.kubernetes.client.proto.Meta.GroupVersionForDiscovery>(); mutable_bitField0_ |= 0x00000002; } versions_.add( input.readMessage( io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.PARSER, extensionRegistry)); break; } case 26: { io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = preferredVersion_.toBuilder(); } preferredVersion_ = input.readMessage( io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(preferredVersion_); preferredVersion_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 34: { if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { serverAddressByClientCIDRs_ = new java.util.ArrayList< io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR>(); mutable_bitField0_ |= 0x00000008; } serverAddressByClientCIDRs_.add( input.readMessage( io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.PARSER, extensionRegistry)); break; } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { versions_ = java.util.Collections.unmodifiableList(versions_); } if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { serverAddressByClientCIDRs_ = java.util.Collections.unmodifiableList(serverAddressByClientCIDRs_); } 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_APIGroup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIGroup_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.APIGroup.class, io.kubernetes.client.proto.Meta.APIGroup.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * * *
     * name is the name of the group.
     * 
* * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
     * name is the name of the group.
     * 
* * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * * *
     * name is the name of the group.
     * 
* * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VERSIONS_FIELD_NUMBER = 2; private java.util.List versions_; /** * * *
     * versions are the versions supported in this group.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2; * */ public java.util.List getVersionsList() { return versions_; } /** * * *
     * versions are the versions supported in this group.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2; * */ public java.util.List< ? extends io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder> getVersionsOrBuilderList() { return versions_; } /** * * *
     * versions are the versions supported in this group.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2; * */ public int getVersionsCount() { return versions_.size(); } /** * * *
     * versions are the versions supported in this group.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2; * */ public io.kubernetes.client.proto.Meta.GroupVersionForDiscovery getVersions(int index) { return versions_.get(index); } /** * * *
     * versions are the versions supported in this group.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2; * */ public io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder getVersionsOrBuilder( int index) { return versions_.get(index); } public static final int PREFERREDVERSION_FIELD_NUMBER = 3; private io.kubernetes.client.proto.Meta.GroupVersionForDiscovery preferredVersion_; /** * * *
     * preferredVersion is the version preferred by the API server, which
     * probably is the storage version.
     * +optional
     * 
* * * optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery preferredVersion = 3; * */ public boolean hasPreferredVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
     * preferredVersion is the version preferred by the API server, which
     * probably is the storage version.
     * +optional
     * 
* * * optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery preferredVersion = 3; * */ public io.kubernetes.client.proto.Meta.GroupVersionForDiscovery getPreferredVersion() { return preferredVersion_ == null ? io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.getDefaultInstance() : preferredVersion_; } /** * * *
     * preferredVersion is the version preferred by the API server, which
     * probably is the storage version.
     * +optional
     * 
* * * optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery preferredVersion = 3; * */ 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; private java.util.List serverAddressByClientCIDRs_; /** * * *
     * a map of client CIDR to server address that is serving this group.
     * This is to help clients reach servers in the most network-efficient way possible.
     * Clients can use the appropriate server address as per the CIDR that they match.
     * In case of multiple matches, clients should use the longest matching CIDR.
     * The server returns only those CIDRs that it thinks that the client can match.
     * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
     * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
     * +optional
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; * */ public java.util.List getServerAddressByClientCIDRsList() { return serverAddressByClientCIDRs_; } /** * * *
     * a map of client CIDR to server address that is serving this group.
     * This is to help clients reach servers in the most network-efficient way possible.
     * Clients can use the appropriate server address as per the CIDR that they match.
     * In case of multiple matches, clients should use the longest matching CIDR.
     * The server returns only those CIDRs that it thinks that the client can match.
     * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
     * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
     * +optional
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; * */ public java.util.List< ? extends io.kubernetes.client.proto.Meta.ServerAddressByClientCIDROrBuilder> getServerAddressByClientCIDRsOrBuilderList() { return serverAddressByClientCIDRs_; } /** * * *
     * a map of client CIDR to server address that is serving this group.
     * This is to help clients reach servers in the most network-efficient way possible.
     * Clients can use the appropriate server address as per the CIDR that they match.
     * In case of multiple matches, clients should use the longest matching CIDR.
     * The server returns only those CIDRs that it thinks that the client can match.
     * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
     * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
     * +optional
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; * */ public int getServerAddressByClientCIDRsCount() { return serverAddressByClientCIDRs_.size(); } /** * * *
     * a map of client CIDR to server address that is serving this group.
     * This is to help clients reach servers in the most network-efficient way possible.
     * Clients can use the appropriate server address as per the CIDR that they match.
     * In case of multiple matches, clients should use the longest matching CIDR.
     * The server returns only those CIDRs that it thinks that the client can match.
     * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
     * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
     * +optional
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; * */ public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR getServerAddressByClientCIDRs( int index) { return serverAddressByClientCIDRs_.get(index); } /** * * *
     * a map of client CIDR to server address that is serving this group.
     * This is to help clients reach servers in the most network-efficient way possible.
     * Clients can use the appropriate server address as per the CIDR that they match.
     * In case of multiple matches, clients should use the longest matching CIDR.
     * The server returns only those CIDRs that it thinks that the client can match.
     * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
     * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
     * +optional
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; * */ public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDROrBuilder getServerAddressByClientCIDRsOrBuilder(int index) { return serverAddressByClientCIDRs_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } for (int i = 0; i < versions_.size(); i++) { output.writeMessage(2, versions_.get(i)); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(3, getPreferredVersion()); } for (int i = 0; i < serverAddressByClientCIDRs_.size(); i++) { output.writeMessage(4, serverAddressByClientCIDRs_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < versions_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, versions_.get(i)); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPreferredVersion()); } for (int i = 0; i < serverAddressByClientCIDRs_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 4, serverAddressByClientCIDRs_.get(i)); } 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.APIGroup)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.APIGroup other = (io.kubernetes.client.proto.Meta.APIGroup) obj; boolean result = true; result = result && (hasName() == other.hasName()); if (hasName()) { result = result && getName().equals(other.getName()); } result = result && getVersionsList().equals(other.getVersionsList()); result = result && (hasPreferredVersion() == other.hasPreferredVersion()); if (hasPreferredVersion()) { result = result && getPreferredVersion().equals(other.getPreferredVersion()); } result = result && getServerAddressByClientCIDRsList() .equals(other.getServerAddressByClientCIDRsList()); 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 (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (getVersionsCount() > 0) { hash = (37 * hash) + VERSIONS_FIELD_NUMBER; hash = (53 * hash) + getVersionsList().hashCode(); } if (hasPreferredVersion()) { hash = (37 * hash) + PREFERREDVERSION_FIELD_NUMBER; hash = (53 * hash) + getPreferredVersion().hashCode(); } if (getServerAddressByClientCIDRsCount() > 0) { hash = (37 * hash) + SERVERADDRESSBYCLIENTCIDRS_FIELD_NUMBER; hash = (53 * hash) + getServerAddressByClientCIDRsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.APIGroup parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.APIGroup 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.APIGroup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.APIGroup 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.APIGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.APIGroup 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.APIGroup parseFrom(java.io.InputStream input) throws java.io.IOException { 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.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.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.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.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.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.APIGroup 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; } /** * * *
     * APIGroup contains the name, the supported versions, and the preferred version
     * of a group.
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup} */ public static final class Builder extends 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 getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIGroup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIGroup_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.APIGroup.class, io.kubernetes.client.proto.Meta.APIGroup.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.APIGroup.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getVersionsFieldBuilder(); getPreferredVersionFieldBuilder(); getServerAddressByClientCIDRsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); if (versionsBuilder_ == null) { versions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { versionsBuilder_.clear(); } if (preferredVersionBuilder_ == null) { preferredVersion_ = null; } else { preferredVersionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); if (serverAddressByClientCIDRsBuilder_ == null) { serverAddressByClientCIDRs_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { serverAddressByClientCIDRsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIGroup_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.APIGroup getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.APIGroup.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.APIGroup build() { io.kubernetes.client.proto.Meta.APIGroup result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.APIGroup buildPartial() { io.kubernetes.client.proto.Meta.APIGroup result = new io.kubernetes.client.proto.Meta.APIGroup(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; if (versionsBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { versions_ = java.util.Collections.unmodifiableList(versions_); bitField0_ = (bitField0_ & ~0x00000002); } result.versions_ = versions_; } 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) == 0x00000008)) { serverAddressByClientCIDRs_ = java.util.Collections.unmodifiableList(serverAddressByClientCIDRs_); bitField0_ = (bitField0_ & ~0x00000008); } result.serverAddressByClientCIDRs_ = serverAddressByClientCIDRs_; } else { result.serverAddressByClientCIDRs_ = serverAddressByClientCIDRsBuilder_.build(); } 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.APIGroup) { return mergeFrom((io.kubernetes.client.proto.Meta.APIGroup) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.APIGroup other) { if (other == io.kubernetes.client.proto.Meta.APIGroup.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (versionsBuilder_ == null) { if (!other.versions_.isEmpty()) { if (versions_.isEmpty()) { versions_ = other.versions_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureVersionsIsMutable(); versions_.addAll(other.versions_); } onChanged(); } } else { if (!other.versions_.isEmpty()) { if (versionsBuilder_.isEmpty()) { versionsBuilder_.dispose(); versionsBuilder_ = null; versions_ = other.versions_; bitField0_ = (bitField0_ & ~0x00000002); versionsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getVersionsFieldBuilder() : null; } else { versionsBuilder_.addAllMessages(other.versions_); } } } if (other.hasPreferredVersion()) { mergePreferredVersion(other.getPreferredVersion()); } if (serverAddressByClientCIDRsBuilder_ == null) { if (!other.serverAddressByClientCIDRs_.isEmpty()) { if (serverAddressByClientCIDRs_.isEmpty()) { serverAddressByClientCIDRs_ = other.serverAddressByClientCIDRs_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureServerAddressByClientCIDRsIsMutable(); serverAddressByClientCIDRs_.addAll(other.serverAddressByClientCIDRs_); } onChanged(); } } else { if (!other.serverAddressByClientCIDRs_.isEmpty()) { if (serverAddressByClientCIDRsBuilder_.isEmpty()) { serverAddressByClientCIDRsBuilder_.dispose(); serverAddressByClientCIDRsBuilder_ = null; serverAddressByClientCIDRs_ = other.serverAddressByClientCIDRs_; bitField0_ = (bitField0_ & ~0x00000008); serverAddressByClientCIDRsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getServerAddressByClientCIDRsFieldBuilder() : null; } else { serverAddressByClientCIDRsBuilder_.addAllMessages(other.serverAddressByClientCIDRs_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.APIGroup parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.APIGroup) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * * *
       * name is the name of the group.
       * 
* * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
       * name is the name of the group.
       * 
* * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * name is the name of the group.
       * 
* * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * name is the name of the group.
       * 
* * optional string name = 1; */ public Builder setName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * * *
       * name is the name of the group.
       * 
* * optional string name = 1; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * * *
       * name is the name of the group.
       * 
* * optional string name = 1; */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.util.List versions_ = java.util.Collections.emptyList(); private void ensureVersionsIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { versions_ = new java.util.ArrayList( versions_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.GroupVersionForDiscovery, io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.Builder, io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder> versionsBuilder_; /** * * *
       * versions are the versions supported in this group.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2; * */ public java.util.List getVersionsList() { if (versionsBuilder_ == null) { return java.util.Collections.unmodifiableList(versions_); } else { return versionsBuilder_.getMessageList(); } } /** * * *
       * versions are the versions supported in this group.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2; * */ public int getVersionsCount() { if (versionsBuilder_ == null) { return versions_.size(); } else { return versionsBuilder_.getCount(); } } /** * * *
       * versions are the versions supported in this group.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2; * */ public io.kubernetes.client.proto.Meta.GroupVersionForDiscovery getVersions(int index) { if (versionsBuilder_ == null) { return versions_.get(index); } else { return versionsBuilder_.getMessage(index); } } /** * * *
       * versions are the versions supported in this group.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2; * */ public Builder setVersions( int index, io.kubernetes.client.proto.Meta.GroupVersionForDiscovery value) { if (versionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureVersionsIsMutable(); versions_.set(index, value); onChanged(); } else { versionsBuilder_.setMessage(index, value); } return this; } /** * * *
       * versions are the versions supported in this group.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2; * */ public Builder setVersions( int index, io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.Builder builderForValue) { if (versionsBuilder_ == null) { ensureVersionsIsMutable(); versions_.set(index, builderForValue.build()); onChanged(); } else { versionsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * * *
       * versions are the versions supported in this group.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2; * */ public Builder addVersions(io.kubernetes.client.proto.Meta.GroupVersionForDiscovery value) { if (versionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureVersionsIsMutable(); versions_.add(value); onChanged(); } else { versionsBuilder_.addMessage(value); } return this; } /** * * *
       * versions are the versions supported in this group.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2; * */ public Builder addVersions( int index, io.kubernetes.client.proto.Meta.GroupVersionForDiscovery value) { if (versionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureVersionsIsMutable(); versions_.add(index, value); onChanged(); } else { versionsBuilder_.addMessage(index, value); } return this; } /** * * *
       * versions are the versions supported in this group.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2; * */ public Builder addVersions( io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.Builder builderForValue) { if (versionsBuilder_ == null) { ensureVersionsIsMutable(); versions_.add(builderForValue.build()); onChanged(); } else { versionsBuilder_.addMessage(builderForValue.build()); } return this; } /** * * *
       * versions are the versions supported in this group.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2; * */ public Builder addVersions( int index, io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.Builder builderForValue) { if (versionsBuilder_ == null) { ensureVersionsIsMutable(); versions_.add(index, builderForValue.build()); onChanged(); } else { versionsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * * *
       * versions are the versions supported in this group.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2; * */ public Builder addAllVersions( java.lang.Iterable values) { if (versionsBuilder_ == null) { ensureVersionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, versions_); onChanged(); } else { versionsBuilder_.addAllMessages(values); } return this; } /** * * *
       * versions are the versions supported in this group.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2; * */ public Builder clearVersions() { if (versionsBuilder_ == null) { versions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { versionsBuilder_.clear(); } return this; } /** * * *
       * versions are the versions supported in this group.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2; * */ public Builder removeVersions(int index) { if (versionsBuilder_ == null) { ensureVersionsIsMutable(); versions_.remove(index); onChanged(); } else { versionsBuilder_.remove(index); } return this; } /** * * *
       * versions are the versions supported in this group.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2; * */ public io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.Builder getVersionsBuilder( int index) { return getVersionsFieldBuilder().getBuilder(index); } /** * * *
       * versions are the versions supported in this group.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2; * */ public io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder getVersionsOrBuilder( int index) { if (versionsBuilder_ == null) { return versions_.get(index); } else { return versionsBuilder_.getMessageOrBuilder(index); } } /** * * *
       * versions are the versions supported in this group.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2; * */ public java.util.List< ? extends io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder> getVersionsOrBuilderList() { if (versionsBuilder_ != null) { return versionsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(versions_); } } /** * * *
       * versions are the versions supported in this group.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2; * */ public io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.Builder addVersionsBuilder() { return getVersionsFieldBuilder() .addBuilder( io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.getDefaultInstance()); } /** * * *
       * versions are the versions supported in this group.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2; * */ public io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.Builder addVersionsBuilder( int index) { return getVersionsFieldBuilder() .addBuilder( index, io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.getDefaultInstance()); } /** * * *
       * versions are the versions supported in this group.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery versions = 2; * */ public java.util.List getVersionsBuilderList() { return getVersionsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.GroupVersionForDiscovery, io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.Builder, io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder> getVersionsFieldBuilder() { if (versionsBuilder_ == null) { versionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.GroupVersionForDiscovery, io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.Builder, io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder>( versions_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); versions_ = null; } return versionsBuilder_; } private io.kubernetes.client.proto.Meta.GroupVersionForDiscovery preferredVersion_ = null; private com.google.protobuf.SingleFieldBuilderV3< io.kubernetes.client.proto.Meta.GroupVersionForDiscovery, io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.Builder, io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder> preferredVersionBuilder_; /** * * *
       * preferredVersion is the version preferred by the API server, which
       * probably is the storage version.
       * +optional
       * 
* * * optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery preferredVersion = 3; * */ public boolean hasPreferredVersion() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * * *
       * preferredVersion is the version preferred by the API server, which
       * probably is the storage version.
       * +optional
       * 
* * * optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery preferredVersion = 3; * */ public io.kubernetes.client.proto.Meta.GroupVersionForDiscovery getPreferredVersion() { if (preferredVersionBuilder_ == null) { return preferredVersion_ == null ? io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.getDefaultInstance() : preferredVersion_; } else { return preferredVersionBuilder_.getMessage(); } } /** * * *
       * preferredVersion is the version preferred by the API server, which
       * probably is the storage version.
       * +optional
       * 
* * * optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery preferredVersion = 3; * */ public Builder setPreferredVersion( io.kubernetes.client.proto.Meta.GroupVersionForDiscovery value) { if (preferredVersionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } preferredVersion_ = value; onChanged(); } else { preferredVersionBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** * * *
       * preferredVersion is the version preferred by the API server, which
       * probably is the storage version.
       * +optional
       * 
* * * optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery preferredVersion = 3; * */ 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; return this; } /** * * *
       * preferredVersion is the version preferred by the API server, which
       * probably is the storage version.
       * +optional
       * 
* * * optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery preferredVersion = 3; * */ public Builder mergePreferredVersion( io.kubernetes.client.proto.Meta.GroupVersionForDiscovery value) { if (preferredVersionBuilder_ == null) { 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); } bitField0_ |= 0x00000004; return this; } /** * * *
       * preferredVersion is the version preferred by the API server, which
       * probably is the storage version.
       * +optional
       * 
* * * optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery preferredVersion = 3; * */ public Builder clearPreferredVersion() { if (preferredVersionBuilder_ == null) { preferredVersion_ = null; onChanged(); } else { preferredVersionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * * *
       * preferredVersion is the version preferred by the API server, which
       * probably is the storage version.
       * +optional
       * 
* * * optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery preferredVersion = 3; * */ public io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.Builder getPreferredVersionBuilder() { bitField0_ |= 0x00000004; onChanged(); return getPreferredVersionFieldBuilder().getBuilder(); } /** * * *
       * preferredVersion is the version preferred by the API server, which
       * probably is the storage version.
       * +optional
       * 
* * * optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery preferredVersion = 3; * */ public io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder getPreferredVersionOrBuilder() { if (preferredVersionBuilder_ != null) { return preferredVersionBuilder_.getMessageOrBuilder(); } else { return preferredVersion_ == null ? io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.getDefaultInstance() : preferredVersion_; } } /** * * *
       * preferredVersion is the version preferred by the API server, which
       * probably is the storage version.
       * +optional
       * 
* * * optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery preferredVersion = 3; * */ 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.SingleFieldBuilderV3< io.kubernetes.client.proto.Meta.GroupVersionForDiscovery, io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.Builder, io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder>( getPreferredVersion(), getParentForChildren(), isClean()); preferredVersion_ = null; } return preferredVersionBuilder_; } private java.util.List serverAddressByClientCIDRs_ = java.util.Collections.emptyList(); private void ensureServerAddressByClientCIDRsIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { serverAddressByClientCIDRs_ = new java.util.ArrayList( serverAddressByClientCIDRs_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR, io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.Builder, io.kubernetes.client.proto.Meta.ServerAddressByClientCIDROrBuilder> serverAddressByClientCIDRsBuilder_; /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; * */ public java.util.List getServerAddressByClientCIDRsList() { if (serverAddressByClientCIDRsBuilder_ == null) { return java.util.Collections.unmodifiableList(serverAddressByClientCIDRs_); } else { return serverAddressByClientCIDRsBuilder_.getMessageList(); } } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; * */ public int getServerAddressByClientCIDRsCount() { if (serverAddressByClientCIDRsBuilder_ == null) { return serverAddressByClientCIDRs_.size(); } else { return serverAddressByClientCIDRsBuilder_.getCount(); } } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; * */ public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR getServerAddressByClientCIDRs(int index) { if (serverAddressByClientCIDRsBuilder_ == null) { return serverAddressByClientCIDRs_.get(index); } else { return serverAddressByClientCIDRsBuilder_.getMessage(index); } } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; * */ public Builder setServerAddressByClientCIDRs( int index, io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR value) { if (serverAddressByClientCIDRsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureServerAddressByClientCIDRsIsMutable(); serverAddressByClientCIDRs_.set(index, value); onChanged(); } else { serverAddressByClientCIDRsBuilder_.setMessage(index, value); } return this; } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; * */ public Builder setServerAddressByClientCIDRs( int index, io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.Builder builderForValue) { if (serverAddressByClientCIDRsBuilder_ == null) { ensureServerAddressByClientCIDRsIsMutable(); serverAddressByClientCIDRs_.set(index, builderForValue.build()); onChanged(); } else { serverAddressByClientCIDRsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; * */ public Builder addServerAddressByClientCIDRs( io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR value) { if (serverAddressByClientCIDRsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureServerAddressByClientCIDRsIsMutable(); serverAddressByClientCIDRs_.add(value); onChanged(); } else { serverAddressByClientCIDRsBuilder_.addMessage(value); } return this; } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; * */ public Builder addServerAddressByClientCIDRs( int index, io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR value) { if (serverAddressByClientCIDRsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureServerAddressByClientCIDRsIsMutable(); serverAddressByClientCIDRs_.add(index, value); onChanged(); } else { serverAddressByClientCIDRsBuilder_.addMessage(index, value); } return this; } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; * */ public Builder addServerAddressByClientCIDRs( io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.Builder builderForValue) { if (serverAddressByClientCIDRsBuilder_ == null) { ensureServerAddressByClientCIDRsIsMutable(); serverAddressByClientCIDRs_.add(builderForValue.build()); onChanged(); } else { serverAddressByClientCIDRsBuilder_.addMessage(builderForValue.build()); } return this; } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; * */ public Builder addServerAddressByClientCIDRs( int index, io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.Builder builderForValue) { if (serverAddressByClientCIDRsBuilder_ == null) { ensureServerAddressByClientCIDRsIsMutable(); serverAddressByClientCIDRs_.add(index, builderForValue.build()); onChanged(); } else { serverAddressByClientCIDRsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; * */ public Builder addAllServerAddressByClientCIDRs( java.lang.Iterable values) { if (serverAddressByClientCIDRsBuilder_ == null) { ensureServerAddressByClientCIDRsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, serverAddressByClientCIDRs_); onChanged(); } else { serverAddressByClientCIDRsBuilder_.addAllMessages(values); } return this; } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; * */ public Builder clearServerAddressByClientCIDRs() { if (serverAddressByClientCIDRsBuilder_ == null) { serverAddressByClientCIDRs_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { serverAddressByClientCIDRsBuilder_.clear(); } return this; } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; * */ public Builder removeServerAddressByClientCIDRs(int index) { if (serverAddressByClientCIDRsBuilder_ == null) { ensureServerAddressByClientCIDRsIsMutable(); serverAddressByClientCIDRs_.remove(index); onChanged(); } else { serverAddressByClientCIDRsBuilder_.remove(index); } return this; } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; * */ public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.Builder getServerAddressByClientCIDRsBuilder(int index) { return getServerAddressByClientCIDRsFieldBuilder().getBuilder(index); } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; * */ public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDROrBuilder getServerAddressByClientCIDRsOrBuilder(int index) { if (serverAddressByClientCIDRsBuilder_ == null) { return serverAddressByClientCIDRs_.get(index); } else { return serverAddressByClientCIDRsBuilder_.getMessageOrBuilder(index); } } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; * */ public java.util.List< ? extends io.kubernetes.client.proto.Meta.ServerAddressByClientCIDROrBuilder> getServerAddressByClientCIDRsOrBuilderList() { if (serverAddressByClientCIDRsBuilder_ != null) { return serverAddressByClientCIDRsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(serverAddressByClientCIDRs_); } } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; * */ public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.Builder addServerAddressByClientCIDRsBuilder() { return getServerAddressByClientCIDRsFieldBuilder() .addBuilder( io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.getDefaultInstance()); } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; * */ public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.Builder addServerAddressByClientCIDRsBuilder(int index) { return getServerAddressByClientCIDRsFieldBuilder() .addBuilder( index, io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.getDefaultInstance()); } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; * */ public java.util.List getServerAddressByClientCIDRsBuilderList() { return getServerAddressByClientCIDRsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR, io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.Builder, io.kubernetes.client.proto.Meta.ServerAddressByClientCIDROrBuilder> getServerAddressByClientCIDRsFieldBuilder() { if (serverAddressByClientCIDRsBuilder_ == null) { serverAddressByClientCIDRsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR, io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.Builder, io.kubernetes.client.proto.Meta.ServerAddressByClientCIDROrBuilder>( serverAddressByClientCIDRs_, ((bitField0_ & 0x00000008) == 0x00000008), getParentForChildren(), isClean()); serverAddressByClientCIDRs_ = null; } return serverAddressByClientCIDRsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup) private static final io.kubernetes.client.proto.Meta.APIGroup DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.APIGroup(); } public static io.kubernetes.client.proto.Meta.APIGroup getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public APIGroup parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new APIGroup(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.APIGroup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface APIGroupListOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.APIGroupList) com.google.protobuf.MessageOrBuilder { /** * * *
     * groups is a list of APIGroup.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1; */ java.util.List getGroupsList(); /** * * *
     * groups is a list of APIGroup.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1; */ io.kubernetes.client.proto.Meta.APIGroup getGroups(int index); /** * * *
     * groups is a list of APIGroup.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1; */ int getGroupsCount(); /** * * *
     * groups is a list of APIGroup.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1; */ java.util.List getGroupsOrBuilderList(); /** * * *
     * groups is a list of APIGroup.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1; */ io.kubernetes.client.proto.Meta.APIGroupOrBuilder getGroupsOrBuilder(int index); } /** * * *
   * APIGroupList is a list of APIGroup, to allow clients to discover the API at
   * /apis.
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.APIGroupList} */ public static final class APIGroupList extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.APIGroupList) APIGroupListOrBuilder { private static final long serialVersionUID = 0L; // Use APIGroupList.newBuilder() to construct. private APIGroupList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private APIGroupList() { groups_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private APIGroupList( 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)) { groups_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } groups_.add( input.readMessage( io.kubernetes.client.proto.Meta.APIGroup.PARSER, extensionRegistry)); break; } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { groups_ = java.util.Collections.unmodifiableList(groups_); } 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_APIGroupList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIGroupList_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.APIGroupList.class, io.kubernetes.client.proto.Meta.APIGroupList.Builder.class); } public static final int GROUPS_FIELD_NUMBER = 1; private java.util.List groups_; /** * * *
     * groups is a list of APIGroup.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1; */ public java.util.List getGroupsList() { return groups_; } /** * * *
     * groups is a list of APIGroup.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1; */ public java.util.List getGroupsOrBuilderList() { return groups_; } /** * * *
     * groups is a list of APIGroup.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1; */ public int getGroupsCount() { return groups_.size(); } /** * * *
     * groups is a list of APIGroup.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1; */ public io.kubernetes.client.proto.Meta.APIGroup getGroups(int index) { return groups_.get(index); } /** * * *
     * groups is a list of APIGroup.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1; */ public io.kubernetes.client.proto.Meta.APIGroupOrBuilder getGroupsOrBuilder(int index) { return groups_.get(index); } 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 { for (int i = 0; i < groups_.size(); i++) { output.writeMessage(1, groups_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < groups_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, groups_.get(i)); } 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.APIGroupList)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.APIGroupList other = (io.kubernetes.client.proto.Meta.APIGroupList) obj; boolean result = true; result = result && getGroupsList().equals(other.getGroupsList()); 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 (getGroupsCount() > 0) { hash = (37 * hash) + GROUPS_FIELD_NUMBER; hash = (53 * hash) + getGroupsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.APIGroupList parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.APIGroupList 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.APIGroupList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.APIGroupList 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.APIGroupList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.APIGroupList 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.APIGroupList parseFrom(java.io.InputStream input) throws java.io.IOException { 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.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.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.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.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.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.APIGroupList 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; } /** * * *
     * APIGroupList is a list of APIGroup, to allow clients to discover the API at
     * /apis.
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.APIGroupList} */ public static final class Builder extends 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 getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIGroupList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIGroupList_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.APIGroupList.class, io.kubernetes.client.proto.Meta.APIGroupList.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.APIGroupList.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(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(); if (groupsBuilder_ == null) { groups_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { groupsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIGroupList_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.APIGroupList getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.APIGroupList.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.APIGroupList build() { io.kubernetes.client.proto.Meta.APIGroupList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.APIGroupList buildPartial() { io.kubernetes.client.proto.Meta.APIGroupList result = new io.kubernetes.client.proto.Meta.APIGroupList(this); int from_bitField0_ = bitField0_; if (groupsBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { groups_ = java.util.Collections.unmodifiableList(groups_); bitField0_ = (bitField0_ & ~0x00000001); } result.groups_ = groups_; } else { result.groups_ = groupsBuilder_.build(); } 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.APIGroupList) { return mergeFrom((io.kubernetes.client.proto.Meta.APIGroupList) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.APIGroupList other) { if (other == io.kubernetes.client.proto.Meta.APIGroupList.getDefaultInstance()) return this; if (groupsBuilder_ == null) { if (!other.groups_.isEmpty()) { if (groups_.isEmpty()) { groups_ = other.groups_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureGroupsIsMutable(); groups_.addAll(other.groups_); } onChanged(); } } else { if (!other.groups_.isEmpty()) { if (groupsBuilder_.isEmpty()) { groupsBuilder_.dispose(); groupsBuilder_ = null; groups_ = other.groups_; bitField0_ = (bitField0_ & ~0x00000001); groupsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getGroupsFieldBuilder() : null; } else { groupsBuilder_.addAllMessages(other.groups_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.APIGroupList parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.APIGroupList) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List groups_ = java.util.Collections.emptyList(); private void ensureGroupsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { groups_ = new java.util.ArrayList(groups_); bitField0_ |= 0x00000001; } } 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_; /** * * *
       * groups is a list of APIGroup.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1; */ public java.util.List getGroupsList() { if (groupsBuilder_ == null) { return java.util.Collections.unmodifiableList(groups_); } else { return groupsBuilder_.getMessageList(); } } /** * * *
       * groups is a list of APIGroup.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1; */ public int getGroupsCount() { if (groupsBuilder_ == null) { return groups_.size(); } else { return groupsBuilder_.getCount(); } } /** * * *
       * groups is a list of APIGroup.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1; */ public io.kubernetes.client.proto.Meta.APIGroup getGroups(int index) { if (groupsBuilder_ == null) { return groups_.get(index); } else { return groupsBuilder_.getMessage(index); } } /** * * *
       * groups is a list of APIGroup.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1; */ public Builder setGroups(int index, io.kubernetes.client.proto.Meta.APIGroup value) { if (groupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGroupsIsMutable(); groups_.set(index, value); onChanged(); } else { groupsBuilder_.setMessage(index, value); } return this; } /** * * *
       * groups is a list of APIGroup.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1; */ public Builder setGroups( int index, io.kubernetes.client.proto.Meta.APIGroup.Builder builderForValue) { if (groupsBuilder_ == null) { ensureGroupsIsMutable(); groups_.set(index, builderForValue.build()); onChanged(); } else { groupsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * * *
       * groups is a list of APIGroup.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1; */ public Builder addGroups(io.kubernetes.client.proto.Meta.APIGroup value) { if (groupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGroupsIsMutable(); groups_.add(value); onChanged(); } else { groupsBuilder_.addMessage(value); } return this; } /** * * *
       * groups is a list of APIGroup.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1; */ public Builder addGroups(int index, io.kubernetes.client.proto.Meta.APIGroup value) { if (groupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGroupsIsMutable(); groups_.add(index, value); onChanged(); } else { groupsBuilder_.addMessage(index, value); } return this; } /** * * *
       * groups is a list of APIGroup.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1; */ public Builder addGroups(io.kubernetes.client.proto.Meta.APIGroup.Builder builderForValue) { if (groupsBuilder_ == null) { ensureGroupsIsMutable(); groups_.add(builderForValue.build()); onChanged(); } else { groupsBuilder_.addMessage(builderForValue.build()); } return this; } /** * * *
       * groups is a list of APIGroup.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1; */ public Builder addGroups( int index, io.kubernetes.client.proto.Meta.APIGroup.Builder builderForValue) { if (groupsBuilder_ == null) { ensureGroupsIsMutable(); groups_.add(index, builderForValue.build()); onChanged(); } else { groupsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * * *
       * groups is a list of APIGroup.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1; */ public Builder addAllGroups( java.lang.Iterable values) { if (groupsBuilder_ == null) { ensureGroupsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groups_); onChanged(); } else { groupsBuilder_.addAllMessages(values); } return this; } /** * * *
       * groups is a list of APIGroup.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1; */ public Builder clearGroups() { if (groupsBuilder_ == null) { groups_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { groupsBuilder_.clear(); } return this; } /** * * *
       * groups is a list of APIGroup.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1; */ public Builder removeGroups(int index) { if (groupsBuilder_ == null) { ensureGroupsIsMutable(); groups_.remove(index); onChanged(); } else { groupsBuilder_.remove(index); } return this; } /** * * *
       * groups is a list of APIGroup.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1; */ public io.kubernetes.client.proto.Meta.APIGroup.Builder getGroupsBuilder(int index) { return getGroupsFieldBuilder().getBuilder(index); } /** * * *
       * groups is a list of APIGroup.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1; */ public io.kubernetes.client.proto.Meta.APIGroupOrBuilder getGroupsOrBuilder(int index) { if (groupsBuilder_ == null) { return groups_.get(index); } else { return groupsBuilder_.getMessageOrBuilder(index); } } /** * * *
       * groups is a list of APIGroup.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1; */ public java.util.List getGroupsOrBuilderList() { if (groupsBuilder_ != null) { return groupsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(groups_); } } /** * * *
       * groups is a list of APIGroup.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1; */ public io.kubernetes.client.proto.Meta.APIGroup.Builder addGroupsBuilder() { return getGroupsFieldBuilder() .addBuilder(io.kubernetes.client.proto.Meta.APIGroup.getDefaultInstance()); } /** * * *
       * groups is a list of APIGroup.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1; */ public io.kubernetes.client.proto.Meta.APIGroup.Builder addGroupsBuilder(int index) { return getGroupsFieldBuilder() .addBuilder(index, io.kubernetes.client.proto.Meta.APIGroup.getDefaultInstance()); } /** * * *
       * groups is a list of APIGroup.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup groups = 1; */ public java.util.List getGroupsBuilderList() { return getGroupsFieldBuilder().getBuilderList(); } 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.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.APIGroup, io.kubernetes.client.proto.Meta.APIGroup.Builder, io.kubernetes.client.proto.Meta.APIGroupOrBuilder>( groups_, ((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) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.APIGroupList) private static final io.kubernetes.client.proto.Meta.APIGroupList DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.APIGroupList(); } public static io.kubernetes.client.proto.Meta.APIGroupList getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public APIGroupList parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new APIGroupList(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.APIGroupList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface APIResourceOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.APIResource) com.google.protobuf.MessageOrBuilder { /** * * *
     * name is the plural name of the resource.
     * 
* * optional string name = 1; */ boolean hasName(); /** * * *
     * name is the plural name of the resource.
     * 
* * optional string name = 1; */ java.lang.String getName(); /** * * *
     * name is the plural name of the resource.
     * 
* * optional string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** * * *
     * singularName is the singular name of the resource.  This allows clients to handle plural and singular opaquely.
     * The singularName is more correct for reporting status on a single item and both singular and plural are allowed
     * from the kubectl CLI interface.
     * 
* * optional string singularName = 6; */ boolean hasSingularName(); /** * * *
     * singularName is the singular name of the resource.  This allows clients to handle plural and singular opaquely.
     * The singularName is more correct for reporting status on a single item and both singular and plural are allowed
     * from the kubectl CLI interface.
     * 
* * optional string singularName = 6; */ java.lang.String getSingularName(); /** * * *
     * singularName is the singular name of the resource.  This allows clients to handle plural and singular opaquely.
     * The singularName is more correct for reporting status on a single item and both singular and plural are allowed
     * from the kubectl CLI interface.
     * 
* * optional string singularName = 6; */ com.google.protobuf.ByteString getSingularNameBytes(); /** * * *
     * namespaced indicates if a resource is namespaced or not.
     * 
* * optional bool namespaced = 2; */ boolean hasNamespaced(); /** * * *
     * namespaced indicates if a resource is namespaced or not.
     * 
* * optional bool namespaced = 2; */ boolean getNamespaced(); /** * * *
     * group is the preferred group of the resource.  Empty implies the group of the containing resource list.
     * For subresources, this may have a different value, for example: Scale".
     * 
* * optional string group = 8; */ boolean hasGroup(); /** * * *
     * group is the preferred group of the resource.  Empty implies the group of the containing resource list.
     * For subresources, this may have a different value, for example: Scale".
     * 
* * optional string group = 8; */ java.lang.String getGroup(); /** * * *
     * group is the preferred group of the resource.  Empty implies the group of the containing resource list.
     * For subresources, this may have a different value, for example: Scale".
     * 
* * optional string group = 8; */ com.google.protobuf.ByteString getGroupBytes(); /** * * *
     * version is the preferred version of the resource.  Empty implies the version of the containing resource list
     * For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
     * 
* * optional string version = 9; */ boolean hasVersion(); /** * * *
     * version is the preferred version of the resource.  Empty implies the version of the containing resource list
     * For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
     * 
* * optional string version = 9; */ java.lang.String getVersion(); /** * * *
     * version is the preferred version of the resource.  Empty implies the version of the containing resource list
     * For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
     * 
* * optional string version = 9; */ com.google.protobuf.ByteString getVersionBytes(); /** * * *
     * kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
     * 
* * optional string kind = 3; */ boolean hasKind(); /** * * *
     * kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
     * 
* * optional string kind = 3; */ java.lang.String getKind(); /** * * *
     * kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
     * 
* * optional string kind = 3; */ com.google.protobuf.ByteString getKindBytes(); /** * * *
     * verbs is a list of supported kube verbs (this includes get, list, watch, create,
     * update, patch, delete, deletecollection, and proxy)
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4; */ boolean hasVerbs(); /** * * *
     * verbs is a list of supported kube verbs (this includes get, list, watch, create,
     * update, patch, delete, deletecollection, and proxy)
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4; */ io.kubernetes.client.proto.Meta.Verbs getVerbs(); /** * * *
     * verbs is a list of supported kube verbs (this includes get, list, watch, create,
     * update, patch, delete, deletecollection, and proxy)
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4; */ io.kubernetes.client.proto.Meta.VerbsOrBuilder getVerbsOrBuilder(); /** * * *
     * shortNames is a list of suggested short names of the resource.
     * 
* * repeated string shortNames = 5; */ java.util.List getShortNamesList(); /** * * *
     * shortNames is a list of suggested short names of the resource.
     * 
* * repeated string shortNames = 5; */ int getShortNamesCount(); /** * * *
     * shortNames is a list of suggested short names of the resource.
     * 
* * repeated string shortNames = 5; */ java.lang.String getShortNames(int index); /** * * *
     * shortNames is a list of suggested short names of the resource.
     * 
* * repeated string shortNames = 5; */ com.google.protobuf.ByteString getShortNamesBytes(int index); /** * * *
     * categories is a list of the grouped resources this resource belongs to (e.g. 'all')
     * 
* * repeated string categories = 7; */ java.util.List getCategoriesList(); /** * * *
     * categories is a list of the grouped resources this resource belongs to (e.g. 'all')
     * 
* * repeated string categories = 7; */ int getCategoriesCount(); /** * * *
     * categories is a list of the grouped resources this resource belongs to (e.g. 'all')
     * 
* * repeated string categories = 7; */ java.lang.String getCategories(int index); /** * * *
     * categories is a list of the grouped resources this resource belongs to (e.g. 'all')
     * 
* * repeated string categories = 7; */ com.google.protobuf.ByteString getCategoriesBytes(int index); /** * * *
     * The hash value of the storage version, the version this resource is
     * converted to when written to the data store. Value must be treated
     * as opaque by clients. Only equality comparison on the value is valid.
     * This is an alpha feature and may change or be removed in the future.
     * The field is populated by the apiserver only if the
     * StorageVersionHash feature gate is enabled.
     * This field will remain optional even if it graduates.
     * +optional
     * 
* * optional string storageVersionHash = 10; */ boolean hasStorageVersionHash(); /** * * *
     * The hash value of the storage version, the version this resource is
     * converted to when written to the data store. Value must be treated
     * as opaque by clients. Only equality comparison on the value is valid.
     * This is an alpha feature and may change or be removed in the future.
     * The field is populated by the apiserver only if the
     * StorageVersionHash feature gate is enabled.
     * This field will remain optional even if it graduates.
     * +optional
     * 
* * optional string storageVersionHash = 10; */ java.lang.String getStorageVersionHash(); /** * * *
     * The hash value of the storage version, the version this resource is
     * converted to when written to the data store. Value must be treated
     * as opaque by clients. Only equality comparison on the value is valid.
     * This is an alpha feature and may change or be removed in the future.
     * The field is populated by the apiserver only if the
     * StorageVersionHash feature gate is enabled.
     * This field will remain optional even if it graduates.
     * +optional
     * 
* * optional string storageVersionHash = 10; */ com.google.protobuf.ByteString getStorageVersionHashBytes(); } /** * * *
   * APIResource specifies the name of a resource and whether it is namespaced.
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.APIResource} */ 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; // Use APIResource.newBuilder() to construct. private APIResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private APIResource() { name_ = ""; singularName_ = ""; namespaced_ = false; group_ = ""; version_ = ""; kind_ = ""; shortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; categories_ = com.google.protobuf.LazyStringArrayList.EMPTY; storageVersionHash_ = ""; } @java.lang.Override 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIResource_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.APIResource.class, io.kubernetes.client.proto.Meta.APIResource.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * * *
     * name is the plural name of the resource.
     * 
* * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
     * name is the plural name of the resource.
     * 
* * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * * *
     * name is the plural name of the resource.
     * 
* * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SINGULARNAME_FIELD_NUMBER = 6; private volatile java.lang.Object singularName_; /** * * *
     * singularName is the singular name of the resource.  This allows clients to handle plural and singular opaquely.
     * The singularName is more correct for reporting status on a single item and both singular and plural are allowed
     * from the kubectl CLI interface.
     * 
* * optional string singularName = 6; */ public boolean hasSingularName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
     * singularName is the singular name of the resource.  This allows clients to handle plural and singular opaquely.
     * The singularName is more correct for reporting status on a single item and both singular and plural are allowed
     * from the kubectl CLI interface.
     * 
* * optional string singularName = 6; */ public java.lang.String getSingularName() { java.lang.Object ref = singularName_; 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()) { singularName_ = s; } return s; } } /** * * *
     * singularName is the singular name of the resource.  This allows clients to handle plural and singular opaquely.
     * The singularName is more correct for reporting status on a single item and both singular and plural are allowed
     * from the kubectl CLI interface.
     * 
* * optional string singularName = 6; */ public com.google.protobuf.ByteString getSingularNameBytes() { java.lang.Object ref = singularName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); singularName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAMESPACED_FIELD_NUMBER = 2; private boolean namespaced_; /** * * *
     * namespaced indicates if a resource is namespaced or not.
     * 
* * optional bool namespaced = 2; */ public boolean hasNamespaced() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * * *
     * namespaced indicates if a resource is namespaced or not.
     * 
* * optional bool namespaced = 2; */ public boolean getNamespaced() { return namespaced_; } public static final int GROUP_FIELD_NUMBER = 8; private volatile java.lang.Object group_; /** * * *
     * group is the preferred group of the resource.  Empty implies the group of the containing resource list.
     * For subresources, this may have a different value, for example: Scale".
     * 
* * optional string group = 8; */ public boolean hasGroup() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * * *
     * group is the preferred group of the resource.  Empty implies the group of the containing resource list.
     * For subresources, this may have a different value, for example: Scale".
     * 
* * optional string group = 8; */ public java.lang.String getGroup() { java.lang.Object ref = group_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { group_ = s; } return s; } } /** * * *
     * group is the preferred group of the resource.  Empty implies the group of the containing resource list.
     * For subresources, this may have a different value, for example: Scale".
     * 
* * optional string group = 8; */ public com.google.protobuf.ByteString getGroupBytes() { java.lang.Object ref = group_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); group_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VERSION_FIELD_NUMBER = 9; private volatile java.lang.Object version_; /** * * *
     * version is the preferred version of the resource.  Empty implies the version of the containing resource list
     * For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
     * 
* * optional string version = 9; */ public boolean hasVersion() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * * *
     * version is the preferred version of the resource.  Empty implies the version of the containing resource list
     * For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
     * 
* * optional string version = 9; */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { version_ = s; } return s; } } /** * * *
     * version is the preferred version of the resource.  Empty implies the version of the containing resource list
     * For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
     * 
* * optional string version = 9; */ public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int KIND_FIELD_NUMBER = 3; private volatile java.lang.Object kind_; /** * * *
     * kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
     * 
* * optional string kind = 3; */ public boolean hasKind() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * * *
     * kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
     * 
* * optional string kind = 3; */ public java.lang.String getKind() { java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { kind_ = s; } return s; } } /** * * *
     * kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
     * 
* * optional string kind = 3; */ public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kind_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VERBS_FIELD_NUMBER = 4; private io.kubernetes.client.proto.Meta.Verbs verbs_; /** * * *
     * verbs is a list of supported kube verbs (this includes get, list, watch, create,
     * update, patch, delete, deletecollection, and proxy)
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4; */ public boolean hasVerbs() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * * *
     * verbs is a list of supported kube verbs (this includes get, list, watch, create,
     * update, patch, delete, deletecollection, and proxy)
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4; */ public io.kubernetes.client.proto.Meta.Verbs getVerbs() { return verbs_ == null ? io.kubernetes.client.proto.Meta.Verbs.getDefaultInstance() : verbs_; } /** * * *
     * verbs is a list of supported kube verbs (this includes get, list, watch, create,
     * update, patch, delete, deletecollection, and proxy)
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4; */ 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; private com.google.protobuf.LazyStringList shortNames_; /** * * *
     * shortNames is a list of suggested short names of the resource.
     * 
* * repeated string shortNames = 5; */ public com.google.protobuf.ProtocolStringList getShortNamesList() { return shortNames_; } /** * * *
     * shortNames is a list of suggested short names of the resource.
     * 
* * repeated string shortNames = 5; */ public int getShortNamesCount() { return shortNames_.size(); } /** * * *
     * shortNames is a list of suggested short names of the resource.
     * 
* * repeated string shortNames = 5; */ public java.lang.String getShortNames(int index) { return shortNames_.get(index); } /** * * *
     * shortNames is a list of suggested short names of the resource.
     * 
* * repeated string shortNames = 5; */ public com.google.protobuf.ByteString getShortNamesBytes(int index) { return shortNames_.getByteString(index); } public static final int CATEGORIES_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList categories_; /** * * *
     * categories is a list of the grouped resources this resource belongs to (e.g. 'all')
     * 
* * repeated string categories = 7; */ public com.google.protobuf.ProtocolStringList getCategoriesList() { return categories_; } /** * * *
     * categories is a list of the grouped resources this resource belongs to (e.g. 'all')
     * 
* * repeated string categories = 7; */ public int getCategoriesCount() { return categories_.size(); } /** * * *
     * categories is a list of the grouped resources this resource belongs to (e.g. 'all')
     * 
* * repeated string categories = 7; */ public java.lang.String getCategories(int index) { return categories_.get(index); } /** * * *
     * categories is a list of the grouped resources this resource belongs to (e.g. 'all')
     * 
* * repeated string categories = 7; */ public com.google.protobuf.ByteString getCategoriesBytes(int index) { return categories_.getByteString(index); } public static final int STORAGEVERSIONHASH_FIELD_NUMBER = 10; private volatile java.lang.Object storageVersionHash_; /** * * *
     * The hash value of the storage version, the version this resource is
     * converted to when written to the data store. Value must be treated
     * as opaque by clients. Only equality comparison on the value is valid.
     * This is an alpha feature and may change or be removed in the future.
     * The field is populated by the apiserver only if the
     * StorageVersionHash feature gate is enabled.
     * This field will remain optional even if it graduates.
     * +optional
     * 
* * optional string storageVersionHash = 10; */ public boolean hasStorageVersionHash() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * * *
     * The hash value of the storage version, the version this resource is
     * converted to when written to the data store. Value must be treated
     * as opaque by clients. Only equality comparison on the value is valid.
     * This is an alpha feature and may change or be removed in the future.
     * The field is populated by the apiserver only if the
     * StorageVersionHash feature gate is enabled.
     * This field will remain optional even if it graduates.
     * +optional
     * 
* * optional string storageVersionHash = 10; */ public java.lang.String getStorageVersionHash() { java.lang.Object ref = storageVersionHash_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { storageVersionHash_ = s; } return s; } } /** * * *
     * The hash value of the storage version, the version this resource is
     * converted to when written to the data store. Value must be treated
     * as opaque by clients. Only equality comparison on the value is valid.
     * This is an alpha feature and may change or be removed in the future.
     * The field is populated by the apiserver only if the
     * StorageVersionHash feature gate is enabled.
     * This field will remain optional even if it graduates.
     * +optional
     * 
* * optional string storageVersionHash = 10; */ public com.google.protobuf.ByteString getStorageVersionHashBytes() { java.lang.Object ref = storageVersionHash_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); storageVersionHash_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(2, namespaced_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, kind_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeMessage(4, getVerbs()); } for (int i = 0; i < shortNames_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, shortNames_.getRaw(i)); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, singularName_); } for (int i = 0; i < categories_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, categories_.getRaw(i)); } if (((bitField0_ & 0x00000008) == 0x00000008)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, group_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, version_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, storageVersionHash_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, namespaced_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, kind_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getVerbs()); } { int dataSize = 0; for (int i = 0; i < shortNames_.size(); i++) { dataSize += computeStringSizeNoTag(shortNames_.getRaw(i)); } size += dataSize; size += 1 * getShortNamesList().size(); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, singularName_); } { int dataSize = 0; for (int i = 0; i < categories_.size(); i++) { dataSize += computeStringSizeNoTag(categories_.getRaw(i)); } size += dataSize; size += 1 * getCategoriesList().size(); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, group_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, version_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, storageVersionHash_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.kubernetes.client.proto.Meta.APIResource)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.APIResource other = (io.kubernetes.client.proto.Meta.APIResource) obj; boolean result = true; result = result && (hasName() == other.hasName()); if (hasName()) { result = result && getName().equals(other.getName()); } result = result && (hasSingularName() == other.hasSingularName()); if (hasSingularName()) { result = result && getSingularName().equals(other.getSingularName()); } result = result && (hasNamespaced() == other.hasNamespaced()); if (hasNamespaced()) { result = result && (getNamespaced() == other.getNamespaced()); } result = result && (hasGroup() == other.hasGroup()); if (hasGroup()) { result = result && getGroup().equals(other.getGroup()); } result = result && (hasVersion() == other.hasVersion()); if (hasVersion()) { result = result && getVersion().equals(other.getVersion()); } result = result && (hasKind() == other.hasKind()); if (hasKind()) { result = result && getKind().equals(other.getKind()); } result = result && (hasVerbs() == other.hasVerbs()); if (hasVerbs()) { 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()) { result = result && getStorageVersionHash().equals(other.getStorageVersionHash()); } 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 (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasSingularName()) { hash = (37 * hash) + SINGULARNAME_FIELD_NUMBER; hash = (53 * hash) + getSingularName().hashCode(); } if (hasNamespaced()) { hash = (37 * hash) + NAMESPACED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNamespaced()); } if (hasGroup()) { hash = (37 * hash) + GROUP_FIELD_NUMBER; hash = (53 * hash) + getGroup().hashCode(); } if (hasVersion()) { hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + getVersion().hashCode(); } if (hasKind()) { hash = (37 * hash) + KIND_FIELD_NUMBER; hash = (53 * hash) + getKind().hashCode(); } if (hasVerbs()) { hash = (37 * hash) + VERBS_FIELD_NUMBER; hash = (53 * hash) + getVerbs().hashCode(); } if (getShortNamesCount() > 0) { hash = (37 * hash) + SHORTNAMES_FIELD_NUMBER; hash = (53 * hash) + getShortNamesList().hashCode(); } if (getCategoriesCount() > 0) { hash = (37 * hash) + CATEGORIES_FIELD_NUMBER; hash = (53 * hash) + getCategoriesList().hashCode(); } if (hasStorageVersionHash()) { hash = (37 * hash) + STORAGEVERSIONHASH_FIELD_NUMBER; hash = (53 * hash) + getStorageVersionHash().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.APIResource parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.APIResource 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.APIResource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.APIResource 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.APIResource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.APIResource 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.APIResource parseFrom(java.io.InputStream input) throws java.io.IOException { 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.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.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.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.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.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.APIResource 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; } /** * * *
     * APIResource specifies the name of a resource and whether it is namespaced.
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.APIResource} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.APIResource) io.kubernetes.client.proto.Meta.APIResourceOrBuilder { 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIResource_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.APIResource.class, io.kubernetes.client.proto.Meta.APIResource.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.APIResource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getVerbsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); singularName_ = ""; bitField0_ = (bitField0_ & ~0x00000002); namespaced_ = false; bitField0_ = (bitField0_ & ~0x00000004); group_ = ""; bitField0_ = (bitField0_ & ~0x00000008); version_ = ""; bitField0_ = (bitField0_ & ~0x00000010); kind_ = ""; bitField0_ = (bitField0_ & ~0x00000020); if (verbsBuilder_ == null) { verbs_ = null; } else { verbsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); shortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000080); categories_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000100); storageVersionHash_ = ""; bitField0_ = (bitField0_ & ~0x00000200); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIResource_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.APIResource getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.APIResource.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.APIResource build() { io.kubernetes.client.proto.Meta.APIResource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.APIResource buildPartial() { io.kubernetes.client.proto.Meta.APIResource result = new io.kubernetes.client.proto.Meta.APIResource(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.singularName_ = singularName_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.namespaced_ = namespaced_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.group_ = group_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.version_ = version_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.kind_ = kind_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } if (verbsBuilder_ == null) { result.verbs_ = verbs_; } else { result.verbs_ = verbsBuilder_.build(); } if (((bitField0_ & 0x00000080) == 0x00000080)) { shortNames_ = shortNames_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000080); } result.shortNames_ = shortNames_; if (((bitField0_ & 0x00000100) == 0x00000100)) { categories_ = categories_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000100); } result.categories_ = categories_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000080; } result.storageVersionHash_ = storageVersionHash_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.APIResource) { return mergeFrom((io.kubernetes.client.proto.Meta.APIResource) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.APIResource other) { if (other == io.kubernetes.client.proto.Meta.APIResource.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasSingularName()) { bitField0_ |= 0x00000002; singularName_ = other.singularName_; onChanged(); } if (other.hasNamespaced()) { setNamespaced(other.getNamespaced()); } if (other.hasGroup()) { bitField0_ |= 0x00000008; group_ = other.group_; onChanged(); } if (other.hasVersion()) { bitField0_ |= 0x00000010; version_ = other.version_; onChanged(); } if (other.hasKind()) { bitField0_ |= 0x00000020; kind_ = other.kind_; onChanged(); } if (other.hasVerbs()) { mergeVerbs(other.getVerbs()); } if (!other.shortNames_.isEmpty()) { if (shortNames_.isEmpty()) { shortNames_ = other.shortNames_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensureShortNamesIsMutable(); shortNames_.addAll(other.shortNames_); } onChanged(); } if (!other.categories_.isEmpty()) { if (categories_.isEmpty()) { categories_ = other.categories_; bitField0_ = (bitField0_ & ~0x00000100); } else { ensureCategoriesIsMutable(); categories_.addAll(other.categories_); } onChanged(); } if (other.hasStorageVersionHash()) { bitField0_ |= 0x00000200; storageVersionHash_ = other.storageVersionHash_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.APIResource parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.APIResource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * * *
       * name is the plural name of the resource.
       * 
* * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
       * name is the plural name of the resource.
       * 
* * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * name is the plural name of the resource.
       * 
* * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * name is the plural name of the resource.
       * 
* * optional string name = 1; */ public Builder setName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * * *
       * name is the plural name of the resource.
       * 
* * optional string name = 1; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * * *
       * name is the plural name of the resource.
       * 
* * optional string name = 1; */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object singularName_ = ""; /** * * *
       * singularName is the singular name of the resource.  This allows clients to handle plural and singular opaquely.
       * The singularName is more correct for reporting status on a single item and both singular and plural are allowed
       * from the kubectl CLI interface.
       * 
* * optional string singularName = 6; */ public boolean hasSingularName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
       * singularName is the singular name of the resource.  This allows clients to handle plural and singular opaquely.
       * The singularName is more correct for reporting status on a single item and both singular and plural are allowed
       * from the kubectl CLI interface.
       * 
* * optional string singularName = 6; */ public java.lang.String getSingularName() { java.lang.Object ref = singularName_; 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()) { singularName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * singularName is the singular name of the resource.  This allows clients to handle plural and singular opaquely.
       * The singularName is more correct for reporting status on a single item and both singular and plural are allowed
       * from the kubectl CLI interface.
       * 
* * optional string singularName = 6; */ public com.google.protobuf.ByteString getSingularNameBytes() { java.lang.Object ref = singularName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); singularName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * singularName is the singular name of the resource.  This allows clients to handle plural and singular opaquely.
       * The singularName is more correct for reporting status on a single item and both singular and plural are allowed
       * from the kubectl CLI interface.
       * 
* * optional string singularName = 6; */ public Builder setSingularName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; singularName_ = value; onChanged(); return this; } /** * * *
       * singularName is the singular name of the resource.  This allows clients to handle plural and singular opaquely.
       * The singularName is more correct for reporting status on a single item and both singular and plural are allowed
       * from the kubectl CLI interface.
       * 
* * optional string singularName = 6; */ public Builder clearSingularName() { bitField0_ = (bitField0_ & ~0x00000002); singularName_ = getDefaultInstance().getSingularName(); onChanged(); return this; } /** * * *
       * singularName is the singular name of the resource.  This allows clients to handle plural and singular opaquely.
       * The singularName is more correct for reporting status on a single item and both singular and plural are allowed
       * from the kubectl CLI interface.
       * 
* * optional string singularName = 6; */ public Builder setSingularNameBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; singularName_ = value; onChanged(); return this; } private boolean namespaced_; /** * * *
       * namespaced indicates if a resource is namespaced or not.
       * 
* * optional bool namespaced = 2; */ public boolean hasNamespaced() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * * *
       * namespaced indicates if a resource is namespaced or not.
       * 
* * optional bool namespaced = 2; */ public boolean getNamespaced() { return namespaced_; } /** * * *
       * namespaced indicates if a resource is namespaced or not.
       * 
* * optional bool namespaced = 2; */ public Builder setNamespaced(boolean value) { bitField0_ |= 0x00000004; namespaced_ = value; onChanged(); return this; } /** * * *
       * namespaced indicates if a resource is namespaced or not.
       * 
* * optional bool namespaced = 2; */ public Builder clearNamespaced() { bitField0_ = (bitField0_ & ~0x00000004); namespaced_ = false; onChanged(); return this; } private java.lang.Object group_ = ""; /** * * *
       * group is the preferred group of the resource.  Empty implies the group of the containing resource list.
       * For subresources, this may have a different value, for example: Scale".
       * 
* * optional string group = 8; */ public boolean hasGroup() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * * *
       * group is the preferred group of the resource.  Empty implies the group of the containing resource list.
       * For subresources, this may have a different value, for example: Scale".
       * 
* * optional string group = 8; */ public java.lang.String getGroup() { java.lang.Object ref = group_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { group_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * group is the preferred group of the resource.  Empty implies the group of the containing resource list.
       * For subresources, this may have a different value, for example: Scale".
       * 
* * optional string group = 8; */ public com.google.protobuf.ByteString getGroupBytes() { java.lang.Object ref = group_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); group_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * group is the preferred group of the resource.  Empty implies the group of the containing resource list.
       * For subresources, this may have a different value, for example: Scale".
       * 
* * optional string group = 8; */ public Builder setGroup(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; group_ = value; onChanged(); return this; } /** * * *
       * group is the preferred group of the resource.  Empty implies the group of the containing resource list.
       * For subresources, this may have a different value, for example: Scale".
       * 
* * optional string group = 8; */ public Builder clearGroup() { bitField0_ = (bitField0_ & ~0x00000008); group_ = getDefaultInstance().getGroup(); onChanged(); return this; } /** * * *
       * group is the preferred group of the resource.  Empty implies the group of the containing resource list.
       * For subresources, this may have a different value, for example: Scale".
       * 
* * optional string group = 8; */ public Builder setGroupBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; group_ = value; onChanged(); return this; } private java.lang.Object version_ = ""; /** * * *
       * version is the preferred version of the resource.  Empty implies the version of the containing resource list
       * For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
       * 
* * optional string version = 9; */ public boolean hasVersion() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * * *
       * version is the preferred version of the resource.  Empty implies the version of the containing resource list
       * For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
       * 
* * optional string version = 9; */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { version_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * version is the preferred version of the resource.  Empty implies the version of the containing resource list
       * For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
       * 
* * optional string version = 9; */ public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * version is the preferred version of the resource.  Empty implies the version of the containing resource list
       * For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
       * 
* * optional string version = 9; */ public Builder setVersion(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; version_ = value; onChanged(); return this; } /** * * *
       * version is the preferred version of the resource.  Empty implies the version of the containing resource list
       * For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
       * 
* * optional string version = 9; */ public Builder clearVersion() { bitField0_ = (bitField0_ & ~0x00000010); version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** * * *
       * version is the preferred version of the resource.  Empty implies the version of the containing resource list
       * For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
       * 
* * optional string version = 9; */ public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; version_ = value; onChanged(); return this; } private java.lang.Object kind_ = ""; /** * * *
       * kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
       * 
* * optional string kind = 3; */ public boolean hasKind() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * * *
       * kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
       * 
* * optional string kind = 3; */ public java.lang.String getKind() { java.lang.Object ref = kind_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { kind_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
       * 
* * optional string kind = 3; */ public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kind_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
       * 
* * optional string kind = 3; */ public Builder setKind(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; kind_ = value; onChanged(); return this; } /** * * *
       * kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
       * 
* * optional string kind = 3; */ public Builder clearKind() { bitField0_ = (bitField0_ & ~0x00000020); kind_ = getDefaultInstance().getKind(); onChanged(); return this; } /** * * *
       * kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
       * 
* * optional string kind = 3; */ public Builder setKindBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; kind_ = value; onChanged(); return this; } 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_; /** * * *
       * verbs is a list of supported kube verbs (this includes get, list, watch, create,
       * update, patch, delete, deletecollection, and proxy)
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4; */ public boolean hasVerbs() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * * *
       * verbs is a list of supported kube verbs (this includes get, list, watch, create,
       * update, patch, delete, deletecollection, and proxy)
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4; */ public io.kubernetes.client.proto.Meta.Verbs getVerbs() { if (verbsBuilder_ == null) { return verbs_ == null ? io.kubernetes.client.proto.Meta.Verbs.getDefaultInstance() : verbs_; } else { return verbsBuilder_.getMessage(); } } /** * * *
       * verbs is a list of supported kube verbs (this includes get, list, watch, create,
       * update, patch, delete, deletecollection, and proxy)
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4; */ public Builder setVerbs(io.kubernetes.client.proto.Meta.Verbs value) { if (verbsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } verbs_ = value; onChanged(); } else { verbsBuilder_.setMessage(value); } bitField0_ |= 0x00000040; return this; } /** * * *
       * verbs is a list of supported kube verbs (this includes get, list, watch, create,
       * update, patch, delete, deletecollection, and proxy)
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4; */ 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; return this; } /** * * *
       * verbs is a list of supported kube verbs (this includes get, list, watch, create,
       * update, patch, delete, deletecollection, and proxy)
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4; */ public Builder mergeVerbs(io.kubernetes.client.proto.Meta.Verbs value) { if (verbsBuilder_ == null) { 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); } bitField0_ |= 0x00000040; return this; } /** * * *
       * verbs is a list of supported kube verbs (this includes get, list, watch, create,
       * update, patch, delete, deletecollection, and proxy)
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4; */ public Builder clearVerbs() { if (verbsBuilder_ == null) { verbs_ = null; onChanged(); } else { verbsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } /** * * *
       * verbs is a list of supported kube verbs (this includes get, list, watch, create,
       * update, patch, delete, deletecollection, and proxy)
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4; */ public io.kubernetes.client.proto.Meta.Verbs.Builder getVerbsBuilder() { bitField0_ |= 0x00000040; onChanged(); return getVerbsFieldBuilder().getBuilder(); } /** * * *
       * verbs is a list of supported kube verbs (this includes get, list, watch, create,
       * update, patch, delete, deletecollection, and proxy)
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4; */ public io.kubernetes.client.proto.Meta.VerbsOrBuilder getVerbsOrBuilder() { if (verbsBuilder_ != null) { return verbsBuilder_.getMessageOrBuilder(); } else { return verbs_ == null ? io.kubernetes.client.proto.Meta.Verbs.getDefaultInstance() : verbs_; } } /** * * *
       * verbs is a list of supported kube verbs (this includes get, list, watch, create,
       * update, patch, delete, deletecollection, and proxy)
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Verbs verbs = 4; */ 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.SingleFieldBuilderV3< io.kubernetes.client.proto.Meta.Verbs, io.kubernetes.client.proto.Meta.Verbs.Builder, io.kubernetes.client.proto.Meta.VerbsOrBuilder>( getVerbs(), getParentForChildren(), isClean()); verbs_ = null; } return verbsBuilder_; } private com.google.protobuf.LazyStringList shortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureShortNamesIsMutable() { if (!((bitField0_ & 0x00000080) == 0x00000080)) { shortNames_ = new com.google.protobuf.LazyStringArrayList(shortNames_); bitField0_ |= 0x00000080; } } /** * * *
       * shortNames is a list of suggested short names of the resource.
       * 
* * repeated string shortNames = 5; */ public com.google.protobuf.ProtocolStringList getShortNamesList() { return shortNames_.getUnmodifiableView(); } /** * * *
       * shortNames is a list of suggested short names of the resource.
       * 
* * repeated string shortNames = 5; */ public int getShortNamesCount() { return shortNames_.size(); } /** * * *
       * shortNames is a list of suggested short names of the resource.
       * 
* * repeated string shortNames = 5; */ public java.lang.String getShortNames(int index) { return shortNames_.get(index); } /** * * *
       * shortNames is a list of suggested short names of the resource.
       * 
* * repeated string shortNames = 5; */ public com.google.protobuf.ByteString getShortNamesBytes(int index) { return shortNames_.getByteString(index); } /** * * *
       * shortNames is a list of suggested short names of the resource.
       * 
* * repeated string shortNames = 5; */ public Builder setShortNames(int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureShortNamesIsMutable(); shortNames_.set(index, value); onChanged(); return this; } /** * * *
       * shortNames is a list of suggested short names of the resource.
       * 
* * repeated string shortNames = 5; */ public Builder addShortNames(java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureShortNamesIsMutable(); shortNames_.add(value); onChanged(); return this; } /** * * *
       * shortNames is a list of suggested short names of the resource.
       * 
* * repeated string shortNames = 5; */ public Builder addAllShortNames(java.lang.Iterable values) { ensureShortNamesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shortNames_); onChanged(); return this; } /** * * *
       * shortNames is a list of suggested short names of the resource.
       * 
* * repeated string shortNames = 5; */ public Builder clearShortNames() { shortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } /** * * *
       * shortNames is a list of suggested short names of the resource.
       * 
* * repeated string shortNames = 5; */ public Builder addShortNamesBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureShortNamesIsMutable(); shortNames_.add(value); onChanged(); return this; } private com.google.protobuf.LazyStringList categories_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureCategoriesIsMutable() { if (!((bitField0_ & 0x00000100) == 0x00000100)) { categories_ = new com.google.protobuf.LazyStringArrayList(categories_); bitField0_ |= 0x00000100; } } /** * * *
       * categories is a list of the grouped resources this resource belongs to (e.g. 'all')
       * 
* * repeated string categories = 7; */ public com.google.protobuf.ProtocolStringList getCategoriesList() { return categories_.getUnmodifiableView(); } /** * * *
       * categories is a list of the grouped resources this resource belongs to (e.g. 'all')
       * 
* * repeated string categories = 7; */ public int getCategoriesCount() { return categories_.size(); } /** * * *
       * categories is a list of the grouped resources this resource belongs to (e.g. 'all')
       * 
* * repeated string categories = 7; */ public java.lang.String getCategories(int index) { return categories_.get(index); } /** * * *
       * categories is a list of the grouped resources this resource belongs to (e.g. 'all')
       * 
* * repeated string categories = 7; */ public com.google.protobuf.ByteString getCategoriesBytes(int index) { return categories_.getByteString(index); } /** * * *
       * categories is a list of the grouped resources this resource belongs to (e.g. 'all')
       * 
* * repeated string categories = 7; */ public Builder setCategories(int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureCategoriesIsMutable(); categories_.set(index, value); onChanged(); return this; } /** * * *
       * categories is a list of the grouped resources this resource belongs to (e.g. 'all')
       * 
* * repeated string categories = 7; */ public Builder addCategories(java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureCategoriesIsMutable(); categories_.add(value); onChanged(); return this; } /** * * *
       * categories is a list of the grouped resources this resource belongs to (e.g. 'all')
       * 
* * repeated string categories = 7; */ public Builder addAllCategories(java.lang.Iterable values) { ensureCategoriesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, categories_); onChanged(); return this; } /** * * *
       * categories is a list of the grouped resources this resource belongs to (e.g. 'all')
       * 
* * repeated string categories = 7; */ public Builder clearCategories() { categories_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } /** * * *
       * categories is a list of the grouped resources this resource belongs to (e.g. 'all')
       * 
* * repeated string categories = 7; */ public Builder addCategoriesBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureCategoriesIsMutable(); categories_.add(value); onChanged(); return this; } private java.lang.Object storageVersionHash_ = ""; /** * * *
       * The hash value of the storage version, the version this resource is
       * converted to when written to the data store. Value must be treated
       * as opaque by clients. Only equality comparison on the value is valid.
       * This is an alpha feature and may change or be removed in the future.
       * The field is populated by the apiserver only if the
       * StorageVersionHash feature gate is enabled.
       * This field will remain optional even if it graduates.
       * +optional
       * 
* * optional string storageVersionHash = 10; */ public boolean hasStorageVersionHash() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * * *
       * The hash value of the storage version, the version this resource is
       * converted to when written to the data store. Value must be treated
       * as opaque by clients. Only equality comparison on the value is valid.
       * This is an alpha feature and may change or be removed in the future.
       * The field is populated by the apiserver only if the
       * StorageVersionHash feature gate is enabled.
       * This field will remain optional even if it graduates.
       * +optional
       * 
* * optional string storageVersionHash = 10; */ public java.lang.String getStorageVersionHash() { java.lang.Object ref = storageVersionHash_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { storageVersionHash_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * The hash value of the storage version, the version this resource is
       * converted to when written to the data store. Value must be treated
       * as opaque by clients. Only equality comparison on the value is valid.
       * This is an alpha feature and may change or be removed in the future.
       * The field is populated by the apiserver only if the
       * StorageVersionHash feature gate is enabled.
       * This field will remain optional even if it graduates.
       * +optional
       * 
* * optional string storageVersionHash = 10; */ public com.google.protobuf.ByteString getStorageVersionHashBytes() { java.lang.Object ref = storageVersionHash_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); storageVersionHash_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * The hash value of the storage version, the version this resource is
       * converted to when written to the data store. Value must be treated
       * as opaque by clients. Only equality comparison on the value is valid.
       * This is an alpha feature and may change or be removed in the future.
       * The field is populated by the apiserver only if the
       * StorageVersionHash feature gate is enabled.
       * This field will remain optional even if it graduates.
       * +optional
       * 
* * optional string storageVersionHash = 10; */ public Builder setStorageVersionHash(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; storageVersionHash_ = value; onChanged(); return this; } /** * * *
       * The hash value of the storage version, the version this resource is
       * converted to when written to the data store. Value must be treated
       * as opaque by clients. Only equality comparison on the value is valid.
       * This is an alpha feature and may change or be removed in the future.
       * The field is populated by the apiserver only if the
       * StorageVersionHash feature gate is enabled.
       * This field will remain optional even if it graduates.
       * +optional
       * 
* * optional string storageVersionHash = 10; */ public Builder clearStorageVersionHash() { bitField0_ = (bitField0_ & ~0x00000200); storageVersionHash_ = getDefaultInstance().getStorageVersionHash(); onChanged(); return this; } /** * * *
       * The hash value of the storage version, the version this resource is
       * converted to when written to the data store. Value must be treated
       * as opaque by clients. Only equality comparison on the value is valid.
       * This is an alpha feature and may change or be removed in the future.
       * The field is populated by the apiserver only if the
       * StorageVersionHash feature gate is enabled.
       * This field will remain optional even if it graduates.
       * +optional
       * 
* * optional string storageVersionHash = 10; */ public Builder setStorageVersionHashBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; storageVersionHash_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.APIResource) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.APIResource) private static final io.kubernetes.client.proto.Meta.APIResource DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.APIResource(); } public static io.kubernetes.client.proto.Meta.APIResource getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public APIResource parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new APIResource(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.APIResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface APIResourceListOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.APIResourceList) com.google.protobuf.MessageOrBuilder { /** * * *
     * groupVersion is the group and version this APIResourceList is for.
     * 
* * optional string groupVersion = 1; */ boolean hasGroupVersion(); /** * * *
     * groupVersion is the group and version this APIResourceList is for.
     * 
* * optional string groupVersion = 1; */ java.lang.String getGroupVersion(); /** * * *
     * groupVersion is the group and version this APIResourceList is for.
     * 
* * optional string groupVersion = 1; */ com.google.protobuf.ByteString getGroupVersionBytes(); /** * * *
     * resources contains the name of the resources and if they are namespaced.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; */ java.util.List getResourcesList(); /** * * *
     * resources contains the name of the resources and if they are namespaced.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; */ io.kubernetes.client.proto.Meta.APIResource getResources(int index); /** * * *
     * resources contains the name of the resources and if they are namespaced.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; */ int getResourcesCount(); /** * * *
     * resources contains the name of the resources and if they are namespaced.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; */ java.util.List getResourcesOrBuilderList(); /** * * *
     * resources contains the name of the resources and if they are namespaced.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; */ io.kubernetes.client.proto.Meta.APIResourceOrBuilder getResourcesOrBuilder(int index); } /** * * *
   * APIResourceList is a list of APIResource, it is used to expose the name of the
   * resources supported in a specific group and version, and if the resource
   * is namespaced.
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.APIResourceList} */ 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; // Use APIResourceList.newBuilder() to construct. private APIResourceList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private APIResourceList() { groupVersion_ = ""; 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(); mutable_bitField0_ |= 0x00000002; } resources_.add( input.readMessage( io.kubernetes.client.proto.Meta.APIResource.PARSER, extensionRegistry)); break; } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { resources_ = java.util.Collections.unmodifiableList(resources_); } 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_APIResourceList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIResourceList_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.APIResourceList.class, io.kubernetes.client.proto.Meta.APIResourceList.Builder.class); } private int bitField0_; public static final int GROUPVERSION_FIELD_NUMBER = 1; private volatile java.lang.Object groupVersion_; /** * * *
     * groupVersion is the group and version this APIResourceList is for.
     * 
* * optional string groupVersion = 1; */ public boolean hasGroupVersion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
     * groupVersion is the group and version this APIResourceList is for.
     * 
* * optional string groupVersion = 1; */ public java.lang.String getGroupVersion() { java.lang.Object ref = groupVersion_; 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()) { groupVersion_ = s; } return s; } } /** * * *
     * groupVersion is the group and version this APIResourceList is for.
     * 
* * optional string groupVersion = 1; */ public com.google.protobuf.ByteString getGroupVersionBytes() { java.lang.Object ref = groupVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); groupVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RESOURCES_FIELD_NUMBER = 2; private java.util.List resources_; /** * * *
     * resources contains the name of the resources and if they are namespaced.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; */ public java.util.List getResourcesList() { return resources_; } /** * * *
     * resources contains the name of the resources and if they are namespaced.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; */ public java.util.List getResourcesOrBuilderList() { return resources_; } /** * * *
     * resources contains the name of the resources and if they are namespaced.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; */ public int getResourcesCount() { return resources_.size(); } /** * * *
     * resources contains the name of the resources and if they are namespaced.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; */ public io.kubernetes.client.proto.Meta.APIResource getResources(int index) { return resources_.get(index); } /** * * *
     * resources contains the name of the resources and if they are namespaced.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; */ public io.kubernetes.client.proto.Meta.APIResourceOrBuilder getResourcesOrBuilder(int index) { return resources_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, groupVersion_); } for (int i = 0; i < resources_.size(); i++) { output.writeMessage(2, resources_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, groupVersion_); } for (int i = 0; i < resources_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, resources_.get(i)); } 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.APIResourceList)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.APIResourceList other = (io.kubernetes.client.proto.Meta.APIResourceList) obj; boolean result = true; result = result && (hasGroupVersion() == other.hasGroupVersion()); if (hasGroupVersion()) { result = result && getGroupVersion().equals(other.getGroupVersion()); } result = result && getResourcesList().equals(other.getResourcesList()); 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 (hasGroupVersion()) { hash = (37 * hash) + GROUPVERSION_FIELD_NUMBER; hash = (53 * hash) + getGroupVersion().hashCode(); } if (getResourcesCount() > 0) { hash = (37 * hash) + RESOURCES_FIELD_NUMBER; hash = (53 * hash) + getResourcesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.APIResourceList parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.APIResourceList 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.APIResourceList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.APIResourceList 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.APIResourceList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.APIResourceList 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.APIResourceList parseFrom( java.io.InputStream input) throws java.io.IOException { 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.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.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.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.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.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.APIResourceList 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; } /** * * *
     * APIResourceList is a list of APIResource, it is used to expose the name of the
     * resources supported in a specific group and version, and if the resource
     * is namespaced.
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.APIResourceList} */ public static final class Builder extends 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 getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIResourceList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIResourceList_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.APIResourceList.class, io.kubernetes.client.proto.Meta.APIResourceList.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.APIResourceList.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(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(); groupVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000001); if (resourcesBuilder_ == null) { resources_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { resourcesBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIResourceList_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.APIResourceList getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.APIResourceList.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.APIResourceList build() { io.kubernetes.client.proto.Meta.APIResourceList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.APIResourceList buildPartial() { io.kubernetes.client.proto.Meta.APIResourceList result = new io.kubernetes.client.proto.Meta.APIResourceList(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.groupVersion_ = groupVersion_; if (resourcesBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { resources_ = java.util.Collections.unmodifiableList(resources_); bitField0_ = (bitField0_ & ~0x00000002); } result.resources_ = resources_; } else { result.resources_ = resourcesBuilder_.build(); } 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.APIResourceList) { return mergeFrom((io.kubernetes.client.proto.Meta.APIResourceList) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.APIResourceList other) { if (other == io.kubernetes.client.proto.Meta.APIResourceList.getDefaultInstance()) return this; if (other.hasGroupVersion()) { bitField0_ |= 0x00000001; groupVersion_ = other.groupVersion_; onChanged(); } if (resourcesBuilder_ == null) { if (!other.resources_.isEmpty()) { if (resources_.isEmpty()) { resources_ = other.resources_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureResourcesIsMutable(); resources_.addAll(other.resources_); } onChanged(); } } else { if (!other.resources_.isEmpty()) { if (resourcesBuilder_.isEmpty()) { resourcesBuilder_.dispose(); resourcesBuilder_ = null; resources_ = other.resources_; bitField0_ = (bitField0_ & ~0x00000002); resourcesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getResourcesFieldBuilder() : null; } else { resourcesBuilder_.addAllMessages(other.resources_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.APIResourceList parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.APIResourceList) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object groupVersion_ = ""; /** * * *
       * groupVersion is the group and version this APIResourceList is for.
       * 
* * optional string groupVersion = 1; */ public boolean hasGroupVersion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
       * groupVersion is the group and version this APIResourceList is for.
       * 
* * optional string groupVersion = 1; */ public java.lang.String getGroupVersion() { java.lang.Object ref = groupVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { groupVersion_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * groupVersion is the group and version this APIResourceList is for.
       * 
* * optional string groupVersion = 1; */ public com.google.protobuf.ByteString getGroupVersionBytes() { java.lang.Object ref = groupVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); groupVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * groupVersion is the group and version this APIResourceList is for.
       * 
* * optional string groupVersion = 1; */ public Builder setGroupVersion(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; groupVersion_ = value; onChanged(); return this; } /** * * *
       * groupVersion is the group and version this APIResourceList is for.
       * 
* * optional string groupVersion = 1; */ public Builder clearGroupVersion() { bitField0_ = (bitField0_ & ~0x00000001); groupVersion_ = getDefaultInstance().getGroupVersion(); onChanged(); return this; } /** * * *
       * groupVersion is the group and version this APIResourceList is for.
       * 
* * optional string groupVersion = 1; */ public Builder setGroupVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; groupVersion_ = value; onChanged(); return this; } private java.util.List resources_ = java.util.Collections.emptyList(); private void ensureResourcesIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { resources_ = new java.util.ArrayList(resources_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.APIResource, io.kubernetes.client.proto.Meta.APIResource.Builder, io.kubernetes.client.proto.Meta.APIResourceOrBuilder> resourcesBuilder_; /** * * *
       * resources contains the name of the resources and if they are namespaced.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; */ public java.util.List getResourcesList() { if (resourcesBuilder_ == null) { return java.util.Collections.unmodifiableList(resources_); } else { return resourcesBuilder_.getMessageList(); } } /** * * *
       * resources contains the name of the resources and if they are namespaced.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; */ public int getResourcesCount() { if (resourcesBuilder_ == null) { return resources_.size(); } else { return resourcesBuilder_.getCount(); } } /** * * *
       * resources contains the name of the resources and if they are namespaced.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; */ public io.kubernetes.client.proto.Meta.APIResource getResources(int index) { if (resourcesBuilder_ == null) { return resources_.get(index); } else { return resourcesBuilder_.getMessage(index); } } /** * * *
       * resources contains the name of the resources and if they are namespaced.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; */ public Builder setResources(int index, io.kubernetes.client.proto.Meta.APIResource value) { if (resourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResourcesIsMutable(); resources_.set(index, value); onChanged(); } else { resourcesBuilder_.setMessage(index, value); } return this; } /** * * *
       * resources contains the name of the resources and if they are namespaced.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; */ public Builder setResources( int index, io.kubernetes.client.proto.Meta.APIResource.Builder builderForValue) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); resources_.set(index, builderForValue.build()); onChanged(); } else { resourcesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * * *
       * resources contains the name of the resources and if they are namespaced.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; */ public Builder addResources(io.kubernetes.client.proto.Meta.APIResource value) { if (resourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResourcesIsMutable(); resources_.add(value); onChanged(); } else { resourcesBuilder_.addMessage(value); } return this; } /** * * *
       * resources contains the name of the resources and if they are namespaced.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; */ public Builder addResources(int index, io.kubernetes.client.proto.Meta.APIResource value) { if (resourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResourcesIsMutable(); resources_.add(index, value); onChanged(); } else { resourcesBuilder_.addMessage(index, value); } return this; } /** * * *
       * resources contains the name of the resources and if they are namespaced.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; */ public Builder addResources( io.kubernetes.client.proto.Meta.APIResource.Builder builderForValue) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); resources_.add(builderForValue.build()); onChanged(); } else { resourcesBuilder_.addMessage(builderForValue.build()); } return this; } /** * * *
       * resources contains the name of the resources and if they are namespaced.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; */ public Builder addResources( int index, io.kubernetes.client.proto.Meta.APIResource.Builder builderForValue) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); resources_.add(index, builderForValue.build()); onChanged(); } else { resourcesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * * *
       * resources contains the name of the resources and if they are namespaced.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; */ public Builder addAllResources( java.lang.Iterable values) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resources_); onChanged(); } else { resourcesBuilder_.addAllMessages(values); } return this; } /** * * *
       * resources contains the name of the resources and if they are namespaced.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; */ public Builder clearResources() { if (resourcesBuilder_ == null) { resources_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { resourcesBuilder_.clear(); } return this; } /** * * *
       * resources contains the name of the resources and if they are namespaced.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; */ public Builder removeResources(int index) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); resources_.remove(index); onChanged(); } else { resourcesBuilder_.remove(index); } return this; } /** * * *
       * resources contains the name of the resources and if they are namespaced.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; */ public io.kubernetes.client.proto.Meta.APIResource.Builder getResourcesBuilder(int index) { return getResourcesFieldBuilder().getBuilder(index); } /** * * *
       * resources contains the name of the resources and if they are namespaced.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; */ public io.kubernetes.client.proto.Meta.APIResourceOrBuilder getResourcesOrBuilder(int index) { if (resourcesBuilder_ == null) { return resources_.get(index); } else { return resourcesBuilder_.getMessageOrBuilder(index); } } /** * * *
       * resources contains the name of the resources and if they are namespaced.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; */ public java.util.List getResourcesOrBuilderList() { if (resourcesBuilder_ != null) { return resourcesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(resources_); } } /** * * *
       * resources contains the name of the resources and if they are namespaced.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; */ public io.kubernetes.client.proto.Meta.APIResource.Builder addResourcesBuilder() { return getResourcesFieldBuilder() .addBuilder(io.kubernetes.client.proto.Meta.APIResource.getDefaultInstance()); } /** * * *
       * resources contains the name of the resources and if they are namespaced.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; */ public io.kubernetes.client.proto.Meta.APIResource.Builder addResourcesBuilder(int index) { return getResourcesFieldBuilder() .addBuilder(index, io.kubernetes.client.proto.Meta.APIResource.getDefaultInstance()); } /** * * *
       * resources contains the name of the resources and if they are namespaced.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.APIResource resources = 2; */ public java.util.List getResourcesBuilderList() { return getResourcesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.APIResource, io.kubernetes.client.proto.Meta.APIResource.Builder, io.kubernetes.client.proto.Meta.APIResourceOrBuilder> getResourcesFieldBuilder() { if (resourcesBuilder_ == null) { resourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.APIResource, io.kubernetes.client.proto.Meta.APIResource.Builder, io.kubernetes.client.proto.Meta.APIResourceOrBuilder>( resources_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); resources_ = null; } return resourcesBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.APIResourceList) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.APIResourceList) private static final io.kubernetes.client.proto.Meta.APIResourceList DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.APIResourceList(); } public static io.kubernetes.client.proto.Meta.APIResourceList getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public APIResourceList parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new APIResourceList(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.APIResourceList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface APIVersionsOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.APIVersions) com.google.protobuf.MessageOrBuilder { /** * * *
     * versions are the api versions that are available.
     * 
* * repeated string versions = 1; */ java.util.List getVersionsList(); /** * * *
     * versions are the api versions that are available.
     * 
* * repeated string versions = 1; */ int getVersionsCount(); /** * * *
     * versions are the api versions that are available.
     * 
* * repeated string versions = 1; */ java.lang.String getVersions(int index); /** * * *
     * versions are the api versions that are available.
     * 
* * repeated string versions = 1; */ com.google.protobuf.ByteString getVersionsBytes(int index); /** * * *
     * a map of client CIDR to server address that is serving this group.
     * This is to help clients reach servers in the most network-efficient way possible.
     * Clients can use the appropriate server address as per the CIDR that they match.
     * In case of multiple matches, clients should use the longest matching CIDR.
     * The server returns only those CIDRs that it thinks that the client can match.
     * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
     * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2; * */ java.util.List getServerAddressByClientCIDRsList(); /** * * *
     * a map of client CIDR to server address that is serving this group.
     * This is to help clients reach servers in the most network-efficient way possible.
     * Clients can use the appropriate server address as per the CIDR that they match.
     * In case of multiple matches, clients should use the longest matching CIDR.
     * The server returns only those CIDRs that it thinks that the client can match.
     * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
     * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2; * */ io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR getServerAddressByClientCIDRs( int index); /** * * *
     * a map of client CIDR to server address that is serving this group.
     * This is to help clients reach servers in the most network-efficient way possible.
     * Clients can use the appropriate server address as per the CIDR that they match.
     * In case of multiple matches, clients should use the longest matching CIDR.
     * The server returns only those CIDRs that it thinks that the client can match.
     * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
     * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2; * */ int getServerAddressByClientCIDRsCount(); /** * * *
     * a map of client CIDR to server address that is serving this group.
     * This is to help clients reach servers in the most network-efficient way possible.
     * Clients can use the appropriate server address as per the CIDR that they match.
     * In case of multiple matches, clients should use the longest matching CIDR.
     * The server returns only those CIDRs that it thinks that the client can match.
     * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
     * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2; * */ java.util.List getServerAddressByClientCIDRsOrBuilderList(); /** * * *
     * a map of client CIDR to server address that is serving this group.
     * This is to help clients reach servers in the most network-efficient way possible.
     * Clients can use the appropriate server address as per the CIDR that they match.
     * In case of multiple matches, clients should use the longest matching CIDR.
     * The server returns only those CIDRs that it thinks that the client can match.
     * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
     * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2; * */ io.kubernetes.client.proto.Meta.ServerAddressByClientCIDROrBuilder getServerAddressByClientCIDRsOrBuilder(int index); } /** * * *
   * 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.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.APIVersions) APIVersionsOrBuilder { private static final long serialVersionUID = 0L; // Use APIVersions.newBuilder() to construct. private APIVersions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private APIVersions() { 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< io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR>(); mutable_bitField0_ |= 0x00000002; } serverAddressByClientCIDRs_.add( input.readMessage( io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.PARSER, extensionRegistry)); break; } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { versions_ = versions_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { serverAddressByClientCIDRs_ = java.util.Collections.unmodifiableList(serverAddressByClientCIDRs_); } 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_APIVersions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIVersions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.APIVersions.class, io.kubernetes.client.proto.Meta.APIVersions.Builder.class); } public static final int VERSIONS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList versions_; /** * * *
     * versions are the api versions that are available.
     * 
* * repeated string versions = 1; */ public com.google.protobuf.ProtocolStringList getVersionsList() { return versions_; } /** * * *
     * versions are the api versions that are available.
     * 
* * repeated string versions = 1; */ public int getVersionsCount() { return versions_.size(); } /** * * *
     * versions are the api versions that are available.
     * 
* * repeated string versions = 1; */ public java.lang.String getVersions(int index) { return versions_.get(index); } /** * * *
     * versions are the api versions that are available.
     * 
* * repeated string versions = 1; */ public com.google.protobuf.ByteString getVersionsBytes(int index) { return versions_.getByteString(index); } public static final int SERVERADDRESSBYCLIENTCIDRS_FIELD_NUMBER = 2; private java.util.List serverAddressByClientCIDRs_; /** * * *
     * a map of client CIDR to server address that is serving this group.
     * This is to help clients reach servers in the most network-efficient way possible.
     * Clients can use the appropriate server address as per the CIDR that they match.
     * In case of multiple matches, clients should use the longest matching CIDR.
     * The server returns only those CIDRs that it thinks that the client can match.
     * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
     * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2; * */ public java.util.List getServerAddressByClientCIDRsList() { return serverAddressByClientCIDRs_; } /** * * *
     * a map of client CIDR to server address that is serving this group.
     * This is to help clients reach servers in the most network-efficient way possible.
     * Clients can use the appropriate server address as per the CIDR that they match.
     * In case of multiple matches, clients should use the longest matching CIDR.
     * The server returns only those CIDRs that it thinks that the client can match.
     * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
     * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2; * */ public java.util.List< ? extends io.kubernetes.client.proto.Meta.ServerAddressByClientCIDROrBuilder> getServerAddressByClientCIDRsOrBuilderList() { return serverAddressByClientCIDRs_; } /** * * *
     * a map of client CIDR to server address that is serving this group.
     * This is to help clients reach servers in the most network-efficient way possible.
     * Clients can use the appropriate server address as per the CIDR that they match.
     * In case of multiple matches, clients should use the longest matching CIDR.
     * The server returns only those CIDRs that it thinks that the client can match.
     * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
     * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2; * */ public int getServerAddressByClientCIDRsCount() { return serverAddressByClientCIDRs_.size(); } /** * * *
     * a map of client CIDR to server address that is serving this group.
     * This is to help clients reach servers in the most network-efficient way possible.
     * Clients can use the appropriate server address as per the CIDR that they match.
     * In case of multiple matches, clients should use the longest matching CIDR.
     * The server returns only those CIDRs that it thinks that the client can match.
     * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
     * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2; * */ public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR getServerAddressByClientCIDRs( int index) { return serverAddressByClientCIDRs_.get(index); } /** * * *
     * a map of client CIDR to server address that is serving this group.
     * This is to help clients reach servers in the most network-efficient way possible.
     * Clients can use the appropriate server address as per the CIDR that they match.
     * In case of multiple matches, clients should use the longest matching CIDR.
     * The server returns only those CIDRs that it thinks that the client can match.
     * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
     * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2; * */ public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDROrBuilder getServerAddressByClientCIDRsOrBuilder(int index) { return serverAddressByClientCIDRs_.get(index); } 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 { for (int i = 0; i < versions_.size(); 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)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < versions_.size(); i++) { dataSize += computeStringSizeNoTag(versions_.getRaw(i)); } size += dataSize; size += 1 * getVersionsList().size(); } for (int i = 0; i < serverAddressByClientCIDRs_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 2, serverAddressByClientCIDRs_.get(i)); } 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.APIVersions)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.APIVersions other = (io.kubernetes.client.proto.Meta.APIVersions) obj; 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 public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getVersionsCount() > 0) { hash = (37 * hash) + VERSIONS_FIELD_NUMBER; hash = (53 * hash) + getVersionsList().hashCode(); } if (getServerAddressByClientCIDRsCount() > 0) { hash = (37 * hash) + SERVERADDRESSBYCLIENTCIDRS_FIELD_NUMBER; hash = (53 * hash) + getServerAddressByClientCIDRsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.APIVersions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.APIVersions 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.APIVersions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.APIVersions 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.APIVersions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.APIVersions 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.APIVersions parseFrom(java.io.InputStream input) throws java.io.IOException { 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.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.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.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.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.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.APIVersions 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; } /** * * *
     * 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 Builder extends 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 getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIVersions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIVersions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.APIVersions.class, io.kubernetes.client.proto.Meta.APIVersions.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.APIVersions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(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(); versions_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); if (serverAddressByClientCIDRsBuilder_ == null) { serverAddressByClientCIDRs_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { serverAddressByClientCIDRsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIVersions_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.APIVersions getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.APIVersions.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.APIVersions build() { io.kubernetes.client.proto.Meta.APIVersions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.APIVersions buildPartial() { io.kubernetes.client.proto.Meta.APIVersions result = new io.kubernetes.client.proto.Meta.APIVersions(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { versions_ = versions_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.versions_ = versions_; if (serverAddressByClientCIDRsBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { serverAddressByClientCIDRs_ = java.util.Collections.unmodifiableList(serverAddressByClientCIDRs_); bitField0_ = (bitField0_ & ~0x00000002); } result.serverAddressByClientCIDRs_ = serverAddressByClientCIDRs_; } else { result.serverAddressByClientCIDRs_ = serverAddressByClientCIDRsBuilder_.build(); } 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.APIVersions) { return mergeFrom((io.kubernetes.client.proto.Meta.APIVersions) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.APIVersions other) { if (other == io.kubernetes.client.proto.Meta.APIVersions.getDefaultInstance()) return this; if (!other.versions_.isEmpty()) { if (versions_.isEmpty()) { versions_ = other.versions_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureVersionsIsMutable(); versions_.addAll(other.versions_); } onChanged(); } if (serverAddressByClientCIDRsBuilder_ == null) { if (!other.serverAddressByClientCIDRs_.isEmpty()) { if (serverAddressByClientCIDRs_.isEmpty()) { serverAddressByClientCIDRs_ = other.serverAddressByClientCIDRs_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureServerAddressByClientCIDRsIsMutable(); serverAddressByClientCIDRs_.addAll(other.serverAddressByClientCIDRs_); } onChanged(); } } else { if (!other.serverAddressByClientCIDRs_.isEmpty()) { if (serverAddressByClientCIDRsBuilder_.isEmpty()) { serverAddressByClientCIDRsBuilder_.dispose(); serverAddressByClientCIDRsBuilder_ = null; serverAddressByClientCIDRs_ = other.serverAddressByClientCIDRs_; bitField0_ = (bitField0_ & ~0x00000002); serverAddressByClientCIDRsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getServerAddressByClientCIDRsFieldBuilder() : null; } else { serverAddressByClientCIDRsBuilder_.addAllMessages(other.serverAddressByClientCIDRs_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.APIVersions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.APIVersions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.LazyStringList versions_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureVersionsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { versions_ = new com.google.protobuf.LazyStringArrayList(versions_); bitField0_ |= 0x00000001; } } /** * * *
       * versions are the api versions that are available.
       * 
* * repeated string versions = 1; */ public com.google.protobuf.ProtocolStringList getVersionsList() { return versions_.getUnmodifiableView(); } /** * * *
       * versions are the api versions that are available.
       * 
* * repeated string versions = 1; */ public int getVersionsCount() { return versions_.size(); } /** * * *
       * versions are the api versions that are available.
       * 
* * repeated string versions = 1; */ public java.lang.String getVersions(int index) { return versions_.get(index); } /** * * *
       * versions are the api versions that are available.
       * 
* * repeated string versions = 1; */ public com.google.protobuf.ByteString getVersionsBytes(int index) { return versions_.getByteString(index); } /** * * *
       * versions are the api versions that are available.
       * 
* * repeated string versions = 1; */ public Builder setVersions(int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureVersionsIsMutable(); versions_.set(index, value); onChanged(); return this; } /** * * *
       * versions are the api versions that are available.
       * 
* * repeated string versions = 1; */ public Builder addVersions(java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureVersionsIsMutable(); versions_.add(value); onChanged(); return this; } /** * * *
       * versions are the api versions that are available.
       * 
* * repeated string versions = 1; */ public Builder addAllVersions(java.lang.Iterable values) { ensureVersionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, versions_); onChanged(); return this; } /** * * *
       * versions are the api versions that are available.
       * 
* * repeated string versions = 1; */ public Builder clearVersions() { versions_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * * *
       * versions are the api versions that are available.
       * 
* * repeated string versions = 1; */ public Builder addVersionsBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureVersionsIsMutable(); versions_.add(value); onChanged(); return this; } private java.util.List serverAddressByClientCIDRs_ = java.util.Collections.emptyList(); private void ensureServerAddressByClientCIDRsIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { serverAddressByClientCIDRs_ = new java.util.ArrayList( serverAddressByClientCIDRs_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR, io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.Builder, io.kubernetes.client.proto.Meta.ServerAddressByClientCIDROrBuilder> serverAddressByClientCIDRsBuilder_; /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2; * */ public java.util.List getServerAddressByClientCIDRsList() { if (serverAddressByClientCIDRsBuilder_ == null) { return java.util.Collections.unmodifiableList(serverAddressByClientCIDRs_); } else { return serverAddressByClientCIDRsBuilder_.getMessageList(); } } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2; * */ public int getServerAddressByClientCIDRsCount() { if (serverAddressByClientCIDRsBuilder_ == null) { return serverAddressByClientCIDRs_.size(); } else { return serverAddressByClientCIDRsBuilder_.getCount(); } } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2; * */ public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR getServerAddressByClientCIDRs(int index) { if (serverAddressByClientCIDRsBuilder_ == null) { return serverAddressByClientCIDRs_.get(index); } else { return serverAddressByClientCIDRsBuilder_.getMessage(index); } } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2; * */ public Builder setServerAddressByClientCIDRs( int index, io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR value) { if (serverAddressByClientCIDRsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureServerAddressByClientCIDRsIsMutable(); serverAddressByClientCIDRs_.set(index, value); onChanged(); } else { serverAddressByClientCIDRsBuilder_.setMessage(index, value); } return this; } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2; * */ public Builder setServerAddressByClientCIDRs( int index, io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.Builder builderForValue) { if (serverAddressByClientCIDRsBuilder_ == null) { ensureServerAddressByClientCIDRsIsMutable(); serverAddressByClientCIDRs_.set(index, builderForValue.build()); onChanged(); } else { serverAddressByClientCIDRsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2; * */ public Builder addServerAddressByClientCIDRs( io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR value) { if (serverAddressByClientCIDRsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureServerAddressByClientCIDRsIsMutable(); serverAddressByClientCIDRs_.add(value); onChanged(); } else { serverAddressByClientCIDRsBuilder_.addMessage(value); } return this; } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2; * */ public Builder addServerAddressByClientCIDRs( int index, io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR value) { if (serverAddressByClientCIDRsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureServerAddressByClientCIDRsIsMutable(); serverAddressByClientCIDRs_.add(index, value); onChanged(); } else { serverAddressByClientCIDRsBuilder_.addMessage(index, value); } return this; } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2; * */ public Builder addServerAddressByClientCIDRs( io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.Builder builderForValue) { if (serverAddressByClientCIDRsBuilder_ == null) { ensureServerAddressByClientCIDRsIsMutable(); serverAddressByClientCIDRs_.add(builderForValue.build()); onChanged(); } else { serverAddressByClientCIDRsBuilder_.addMessage(builderForValue.build()); } return this; } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2; * */ public Builder addServerAddressByClientCIDRs( int index, io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.Builder builderForValue) { if (serverAddressByClientCIDRsBuilder_ == null) { ensureServerAddressByClientCIDRsIsMutable(); serverAddressByClientCIDRs_.add(index, builderForValue.build()); onChanged(); } else { serverAddressByClientCIDRsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2; * */ public Builder addAllServerAddressByClientCIDRs( java.lang.Iterable values) { if (serverAddressByClientCIDRsBuilder_ == null) { ensureServerAddressByClientCIDRsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, serverAddressByClientCIDRs_); onChanged(); } else { serverAddressByClientCIDRsBuilder_.addAllMessages(values); } return this; } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2; * */ public Builder clearServerAddressByClientCIDRs() { if (serverAddressByClientCIDRsBuilder_ == null) { serverAddressByClientCIDRs_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { serverAddressByClientCIDRsBuilder_.clear(); } return this; } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2; * */ public Builder removeServerAddressByClientCIDRs(int index) { if (serverAddressByClientCIDRsBuilder_ == null) { ensureServerAddressByClientCIDRsIsMutable(); serverAddressByClientCIDRs_.remove(index); onChanged(); } else { serverAddressByClientCIDRsBuilder_.remove(index); } return this; } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2; * */ public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.Builder getServerAddressByClientCIDRsBuilder(int index) { return getServerAddressByClientCIDRsFieldBuilder().getBuilder(index); } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2; * */ public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDROrBuilder getServerAddressByClientCIDRsOrBuilder(int index) { if (serverAddressByClientCIDRsBuilder_ == null) { return serverAddressByClientCIDRs_.get(index); } else { return serverAddressByClientCIDRsBuilder_.getMessageOrBuilder(index); } } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2; * */ public java.util.List< ? extends io.kubernetes.client.proto.Meta.ServerAddressByClientCIDROrBuilder> getServerAddressByClientCIDRsOrBuilderList() { if (serverAddressByClientCIDRsBuilder_ != null) { return serverAddressByClientCIDRsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(serverAddressByClientCIDRs_); } } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2; * */ public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.Builder addServerAddressByClientCIDRsBuilder() { return getServerAddressByClientCIDRsFieldBuilder() .addBuilder( io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.getDefaultInstance()); } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2; * */ public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.Builder addServerAddressByClientCIDRsBuilder(int index) { return getServerAddressByClientCIDRsFieldBuilder() .addBuilder( index, io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.getDefaultInstance()); } /** * * *
       * a map of client CIDR to server address that is serving this group.
       * This is to help clients reach servers in the most network-efficient way possible.
       * Clients can use the appropriate server address as per the CIDR that they match.
       * In case of multiple matches, clients should use the longest matching CIDR.
       * The server returns only those CIDRs that it thinks that the client can match.
       * For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
       * Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 2; * */ public java.util.List getServerAddressByClientCIDRsBuilderList() { return getServerAddressByClientCIDRsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR, io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.Builder, io.kubernetes.client.proto.Meta.ServerAddressByClientCIDROrBuilder> getServerAddressByClientCIDRsFieldBuilder() { if (serverAddressByClientCIDRsBuilder_ == null) { serverAddressByClientCIDRsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR, io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.Builder, io.kubernetes.client.proto.Meta.ServerAddressByClientCIDROrBuilder>( serverAddressByClientCIDRs_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); serverAddressByClientCIDRs_ = null; } return serverAddressByClientCIDRsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.APIVersions) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.APIVersions) private static final io.kubernetes.client.proto.Meta.APIVersions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.APIVersions(); } public static io.kubernetes.client.proto.Meta.APIVersions getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public APIVersions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new APIVersions(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.APIVersions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ApplyOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.ApplyOptions) com.google.protobuf.MessageOrBuilder { /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 1; */ java.util.List getDryRunList(); /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 1; */ int getDryRunCount(); /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 1; */ java.lang.String getDryRun(int index); /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 1; */ com.google.protobuf.ByteString getDryRunBytes(int index); /** * * *
     * Force is going to "force" Apply requests. It means user will
     * re-acquire conflicting fields owned by other people.
     * 
* * optional bool force = 2; */ boolean hasForce(); /** * * *
     * Force is going to "force" Apply requests. It means user will
     * re-acquire conflicting fields owned by other people.
     * 
* * optional bool force = 2; */ boolean getForce(); /** * * *
     * fieldManager is a name associated with the actor or entity
     * that is making these changes. The value must be less than or
     * 128 characters long, and only contain printable characters,
     * as defined by https://golang.org/pkg/unicode/#IsPrint. This
     * field is required.
     * 
* * optional string fieldManager = 3; */ boolean hasFieldManager(); /** * * *
     * fieldManager is a name associated with the actor or entity
     * that is making these changes. The value must be less than or
     * 128 characters long, and only contain printable characters,
     * as defined by https://golang.org/pkg/unicode/#IsPrint. This
     * field is required.
     * 
* * optional string fieldManager = 3; */ java.lang.String getFieldManager(); /** * * *
     * fieldManager is a name associated with the actor or entity
     * that is making these changes. The value must be less than or
     * 128 characters long, and only contain printable characters,
     * as defined by https://golang.org/pkg/unicode/#IsPrint. This
     * field is required.
     * 
* * optional string fieldManager = 3; */ com.google.protobuf.ByteString getFieldManagerBytes(); } /** * * *
   * ApplyOptions may be provided when applying an API object.
   * FieldManager is required for apply requests.
   * ApplyOptions is equivalent to PatchOptions. It is provided as a convenience with documentation
   * that speaks specifically to how the options fields relate to apply.
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ApplyOptions} */ 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; // Use ApplyOptions.newBuilder() to construct. private ApplyOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ApplyOptions() { 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ApplyOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.ApplyOptions.class, io.kubernetes.client.proto.Meta.ApplyOptions.Builder.class); } private int bitField0_; public static final int DRYRUN_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList dryRun_; /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 1; */ public com.google.protobuf.ProtocolStringList getDryRunList() { return dryRun_; } /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 1; */ public int getDryRunCount() { return dryRun_.size(); } /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 1; */ public java.lang.String getDryRun(int index) { return dryRun_.get(index); } /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 1; */ public com.google.protobuf.ByteString getDryRunBytes(int index) { return dryRun_.getByteString(index); } public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** * * *
     * Force is going to "force" Apply requests. It means user will
     * re-acquire conflicting fields owned by other people.
     * 
* * optional bool force = 2; */ public boolean hasForce() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
     * Force is going to "force" Apply requests. It means user will
     * re-acquire conflicting fields owned by other people.
     * 
* * optional bool force = 2; */ public boolean getForce() { return force_; } public static final int FIELDMANAGER_FIELD_NUMBER = 3; private volatile java.lang.Object fieldManager_; /** * * *
     * fieldManager is a name associated with the actor or entity
     * that is making these changes. The value must be less than or
     * 128 characters long, and only contain printable characters,
     * as defined by https://golang.org/pkg/unicode/#IsPrint. This
     * field is required.
     * 
* * optional string fieldManager = 3; */ public boolean hasFieldManager() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
     * fieldManager is a name associated with the actor or entity
     * that is making these changes. The value must be less than or
     * 128 characters long, and only contain printable characters,
     * as defined by https://golang.org/pkg/unicode/#IsPrint. This
     * field is required.
     * 
* * optional string fieldManager = 3; */ public java.lang.String getFieldManager() { java.lang.Object ref = fieldManager_; 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()) { fieldManager_ = s; } return s; } } /** * * *
     * fieldManager is a name associated with the actor or entity
     * that is making these changes. The value must be less than or
     * 128 characters long, and only contain printable characters,
     * as defined by https://golang.org/pkg/unicode/#IsPrint. This
     * field is required.
     * 
* * optional string fieldManager = 3; */ public com.google.protobuf.ByteString getFieldManagerBytes() { java.lang.Object ref = fieldManager_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fieldManager_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < dryRun_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dryRun_.getRaw(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBool(2, force_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, fieldManager_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < dryRun_.size(); i++) { dataSize += computeStringSizeNoTag(dryRun_.getRaw(i)); } size += dataSize; size += 1 * getDryRunList().size(); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, fieldManager_); } 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.ApplyOptions)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.ApplyOptions other = (io.kubernetes.client.proto.Meta.ApplyOptions) obj; boolean result = true; result = result && getDryRunList().equals(other.getDryRunList()); result = result && (hasForce() == other.hasForce()); if (hasForce()) { result = result && (getForce() == other.getForce()); } result = result && (hasFieldManager() == other.hasFieldManager()); if (hasFieldManager()) { result = result && getFieldManager().equals(other.getFieldManager()); } 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 (getDryRunCount() > 0) { hash = (37 * hash) + DRYRUN_FIELD_NUMBER; hash = (53 * hash) + getDryRunList().hashCode(); } if (hasForce()) { hash = (37 * hash) + FORCE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); } if (hasFieldManager()) { hash = (37 * hash) + FIELDMANAGER_FIELD_NUMBER; hash = (53 * hash) + getFieldManager().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.ApplyOptions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.ApplyOptions 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.ApplyOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.ApplyOptions 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.ApplyOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.ApplyOptions 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.ApplyOptions parseFrom(java.io.InputStream input) throws java.io.IOException { 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.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.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.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.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.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.ApplyOptions 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; } /** * * *
     * ApplyOptions may be provided when applying an API object.
     * FieldManager is required for apply requests.
     * ApplyOptions is equivalent to PatchOptions. It is provided as a convenience with documentation
     * that speaks specifically to how the options fields relate to apply.
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ApplyOptions} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.ApplyOptions) io.kubernetes.client.proto.Meta.ApplyOptionsOrBuilder { 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ApplyOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.ApplyOptions.class, io.kubernetes.client.proto.Meta.ApplyOptions.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.ApplyOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override public Builder clear() { super.clear(); dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); force_ = false; bitField0_ = (bitField0_ & ~0x00000002); fieldManager_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ApplyOptions_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.ApplyOptions getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.ApplyOptions.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.ApplyOptions build() { io.kubernetes.client.proto.Meta.ApplyOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.ApplyOptions buildPartial() { io.kubernetes.client.proto.Meta.ApplyOptions result = new io.kubernetes.client.proto.Meta.ApplyOptions(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { dryRun_ = dryRun_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.dryRun_ = dryRun_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000001; } result.force_ = force_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000002; } result.fieldManager_ = fieldManager_; 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.ApplyOptions) { return mergeFrom((io.kubernetes.client.proto.Meta.ApplyOptions) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.ApplyOptions other) { if (other == io.kubernetes.client.proto.Meta.ApplyOptions.getDefaultInstance()) return this; if (!other.dryRun_.isEmpty()) { if (dryRun_.isEmpty()) { dryRun_ = other.dryRun_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDryRunIsMutable(); dryRun_.addAll(other.dryRun_); } onChanged(); } if (other.hasForce()) { setForce(other.getForce()); } if (other.hasFieldManager()) { bitField0_ |= 0x00000004; fieldManager_ = other.fieldManager_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.ApplyOptions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.ApplyOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.LazyStringList dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDryRunIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { dryRun_ = new com.google.protobuf.LazyStringArrayList(dryRun_); bitField0_ |= 0x00000001; } } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 1; */ public com.google.protobuf.ProtocolStringList getDryRunList() { return dryRun_.getUnmodifiableView(); } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 1; */ public int getDryRunCount() { return dryRun_.size(); } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 1; */ public java.lang.String getDryRun(int index) { return dryRun_.get(index); } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 1; */ public com.google.protobuf.ByteString getDryRunBytes(int index) { return dryRun_.getByteString(index); } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 1; */ public Builder setDryRun(int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDryRunIsMutable(); dryRun_.set(index, value); onChanged(); return this; } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 1; */ public Builder addDryRun(java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDryRunIsMutable(); dryRun_.add(value); onChanged(); return this; } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 1; */ public Builder addAllDryRun(java.lang.Iterable values) { ensureDryRunIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dryRun_); onChanged(); return this; } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 1; */ public Builder clearDryRun() { dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 1; */ public Builder addDryRunBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureDryRunIsMutable(); dryRun_.add(value); onChanged(); return this; } private boolean force_; /** * * *
       * Force is going to "force" Apply requests. It means user will
       * re-acquire conflicting fields owned by other people.
       * 
* * optional bool force = 2; */ public boolean hasForce() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
       * Force is going to "force" Apply requests. It means user will
       * re-acquire conflicting fields owned by other people.
       * 
* * optional bool force = 2; */ public boolean getForce() { return force_; } /** * * *
       * Force is going to "force" Apply requests. It means user will
       * re-acquire conflicting fields owned by other people.
       * 
* * optional bool force = 2; */ public Builder setForce(boolean value) { bitField0_ |= 0x00000002; force_ = value; onChanged(); return this; } /** * * *
       * Force is going to "force" Apply requests. It means user will
       * re-acquire conflicting fields owned by other people.
       * 
* * optional bool force = 2; */ public Builder clearForce() { bitField0_ = (bitField0_ & ~0x00000002); force_ = false; onChanged(); return this; } private java.lang.Object fieldManager_ = ""; /** * * *
       * fieldManager is a name associated with the actor or entity
       * that is making these changes. The value must be less than or
       * 128 characters long, and only contain printable characters,
       * as defined by https://golang.org/pkg/unicode/#IsPrint. This
       * field is required.
       * 
* * optional string fieldManager = 3; */ public boolean hasFieldManager() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * * *
       * fieldManager is a name associated with the actor or entity
       * that is making these changes. The value must be less than or
       * 128 characters long, and only contain printable characters,
       * as defined by https://golang.org/pkg/unicode/#IsPrint. This
       * field is required.
       * 
* * optional string fieldManager = 3; */ public java.lang.String getFieldManager() { java.lang.Object ref = fieldManager_; 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()) { fieldManager_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * fieldManager is a name associated with the actor or entity
       * that is making these changes. The value must be less than or
       * 128 characters long, and only contain printable characters,
       * as defined by https://golang.org/pkg/unicode/#IsPrint. This
       * field is required.
       * 
* * optional string fieldManager = 3; */ public com.google.protobuf.ByteString getFieldManagerBytes() { java.lang.Object ref = fieldManager_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fieldManager_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * fieldManager is a name associated with the actor or entity
       * that is making these changes. The value must be less than or
       * 128 characters long, and only contain printable characters,
       * as defined by https://golang.org/pkg/unicode/#IsPrint. This
       * field is required.
       * 
* * optional string fieldManager = 3; */ public Builder setFieldManager(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; fieldManager_ = value; onChanged(); return this; } /** * * *
       * fieldManager is a name associated with the actor or entity
       * that is making these changes. The value must be less than or
       * 128 characters long, and only contain printable characters,
       * as defined by https://golang.org/pkg/unicode/#IsPrint. This
       * field is required.
       * 
* * optional string fieldManager = 3; */ public Builder clearFieldManager() { bitField0_ = (bitField0_ & ~0x00000004); fieldManager_ = getDefaultInstance().getFieldManager(); onChanged(); return this; } /** * * *
       * fieldManager is a name associated with the actor or entity
       * that is making these changes. The value must be less than or
       * 128 characters long, and only contain printable characters,
       * as defined by https://golang.org/pkg/unicode/#IsPrint. This
       * field is required.
       * 
* * optional string fieldManager = 3; */ public Builder setFieldManagerBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; fieldManager_ = 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.ApplyOptions) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.ApplyOptions) private static final io.kubernetes.client.proto.Meta.ApplyOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.ApplyOptions(); } public static io.kubernetes.client.proto.Meta.ApplyOptions getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ApplyOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ApplyOptions(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.ApplyOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ConditionOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.Condition) com.google.protobuf.MessageOrBuilder { /** * * *
     * type of condition in CamelCase or in foo.example.com/CamelCase.
     * ---
     * Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
     * useful (see .node.status.conditions), the ability to deconflict is important.
     * The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
     * +kubebuilder:validation:MaxLength=316
     * 
* * optional string type = 1; */ boolean hasType(); /** * * *
     * type of condition in CamelCase or in foo.example.com/CamelCase.
     * ---
     * Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
     * useful (see .node.status.conditions), the ability to deconflict is important.
     * The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
     * +kubebuilder:validation:MaxLength=316
     * 
* * optional string type = 1; */ java.lang.String getType(); /** * * *
     * type of condition in CamelCase or in foo.example.com/CamelCase.
     * ---
     * Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
     * useful (see .node.status.conditions), the ability to deconflict is important.
     * The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
     * +kubebuilder:validation:MaxLength=316
     * 
* * optional string type = 1; */ com.google.protobuf.ByteString getTypeBytes(); /** * * *
     * status of the condition, one of True, False, Unknown.
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:Enum=True;False;Unknown
     * 
* * optional string status = 2; */ boolean hasStatus(); /** * * *
     * status of the condition, one of True, False, Unknown.
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:Enum=True;False;Unknown
     * 
* * optional string status = 2; */ java.lang.String getStatus(); /** * * *
     * status of the condition, one of True, False, Unknown.
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:Enum=True;False;Unknown
     * 
* * optional string status = 2; */ com.google.protobuf.ByteString getStatusBytes(); /** * * *
     * observedGeneration represents the .metadata.generation that the condition was set based upon.
     * For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
     * with respect to the current state of the instance.
     * +optional
     * +kubebuilder:validation:Minimum=0
     * 
* * optional int64 observedGeneration = 3; */ boolean hasObservedGeneration(); /** * * *
     * observedGeneration represents the .metadata.generation that the condition was set based upon.
     * For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
     * with respect to the current state of the instance.
     * +optional
     * +kubebuilder:validation:Minimum=0
     * 
* * optional int64 observedGeneration = 3; */ long getObservedGeneration(); /** * * *
     * lastTransitionTime is the last time the condition transitioned from one status to another.
     * This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:Type=string
     * +kubebuilder:validation:Format=date-time
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4; */ boolean hasLastTransitionTime(); /** * * *
     * lastTransitionTime is the last time the condition transitioned from one status to another.
     * This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:Type=string
     * +kubebuilder:validation:Format=date-time
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4; */ io.kubernetes.client.proto.Meta.Time getLastTransitionTime(); /** * * *
     * lastTransitionTime is the last time the condition transitioned from one status to another.
     * This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:Type=string
     * +kubebuilder:validation:Format=date-time
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4; */ io.kubernetes.client.proto.Meta.TimeOrBuilder getLastTransitionTimeOrBuilder(); /** * * *
     * reason contains a programmatic identifier indicating the reason for the condition's last transition.
     * Producers of specific condition types may define expected values and meanings for this field,
     * and whether the values are considered a guaranteed API.
     * The value should be a CamelCase string.
     * This field may not be empty.
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:MaxLength=1024
     * +kubebuilder:validation:MinLength=1
     * +kubebuilder:validation:Pattern=`^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$`
     * 
* * optional string reason = 5; */ boolean hasReason(); /** * * *
     * reason contains a programmatic identifier indicating the reason for the condition's last transition.
     * Producers of specific condition types may define expected values and meanings for this field,
     * and whether the values are considered a guaranteed API.
     * The value should be a CamelCase string.
     * This field may not be empty.
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:MaxLength=1024
     * +kubebuilder:validation:MinLength=1
     * +kubebuilder:validation:Pattern=`^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$`
     * 
* * optional string reason = 5; */ java.lang.String getReason(); /** * * *
     * reason contains a programmatic identifier indicating the reason for the condition's last transition.
     * Producers of specific condition types may define expected values and meanings for this field,
     * and whether the values are considered a guaranteed API.
     * The value should be a CamelCase string.
     * This field may not be empty.
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:MaxLength=1024
     * +kubebuilder:validation:MinLength=1
     * +kubebuilder:validation:Pattern=`^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$`
     * 
* * optional string reason = 5; */ com.google.protobuf.ByteString getReasonBytes(); /** * * *
     * message is a human readable message indicating details about the transition.
     * This may be an empty string.
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:MaxLength=32768
     * 
* * optional string message = 6; */ boolean hasMessage(); /** * * *
     * message is a human readable message indicating details about the transition.
     * This may be an empty string.
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:MaxLength=32768
     * 
* * optional string message = 6; */ java.lang.String getMessage(); /** * * *
     * message is a human readable message indicating details about the transition.
     * This may be an empty string.
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:MaxLength=32768
     * 
* * optional string message = 6; */ com.google.protobuf.ByteString getMessageBytes(); } /** * * *
   * 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
   * }
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Condition} */ 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; // Use Condition.newBuilder() to construct. 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Condition_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.Condition.class, io.kubernetes.client.proto.Meta.Condition.Builder.class); } private int bitField0_; public static final int TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object type_; /** * * *
     * type of condition in CamelCase or in foo.example.com/CamelCase.
     * ---
     * Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
     * useful (see .node.status.conditions), the ability to deconflict is important.
     * The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
     * +kubebuilder:validation:MaxLength=316
     * 
* * optional string type = 1; */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
     * type of condition in CamelCase or in foo.example.com/CamelCase.
     * ---
     * Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
     * useful (see .node.status.conditions), the ability to deconflict is important.
     * The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
     * +kubebuilder:validation:MaxLength=316
     * 
* * optional string type = 1; */ public java.lang.String getType() { java.lang.Object ref = type_; 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()) { type_ = s; } return s; } } /** * * *
     * type of condition in CamelCase or in foo.example.com/CamelCase.
     * ---
     * Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
     * useful (see .node.status.conditions), the ability to deconflict is important.
     * The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
     * +kubebuilder:validation:MaxLength=316
     * 
* * optional string type = 1; */ public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STATUS_FIELD_NUMBER = 2; private volatile java.lang.Object status_; /** * * *
     * status of the condition, one of True, False, Unknown.
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:Enum=True;False;Unknown
     * 
* * optional string status = 2; */ public boolean hasStatus() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
     * status of the condition, one of True, False, Unknown.
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:Enum=True;False;Unknown
     * 
* * optional string status = 2; */ public java.lang.String getStatus() { java.lang.Object ref = status_; 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()) { status_ = s; } return s; } } /** * * *
     * status of the condition, one of True, False, Unknown.
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:Enum=True;False;Unknown
     * 
* * optional string status = 2; */ public com.google.protobuf.ByteString getStatusBytes() { java.lang.Object ref = status_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); status_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OBSERVEDGENERATION_FIELD_NUMBER = 3; private long observedGeneration_; /** * * *
     * observedGeneration represents the .metadata.generation that the condition was set based upon.
     * For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
     * with respect to the current state of the instance.
     * +optional
     * +kubebuilder:validation:Minimum=0
     * 
* * optional int64 observedGeneration = 3; */ public boolean hasObservedGeneration() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * * *
     * observedGeneration represents the .metadata.generation that the condition was set based upon.
     * For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
     * with respect to the current state of the instance.
     * +optional
     * +kubebuilder:validation:Minimum=0
     * 
* * optional int64 observedGeneration = 3; */ public long getObservedGeneration() { return observedGeneration_; } public static final int LASTTRANSITIONTIME_FIELD_NUMBER = 4; private io.kubernetes.client.proto.Meta.Time lastTransitionTime_; /** * * *
     * lastTransitionTime is the last time the condition transitioned from one status to another.
     * This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:Type=string
     * +kubebuilder:validation:Format=date-time
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4; */ public boolean hasLastTransitionTime() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * * *
     * lastTransitionTime is the last time the condition transitioned from one status to another.
     * This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:Type=string
     * +kubebuilder:validation:Format=date-time
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4; */ public io.kubernetes.client.proto.Meta.Time getLastTransitionTime() { return lastTransitionTime_ == null ? io.kubernetes.client.proto.Meta.Time.getDefaultInstance() : lastTransitionTime_; } /** * * *
     * lastTransitionTime is the last time the condition transitioned from one status to another.
     * This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:Type=string
     * +kubebuilder:validation:Format=date-time
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4; */ 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; private volatile java.lang.Object reason_; /** * * *
     * reason contains a programmatic identifier indicating the reason for the condition's last transition.
     * Producers of specific condition types may define expected values and meanings for this field,
     * and whether the values are considered a guaranteed API.
     * The value should be a CamelCase string.
     * This field may not be empty.
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:MaxLength=1024
     * +kubebuilder:validation:MinLength=1
     * +kubebuilder:validation:Pattern=`^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$`
     * 
* * optional string reason = 5; */ public boolean hasReason() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * * *
     * reason contains a programmatic identifier indicating the reason for the condition's last transition.
     * Producers of specific condition types may define expected values and meanings for this field,
     * and whether the values are considered a guaranteed API.
     * The value should be a CamelCase string.
     * This field may not be empty.
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:MaxLength=1024
     * +kubebuilder:validation:MinLength=1
     * +kubebuilder:validation:Pattern=`^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$`
     * 
* * optional string reason = 5; */ public java.lang.String getReason() { java.lang.Object ref = reason_; 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()) { reason_ = s; } return s; } } /** * * *
     * reason contains a programmatic identifier indicating the reason for the condition's last transition.
     * Producers of specific condition types may define expected values and meanings for this field,
     * and whether the values are considered a guaranteed API.
     * The value should be a CamelCase string.
     * This field may not be empty.
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:MaxLength=1024
     * +kubebuilder:validation:MinLength=1
     * +kubebuilder:validation:Pattern=`^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$`
     * 
* * optional string reason = 5; */ public com.google.protobuf.ByteString getReasonBytes() { java.lang.Object ref = reason_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reason_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MESSAGE_FIELD_NUMBER = 6; private volatile java.lang.Object message_; /** * * *
     * message is a human readable message indicating details about the transition.
     * This may be an empty string.
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:MaxLength=32768
     * 
* * optional string message = 6; */ public boolean hasMessage() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * * *
     * message is a human readable message indicating details about the transition.
     * This may be an empty string.
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:MaxLength=32768
     * 
* * optional string message = 6; */ public java.lang.String getMessage() { java.lang.Object ref = message_; 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()) { message_ = s; } return s; } } /** * * *
     * message is a human readable message indicating details about the transition.
     * This may be an empty string.
     * +required
     * +kubebuilder:validation:Required
     * +kubebuilder:validation:MaxLength=32768
     * 
* * optional string message = 6; */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, status_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt64(3, observedGeneration_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeMessage(4, getLastTransitionTime()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, reason_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, message_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, type_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, status_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, observedGeneration_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getLastTransitionTime()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, reason_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, message_); } 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.Condition)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.Condition other = (io.kubernetes.client.proto.Meta.Condition) obj; boolean result = true; result = result && (hasType() == other.hasType()); if (hasType()) { result = result && getType().equals(other.getType()); } result = result && (hasStatus() == other.hasStatus()); if (hasStatus()) { result = result && getStatus().equals(other.getStatus()); } result = result && (hasObservedGeneration() == other.hasObservedGeneration()); if (hasObservedGeneration()) { result = result && (getObservedGeneration() == other.getObservedGeneration()); } result = result && (hasLastTransitionTime() == other.hasLastTransitionTime()); if (hasLastTransitionTime()) { result = result && getLastTransitionTime().equals(other.getLastTransitionTime()); } result = result && (hasReason() == other.hasReason()); if (hasReason()) { result = result && getReason().equals(other.getReason()); } result = result && (hasMessage() == other.hasMessage()); if (hasMessage()) { result = result && getMessage().equals(other.getMessage()); } 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 (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType().hashCode(); } if (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } if (hasObservedGeneration()) { hash = (37 * hash) + OBSERVEDGENERATION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getObservedGeneration()); } if (hasLastTransitionTime()) { hash = (37 * hash) + LASTTRANSITIONTIME_FIELD_NUMBER; hash = (53 * hash) + getLastTransitionTime().hashCode(); } if (hasReason()) { hash = (37 * hash) + REASON_FIELD_NUMBER; hash = (53 * hash) + getReason().hashCode(); } if (hasMessage()) { hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.Condition parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.Condition 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.Condition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.Condition 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.Condition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.Condition 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.Condition parseFrom(java.io.InputStream input) throws java.io.IOException { 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.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.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.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.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.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.Condition 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; } /** * * *
     * 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
     * }
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Condition} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Condition) io.kubernetes.client.proto.Meta.ConditionOrBuilder { 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Condition_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.Condition.class, io.kubernetes.client.proto.Meta.Condition.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.Condition.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getLastTransitionTimeFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); type_ = ""; bitField0_ = (bitField0_ & ~0x00000001); status_ = ""; bitField0_ = (bitField0_ & ~0x00000002); observedGeneration_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); if (lastTransitionTimeBuilder_ == null) { lastTransitionTime_ = null; } else { lastTransitionTimeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); reason_ = ""; bitField0_ = (bitField0_ & ~0x00000010); message_ = ""; bitField0_ = (bitField0_ & ~0x00000020); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Condition_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.Condition getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.Condition.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.Condition build() { io.kubernetes.client.proto.Meta.Condition result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.Condition buildPartial() { io.kubernetes.client.proto.Meta.Condition result = new io.kubernetes.client.proto.Meta.Condition(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.type_ = type_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.status_ = status_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.observedGeneration_ = observedGeneration_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } if (lastTransitionTimeBuilder_ == null) { result.lastTransitionTime_ = lastTransitionTime_; } else { result.lastTransitionTime_ = lastTransitionTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.reason_ = reason_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.message_ = message_; 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.Condition) { return mergeFrom((io.kubernetes.client.proto.Meta.Condition) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.Condition other) { if (other == io.kubernetes.client.proto.Meta.Condition.getDefaultInstance()) return this; if (other.hasType()) { bitField0_ |= 0x00000001; type_ = other.type_; onChanged(); } if (other.hasStatus()) { bitField0_ |= 0x00000002; status_ = other.status_; onChanged(); } if (other.hasObservedGeneration()) { setObservedGeneration(other.getObservedGeneration()); } if (other.hasLastTransitionTime()) { mergeLastTransitionTime(other.getLastTransitionTime()); } if (other.hasReason()) { bitField0_ |= 0x00000010; reason_ = other.reason_; onChanged(); } if (other.hasMessage()) { bitField0_ |= 0x00000020; message_ = other.message_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.Condition parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.Condition) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object type_ = ""; /** * * *
       * type of condition in CamelCase or in foo.example.com/CamelCase.
       * ---
       * Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
       * useful (see .node.status.conditions), the ability to deconflict is important.
       * The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
       * +kubebuilder:validation:MaxLength=316
       * 
* * optional string type = 1; */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
       * type of condition in CamelCase or in foo.example.com/CamelCase.
       * ---
       * Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
       * useful (see .node.status.conditions), the ability to deconflict is important.
       * The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
       * +kubebuilder:validation:MaxLength=316
       * 
* * optional string type = 1; */ public java.lang.String getType() { java.lang.Object ref = type_; 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()) { type_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * type of condition in CamelCase or in foo.example.com/CamelCase.
       * ---
       * Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
       * useful (see .node.status.conditions), the ability to deconflict is important.
       * The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
       * +kubebuilder:validation:MaxLength=316
       * 
* * optional string type = 1; */ public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * type of condition in CamelCase or in foo.example.com/CamelCase.
       * ---
       * Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
       * useful (see .node.status.conditions), the ability to deconflict is important.
       * The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
       * +kubebuilder:validation:MaxLength=316
       * 
* * optional string type = 1; */ public Builder setType(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; type_ = value; onChanged(); return this; } /** * * *
       * type of condition in CamelCase or in foo.example.com/CamelCase.
       * ---
       * Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
       * useful (see .node.status.conditions), the ability to deconflict is important.
       * The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
       * +kubebuilder:validation:MaxLength=316
       * 
* * optional string type = 1; */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = getDefaultInstance().getType(); onChanged(); return this; } /** * * *
       * type of condition in CamelCase or in foo.example.com/CamelCase.
       * ---
       * Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
       * useful (see .node.status.conditions), the ability to deconflict is important.
       * The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
       * +kubebuilder:validation:MaxLength=316
       * 
* * optional string type = 1; */ public Builder setTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; type_ = value; onChanged(); return this; } private java.lang.Object status_ = ""; /** * * *
       * status of the condition, one of True, False, Unknown.
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:Enum=True;False;Unknown
       * 
* * optional string status = 2; */ public boolean hasStatus() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
       * status of the condition, one of True, False, Unknown.
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:Enum=True;False;Unknown
       * 
* * optional string status = 2; */ public java.lang.String getStatus() { java.lang.Object ref = status_; 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()) { status_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * status of the condition, one of True, False, Unknown.
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:Enum=True;False;Unknown
       * 
* * optional string status = 2; */ public com.google.protobuf.ByteString getStatusBytes() { java.lang.Object ref = status_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); status_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * status of the condition, one of True, False, Unknown.
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:Enum=True;False;Unknown
       * 
* * optional string status = 2; */ public Builder setStatus(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; status_ = value; onChanged(); return this; } /** * * *
       * status of the condition, one of True, False, Unknown.
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:Enum=True;False;Unknown
       * 
* * optional string status = 2; */ public Builder clearStatus() { bitField0_ = (bitField0_ & ~0x00000002); status_ = getDefaultInstance().getStatus(); onChanged(); return this; } /** * * *
       * status of the condition, one of True, False, Unknown.
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:Enum=True;False;Unknown
       * 
* * optional string status = 2; */ public Builder setStatusBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; status_ = value; onChanged(); return this; } private long observedGeneration_; /** * * *
       * observedGeneration represents the .metadata.generation that the condition was set based upon.
       * For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
       * with respect to the current state of the instance.
       * +optional
       * +kubebuilder:validation:Minimum=0
       * 
* * optional int64 observedGeneration = 3; */ public boolean hasObservedGeneration() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * * *
       * observedGeneration represents the .metadata.generation that the condition was set based upon.
       * For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
       * with respect to the current state of the instance.
       * +optional
       * +kubebuilder:validation:Minimum=0
       * 
* * optional int64 observedGeneration = 3; */ public long getObservedGeneration() { return observedGeneration_; } /** * * *
       * observedGeneration represents the .metadata.generation that the condition was set based upon.
       * For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
       * with respect to the current state of the instance.
       * +optional
       * +kubebuilder:validation:Minimum=0
       * 
* * optional int64 observedGeneration = 3; */ public Builder setObservedGeneration(long value) { bitField0_ |= 0x00000004; observedGeneration_ = value; onChanged(); return this; } /** * * *
       * observedGeneration represents the .metadata.generation that the condition was set based upon.
       * For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
       * with respect to the current state of the instance.
       * +optional
       * +kubebuilder:validation:Minimum=0
       * 
* * optional int64 observedGeneration = 3; */ public Builder clearObservedGeneration() { bitField0_ = (bitField0_ & ~0x00000004); observedGeneration_ = 0L; onChanged(); return this; } 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_; /** * * *
       * lastTransitionTime is the last time the condition transitioned from one status to another.
       * This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:Type=string
       * +kubebuilder:validation:Format=date-time
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4; */ public boolean hasLastTransitionTime() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * * *
       * lastTransitionTime is the last time the condition transitioned from one status to another.
       * This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:Type=string
       * +kubebuilder:validation:Format=date-time
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4; */ public io.kubernetes.client.proto.Meta.Time getLastTransitionTime() { if (lastTransitionTimeBuilder_ == null) { return lastTransitionTime_ == null ? io.kubernetes.client.proto.Meta.Time.getDefaultInstance() : lastTransitionTime_; } else { return lastTransitionTimeBuilder_.getMessage(); } } /** * * *
       * lastTransitionTime is the last time the condition transitioned from one status to another.
       * This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:Type=string
       * +kubebuilder:validation:Format=date-time
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4; */ public Builder setLastTransitionTime(io.kubernetes.client.proto.Meta.Time value) { if (lastTransitionTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } lastTransitionTime_ = value; onChanged(); } else { lastTransitionTimeBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * * *
       * lastTransitionTime is the last time the condition transitioned from one status to another.
       * This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:Type=string
       * +kubebuilder:validation:Format=date-time
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4; */ 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; return this; } /** * * *
       * lastTransitionTime is the last time the condition transitioned from one status to another.
       * This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:Type=string
       * +kubebuilder:validation:Format=date-time
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4; */ public Builder mergeLastTransitionTime(io.kubernetes.client.proto.Meta.Time value) { if (lastTransitionTimeBuilder_ == null) { 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); } bitField0_ |= 0x00000008; return this; } /** * * *
       * lastTransitionTime is the last time the condition transitioned from one status to another.
       * This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:Type=string
       * +kubebuilder:validation:Format=date-time
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4; */ public Builder clearLastTransitionTime() { if (lastTransitionTimeBuilder_ == null) { lastTransitionTime_ = null; onChanged(); } else { lastTransitionTimeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * * *
       * lastTransitionTime is the last time the condition transitioned from one status to another.
       * This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:Type=string
       * +kubebuilder:validation:Format=date-time
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4; */ public io.kubernetes.client.proto.Meta.Time.Builder getLastTransitionTimeBuilder() { bitField0_ |= 0x00000008; onChanged(); return getLastTransitionTimeFieldBuilder().getBuilder(); } /** * * *
       * lastTransitionTime is the last time the condition transitioned from one status to another.
       * This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:Type=string
       * +kubebuilder:validation:Format=date-time
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4; */ public io.kubernetes.client.proto.Meta.TimeOrBuilder getLastTransitionTimeOrBuilder() { if (lastTransitionTimeBuilder_ != null) { return lastTransitionTimeBuilder_.getMessageOrBuilder(); } else { return lastTransitionTime_ == null ? io.kubernetes.client.proto.Meta.Time.getDefaultInstance() : lastTransitionTime_; } } /** * * *
       * lastTransitionTime is the last time the condition transitioned from one status to another.
       * This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:Type=string
       * +kubebuilder:validation:Format=date-time
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4; */ 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.SingleFieldBuilderV3< io.kubernetes.client.proto.Meta.Time, io.kubernetes.client.proto.Meta.Time.Builder, io.kubernetes.client.proto.Meta.TimeOrBuilder>( getLastTransitionTime(), getParentForChildren(), isClean()); lastTransitionTime_ = null; } return lastTransitionTimeBuilder_; } private java.lang.Object reason_ = ""; /** * * *
       * reason contains a programmatic identifier indicating the reason for the condition's last transition.
       * Producers of specific condition types may define expected values and meanings for this field,
       * and whether the values are considered a guaranteed API.
       * The value should be a CamelCase string.
       * This field may not be empty.
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:MaxLength=1024
       * +kubebuilder:validation:MinLength=1
       * +kubebuilder:validation:Pattern=`^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$`
       * 
* * optional string reason = 5; */ public boolean hasReason() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * * *
       * reason contains a programmatic identifier indicating the reason for the condition's last transition.
       * Producers of specific condition types may define expected values and meanings for this field,
       * and whether the values are considered a guaranteed API.
       * The value should be a CamelCase string.
       * This field may not be empty.
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:MaxLength=1024
       * +kubebuilder:validation:MinLength=1
       * +kubebuilder:validation:Pattern=`^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$`
       * 
* * optional string reason = 5; */ public java.lang.String getReason() { java.lang.Object ref = reason_; 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()) { reason_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * reason contains a programmatic identifier indicating the reason for the condition's last transition.
       * Producers of specific condition types may define expected values and meanings for this field,
       * and whether the values are considered a guaranteed API.
       * The value should be a CamelCase string.
       * This field may not be empty.
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:MaxLength=1024
       * +kubebuilder:validation:MinLength=1
       * +kubebuilder:validation:Pattern=`^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$`
       * 
* * optional string reason = 5; */ public com.google.protobuf.ByteString getReasonBytes() { java.lang.Object ref = reason_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reason_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * reason contains a programmatic identifier indicating the reason for the condition's last transition.
       * Producers of specific condition types may define expected values and meanings for this field,
       * and whether the values are considered a guaranteed API.
       * The value should be a CamelCase string.
       * This field may not be empty.
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:MaxLength=1024
       * +kubebuilder:validation:MinLength=1
       * +kubebuilder:validation:Pattern=`^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$`
       * 
* * optional string reason = 5; */ public Builder setReason(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; reason_ = value; onChanged(); return this; } /** * * *
       * reason contains a programmatic identifier indicating the reason for the condition's last transition.
       * Producers of specific condition types may define expected values and meanings for this field,
       * and whether the values are considered a guaranteed API.
       * The value should be a CamelCase string.
       * This field may not be empty.
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:MaxLength=1024
       * +kubebuilder:validation:MinLength=1
       * +kubebuilder:validation:Pattern=`^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$`
       * 
* * optional string reason = 5; */ public Builder clearReason() { bitField0_ = (bitField0_ & ~0x00000010); reason_ = getDefaultInstance().getReason(); onChanged(); return this; } /** * * *
       * reason contains a programmatic identifier indicating the reason for the condition's last transition.
       * Producers of specific condition types may define expected values and meanings for this field,
       * and whether the values are considered a guaranteed API.
       * The value should be a CamelCase string.
       * This field may not be empty.
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:MaxLength=1024
       * +kubebuilder:validation:MinLength=1
       * +kubebuilder:validation:Pattern=`^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$`
       * 
* * optional string reason = 5; */ public Builder setReasonBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; reason_ = value; onChanged(); return this; } private java.lang.Object message_ = ""; /** * * *
       * message is a human readable message indicating details about the transition.
       * This may be an empty string.
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:MaxLength=32768
       * 
* * optional string message = 6; */ public boolean hasMessage() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * * *
       * message is a human readable message indicating details about the transition.
       * This may be an empty string.
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:MaxLength=32768
       * 
* * optional string message = 6; */ public java.lang.String getMessage() { java.lang.Object ref = message_; 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()) { message_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * message is a human readable message indicating details about the transition.
       * This may be an empty string.
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:MaxLength=32768
       * 
* * optional string message = 6; */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * message is a human readable message indicating details about the transition.
       * This may be an empty string.
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:MaxLength=32768
       * 
* * optional string message = 6; */ public Builder setMessage(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; message_ = value; onChanged(); return this; } /** * * *
       * message is a human readable message indicating details about the transition.
       * This may be an empty string.
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:MaxLength=32768
       * 
* * optional string message = 6; */ public Builder clearMessage() { bitField0_ = (bitField0_ & ~0x00000020); message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * * *
       * message is a human readable message indicating details about the transition.
       * This may be an empty string.
       * +required
       * +kubebuilder:validation:Required
       * +kubebuilder:validation:MaxLength=32768
       * 
* * optional string message = 6; */ public Builder setMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; message_ = 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.Condition) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Condition) private static final io.kubernetes.client.proto.Meta.Condition DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.Condition(); } public static io.kubernetes.client.proto.Meta.Condition getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Condition parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Condition(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.Condition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CreateOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.CreateOptions) com.google.protobuf.MessageOrBuilder { /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 1; */ java.util.List getDryRunList(); /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 1; */ int getDryRunCount(); /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 1; */ java.lang.String getDryRun(int index); /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 1; */ com.google.protobuf.ByteString getDryRunBytes(int index); /** * * *
     * fieldManager is a name associated with the actor or entity
     * that is making these changes. The value must be less than or
     * 128 characters long, and only contain printable characters,
     * as defined by https://golang.org/pkg/unicode/#IsPrint.
     * +optional
     * 
* * optional string fieldManager = 3; */ boolean hasFieldManager(); /** * * *
     * fieldManager is a name associated with the actor or entity
     * that is making these changes. The value must be less than or
     * 128 characters long, and only contain printable characters,
     * as defined by https://golang.org/pkg/unicode/#IsPrint.
     * +optional
     * 
* * optional string fieldManager = 3; */ java.lang.String getFieldManager(); /** * * *
     * fieldManager is a name associated with the actor or entity
     * that is making these changes. The value must be less than or
     * 128 characters long, and only contain printable characters,
     * as defined by https://golang.org/pkg/unicode/#IsPrint.
     * +optional
     * 
* * optional string fieldManager = 3; */ com.google.protobuf.ByteString getFieldManagerBytes(); } /** * * *
   * CreateOptions may be provided when creating an API object.
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.CreateOptions} */ 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; // Use CreateOptions.newBuilder() to construct. private CreateOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CreateOptions() { dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY; fieldManager_ = ""; } @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; } 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_CreateOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.CreateOptions.class, io.kubernetes.client.proto.Meta.CreateOptions.Builder.class); } private int bitField0_; public static final int DRYRUN_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList dryRun_; /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 1; */ public com.google.protobuf.ProtocolStringList getDryRunList() { return dryRun_; } /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 1; */ public int getDryRunCount() { return dryRun_.size(); } /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 1; */ public java.lang.String getDryRun(int index) { return dryRun_.get(index); } /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 1; */ public com.google.protobuf.ByteString getDryRunBytes(int index) { return dryRun_.getByteString(index); } public static final int FIELDMANAGER_FIELD_NUMBER = 3; private volatile java.lang.Object fieldManager_; /** * * *
     * fieldManager is a name associated with the actor or entity
     * that is making these changes. The value must be less than or
     * 128 characters long, and only contain printable characters,
     * as defined by https://golang.org/pkg/unicode/#IsPrint.
     * +optional
     * 
* * optional string fieldManager = 3; */ public boolean hasFieldManager() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
     * fieldManager is a name associated with the actor or entity
     * that is making these changes. The value must be less than or
     * 128 characters long, and only contain printable characters,
     * as defined by https://golang.org/pkg/unicode/#IsPrint.
     * +optional
     * 
* * optional string fieldManager = 3; */ public java.lang.String getFieldManager() { java.lang.Object ref = fieldManager_; 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()) { fieldManager_ = s; } return s; } } /** * * *
     * fieldManager is a name associated with the actor or entity
     * that is making these changes. The value must be less than or
     * 128 characters long, and only contain printable characters,
     * as defined by https://golang.org/pkg/unicode/#IsPrint.
     * +optional
     * 
* * optional string fieldManager = 3; */ public com.google.protobuf.ByteString getFieldManagerBytes() { java.lang.Object ref = fieldManager_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fieldManager_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < dryRun_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dryRun_.getRaw(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, fieldManager_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < dryRun_.size(); i++) { dataSize += computeStringSizeNoTag(dryRun_.getRaw(i)); } size += dataSize; size += 1 * getDryRunList().size(); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, fieldManager_); } 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.CreateOptions)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.CreateOptions other = (io.kubernetes.client.proto.Meta.CreateOptions) obj; boolean result = true; result = result && getDryRunList().equals(other.getDryRunList()); result = result && (hasFieldManager() == other.hasFieldManager()); if (hasFieldManager()) { result = result && getFieldManager().equals(other.getFieldManager()); } 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 (getDryRunCount() > 0) { hash = (37 * hash) + DRYRUN_FIELD_NUMBER; hash = (53 * hash) + getDryRunList().hashCode(); } if (hasFieldManager()) { hash = (37 * hash) + FIELDMANAGER_FIELD_NUMBER; hash = (53 * hash) + getFieldManager().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.CreateOptions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.CreateOptions parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.CreateOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.CreateOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.CreateOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.CreateOptions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.CreateOptions parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.CreateOptions parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.CreateOptions parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.CreateOptions parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.CreateOptions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.CreateOptions 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.CreateOptions 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; } /** * * *
     * CreateOptions may be provided when creating an API object.
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.CreateOptions} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.CreateOptions) io.kubernetes.client.proto.Meta.CreateOptionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_CreateOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_CreateOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.CreateOptions.class, io.kubernetes.client.proto.Meta.CreateOptions.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.CreateOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override public Builder clear() { super.clear(); dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); fieldManager_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_CreateOptions_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.CreateOptions getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.CreateOptions.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.CreateOptions build() { io.kubernetes.client.proto.Meta.CreateOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.CreateOptions buildPartial() { io.kubernetes.client.proto.Meta.CreateOptions result = new io.kubernetes.client.proto.Meta.CreateOptions(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { dryRun_ = dryRun_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.dryRun_ = dryRun_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000001; } result.fieldManager_ = fieldManager_; 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.CreateOptions) { return mergeFrom((io.kubernetes.client.proto.Meta.CreateOptions) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.CreateOptions other) { if (other == io.kubernetes.client.proto.Meta.CreateOptions.getDefaultInstance()) return this; if (!other.dryRun_.isEmpty()) { if (dryRun_.isEmpty()) { dryRun_ = other.dryRun_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDryRunIsMutable(); dryRun_.addAll(other.dryRun_); } onChanged(); } if (other.hasFieldManager()) { bitField0_ |= 0x00000002; fieldManager_ = other.fieldManager_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.CreateOptions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.CreateOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.LazyStringList dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDryRunIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { dryRun_ = new com.google.protobuf.LazyStringArrayList(dryRun_); bitField0_ |= 0x00000001; } } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 1; */ public com.google.protobuf.ProtocolStringList getDryRunList() { return dryRun_.getUnmodifiableView(); } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 1; */ public int getDryRunCount() { return dryRun_.size(); } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 1; */ public java.lang.String getDryRun(int index) { return dryRun_.get(index); } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 1; */ public com.google.protobuf.ByteString getDryRunBytes(int index) { return dryRun_.getByteString(index); } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 1; */ public Builder setDryRun(int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDryRunIsMutable(); dryRun_.set(index, value); onChanged(); return this; } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 1; */ public Builder addDryRun(java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDryRunIsMutable(); dryRun_.add(value); onChanged(); return this; } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 1; */ public Builder addAllDryRun(java.lang.Iterable values) { ensureDryRunIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dryRun_); onChanged(); return this; } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 1; */ public Builder clearDryRun() { dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 1; */ public Builder addDryRunBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureDryRunIsMutable(); dryRun_.add(value); onChanged(); return this; } private java.lang.Object fieldManager_ = ""; /** * * *
       * fieldManager is a name associated with the actor or entity
       * that is making these changes. The value must be less than or
       * 128 characters long, and only contain printable characters,
       * as defined by https://golang.org/pkg/unicode/#IsPrint.
       * +optional
       * 
* * optional string fieldManager = 3; */ public boolean hasFieldManager() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
       * fieldManager is a name associated with the actor or entity
       * that is making these changes. The value must be less than or
       * 128 characters long, and only contain printable characters,
       * as defined by https://golang.org/pkg/unicode/#IsPrint.
       * +optional
       * 
* * optional string fieldManager = 3; */ public java.lang.String getFieldManager() { java.lang.Object ref = fieldManager_; 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()) { fieldManager_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * fieldManager is a name associated with the actor or entity
       * that is making these changes. The value must be less than or
       * 128 characters long, and only contain printable characters,
       * as defined by https://golang.org/pkg/unicode/#IsPrint.
       * +optional
       * 
* * optional string fieldManager = 3; */ public com.google.protobuf.ByteString getFieldManagerBytes() { java.lang.Object ref = fieldManager_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fieldManager_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * fieldManager is a name associated with the actor or entity
       * that is making these changes. The value must be less than or
       * 128 characters long, and only contain printable characters,
       * as defined by https://golang.org/pkg/unicode/#IsPrint.
       * +optional
       * 
* * optional string fieldManager = 3; */ public Builder setFieldManager(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; fieldManager_ = value; onChanged(); return this; } /** * * *
       * fieldManager is a name associated with the actor or entity
       * that is making these changes. The value must be less than or
       * 128 characters long, and only contain printable characters,
       * as defined by https://golang.org/pkg/unicode/#IsPrint.
       * +optional
       * 
* * optional string fieldManager = 3; */ public Builder clearFieldManager() { bitField0_ = (bitField0_ & ~0x00000002); fieldManager_ = getDefaultInstance().getFieldManager(); onChanged(); return this; } /** * * *
       * fieldManager is a name associated with the actor or entity
       * that is making these changes. The value must be less than or
       * 128 characters long, and only contain printable characters,
       * as defined by https://golang.org/pkg/unicode/#IsPrint.
       * +optional
       * 
* * optional string fieldManager = 3; */ public Builder setFieldManagerBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; fieldManager_ = 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.CreateOptions) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.CreateOptions) private static final io.kubernetes.client.proto.Meta.CreateOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.CreateOptions(); } public static io.kubernetes.client.proto.Meta.CreateOptions getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CreateOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CreateOptions(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.CreateOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DeleteOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions) com.google.protobuf.MessageOrBuilder { /** * * *
     * The duration in seconds before the object should be deleted. Value must be non-negative integer.
     * The value zero indicates delete immediately. If this value is nil, the default grace period for the
     * specified type will be used.
     * Defaults to a per object value if not specified. zero means delete immediately.
     * +optional
     * 
* * optional int64 gracePeriodSeconds = 1; */ boolean hasGracePeriodSeconds(); /** * * *
     * The duration in seconds before the object should be deleted. Value must be non-negative integer.
     * The value zero indicates delete immediately. If this value is nil, the default grace period for the
     * specified type will be used.
     * Defaults to a per object value if not specified. zero means delete immediately.
     * +optional
     * 
* * optional int64 gracePeriodSeconds = 1; */ long getGracePeriodSeconds(); /** * * *
     * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
     * returned.
     * +k8s:conversion-gen=false
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; */ boolean hasPreconditions(); /** * * *
     * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
     * returned.
     * +k8s:conversion-gen=false
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; */ io.kubernetes.client.proto.Meta.Preconditions getPreconditions(); /** * * *
     * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
     * returned.
     * +k8s:conversion-gen=false
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; */ io.kubernetes.client.proto.Meta.PreconditionsOrBuilder getPreconditionsOrBuilder(); /** * * *
     * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
     * Should the dependent objects be orphaned. If true/false, the "orphan"
     * finalizer will be added to/removed from the object's finalizers list.
     * Either this field or PropagationPolicy may be set, but not both.
     * +optional
     * 
* * optional bool orphanDependents = 3; */ boolean hasOrphanDependents(); /** * * *
     * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
     * Should the dependent objects be orphaned. If true/false, the "orphan"
     * finalizer will be added to/removed from the object's finalizers list.
     * Either this field or PropagationPolicy may be set, but not both.
     * +optional
     * 
* * optional bool orphanDependents = 3; */ boolean getOrphanDependents(); /** * * *
     * Whether and how garbage collection will be performed.
     * Either this field or OrphanDependents may be set, but not both.
     * The default policy is decided by the existing finalizer set in the
     * metadata.finalizers and the resource-specific default policy.
     * Acceptable values are: 'Orphan' - orphan the dependents; 'Background' -
     * allow the garbage collector to delete the dependents in the background;
     * 'Foreground' - a cascading policy that deletes all dependents in the
     * foreground.
     * +optional
     * 
* * optional string propagationPolicy = 4; */ boolean hasPropagationPolicy(); /** * * *
     * Whether and how garbage collection will be performed.
     * Either this field or OrphanDependents may be set, but not both.
     * The default policy is decided by the existing finalizer set in the
     * metadata.finalizers and the resource-specific default policy.
     * Acceptable values are: 'Orphan' - orphan the dependents; 'Background' -
     * allow the garbage collector to delete the dependents in the background;
     * 'Foreground' - a cascading policy that deletes all dependents in the
     * foreground.
     * +optional
     * 
* * optional string propagationPolicy = 4; */ java.lang.String getPropagationPolicy(); /** * * *
     * Whether and how garbage collection will be performed.
     * Either this field or OrphanDependents may be set, but not both.
     * The default policy is decided by the existing finalizer set in the
     * metadata.finalizers and the resource-specific default policy.
     * Acceptable values are: 'Orphan' - orphan the dependents; 'Background' -
     * allow the garbage collector to delete the dependents in the background;
     * 'Foreground' - a cascading policy that deletes all dependents in the
     * foreground.
     * +optional
     * 
* * optional string propagationPolicy = 4; */ com.google.protobuf.ByteString getPropagationPolicyBytes(); /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 5; */ java.util.List getDryRunList(); /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 5; */ int getDryRunCount(); /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 5; */ java.lang.String getDryRun(int index); /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 5; */ com.google.protobuf.ByteString getDryRunBytes(int index); } /** * * *
   * DeleteOptions may be provided when deleting an API object.
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions} */ public static final class DeleteOptions extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions) DeleteOptionsOrBuilder { private static final long serialVersionUID = 0L; // Use DeleteOptions.newBuilder() to construct. private DeleteOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DeleteOptions() { gracePeriodSeconds_ = 0L; orphanDependents_ = false; propagationPolicy_ = ""; dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DeleteOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); 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; } 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_DeleteOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.DeleteOptions.class, io.kubernetes.client.proto.Meta.DeleteOptions.Builder.class); } private int bitField0_; public static final int GRACEPERIODSECONDS_FIELD_NUMBER = 1; private long gracePeriodSeconds_; /** * * *
     * The duration in seconds before the object should be deleted. Value must be non-negative integer.
     * The value zero indicates delete immediately. If this value is nil, the default grace period for the
     * specified type will be used.
     * Defaults to a per object value if not specified. zero means delete immediately.
     * +optional
     * 
* * optional int64 gracePeriodSeconds = 1; */ public boolean hasGracePeriodSeconds() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
     * The duration in seconds before the object should be deleted. Value must be non-negative integer.
     * The value zero indicates delete immediately. If this value is nil, the default grace period for the
     * specified type will be used.
     * Defaults to a per object value if not specified. zero means delete immediately.
     * +optional
     * 
* * optional int64 gracePeriodSeconds = 1; */ public long getGracePeriodSeconds() { return gracePeriodSeconds_; } public static final int PRECONDITIONS_FIELD_NUMBER = 2; private io.kubernetes.client.proto.Meta.Preconditions preconditions_; /** * * *
     * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
     * returned.
     * +k8s:conversion-gen=false
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; */ public boolean hasPreconditions() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
     * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
     * returned.
     * +k8s:conversion-gen=false
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; */ public io.kubernetes.client.proto.Meta.Preconditions getPreconditions() { return preconditions_ == null ? io.kubernetes.client.proto.Meta.Preconditions.getDefaultInstance() : preconditions_; } /** * * *
     * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
     * returned.
     * +k8s:conversion-gen=false
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; */ public io.kubernetes.client.proto.Meta.PreconditionsOrBuilder getPreconditionsOrBuilder() { return preconditions_ == null ? io.kubernetes.client.proto.Meta.Preconditions.getDefaultInstance() : preconditions_; } public static final int ORPHANDEPENDENTS_FIELD_NUMBER = 3; private boolean orphanDependents_; /** * * *
     * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
     * Should the dependent objects be orphaned. If true/false, the "orphan"
     * finalizer will be added to/removed from the object's finalizers list.
     * Either this field or PropagationPolicy may be set, but not both.
     * +optional
     * 
* * optional bool orphanDependents = 3; */ public boolean hasOrphanDependents() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * * *
     * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
     * Should the dependent objects be orphaned. If true/false, the "orphan"
     * finalizer will be added to/removed from the object's finalizers list.
     * Either this field or PropagationPolicy may be set, but not both.
     * +optional
     * 
* * optional bool orphanDependents = 3; */ public boolean getOrphanDependents() { return orphanDependents_; } public static final int PROPAGATIONPOLICY_FIELD_NUMBER = 4; private volatile java.lang.Object propagationPolicy_; /** * * *
     * Whether and how garbage collection will be performed.
     * Either this field or OrphanDependents may be set, but not both.
     * The default policy is decided by the existing finalizer set in the
     * metadata.finalizers and the resource-specific default policy.
     * Acceptable values are: 'Orphan' - orphan the dependents; 'Background' -
     * allow the garbage collector to delete the dependents in the background;
     * 'Foreground' - a cascading policy that deletes all dependents in the
     * foreground.
     * +optional
     * 
* * optional string propagationPolicy = 4; */ public boolean hasPropagationPolicy() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * * *
     * Whether and how garbage collection will be performed.
     * Either this field or OrphanDependents may be set, but not both.
     * The default policy is decided by the existing finalizer set in the
     * metadata.finalizers and the resource-specific default policy.
     * Acceptable values are: 'Orphan' - orphan the dependents; 'Background' -
     * allow the garbage collector to delete the dependents in the background;
     * 'Foreground' - a cascading policy that deletes all dependents in the
     * foreground.
     * +optional
     * 
* * optional string propagationPolicy = 4; */ public java.lang.String getPropagationPolicy() { java.lang.Object ref = propagationPolicy_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { propagationPolicy_ = s; } return s; } } /** * * *
     * Whether and how garbage collection will be performed.
     * Either this field or OrphanDependents may be set, but not both.
     * The default policy is decided by the existing finalizer set in the
     * metadata.finalizers and the resource-specific default policy.
     * Acceptable values are: 'Orphan' - orphan the dependents; 'Background' -
     * allow the garbage collector to delete the dependents in the background;
     * 'Foreground' - a cascading policy that deletes all dependents in the
     * foreground.
     * +optional
     * 
* * optional string propagationPolicy = 4; */ public com.google.protobuf.ByteString getPropagationPolicyBytes() { java.lang.Object ref = propagationPolicy_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); propagationPolicy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DRYRUN_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList dryRun_; /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 5; */ public com.google.protobuf.ProtocolStringList getDryRunList() { return dryRun_; } /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 5; */ public int getDryRunCount() { return dryRun_.size(); } /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 5; */ public java.lang.String getDryRun(int index) { return dryRun_.get(index); } /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 5; */ public com.google.protobuf.ByteString getDryRunBytes(int index) { return dryRun_.getByteString(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, gracePeriodSeconds_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, getPreconditions()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, orphanDependents_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, propagationPolicy_); } for (int i = 0; i < dryRun_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, dryRun_.getRaw(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, gracePeriodSeconds_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPreconditions()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, orphanDependents_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, propagationPolicy_); } { int dataSize = 0; for (int i = 0; i < dryRun_.size(); i++) { dataSize += computeStringSizeNoTag(dryRun_.getRaw(i)); } size += dataSize; size += 1 * getDryRunList().size(); } size += unknownFields.getSerializedSize(); memoizedSize = size; 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.DeleteOptions)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.DeleteOptions other = (io.kubernetes.client.proto.Meta.DeleteOptions) obj; boolean result = true; result = result && (hasGracePeriodSeconds() == other.hasGracePeriodSeconds()); if (hasGracePeriodSeconds()) { result = result && (getGracePeriodSeconds() == other.getGracePeriodSeconds()); } result = result && (hasPreconditions() == other.hasPreconditions()); if (hasPreconditions()) { result = result && getPreconditions().equals(other.getPreconditions()); } result = result && (hasOrphanDependents() == other.hasOrphanDependents()); if (hasOrphanDependents()) { result = result && (getOrphanDependents() == other.getOrphanDependents()); } result = result && (hasPropagationPolicy() == other.hasPropagationPolicy()); if (hasPropagationPolicy()) { result = result && getPropagationPolicy().equals(other.getPropagationPolicy()); } result = result && getDryRunList().equals(other.getDryRunList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasGracePeriodSeconds()) { hash = (37 * hash) + GRACEPERIODSECONDS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getGracePeriodSeconds()); } if (hasPreconditions()) { hash = (37 * hash) + PRECONDITIONS_FIELD_NUMBER; hash = (53 * hash) + getPreconditions().hashCode(); } if (hasOrphanDependents()) { hash = (37 * hash) + ORPHANDEPENDENTS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOrphanDependents()); } if (hasPropagationPolicy()) { hash = (37 * hash) + PROPAGATIONPOLICY_FIELD_NUMBER; hash = (53 * hash) + getPropagationPolicy().hashCode(); } if (getDryRunCount() > 0) { hash = (37 * hash) + DRYRUN_FIELD_NUMBER; hash = (53 * hash) + getDryRunList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.DeleteOptions parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.DeleteOptions parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.DeleteOptions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.DeleteOptions 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.DeleteOptions 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; } /** * * *
     * DeleteOptions may be provided when deleting an API object.
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions) io.kubernetes.client.proto.Meta.DeleteOptionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_DeleteOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_DeleteOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.DeleteOptions.class, io.kubernetes.client.proto.Meta.DeleteOptions.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.DeleteOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPreconditionsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); gracePeriodSeconds_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); if (preconditionsBuilder_ == null) { preconditions_ = null; } else { preconditionsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); orphanDependents_ = false; bitField0_ = (bitField0_ & ~0x00000004); propagationPolicy_ = ""; bitField0_ = (bitField0_ & ~0x00000008); dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000010); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_DeleteOptions_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.DeleteOptions getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.DeleteOptions.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.DeleteOptions build() { io.kubernetes.client.proto.Meta.DeleteOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.DeleteOptions buildPartial() { io.kubernetes.client.proto.Meta.DeleteOptions result = new io.kubernetes.client.proto.Meta.DeleteOptions(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.gracePeriodSeconds_ = gracePeriodSeconds_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (preconditionsBuilder_ == null) { result.preconditions_ = preconditions_; } else { result.preconditions_ = preconditionsBuilder_.build(); } if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.orphanDependents_ = orphanDependents_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.propagationPolicy_ = propagationPolicy_; if (((bitField0_ & 0x00000010) == 0x00000010)) { dryRun_ = dryRun_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000010); } result.dryRun_ = dryRun_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.DeleteOptions) { return mergeFrom((io.kubernetes.client.proto.Meta.DeleteOptions) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.DeleteOptions other) { if (other == io.kubernetes.client.proto.Meta.DeleteOptions.getDefaultInstance()) return this; if (other.hasGracePeriodSeconds()) { setGracePeriodSeconds(other.getGracePeriodSeconds()); } if (other.hasPreconditions()) { mergePreconditions(other.getPreconditions()); } if (other.hasOrphanDependents()) { setOrphanDependents(other.getOrphanDependents()); } if (other.hasPropagationPolicy()) { bitField0_ |= 0x00000008; propagationPolicy_ = other.propagationPolicy_; onChanged(); } if (!other.dryRun_.isEmpty()) { if (dryRun_.isEmpty()) { dryRun_ = other.dryRun_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureDryRunIsMutable(); dryRun_.addAll(other.dryRun_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.DeleteOptions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.DeleteOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long gracePeriodSeconds_; /** * * *
       * The duration in seconds before the object should be deleted. Value must be non-negative integer.
       * The value zero indicates delete immediately. If this value is nil, the default grace period for the
       * specified type will be used.
       * Defaults to a per object value if not specified. zero means delete immediately.
       * +optional
       * 
* * optional int64 gracePeriodSeconds = 1; */ public boolean hasGracePeriodSeconds() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
       * The duration in seconds before the object should be deleted. Value must be non-negative integer.
       * The value zero indicates delete immediately. If this value is nil, the default grace period for the
       * specified type will be used.
       * Defaults to a per object value if not specified. zero means delete immediately.
       * +optional
       * 
* * optional int64 gracePeriodSeconds = 1; */ public long getGracePeriodSeconds() { return gracePeriodSeconds_; } /** * * *
       * The duration in seconds before the object should be deleted. Value must be non-negative integer.
       * The value zero indicates delete immediately. If this value is nil, the default grace period for the
       * specified type will be used.
       * Defaults to a per object value if not specified. zero means delete immediately.
       * +optional
       * 
* * optional int64 gracePeriodSeconds = 1; */ public Builder setGracePeriodSeconds(long value) { bitField0_ |= 0x00000001; gracePeriodSeconds_ = value; onChanged(); return this; } /** * * *
       * The duration in seconds before the object should be deleted. Value must be non-negative integer.
       * The value zero indicates delete immediately. If this value is nil, the default grace period for the
       * specified type will be used.
       * Defaults to a per object value if not specified. zero means delete immediately.
       * +optional
       * 
* * optional int64 gracePeriodSeconds = 1; */ public Builder clearGracePeriodSeconds() { bitField0_ = (bitField0_ & ~0x00000001); gracePeriodSeconds_ = 0L; onChanged(); return this; } private io.kubernetes.client.proto.Meta.Preconditions preconditions_ = null; private com.google.protobuf.SingleFieldBuilderV3< io.kubernetes.client.proto.Meta.Preconditions, io.kubernetes.client.proto.Meta.Preconditions.Builder, io.kubernetes.client.proto.Meta.PreconditionsOrBuilder> preconditionsBuilder_; /** * * *
       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
       * returned.
       * +k8s:conversion-gen=false
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; * */ public boolean hasPreconditions() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
       * returned.
       * +k8s:conversion-gen=false
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; * */ public io.kubernetes.client.proto.Meta.Preconditions getPreconditions() { if (preconditionsBuilder_ == null) { return preconditions_ == null ? io.kubernetes.client.proto.Meta.Preconditions.getDefaultInstance() : preconditions_; } else { return preconditionsBuilder_.getMessage(); } } /** * * *
       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
       * returned.
       * +k8s:conversion-gen=false
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; * */ public Builder setPreconditions(io.kubernetes.client.proto.Meta.Preconditions value) { if (preconditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } preconditions_ = value; onChanged(); } else { preconditionsBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * * *
       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
       * returned.
       * +k8s:conversion-gen=false
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; * */ public Builder setPreconditions( io.kubernetes.client.proto.Meta.Preconditions.Builder builderForValue) { if (preconditionsBuilder_ == null) { preconditions_ = builderForValue.build(); onChanged(); } else { preconditionsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * * *
       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
       * returned.
       * +k8s:conversion-gen=false
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; * */ public Builder mergePreconditions(io.kubernetes.client.proto.Meta.Preconditions value) { if (preconditionsBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && preconditions_ != null && preconditions_ != io.kubernetes.client.proto.Meta.Preconditions.getDefaultInstance()) { preconditions_ = io.kubernetes.client.proto.Meta.Preconditions.newBuilder(preconditions_) .mergeFrom(value) .buildPartial(); } else { preconditions_ = value; } onChanged(); } else { preconditionsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * * *
       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
       * returned.
       * +k8s:conversion-gen=false
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; * */ public Builder clearPreconditions() { if (preconditionsBuilder_ == null) { preconditions_ = null; onChanged(); } else { preconditionsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * * *
       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
       * returned.
       * +k8s:conversion-gen=false
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; * */ public io.kubernetes.client.proto.Meta.Preconditions.Builder getPreconditionsBuilder() { bitField0_ |= 0x00000002; onChanged(); return getPreconditionsFieldBuilder().getBuilder(); } /** * * *
       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
       * returned.
       * +k8s:conversion-gen=false
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; * */ public io.kubernetes.client.proto.Meta.PreconditionsOrBuilder getPreconditionsOrBuilder() { if (preconditionsBuilder_ != null) { return preconditionsBuilder_.getMessageOrBuilder(); } else { return preconditions_ == null ? io.kubernetes.client.proto.Meta.Preconditions.getDefaultInstance() : preconditions_; } } /** * * *
       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
       * returned.
       * +k8s:conversion-gen=false
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; * */ private com.google.protobuf.SingleFieldBuilderV3< io.kubernetes.client.proto.Meta.Preconditions, io.kubernetes.client.proto.Meta.Preconditions.Builder, io.kubernetes.client.proto.Meta.PreconditionsOrBuilder> getPreconditionsFieldBuilder() { if (preconditionsBuilder_ == null) { preconditionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.kubernetes.client.proto.Meta.Preconditions, io.kubernetes.client.proto.Meta.Preconditions.Builder, io.kubernetes.client.proto.Meta.PreconditionsOrBuilder>( getPreconditions(), getParentForChildren(), isClean()); preconditions_ = null; } return preconditionsBuilder_; } private boolean orphanDependents_; /** * * *
       * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
       * Should the dependent objects be orphaned. If true/false, the "orphan"
       * finalizer will be added to/removed from the object's finalizers list.
       * Either this field or PropagationPolicy may be set, but not both.
       * +optional
       * 
* * optional bool orphanDependents = 3; */ public boolean hasOrphanDependents() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * * *
       * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
       * Should the dependent objects be orphaned. If true/false, the "orphan"
       * finalizer will be added to/removed from the object's finalizers list.
       * Either this field or PropagationPolicy may be set, but not both.
       * +optional
       * 
* * optional bool orphanDependents = 3; */ public boolean getOrphanDependents() { return orphanDependents_; } /** * * *
       * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
       * Should the dependent objects be orphaned. If true/false, the "orphan"
       * finalizer will be added to/removed from the object's finalizers list.
       * Either this field or PropagationPolicy may be set, but not both.
       * +optional
       * 
* * optional bool orphanDependents = 3; */ public Builder setOrphanDependents(boolean value) { bitField0_ |= 0x00000004; orphanDependents_ = value; onChanged(); return this; } /** * * *
       * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
       * Should the dependent objects be orphaned. If true/false, the "orphan"
       * finalizer will be added to/removed from the object's finalizers list.
       * Either this field or PropagationPolicy may be set, but not both.
       * +optional
       * 
* * optional bool orphanDependents = 3; */ public Builder clearOrphanDependents() { bitField0_ = (bitField0_ & ~0x00000004); orphanDependents_ = false; onChanged(); return this; } private java.lang.Object propagationPolicy_ = ""; /** * * *
       * Whether and how garbage collection will be performed.
       * Either this field or OrphanDependents may be set, but not both.
       * The default policy is decided by the existing finalizer set in the
       * metadata.finalizers and the resource-specific default policy.
       * Acceptable values are: 'Orphan' - orphan the dependents; 'Background' -
       * allow the garbage collector to delete the dependents in the background;
       * 'Foreground' - a cascading policy that deletes all dependents in the
       * foreground.
       * +optional
       * 
* * optional string propagationPolicy = 4; */ public boolean hasPropagationPolicy() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * * *
       * Whether and how garbage collection will be performed.
       * Either this field or OrphanDependents may be set, but not both.
       * The default policy is decided by the existing finalizer set in the
       * metadata.finalizers and the resource-specific default policy.
       * Acceptable values are: 'Orphan' - orphan the dependents; 'Background' -
       * allow the garbage collector to delete the dependents in the background;
       * 'Foreground' - a cascading policy that deletes all dependents in the
       * foreground.
       * +optional
       * 
* * optional string propagationPolicy = 4; */ public java.lang.String getPropagationPolicy() { java.lang.Object ref = propagationPolicy_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { propagationPolicy_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * Whether and how garbage collection will be performed.
       * Either this field or OrphanDependents may be set, but not both.
       * The default policy is decided by the existing finalizer set in the
       * metadata.finalizers and the resource-specific default policy.
       * Acceptable values are: 'Orphan' - orphan the dependents; 'Background' -
       * allow the garbage collector to delete the dependents in the background;
       * 'Foreground' - a cascading policy that deletes all dependents in the
       * foreground.
       * +optional
       * 
* * optional string propagationPolicy = 4; */ public com.google.protobuf.ByteString getPropagationPolicyBytes() { java.lang.Object ref = propagationPolicy_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); propagationPolicy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * Whether and how garbage collection will be performed.
       * Either this field or OrphanDependents may be set, but not both.
       * The default policy is decided by the existing finalizer set in the
       * metadata.finalizers and the resource-specific default policy.
       * Acceptable values are: 'Orphan' - orphan the dependents; 'Background' -
       * allow the garbage collector to delete the dependents in the background;
       * 'Foreground' - a cascading policy that deletes all dependents in the
       * foreground.
       * +optional
       * 
* * optional string propagationPolicy = 4; */ public Builder setPropagationPolicy(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; propagationPolicy_ = value; onChanged(); return this; } /** * * *
       * Whether and how garbage collection will be performed.
       * Either this field or OrphanDependents may be set, but not both.
       * The default policy is decided by the existing finalizer set in the
       * metadata.finalizers and the resource-specific default policy.
       * Acceptable values are: 'Orphan' - orphan the dependents; 'Background' -
       * allow the garbage collector to delete the dependents in the background;
       * 'Foreground' - a cascading policy that deletes all dependents in the
       * foreground.
       * +optional
       * 
* * optional string propagationPolicy = 4; */ public Builder clearPropagationPolicy() { bitField0_ = (bitField0_ & ~0x00000008); propagationPolicy_ = getDefaultInstance().getPropagationPolicy(); onChanged(); return this; } /** * * *
       * Whether and how garbage collection will be performed.
       * Either this field or OrphanDependents may be set, but not both.
       * The default policy is decided by the existing finalizer set in the
       * metadata.finalizers and the resource-specific default policy.
       * Acceptable values are: 'Orphan' - orphan the dependents; 'Background' -
       * allow the garbage collector to delete the dependents in the background;
       * 'Foreground' - a cascading policy that deletes all dependents in the
       * foreground.
       * +optional
       * 
* * optional string propagationPolicy = 4; */ public Builder setPropagationPolicyBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; propagationPolicy_ = value; onChanged(); return this; } private com.google.protobuf.LazyStringList dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDryRunIsMutable() { if (!((bitField0_ & 0x00000010) == 0x00000010)) { dryRun_ = new com.google.protobuf.LazyStringArrayList(dryRun_); bitField0_ |= 0x00000010; } } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 5; */ public com.google.protobuf.ProtocolStringList getDryRunList() { return dryRun_.getUnmodifiableView(); } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 5; */ public int getDryRunCount() { return dryRun_.size(); } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 5; */ public java.lang.String getDryRun(int index) { return dryRun_.get(index); } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 5; */ public com.google.protobuf.ByteString getDryRunBytes(int index) { return dryRun_.getByteString(index); } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 5; */ public Builder setDryRun(int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDryRunIsMutable(); dryRun_.set(index, value); onChanged(); return this; } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 5; */ public Builder addDryRun(java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDryRunIsMutable(); dryRun_.add(value); onChanged(); return this; } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 5; */ public Builder addAllDryRun(java.lang.Iterable values) { ensureDryRunIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dryRun_); onChanged(); return this; } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 5; */ public Builder clearDryRun() { dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 5; */ public Builder addDryRunBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureDryRunIsMutable(); dryRun_.add(value); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions) private static final io.kubernetes.client.proto.Meta.DeleteOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.DeleteOptions(); } public static io.kubernetes.client.proto.Meta.DeleteOptions getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DeleteOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DeleteOptions(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.DeleteOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DurationOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.Duration) com.google.protobuf.MessageOrBuilder { /** optional int64 duration = 1; */ boolean hasDuration(); /** optional int64 duration = 1; */ long getDuration(); } /** * * *
   * Duration is a wrapper around time.Duration which supports correct
   * marshaling to YAML and JSON. In particular, it marshals into strings, which
   * can be used as map keys in json.
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Duration} */ public static final class Duration extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Duration) DurationOrBuilder { private static final long serialVersionUID = 0L; // Use Duration.newBuilder() to construct. private Duration(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Duration() { duration_ = 0L; } @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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Duration_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.Duration.class, io.kubernetes.client.proto.Meta.Duration.Builder.class); } private int bitField0_; public static final int DURATION_FIELD_NUMBER = 1; private long duration_; /** optional int64 duration = 1; */ public boolean hasDuration() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** optional int64 duration = 1; */ public long getDuration() { return duration_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, duration_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, duration_); } 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.Duration)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.Duration other = (io.kubernetes.client.proto.Meta.Duration) obj; boolean result = true; result = result && (hasDuration() == other.hasDuration()); if (hasDuration()) { result = result && (getDuration() == other.getDuration()); } 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 (hasDuration()) { hash = (37 * hash) + DURATION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDuration()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.Duration parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.Duration parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.Duration parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.Duration parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.Duration parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.Duration parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.Duration parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.Duration parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.Duration parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.Duration parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.Duration parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.Duration 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.Duration 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; } /** * * *
     * Duration is a wrapper around time.Duration which supports correct
     * marshaling to YAML and JSON. In particular, it marshals into strings, which
     * can be used as map keys in json.
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Duration} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Duration) io.kubernetes.client.proto.Meta.DurationOrBuilder { 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Duration_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.Duration.class, io.kubernetes.client.proto.Meta.Duration.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.Duration.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override public Builder clear() { super.clear(); duration_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Duration_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.Duration getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.Duration.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.Duration build() { io.kubernetes.client.proto.Meta.Duration result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.Duration buildPartial() { io.kubernetes.client.proto.Meta.Duration result = new io.kubernetes.client.proto.Meta.Duration(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.duration_ = duration_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.Duration) { return mergeFrom((io.kubernetes.client.proto.Meta.Duration) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.Duration other) { if (other == io.kubernetes.client.proto.Meta.Duration.getDefaultInstance()) return this; if (other.hasDuration()) { setDuration(other.getDuration()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.Duration parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.Duration) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long duration_; /** optional int64 duration = 1; */ public boolean hasDuration() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** optional int64 duration = 1; */ public long getDuration() { return duration_; } /** optional int64 duration = 1; */ public Builder setDuration(long value) { bitField0_ |= 0x00000001; duration_ = value; onChanged(); return this; } /** optional int64 duration = 1; */ public Builder clearDuration() { bitField0_ = (bitField0_ & ~0x00000001); duration_ = 0L; 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) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Duration) private static final io.kubernetes.client.proto.Meta.Duration DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.Duration(); } public static io.kubernetes.client.proto.Meta.Duration getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Duration parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Duration(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.Duration getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FieldsV1OrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1) com.google.protobuf.MessageOrBuilder { /** * * *
     * 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 implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1) io.kubernetes.client.proto.Meta.FieldsV1OrBuilder { 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); } // Construct using io.kubernetes.client.proto.Meta.FieldsV1.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override public Builder clear() { super.clear(); raw_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_FieldsV1_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.FieldsV1 getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.FieldsV1.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.FieldsV1 build() { io.kubernetes.client.proto.Meta.FieldsV1 result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.FieldsV1 buildPartial() { io.kubernetes.client.proto.Meta.FieldsV1 result = new io.kubernetes.client.proto.Meta.FieldsV1(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.raw_ = raw_; 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.FieldsV1) { return mergeFrom((io.kubernetes.client.proto.Meta.FieldsV1) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.FieldsV1 other) { if (other == io.kubernetes.client.proto.Meta.FieldsV1.getDefaultInstance()) return this; if (other.hasRaw()) { setRaw(other.getRaw()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.FieldsV1 parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.FieldsV1) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.ByteString raw_ = com.google.protobuf.ByteString.EMPTY; /** * * *
       * 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_; } /** * * *
       * Raw is the underlying serialization of this object.
       * 
* * optional bytes Raw = 1; */ public Builder setRaw(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; raw_ = value; onChanged(); return this; } /** * * *
       * Raw is the underlying serialization of this object.
       * 
* * optional bytes Raw = 1; */ public Builder clearRaw() { bitField0_ = (bitField0_ & ~0x00000001); raw_ = getDefaultInstance().getRaw(); 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) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1) private static final io.kubernetes.client.proto.Meta.FieldsV1 DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.FieldsV1(); } public static io.kubernetes.client.proto.Meta.FieldsV1 getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public FieldsV1 parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FieldsV1(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.FieldsV1 getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions) com.google.protobuf.MessageOrBuilder { /** * * *
     * 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; */ boolean hasResourceVersion(); /** * * *
     * 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; */ 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; */ com.google.protobuf.ByteString getResourceVersionBytes(); } /** * * *
   * GetOptions is the standard query options to the standard REST get call.
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions} */ 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; // Use GetOptions.newBuilder() to construct. 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GetOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.GetOptions.class, io.kubernetes.client.proto.Meta.GetOptions.Builder.class); } private int bitField0_; public static final int RESOURCEVERSION_FIELD_NUMBER = 1; 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; */ public boolean hasResourceVersion() { 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; */ public java.lang.String getResourceVersion() { java.lang.Object ref = resourceVersion_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { resourceVersion_ = s; } return s; } } /** * * *
     * 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; */ public com.google.protobuf.ByteString getResourceVersionBytes() { java.lang.Object ref = resourceVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceVersion_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resourceVersion_); } 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.GetOptions)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.GetOptions other = (io.kubernetes.client.proto.Meta.GetOptions) obj; boolean result = true; result = result && (hasResourceVersion() == other.hasResourceVersion()); if (hasResourceVersion()) { result = result && getResourceVersion().equals(other.getResourceVersion()); } 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 (hasResourceVersion()) { hash = (37 * hash) + RESOURCEVERSION_FIELD_NUMBER; hash = (53 * hash) + getResourceVersion().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.GetOptions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.GetOptions parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GetOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.GetOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GetOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.GetOptions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GetOptions parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.GetOptions parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GetOptions parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.GetOptions parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GetOptions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.GetOptions 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.GetOptions 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; } /** * * *
     * GetOptions is the standard query options to the standard REST get call.
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions) io.kubernetes.client.proto.Meta.GetOptionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GetOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GetOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.GetOptions.class, io.kubernetes.client.proto.Meta.GetOptions.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.GetOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override public Builder clear() { super.clear(); resourceVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GetOptions_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.GetOptions getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.GetOptions.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.GetOptions build() { io.kubernetes.client.proto.Meta.GetOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.GetOptions buildPartial() { io.kubernetes.client.proto.Meta.GetOptions result = new io.kubernetes.client.proto.Meta.GetOptions(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.resourceVersion_ = resourceVersion_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.GetOptions) { return mergeFrom((io.kubernetes.client.proto.Meta.GetOptions) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.GetOptions other) { if (other == io.kubernetes.client.proto.Meta.GetOptions.getDefaultInstance()) return this; if (other.hasResourceVersion()) { bitField0_ |= 0x00000001; resourceVersion_ = other.resourceVersion_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.GetOptions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.GetOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private 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; */ public boolean hasResourceVersion() { 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; */ public java.lang.String getResourceVersion() { java.lang.Object ref = resourceVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { resourceVersion_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * 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; */ public com.google.protobuf.ByteString getResourceVersionBytes() { java.lang.Object ref = resourceVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * 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; */ public Builder setResourceVersion(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; resourceVersion_ = value; onChanged(); return this; } /** * * *
       * 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; */ public Builder clearResourceVersion() { bitField0_ = (bitField0_ & ~0x00000001); resourceVersion_ = getDefaultInstance().getResourceVersion(); onChanged(); return this; } /** * * *
       * 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; */ public Builder setResourceVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; resourceVersion_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions) private static final io.kubernetes.client.proto.Meta.GetOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.GetOptions(); } public static io.kubernetes.client.proto.Meta.GetOptions getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetOptions(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.GetOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GroupKindOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.GroupKind) com.google.protobuf.MessageOrBuilder { /** optional string group = 1; */ boolean hasGroup(); /** optional string group = 1; */ java.lang.String getGroup(); /** optional string group = 1; */ com.google.protobuf.ByteString getGroupBytes(); /** optional string kind = 2; */ boolean hasKind(); /** optional string kind = 2; */ java.lang.String getKind(); /** optional string kind = 2; */ com.google.protobuf.ByteString getKindBytes(); } /** * * *
   * 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.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupKind) GroupKindOrBuilder { private static final long serialVersionUID = 0L; // Use GroupKind.newBuilder() to construct. private GroupKind(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GroupKind() { group_ = ""; 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupKind_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.GroupKind.class, io.kubernetes.client.proto.Meta.GroupKind.Builder.class); } private int bitField0_; public static final int GROUP_FIELD_NUMBER = 1; private volatile java.lang.Object group_; /** optional string group = 1; */ public boolean hasGroup() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** optional string group = 1; */ public java.lang.String getGroup() { java.lang.Object ref = group_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { group_ = s; } return s; } } /** optional string group = 1; */ public com.google.protobuf.ByteString getGroupBytes() { java.lang.Object ref = group_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); group_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int KIND_FIELD_NUMBER = 2; private volatile java.lang.Object kind_; /** optional string kind = 2; */ public boolean hasKind() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** optional string kind = 2; */ public java.lang.String getKind() { java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { kind_ = s; } return s; } } /** optional string kind = 2; */ public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kind_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, kind_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, group_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kind_); } 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.GroupKind)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.GroupKind other = (io.kubernetes.client.proto.Meta.GroupKind) obj; boolean result = true; result = result && (hasGroup() == other.hasGroup()); if (hasGroup()) { result = result && getGroup().equals(other.getGroup()); } result = result && (hasKind() == other.hasKind()); if (hasKind()) { result = result && getKind().equals(other.getKind()); } 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 (hasGroup()) { hash = (37 * hash) + GROUP_FIELD_NUMBER; hash = (53 * hash) + getGroup().hashCode(); } if (hasKind()) { hash = (37 * hash) + KIND_FIELD_NUMBER; hash = (53 * hash) + getKind().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.GroupKind parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.GroupKind parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupKind parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.GroupKind parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupKind parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.GroupKind parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupKind parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.GroupKind parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupKind parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.GroupKind parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupKind parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.GroupKind 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.GroupKind 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; } /** * * *
     * 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.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupKind) io.kubernetes.client.proto.Meta.GroupKindOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupKind_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupKind_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.GroupKind.class, io.kubernetes.client.proto.Meta.GroupKind.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.GroupKind.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override public Builder clear() { super.clear(); group_ = ""; bitField0_ = (bitField0_ & ~0x00000001); kind_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupKind_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.GroupKind getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.GroupKind.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.GroupKind build() { io.kubernetes.client.proto.Meta.GroupKind result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.GroupKind buildPartial() { io.kubernetes.client.proto.Meta.GroupKind result = new io.kubernetes.client.proto.Meta.GroupKind(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.group_ = group_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.kind_ = kind_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.GroupKind) { return mergeFrom((io.kubernetes.client.proto.Meta.GroupKind) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.GroupKind other) { if (other == io.kubernetes.client.proto.Meta.GroupKind.getDefaultInstance()) return this; if (other.hasGroup()) { bitField0_ |= 0x00000001; group_ = other.group_; onChanged(); } if (other.hasKind()) { bitField0_ |= 0x00000002; kind_ = other.kind_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.GroupKind parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.GroupKind) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object group_ = ""; /** optional string group = 1; */ public boolean hasGroup() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** optional string group = 1; */ public java.lang.String getGroup() { java.lang.Object ref = group_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { group_ = s; } return s; } else { return (java.lang.String) ref; } } /** optional string group = 1; */ public com.google.protobuf.ByteString getGroupBytes() { java.lang.Object ref = group_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); group_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** optional string group = 1; */ public Builder setGroup(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; group_ = value; onChanged(); return this; } /** optional string group = 1; */ public Builder clearGroup() { bitField0_ = (bitField0_ & ~0x00000001); group_ = getDefaultInstance().getGroup(); onChanged(); return this; } /** optional string group = 1; */ public Builder setGroupBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; group_ = value; onChanged(); return this; } private java.lang.Object kind_ = ""; /** optional string kind = 2; */ public boolean hasKind() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** optional string kind = 2; */ public java.lang.String getKind() { java.lang.Object ref = kind_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { kind_ = s; } return s; } else { return (java.lang.String) ref; } } /** optional string kind = 2; */ public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kind_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** optional string kind = 2; */ public Builder setKind(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; kind_ = value; onChanged(); return this; } /** optional string kind = 2; */ public Builder clearKind() { bitField0_ = (bitField0_ & ~0x00000002); kind_ = getDefaultInstance().getKind(); onChanged(); return this; } /** optional string kind = 2; */ public Builder setKindBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; kind_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupKind) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupKind) private static final io.kubernetes.client.proto.Meta.GroupKind DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.GroupKind(); } public static io.kubernetes.client.proto.Meta.GroupKind getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GroupKind parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GroupKind(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.GroupKind getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GroupResourceOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.GroupResource) com.google.protobuf.MessageOrBuilder { /** optional string group = 1; */ boolean hasGroup(); /** optional string group = 1; */ java.lang.String getGroup(); /** optional string group = 1; */ com.google.protobuf.ByteString getGroupBytes(); /** optional string resource = 2; */ boolean hasResource(); /** optional string resource = 2; */ java.lang.String getResource(); /** optional string resource = 2; */ com.google.protobuf.ByteString getResourceBytes(); } /** * * *
   * 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.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupResource) GroupResourceOrBuilder { private static final long serialVersionUID = 0L; // Use GroupResource.newBuilder() to construct. private GroupResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GroupResource() { group_ = ""; 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupResource_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.GroupResource.class, io.kubernetes.client.proto.Meta.GroupResource.Builder.class); } private int bitField0_; public static final int GROUP_FIELD_NUMBER = 1; private volatile java.lang.Object group_; /** optional string group = 1; */ public boolean hasGroup() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** optional string group = 1; */ public java.lang.String getGroup() { java.lang.Object ref = group_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { group_ = s; } return s; } } /** optional string group = 1; */ public com.google.protobuf.ByteString getGroupBytes() { java.lang.Object ref = group_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); group_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RESOURCE_FIELD_NUMBER = 2; private volatile java.lang.Object resource_; /** optional string resource = 2; */ public boolean hasResource() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** optional string resource = 2; */ public java.lang.String getResource() { java.lang.Object ref = resource_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { resource_ = s; } return s; } } /** optional string resource = 2; */ public com.google.protobuf.ByteString getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resource_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resource_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, group_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resource_); } 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.GroupResource)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.GroupResource other = (io.kubernetes.client.proto.Meta.GroupResource) obj; boolean result = true; result = result && (hasGroup() == other.hasGroup()); if (hasGroup()) { result = result && getGroup().equals(other.getGroup()); } result = result && (hasResource() == other.hasResource()); if (hasResource()) { result = result && getResource().equals(other.getResource()); } result = result && 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 (hasGroup()) { hash = (37 * hash) + GROUP_FIELD_NUMBER; hash = (53 * hash) + getGroup().hashCode(); } if (hasResource()) { hash = (37 * hash) + RESOURCE_FIELD_NUMBER; hash = (53 * hash) + getResource().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.GroupResource parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.GroupResource parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupResource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.GroupResource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupResource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.GroupResource parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupResource parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.GroupResource parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupResource parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.GroupResource parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupResource parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.GroupResource 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.GroupResource 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; } /** * * *
     * 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.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupResource) io.kubernetes.client.proto.Meta.GroupResourceOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupResource_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.GroupResource.class, io.kubernetes.client.proto.Meta.GroupResource.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.GroupResource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override public Builder clear() { super.clear(); group_ = ""; bitField0_ = (bitField0_ & ~0x00000001); resource_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupResource_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.GroupResource getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.GroupResource.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.GroupResource build() { io.kubernetes.client.proto.Meta.GroupResource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.GroupResource buildPartial() { io.kubernetes.client.proto.Meta.GroupResource result = new io.kubernetes.client.proto.Meta.GroupResource(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.group_ = group_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.resource_ = resource_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.GroupResource) { return mergeFrom((io.kubernetes.client.proto.Meta.GroupResource) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.GroupResource other) { if (other == io.kubernetes.client.proto.Meta.GroupResource.getDefaultInstance()) return this; if (other.hasGroup()) { bitField0_ |= 0x00000001; group_ = other.group_; onChanged(); } if (other.hasResource()) { bitField0_ |= 0x00000002; resource_ = other.resource_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.GroupResource parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.GroupResource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object group_ = ""; /** optional string group = 1; */ public boolean hasGroup() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** optional string group = 1; */ public java.lang.String getGroup() { java.lang.Object ref = group_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { group_ = s; } return s; } else { return (java.lang.String) ref; } } /** optional string group = 1; */ public com.google.protobuf.ByteString getGroupBytes() { java.lang.Object ref = group_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); group_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** optional string group = 1; */ public Builder setGroup(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; group_ = value; onChanged(); return this; } /** optional string group = 1; */ public Builder clearGroup() { bitField0_ = (bitField0_ & ~0x00000001); group_ = getDefaultInstance().getGroup(); onChanged(); return this; } /** optional string group = 1; */ public Builder setGroupBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; group_ = value; onChanged(); return this; } private java.lang.Object resource_ = ""; /** optional string resource = 2; */ public boolean hasResource() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** optional string resource = 2; */ public java.lang.String getResource() { java.lang.Object ref = resource_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { resource_ = s; } return s; } else { return (java.lang.String) ref; } } /** optional string resource = 2; */ public com.google.protobuf.ByteString getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resource_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** optional string resource = 2; */ public Builder setResource(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; resource_ = value; onChanged(); return this; } /** optional string resource = 2; */ public Builder clearResource() { bitField0_ = (bitField0_ & ~0x00000002); resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** optional string resource = 2; */ public Builder setResourceBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; resource_ = value; onChanged(); return this; } @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) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupResource) private static final io.kubernetes.client.proto.Meta.GroupResource DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.GroupResource(); } public static io.kubernetes.client.proto.Meta.GroupResource getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GroupResource parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GroupResource(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.GroupResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GroupVersionOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersion) com.google.protobuf.MessageOrBuilder { /** optional string group = 1; */ boolean hasGroup(); /** optional string group = 1; */ java.lang.String getGroup(); /** optional string group = 1; */ com.google.protobuf.ByteString getGroupBytes(); /** optional string version = 2; */ boolean hasVersion(); /** optional string version = 2; */ java.lang.String getVersion(); /** optional string version = 2; */ com.google.protobuf.ByteString getVersionBytes(); } /** * * *
   * 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.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersion) GroupVersionOrBuilder { private static final long serialVersionUID = 0L; // Use GroupVersion.newBuilder() to construct. private GroupVersion(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GroupVersion() { group_ = ""; 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.GroupVersion.class, io.kubernetes.client.proto.Meta.GroupVersion.Builder.class); } private int bitField0_; public static final int GROUP_FIELD_NUMBER = 1; private volatile java.lang.Object group_; /** optional string group = 1; */ public boolean hasGroup() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** optional string group = 1; */ public java.lang.String getGroup() { java.lang.Object ref = group_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { group_ = s; } return s; } } /** optional string group = 1; */ public com.google.protobuf.ByteString getGroupBytes() { java.lang.Object ref = group_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); group_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** optional string version = 2; */ public boolean hasVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** optional string version = 2; */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { version_ = s; } return s; } } /** optional string version = 2; */ public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, group_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_); } 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.GroupVersion)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.GroupVersion other = (io.kubernetes.client.proto.Meta.GroupVersion) obj; boolean result = true; result = result && (hasGroup() == other.hasGroup()); if (hasGroup()) { result = result && getGroup().equals(other.getGroup()); } result = result && (hasVersion() == other.hasVersion()); if (hasVersion()) { result = result && getVersion().equals(other.getVersion()); } result = result && 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 (hasGroup()) { hash = (37 * hash) + GROUP_FIELD_NUMBER; hash = (53 * hash) + getGroup().hashCode(); } if (hasVersion()) { hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + getVersion().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupVersion parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.GroupVersion parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupVersion parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.GroupVersion 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.GroupVersion 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; } /** * * *
     * 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.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersion) io.kubernetes.client.proto.Meta.GroupVersionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersion_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.GroupVersion.class, io.kubernetes.client.proto.Meta.GroupVersion.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.GroupVersion.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override public Builder clear() { super.clear(); group_ = ""; bitField0_ = (bitField0_ & ~0x00000001); version_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersion_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.GroupVersion getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.GroupVersion.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.GroupVersion build() { io.kubernetes.client.proto.Meta.GroupVersion result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.GroupVersion buildPartial() { io.kubernetes.client.proto.Meta.GroupVersion result = new io.kubernetes.client.proto.Meta.GroupVersion(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.group_ = group_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.version_ = version_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.GroupVersion) { return mergeFrom((io.kubernetes.client.proto.Meta.GroupVersion) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.GroupVersion other) { if (other == io.kubernetes.client.proto.Meta.GroupVersion.getDefaultInstance()) return this; if (other.hasGroup()) { bitField0_ |= 0x00000001; group_ = other.group_; onChanged(); } if (other.hasVersion()) { bitField0_ |= 0x00000002; version_ = other.version_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.GroupVersion parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.GroupVersion) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object group_ = ""; /** optional string group = 1; */ public boolean hasGroup() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** optional string group = 1; */ public java.lang.String getGroup() { java.lang.Object ref = group_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { group_ = s; } return s; } else { return (java.lang.String) ref; } } /** optional string group = 1; */ public com.google.protobuf.ByteString getGroupBytes() { java.lang.Object ref = group_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); group_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** optional string group = 1; */ public Builder setGroup(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; group_ = value; onChanged(); return this; } /** optional string group = 1; */ public Builder clearGroup() { bitField0_ = (bitField0_ & ~0x00000001); group_ = getDefaultInstance().getGroup(); onChanged(); return this; } /** optional string group = 1; */ public Builder setGroupBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; group_ = value; onChanged(); return this; } private java.lang.Object version_ = ""; /** optional string version = 2; */ public boolean hasVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** optional string version = 2; */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { version_ = s; } return s; } else { return (java.lang.String) ref; } } /** optional string version = 2; */ public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** optional string version = 2; */ public Builder setVersion(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; version_ = value; onChanged(); return this; } /** optional string version = 2; */ public Builder clearVersion() { bitField0_ = (bitField0_ & ~0x00000002); version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** optional string version = 2; */ public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; version_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersion) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersion) private static final io.kubernetes.client.proto.Meta.GroupVersion DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.GroupVersion(); } public static io.kubernetes.client.proto.Meta.GroupVersion getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GroupVersion parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GroupVersion(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.GroupVersion getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GroupVersionForDiscoveryOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery) com.google.protobuf.MessageOrBuilder { /** * * *
     * groupVersion specifies the API group and version in the form "group/version"
     * 
* * optional string groupVersion = 1; */ boolean hasGroupVersion(); /** * * *
     * groupVersion specifies the API group and version in the form "group/version"
     * 
* * optional string groupVersion = 1; */ java.lang.String getGroupVersion(); /** * * *
     * groupVersion specifies the API group and version in the form "group/version"
     * 
* * optional string groupVersion = 1; */ com.google.protobuf.ByteString getGroupVersionBytes(); /** * * *
     * version specifies the version in the form of "version". This is to save
     * the clients the trouble of splitting the GroupVersion.
     * 
* * optional string version = 2; */ boolean hasVersion(); /** * * *
     * version specifies the version in the form of "version". This is to save
     * the clients the trouble of splitting the GroupVersion.
     * 
* * optional string version = 2; */ java.lang.String getVersion(); /** * * *
     * version specifies the version in the form of "version". This is to save
     * the clients the trouble of splitting the GroupVersion.
     * 
* * optional string version = 2; */ com.google.protobuf.ByteString getVersionBytes(); } /** * * *
   * GroupVersion contains the "group/version" and "version" string of a version.
   * It is made a struct to keep extensibility.
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery} */ 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; // Use GroupVersionForDiscovery.newBuilder() to construct. private GroupVersionForDiscovery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GroupVersionForDiscovery() { groupVersion_ = ""; 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionForDiscovery_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.class, io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.Builder.class); } private int bitField0_; public static final int GROUPVERSION_FIELD_NUMBER = 1; private volatile java.lang.Object groupVersion_; /** * * *
     * groupVersion specifies the API group and version in the form "group/version"
     * 
* * optional string groupVersion = 1; */ public boolean hasGroupVersion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
     * groupVersion specifies the API group and version in the form "group/version"
     * 
* * optional string groupVersion = 1; */ public java.lang.String getGroupVersion() { java.lang.Object ref = groupVersion_; 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()) { groupVersion_ = s; } return s; } } /** * * *
     * groupVersion specifies the API group and version in the form "group/version"
     * 
* * optional string groupVersion = 1; */ public com.google.protobuf.ByteString getGroupVersionBytes() { java.lang.Object ref = groupVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); groupVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** * * *
     * version specifies the version in the form of "version". This is to save
     * the clients the trouble of splitting the GroupVersion.
     * 
* * optional string version = 2; */ public boolean hasVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
     * version specifies the version in the form of "version". This is to save
     * the clients the trouble of splitting the GroupVersion.
     * 
* * optional string version = 2; */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { version_ = s; } return s; } } /** * * *
     * version specifies the version in the form of "version". This is to save
     * the clients the trouble of splitting the GroupVersion.
     * 
* * optional string version = 2; */ public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, groupVersion_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, groupVersion_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_); } 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.GroupVersionForDiscovery)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.GroupVersionForDiscovery other = (io.kubernetes.client.proto.Meta.GroupVersionForDiscovery) obj; boolean result = true; result = result && (hasGroupVersion() == other.hasGroupVersion()); if (hasGroupVersion()) { result = result && getGroupVersion().equals(other.getGroupVersion()); } result = result && (hasVersion() == other.hasVersion()); if (hasVersion()) { result = result && getVersion().equals(other.getVersion()); } result = result && 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 (hasGroupVersion()) { hash = (37 * hash) + GROUPVERSION_FIELD_NUMBER; hash = (53 * hash) + getGroupVersion().hashCode(); } if (hasVersion()) { hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + getVersion().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery 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.GroupVersionForDiscovery 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; } /** * * *
     * GroupVersion contains the "group/version" and "version" string of a version.
     * It is made a struct to keep extensibility.
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery) io.kubernetes.client.proto.Meta.GroupVersionForDiscoveryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionForDiscovery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionForDiscovery_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.class, io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override public Builder clear() { super.clear(); groupVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000001); version_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionForDiscovery_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.GroupVersionForDiscovery getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.GroupVersionForDiscovery build() { io.kubernetes.client.proto.Meta.GroupVersionForDiscovery result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.GroupVersionForDiscovery buildPartial() { io.kubernetes.client.proto.Meta.GroupVersionForDiscovery result = new io.kubernetes.client.proto.Meta.GroupVersionForDiscovery(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.groupVersion_ = groupVersion_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.version_ = version_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.GroupVersionForDiscovery) { return mergeFrom((io.kubernetes.client.proto.Meta.GroupVersionForDiscovery) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.GroupVersionForDiscovery other) { if (other == io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.getDefaultInstance()) return this; if (other.hasGroupVersion()) { bitField0_ |= 0x00000001; groupVersion_ = other.groupVersion_; onChanged(); } if (other.hasVersion()) { bitField0_ |= 0x00000002; version_ = other.version_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.GroupVersionForDiscovery parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.GroupVersionForDiscovery) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object groupVersion_ = ""; /** * * *
       * groupVersion specifies the API group and version in the form "group/version"
       * 
* * optional string groupVersion = 1; */ public boolean hasGroupVersion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
       * groupVersion specifies the API group and version in the form "group/version"
       * 
* * optional string groupVersion = 1; */ public java.lang.String getGroupVersion() { java.lang.Object ref = groupVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { groupVersion_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * groupVersion specifies the API group and version in the form "group/version"
       * 
* * optional string groupVersion = 1; */ public com.google.protobuf.ByteString getGroupVersionBytes() { java.lang.Object ref = groupVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); groupVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * groupVersion specifies the API group and version in the form "group/version"
       * 
* * optional string groupVersion = 1; */ public Builder setGroupVersion(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; groupVersion_ = value; onChanged(); return this; } /** * * *
       * groupVersion specifies the API group and version in the form "group/version"
       * 
* * optional string groupVersion = 1; */ public Builder clearGroupVersion() { bitField0_ = (bitField0_ & ~0x00000001); groupVersion_ = getDefaultInstance().getGroupVersion(); onChanged(); return this; } /** * * *
       * groupVersion specifies the API group and version in the form "group/version"
       * 
* * optional string groupVersion = 1; */ public Builder setGroupVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; groupVersion_ = value; onChanged(); return this; } private java.lang.Object version_ = ""; /** * * *
       * version specifies the version in the form of "version". This is to save
       * the clients the trouble of splitting the GroupVersion.
       * 
* * optional string version = 2; */ public boolean hasVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
       * version specifies the version in the form of "version". This is to save
       * the clients the trouble of splitting the GroupVersion.
       * 
* * optional string version = 2; */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { version_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * version specifies the version in the form of "version". This is to save
       * the clients the trouble of splitting the GroupVersion.
       * 
* * optional string version = 2; */ public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * version specifies the version in the form of "version". This is to save
       * the clients the trouble of splitting the GroupVersion.
       * 
* * optional string version = 2; */ public Builder setVersion(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; version_ = value; onChanged(); return this; } /** * * *
       * version specifies the version in the form of "version". This is to save
       * the clients the trouble of splitting the GroupVersion.
       * 
* * optional string version = 2; */ public Builder clearVersion() { bitField0_ = (bitField0_ & ~0x00000002); version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** * * *
       * version specifies the version in the form of "version". This is to save
       * the clients the trouble of splitting the GroupVersion.
       * 
* * optional string version = 2; */ public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; version_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery) private static final io.kubernetes.client.proto.Meta.GroupVersionForDiscovery DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.GroupVersionForDiscovery(); } public static io.kubernetes.client.proto.Meta.GroupVersionForDiscovery getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GroupVersionForDiscovery parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GroupVersionForDiscovery(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.GroupVersionForDiscovery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GroupVersionKindOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind) com.google.protobuf.MessageOrBuilder { /** optional string group = 1; */ boolean hasGroup(); /** optional string group = 1; */ java.lang.String getGroup(); /** optional string group = 1; */ com.google.protobuf.ByteString getGroupBytes(); /** optional string version = 2; */ boolean hasVersion(); /** optional string version = 2; */ java.lang.String getVersion(); /** optional string version = 2; */ com.google.protobuf.ByteString getVersionBytes(); /** optional string kind = 3; */ boolean hasKind(); /** optional string kind = 3; */ java.lang.String getKind(); /** optional string kind = 3; */ com.google.protobuf.ByteString getKindBytes(); } /** * * *
   * 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.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind) GroupVersionKindOrBuilder { private static final long serialVersionUID = 0L; // Use GroupVersionKind.newBuilder() to construct. private GroupVersionKind(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GroupVersionKind() { group_ = ""; version_ = ""; 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionKind_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.GroupVersionKind.class, io.kubernetes.client.proto.Meta.GroupVersionKind.Builder.class); } private int bitField0_; public static final int GROUP_FIELD_NUMBER = 1; private volatile java.lang.Object group_; /** optional string group = 1; */ public boolean hasGroup() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** optional string group = 1; */ public java.lang.String getGroup() { java.lang.Object ref = group_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { group_ = s; } return s; } } /** optional string group = 1; */ public com.google.protobuf.ByteString getGroupBytes() { java.lang.Object ref = group_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); group_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** optional string version = 2; */ public boolean hasVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** optional string version = 2; */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { version_ = s; } return s; } } /** optional string version = 2; */ public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int KIND_FIELD_NUMBER = 3; private volatile java.lang.Object kind_; /** optional string kind = 3; */ public boolean hasKind() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** optional string kind = 3; */ public java.lang.String getKind() { java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { kind_ = s; } return s; } } /** optional string kind = 3; */ public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kind_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, kind_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, group_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, kind_); } size += unknownFields.getSerializedSize(); memoizedSize = size; 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.GroupVersionKind)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.GroupVersionKind other = (io.kubernetes.client.proto.Meta.GroupVersionKind) obj; boolean result = true; result = result && (hasGroup() == other.hasGroup()); if (hasGroup()) { result = result && getGroup().equals(other.getGroup()); } result = result && (hasVersion() == other.hasVersion()); if (hasVersion()) { result = result && getVersion().equals(other.getVersion()); } result = result && (hasKind() == other.hasKind()); if (hasKind()) { result = result && getKind().equals(other.getKind()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasGroup()) { hash = (37 * hash) + GROUP_FIELD_NUMBER; hash = (53 * hash) + getGroup().hashCode(); } if (hasVersion()) { hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + getVersion().hashCode(); } if (hasKind()) { hash = (37 * hash) + KIND_FIELD_NUMBER; hash = (53 * hash) + getKind().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupVersionKind parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.GroupVersionKind parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupVersionKind parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.GroupVersionKind 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.GroupVersionKind 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; } /** * * *
     * 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.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind) io.kubernetes.client.proto.Meta.GroupVersionKindOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionKind_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionKind_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.GroupVersionKind.class, io.kubernetes.client.proto.Meta.GroupVersionKind.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.GroupVersionKind.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override public Builder clear() { super.clear(); group_ = ""; bitField0_ = (bitField0_ & ~0x00000001); version_ = ""; bitField0_ = (bitField0_ & ~0x00000002); kind_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionKind_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.GroupVersionKind getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.GroupVersionKind.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.GroupVersionKind build() { io.kubernetes.client.proto.Meta.GroupVersionKind result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.GroupVersionKind buildPartial() { io.kubernetes.client.proto.Meta.GroupVersionKind result = new io.kubernetes.client.proto.Meta.GroupVersionKind(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.group_ = group_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.version_ = version_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.kind_ = kind_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.GroupVersionKind) { return mergeFrom((io.kubernetes.client.proto.Meta.GroupVersionKind) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.GroupVersionKind other) { if (other == io.kubernetes.client.proto.Meta.GroupVersionKind.getDefaultInstance()) return this; if (other.hasGroup()) { bitField0_ |= 0x00000001; group_ = other.group_; onChanged(); } if (other.hasVersion()) { bitField0_ |= 0x00000002; version_ = other.version_; onChanged(); } if (other.hasKind()) { bitField0_ |= 0x00000004; kind_ = other.kind_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.GroupVersionKind parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.GroupVersionKind) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object group_ = ""; /** optional string group = 1; */ public boolean hasGroup() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** optional string group = 1; */ public java.lang.String getGroup() { java.lang.Object ref = group_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { group_ = s; } return s; } else { return (java.lang.String) ref; } } /** optional string group = 1; */ public com.google.protobuf.ByteString getGroupBytes() { java.lang.Object ref = group_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); group_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** optional string group = 1; */ public Builder setGroup(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; group_ = value; onChanged(); return this; } /** optional string group = 1; */ public Builder clearGroup() { bitField0_ = (bitField0_ & ~0x00000001); group_ = getDefaultInstance().getGroup(); onChanged(); return this; } /** optional string group = 1; */ public Builder setGroupBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; group_ = value; onChanged(); return this; } private java.lang.Object version_ = ""; /** optional string version = 2; */ public boolean hasVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** optional string version = 2; */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { version_ = s; } return s; } else { return (java.lang.String) ref; } } /** optional string version = 2; */ public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** optional string version = 2; */ public Builder setVersion(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; version_ = value; onChanged(); return this; } /** optional string version = 2; */ public Builder clearVersion() { bitField0_ = (bitField0_ & ~0x00000002); version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** optional string version = 2; */ public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; version_ = value; onChanged(); return this; } private java.lang.Object kind_ = ""; /** optional string kind = 3; */ public boolean hasKind() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** optional string kind = 3; */ public java.lang.String getKind() { java.lang.Object ref = kind_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { kind_ = s; } return s; } else { return (java.lang.String) ref; } } /** optional string kind = 3; */ public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kind_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** optional string kind = 3; */ public Builder setKind(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; kind_ = value; onChanged(); return this; } /** optional string kind = 3; */ public Builder clearKind() { bitField0_ = (bitField0_ & ~0x00000004); kind_ = getDefaultInstance().getKind(); onChanged(); return this; } /** optional string kind = 3; */ public Builder setKindBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; kind_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind) private static final io.kubernetes.client.proto.Meta.GroupVersionKind DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.GroupVersionKind(); } public static io.kubernetes.client.proto.Meta.GroupVersionKind getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GroupVersionKind parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GroupVersionKind(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.GroupVersionKind getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GroupVersionResourceOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource) com.google.protobuf.MessageOrBuilder { /** optional string group = 1; */ boolean hasGroup(); /** optional string group = 1; */ java.lang.String getGroup(); /** optional string group = 1; */ com.google.protobuf.ByteString getGroupBytes(); /** optional string version = 2; */ boolean hasVersion(); /** optional string version = 2; */ java.lang.String getVersion(); /** optional string version = 2; */ com.google.protobuf.ByteString getVersionBytes(); /** optional string resource = 3; */ boolean hasResource(); /** optional string resource = 3; */ java.lang.String getResource(); /** optional string resource = 3; */ com.google.protobuf.ByteString getResourceBytes(); } /** * * *
   * GroupVersionResource unambiguously identifies a resource.  It doesn't anonymously include GroupVersion
   * to avoid automatic 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.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource) GroupVersionResourceOrBuilder { private static final long serialVersionUID = 0L; // Use GroupVersionResource.newBuilder() to construct. private GroupVersionResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GroupVersionResource() { group_ = ""; version_ = ""; 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionResource_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.GroupVersionResource.class, io.kubernetes.client.proto.Meta.GroupVersionResource.Builder.class); } private int bitField0_; public static final int GROUP_FIELD_NUMBER = 1; private volatile java.lang.Object group_; /** optional string group = 1; */ public boolean hasGroup() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** optional string group = 1; */ public java.lang.String getGroup() { java.lang.Object ref = group_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { group_ = s; } return s; } } /** optional string group = 1; */ public com.google.protobuf.ByteString getGroupBytes() { java.lang.Object ref = group_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); group_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** optional string version = 2; */ public boolean hasVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** optional string version = 2; */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { version_ = s; } return s; } } /** optional string version = 2; */ public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RESOURCE_FIELD_NUMBER = 3; private volatile java.lang.Object resource_; /** optional string resource = 3; */ public boolean hasResource() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** optional string resource = 3; */ public java.lang.String getResource() { java.lang.Object ref = resource_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { resource_ = s; } return s; } } /** optional string resource = 3; */ public com.google.protobuf.ByteString getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resource_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, resource_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, group_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, resource_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.kubernetes.client.proto.Meta.GroupVersionResource)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.GroupVersionResource other = (io.kubernetes.client.proto.Meta.GroupVersionResource) obj; boolean result = true; result = result && (hasGroup() == other.hasGroup()); if (hasGroup()) { result = result && getGroup().equals(other.getGroup()); } result = result && (hasVersion() == other.hasVersion()); if (hasVersion()) { result = result && getVersion().equals(other.getVersion()); } result = result && (hasResource() == other.hasResource()); if (hasResource()) { result = result && getResource().equals(other.getResource()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasGroup()) { hash = (37 * hash) + GROUP_FIELD_NUMBER; hash = (53 * hash) + getGroup().hashCode(); } if (hasVersion()) { hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + getVersion().hashCode(); } if (hasResource()) { hash = (37 * hash) + RESOURCE_FIELD_NUMBER; hash = (53 * hash) + getResource().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupVersionResource parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.GroupVersionResource parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.GroupVersionResource parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.GroupVersionResource 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.GroupVersionResource 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; } /** * * *
     * 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.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource) io.kubernetes.client.proto.Meta.GroupVersionResourceOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionResource_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.GroupVersionResource.class, io.kubernetes.client.proto.Meta.GroupVersionResource.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.GroupVersionResource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override public Builder clear() { super.clear(); group_ = ""; bitField0_ = (bitField0_ & ~0x00000001); version_ = ""; bitField0_ = (bitField0_ & ~0x00000002); resource_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionResource_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.GroupVersionResource getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.GroupVersionResource.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.GroupVersionResource build() { io.kubernetes.client.proto.Meta.GroupVersionResource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.GroupVersionResource buildPartial() { io.kubernetes.client.proto.Meta.GroupVersionResource result = new io.kubernetes.client.proto.Meta.GroupVersionResource(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.group_ = group_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.version_ = version_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.resource_ = resource_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.GroupVersionResource) { return mergeFrom((io.kubernetes.client.proto.Meta.GroupVersionResource) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.GroupVersionResource other) { if (other == io.kubernetes.client.proto.Meta.GroupVersionResource.getDefaultInstance()) return this; if (other.hasGroup()) { bitField0_ |= 0x00000001; group_ = other.group_; onChanged(); } if (other.hasVersion()) { bitField0_ |= 0x00000002; version_ = other.version_; onChanged(); } if (other.hasResource()) { bitField0_ |= 0x00000004; resource_ = other.resource_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.GroupVersionResource parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.GroupVersionResource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object group_ = ""; /** optional string group = 1; */ public boolean hasGroup() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** optional string group = 1; */ public java.lang.String getGroup() { java.lang.Object ref = group_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { group_ = s; } return s; } else { return (java.lang.String) ref; } } /** optional string group = 1; */ public com.google.protobuf.ByteString getGroupBytes() { java.lang.Object ref = group_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); group_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** optional string group = 1; */ public Builder setGroup(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; group_ = value; onChanged(); return this; } /** optional string group = 1; */ public Builder clearGroup() { bitField0_ = (bitField0_ & ~0x00000001); group_ = getDefaultInstance().getGroup(); onChanged(); return this; } /** optional string group = 1; */ public Builder setGroupBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; group_ = value; onChanged(); return this; } private java.lang.Object version_ = ""; /** optional string version = 2; */ public boolean hasVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** optional string version = 2; */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { version_ = s; } return s; } else { return (java.lang.String) ref; } } /** optional string version = 2; */ public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** optional string version = 2; */ public Builder setVersion(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; version_ = value; onChanged(); return this; } /** optional string version = 2; */ public Builder clearVersion() { bitField0_ = (bitField0_ & ~0x00000002); version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** optional string version = 2; */ public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; version_ = value; onChanged(); return this; } private java.lang.Object resource_ = ""; /** optional string resource = 3; */ public boolean hasResource() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** optional string resource = 3; */ public java.lang.String getResource() { java.lang.Object ref = resource_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { resource_ = s; } return s; } else { return (java.lang.String) ref; } } /** optional string resource = 3; */ public com.google.protobuf.ByteString getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resource_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** optional string resource = 3; */ public Builder setResource(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; resource_ = value; onChanged(); return this; } /** optional string resource = 3; */ public Builder clearResource() { bitField0_ = (bitField0_ & ~0x00000004); resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** optional string resource = 3; */ public Builder setResourceBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; resource_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource) private static final io.kubernetes.client.proto.Meta.GroupVersionResource DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.GroupVersionResource(); } public static io.kubernetes.client.proto.Meta.GroupVersionResource getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GroupVersionResource parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GroupVersionResource(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.GroupVersionResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LabelSelectorOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector) com.google.protobuf.MessageOrBuilder { /** * * *
     * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
     * map is equivalent to an element of matchExpressions, whose key field is "key", the
     * operator is "In", and the values array contains only "value". The requirements are ANDed.
     * +optional
     * 
* * map<string, string> matchLabels = 1; */ int getMatchLabelsCount(); /** * * *
     * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
     * map is equivalent to an element of matchExpressions, whose key field is "key", the
     * operator is "In", and the values array contains only "value". The requirements are ANDed.
     * +optional
     * 
* * map<string, string> matchLabels = 1; */ boolean containsMatchLabels(java.lang.String key); /** Use {@link #getMatchLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getMatchLabels(); /** * * *
     * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
     * map is equivalent to an element of matchExpressions, whose key field is "key", the
     * operator is "In", and the values array contains only "value". The requirements are ANDed.
     * +optional
     * 
* * map<string, string> matchLabels = 1; */ java.util.Map getMatchLabelsMap(); /** * * *
     * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
     * map is equivalent to an element of matchExpressions, whose key field is "key", the
     * operator is "In", and the values array contains only "value". The requirements are ANDed.
     * +optional
     * 
* * map<string, string> matchLabels = 1; */ java.lang.String getMatchLabelsOrDefault(java.lang.String key, java.lang.String defaultValue); /** * * *
     * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
     * map is equivalent to an element of matchExpressions, whose key field is "key", the
     * operator is "In", and the values array contains only "value". The requirements are ANDed.
     * +optional
     * 
* * map<string, string> matchLabels = 1; */ java.lang.String getMatchLabelsOrThrow(java.lang.String key); /** * * *
     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
     * +optional
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; * */ java.util.List getMatchExpressionsList(); /** * * *
     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
     * +optional
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; * */ io.kubernetes.client.proto.Meta.LabelSelectorRequirement getMatchExpressions(int index); /** * * *
     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
     * +optional
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; * */ int getMatchExpressionsCount(); /** * * *
     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
     * +optional
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; * */ java.util.List getMatchExpressionsOrBuilderList(); /** * * *
     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
     * +optional
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; * */ io.kubernetes.client.proto.Meta.LabelSelectorRequirementOrBuilder getMatchExpressionsOrBuilder( int index); } /** * * *
   * A label selector is a label query over a set of resources. The result of matchLabels and
   * matchExpressions are ANDed. An empty label selector matches all objects. A null
   * label selector matches no objects.
   * +structType=atomic
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector} */ 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; // Use LabelSelector.newBuilder() to construct. 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< io.kubernetes.client.proto.Meta.LabelSelectorRequirement>(); 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; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 1: return internalGetMatchLabels(); default: throw new RuntimeException("Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelector_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.LabelSelector.class, io.kubernetes.client.proto.Meta.LabelSelector.Builder.class); } public static final int MATCHLABELS_FIELD_NUMBER = 1; private static final class MatchLabelsDefaultEntryHolder { static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry.newDefaultInstance( io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelector_MatchLabelsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField matchLabels_; private com.google.protobuf.MapField internalGetMatchLabels() { if (matchLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( MatchLabelsDefaultEntryHolder.defaultEntry); } return matchLabels_; } public int getMatchLabelsCount() { return internalGetMatchLabels().getMap().size(); } /** * * *
     * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
     * map is equivalent to an element of matchExpressions, whose key field is "key", the
     * operator is "In", and the values array contains only "value". The requirements are ANDed.
     * +optional
     * 
* * map<string, string> matchLabels = 1; */ public boolean containsMatchLabels(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetMatchLabels().getMap().containsKey(key); } /** Use {@link #getMatchLabelsMap()} instead. */ @java.lang.Deprecated public java.util.Map getMatchLabels() { return getMatchLabelsMap(); } /** * * *
     * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
     * map is equivalent to an element of matchExpressions, whose key field is "key", the
     * operator is "In", and the values array contains only "value". The requirements are ANDed.
     * +optional
     * 
* * map<string, string> matchLabels = 1; */ public java.util.Map getMatchLabelsMap() { return internalGetMatchLabels().getMap(); } /** * * *
     * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
     * map is equivalent to an element of matchExpressions, whose key field is "key", the
     * operator is "In", and the values array contains only "value". The requirements are ANDed.
     * +optional
     * 
* * map<string, string> matchLabels = 1; */ public java.lang.String getMatchLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMatchLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * * *
     * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
     * map is equivalent to an element of matchExpressions, whose key field is "key", the
     * operator is "In", and the values array contains only "value". The requirements are ANDed.
     * +optional
     * 
* * map<string, string> matchLabels = 1; */ public java.lang.String getMatchLabelsOrThrow(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMatchLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int MATCHEXPRESSIONS_FIELD_NUMBER = 2; private java.util.List matchExpressions_; /** * * *
     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
     * +optional
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; * */ public java.util.List getMatchExpressionsList() { return matchExpressions_; } /** * * *
     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
     * +optional
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; * */ public java.util.List< ? extends io.kubernetes.client.proto.Meta.LabelSelectorRequirementOrBuilder> getMatchExpressionsOrBuilderList() { return matchExpressions_; } /** * * *
     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
     * +optional
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; * */ public int getMatchExpressionsCount() { return matchExpressions_.size(); } /** * * *
     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
     * +optional
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; * */ public io.kubernetes.client.proto.Meta.LabelSelectorRequirement getMatchExpressions(int index) { return matchExpressions_.get(index); } /** * * *
     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
     * +optional
     * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; * */ public io.kubernetes.client.proto.Meta.LabelSelectorRequirementOrBuilder getMatchExpressionsOrBuilder(int index) { return matchExpressions_.get(index); } private byte memoizedIsInitialized = -1; @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 { com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetMatchLabels(), MatchLabelsDefaultEntryHolder.defaultEntry, 1); for (int i = 0; i < matchExpressions_.size(); i++) { output.writeMessage(2, matchExpressions_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetMatchLabels().getMap().entrySet()) { com.google.protobuf.MapEntry matchLabels__ = MatchLabelsDefaultEntryHolder.defaultEntry .newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, matchLabels__); } for (int i = 0; i < matchExpressions_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, matchExpressions_.get(i)); } 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.LabelSelector)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.LabelSelector other = (io.kubernetes.client.proto.Meta.LabelSelector) obj; 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 public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (!internalGetMatchLabels().getMap().isEmpty()) { hash = (37 * hash) + MATCHLABELS_FIELD_NUMBER; hash = (53 * hash) + internalGetMatchLabels().hashCode(); } if (getMatchExpressionsCount() > 0) { hash = (37 * hash) + MATCHEXPRESSIONS_FIELD_NUMBER; hash = (53 * hash) + getMatchExpressionsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.LabelSelector parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.LabelSelector parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.LabelSelector parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.LabelSelector 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.LabelSelector 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; } /** * * *
     * A label selector is a label query over a set of resources. The result of matchLabels and
     * matchExpressions are ANDed. An empty label selector matches all objects. A null
     * label selector matches no objects.
     * +structType=atomic
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector) io.kubernetes.client.proto.Meta.LabelSelectorOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelector_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 1: return internalGetMatchLabels(); default: throw new RuntimeException("Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 1: return internalGetMutableMatchLabels(); default: throw new RuntimeException("Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelector_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.LabelSelector.class, io.kubernetes.client.proto.Meta.LabelSelector.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.LabelSelector.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(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(); internalGetMutableMatchLabels().clear(); if (matchExpressionsBuilder_ == null) { matchExpressions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { matchExpressionsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelector_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.LabelSelector getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.LabelSelector.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.LabelSelector build() { io.kubernetes.client.proto.Meta.LabelSelector result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.LabelSelector buildPartial() { io.kubernetes.client.proto.Meta.LabelSelector result = new io.kubernetes.client.proto.Meta.LabelSelector(this); int from_bitField0_ = bitField0_; result.matchLabels_ = internalGetMatchLabels(); result.matchLabels_.makeImmutable(); if (matchExpressionsBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { matchExpressions_ = java.util.Collections.unmodifiableList(matchExpressions_); bitField0_ = (bitField0_ & ~0x00000002); } result.matchExpressions_ = matchExpressions_; } else { result.matchExpressions_ = matchExpressionsBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.LabelSelector) { return mergeFrom((io.kubernetes.client.proto.Meta.LabelSelector) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.LabelSelector other) { if (other == io.kubernetes.client.proto.Meta.LabelSelector.getDefaultInstance()) return this; internalGetMutableMatchLabels().mergeFrom(other.internalGetMatchLabels()); if (matchExpressionsBuilder_ == null) { if (!other.matchExpressions_.isEmpty()) { if (matchExpressions_.isEmpty()) { matchExpressions_ = other.matchExpressions_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureMatchExpressionsIsMutable(); matchExpressions_.addAll(other.matchExpressions_); } onChanged(); } } else { if (!other.matchExpressions_.isEmpty()) { if (matchExpressionsBuilder_.isEmpty()) { matchExpressionsBuilder_.dispose(); matchExpressionsBuilder_ = null; matchExpressions_ = other.matchExpressions_; bitField0_ = (bitField0_ & ~0x00000002); matchExpressionsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getMatchExpressionsFieldBuilder() : null; } else { matchExpressionsBuilder_.addAllMessages(other.matchExpressions_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.LabelSelector parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.LabelSelector) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.MapField matchLabels_; private com.google.protobuf.MapField internalGetMatchLabels() { if (matchLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( MatchLabelsDefaultEntryHolder.defaultEntry); } return matchLabels_; } private com.google.protobuf.MapField internalGetMutableMatchLabels() { onChanged(); ; if (matchLabels_ == null) { matchLabels_ = com.google.protobuf.MapField.newMapField(MatchLabelsDefaultEntryHolder.defaultEntry); } if (!matchLabels_.isMutable()) { matchLabels_ = matchLabels_.copy(); } return matchLabels_; } public int getMatchLabelsCount() { return internalGetMatchLabels().getMap().size(); } /** * * *
       * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
       * map is equivalent to an element of matchExpressions, whose key field is "key", the
       * operator is "In", and the values array contains only "value". The requirements are ANDed.
       * +optional
       * 
* * map<string, string> matchLabels = 1; */ public boolean containsMatchLabels(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetMatchLabels().getMap().containsKey(key); } /** Use {@link #getMatchLabelsMap()} instead. */ @java.lang.Deprecated public java.util.Map getMatchLabels() { return getMatchLabelsMap(); } /** * * *
       * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
       * map is equivalent to an element of matchExpressions, whose key field is "key", the
       * operator is "In", and the values array contains only "value". The requirements are ANDed.
       * +optional
       * 
* * map<string, string> matchLabels = 1; */ public java.util.Map getMatchLabelsMap() { return internalGetMatchLabels().getMap(); } /** * * *
       * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
       * map is equivalent to an element of matchExpressions, whose key field is "key", the
       * operator is "In", and the values array contains only "value". The requirements are ANDed.
       * +optional
       * 
* * map<string, string> matchLabels = 1; */ public java.lang.String getMatchLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMatchLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * * *
       * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
       * map is equivalent to an element of matchExpressions, whose key field is "key", the
       * operator is "In", and the values array contains only "value". The requirements are ANDed.
       * +optional
       * 
* * map<string, string> matchLabels = 1; */ public java.lang.String getMatchLabelsOrThrow(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMatchLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMatchLabels() { internalGetMutableMatchLabels().getMutableMap().clear(); return this; } /** * * *
       * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
       * map is equivalent to an element of matchExpressions, whose key field is "key", the
       * operator is "In", and the values array contains only "value". The requirements are ANDed.
       * +optional
       * 
* * map<string, string> matchLabels = 1; */ public Builder removeMatchLabels(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableMatchLabels().getMutableMap().remove(key); return this; } /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMatchLabels() { return internalGetMutableMatchLabels().getMutableMap(); } /** * * *
       * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
       * map is equivalent to an element of matchExpressions, whose key field is "key", the
       * operator is "In", and the values array contains only "value". The requirements are ANDed.
       * +optional
       * 
* * map<string, string> matchLabels = 1; */ public Builder putMatchLabels(java.lang.String key, java.lang.String value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableMatchLabels().getMutableMap().put(key, value); return this; } /** * * *
       * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
       * map is equivalent to an element of matchExpressions, whose key field is "key", the
       * operator is "In", and the values array contains only "value". The requirements are ANDed.
       * +optional
       * 
* * map<string, string> matchLabels = 1; */ public Builder putAllMatchLabels(java.util.Map values) { internalGetMutableMatchLabels().getMutableMap().putAll(values); return this; } private java.util.List matchExpressions_ = java.util.Collections.emptyList(); private void ensureMatchExpressionsIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { matchExpressions_ = new java.util.ArrayList( matchExpressions_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.LabelSelectorRequirement, io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder, io.kubernetes.client.proto.Meta.LabelSelectorRequirementOrBuilder> matchExpressionsBuilder_; /** * * *
       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; * */ public java.util.List getMatchExpressionsList() { if (matchExpressionsBuilder_ == null) { return java.util.Collections.unmodifiableList(matchExpressions_); } else { return matchExpressionsBuilder_.getMessageList(); } } /** * * *
       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; * */ public int getMatchExpressionsCount() { if (matchExpressionsBuilder_ == null) { return matchExpressions_.size(); } else { return matchExpressionsBuilder_.getCount(); } } /** * * *
       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; * */ public io.kubernetes.client.proto.Meta.LabelSelectorRequirement getMatchExpressions( int index) { if (matchExpressionsBuilder_ == null) { return matchExpressions_.get(index); } else { return matchExpressionsBuilder_.getMessage(index); } } /** * * *
       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; * */ public Builder setMatchExpressions( int index, io.kubernetes.client.proto.Meta.LabelSelectorRequirement value) { if (matchExpressionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMatchExpressionsIsMutable(); matchExpressions_.set(index, value); onChanged(); } else { matchExpressionsBuilder_.setMessage(index, value); } return this; } /** * * *
       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; * */ public Builder setMatchExpressions( int index, io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder builderForValue) { if (matchExpressionsBuilder_ == null) { ensureMatchExpressionsIsMutable(); matchExpressions_.set(index, builderForValue.build()); onChanged(); } else { matchExpressionsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * * *
       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; * */ public Builder addMatchExpressions( io.kubernetes.client.proto.Meta.LabelSelectorRequirement value) { if (matchExpressionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMatchExpressionsIsMutable(); matchExpressions_.add(value); onChanged(); } else { matchExpressionsBuilder_.addMessage(value); } return this; } /** * * *
       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; * */ public Builder addMatchExpressions( int index, io.kubernetes.client.proto.Meta.LabelSelectorRequirement value) { if (matchExpressionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMatchExpressionsIsMutable(); matchExpressions_.add(index, value); onChanged(); } else { matchExpressionsBuilder_.addMessage(index, value); } return this; } /** * * *
       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; * */ public Builder addMatchExpressions( io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder builderForValue) { if (matchExpressionsBuilder_ == null) { ensureMatchExpressionsIsMutable(); matchExpressions_.add(builderForValue.build()); onChanged(); } else { matchExpressionsBuilder_.addMessage(builderForValue.build()); } return this; } /** * * *
       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; * */ public Builder addMatchExpressions( int index, io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder builderForValue) { if (matchExpressionsBuilder_ == null) { ensureMatchExpressionsIsMutable(); matchExpressions_.add(index, builderForValue.build()); onChanged(); } else { matchExpressionsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * * *
       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; * */ public Builder addAllMatchExpressions( java.lang.Iterable values) { if (matchExpressionsBuilder_ == null) { ensureMatchExpressionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, matchExpressions_); onChanged(); } else { matchExpressionsBuilder_.addAllMessages(values); } return this; } /** * * *
       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; * */ public Builder clearMatchExpressions() { if (matchExpressionsBuilder_ == null) { matchExpressions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { matchExpressionsBuilder_.clear(); } return this; } /** * * *
       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; * */ public Builder removeMatchExpressions(int index) { if (matchExpressionsBuilder_ == null) { ensureMatchExpressionsIsMutable(); matchExpressions_.remove(index); onChanged(); } else { matchExpressionsBuilder_.remove(index); } return this; } /** * * *
       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; * */ public io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder getMatchExpressionsBuilder(int index) { return getMatchExpressionsFieldBuilder().getBuilder(index); } /** * * *
       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; * */ public io.kubernetes.client.proto.Meta.LabelSelectorRequirementOrBuilder getMatchExpressionsOrBuilder(int index) { if (matchExpressionsBuilder_ == null) { return matchExpressions_.get(index); } else { return matchExpressionsBuilder_.getMessageOrBuilder(index); } } /** * * *
       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; * */ public java.util.List< ? extends io.kubernetes.client.proto.Meta.LabelSelectorRequirementOrBuilder> getMatchExpressionsOrBuilderList() { if (matchExpressionsBuilder_ != null) { return matchExpressionsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(matchExpressions_); } } /** * * *
       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; * */ public io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder addMatchExpressionsBuilder() { return getMatchExpressionsFieldBuilder() .addBuilder( io.kubernetes.client.proto.Meta.LabelSelectorRequirement.getDefaultInstance()); } /** * * *
       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; * */ public io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder addMatchExpressionsBuilder(int index) { return getMatchExpressionsFieldBuilder() .addBuilder( index, io.kubernetes.client.proto.Meta.LabelSelectorRequirement.getDefaultInstance()); } /** * * *
       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
       * +optional
       * 
* * * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; * */ public java.util.List getMatchExpressionsBuilderList() { return getMatchExpressionsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.LabelSelectorRequirement, io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder, io.kubernetes.client.proto.Meta.LabelSelectorRequirementOrBuilder> getMatchExpressionsFieldBuilder() { if (matchExpressionsBuilder_ == null) { matchExpressionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.LabelSelectorRequirement, io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder, io.kubernetes.client.proto.Meta.LabelSelectorRequirementOrBuilder>( matchExpressions_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); matchExpressions_ = null; } return matchExpressionsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector) private static final io.kubernetes.client.proto.Meta.LabelSelector DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.LabelSelector(); } public static io.kubernetes.client.proto.Meta.LabelSelector getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LabelSelector parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new LabelSelector(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.LabelSelector getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LabelSelectorRequirementOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement) com.google.protobuf.MessageOrBuilder { /** * * *
     * key is the label key that the selector applies to.
     * +patchMergeKey=key
     * +patchStrategy=merge
     * 
* * optional string key = 1; */ boolean hasKey(); /** * * *
     * key is the label key that the selector applies to.
     * +patchMergeKey=key
     * +patchStrategy=merge
     * 
* * optional string key = 1; */ java.lang.String getKey(); /** * * *
     * key is the label key that the selector applies to.
     * +patchMergeKey=key
     * +patchStrategy=merge
     * 
* * 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 and DoesNotExist.
     * 
* * optional string operator = 2; */ boolean hasOperator(); /** * * *
     * operator represents a key's relationship to a set of values.
     * Valid operators are In, NotIn, Exists and DoesNotExist.
     * 
* * 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 and DoesNotExist.
     * 
* * 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. This array is replaced during a strategic
     * merge patch.
     * +optional
     * 
* * repeated string values = 3; */ java.util.List getValuesList(); /** * * *
     * values is an array of string values. If the operator is In or NotIn,
     * the values array must be non-empty. If the operator is Exists or DoesNotExist,
     * the values array must be empty. This array is replaced during a strategic
     * merge patch.
     * +optional
     * 
* * 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. This array is replaced during a strategic
     * merge patch.
     * +optional
     * 
* * 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. This array is replaced during a strategic
     * merge patch.
     * +optional
     * 
* * repeated string values = 3; */ com.google.protobuf.ByteString getValuesBytes(int index); } /** * * *
   * A label selector requirement is a selector that contains values, a key, and an operator that
   * relates the key and values.
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement} */ 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; // Use LabelSelectorRequirement.newBuilder() to construct. private LabelSelectorRequirement(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LabelSelectorRequirement() { key_ = ""; operator_ = ""; 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.LabelSelectorRequirement.class, io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder.class); } private int bitField0_; public static final int KEY_FIELD_NUMBER = 1; private volatile java.lang.Object key_; /** * * *
     * key is the label key that the selector applies to.
     * +patchMergeKey=key
     * +patchStrategy=merge
     * 
* * optional string key = 1; */ public boolean hasKey() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
     * key is the label key that the selector applies to.
     * +patchMergeKey=key
     * +patchStrategy=merge
     * 
* * optional string key = 1; */ public java.lang.String getKey() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { key_ = s; } return s; } } /** * * *
     * key is the label key that the selector applies to.
     * +patchMergeKey=key
     * +patchStrategy=merge
     * 
* * optional string key = 1; */ public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); key_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OPERATOR_FIELD_NUMBER = 2; private volatile java.lang.Object operator_; /** * * *
     * operator represents a key's relationship to a set of values.
     * Valid operators are In, NotIn, Exists and DoesNotExist.
     * 
* * 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 and DoesNotExist.
     * 
* * 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 and DoesNotExist.
     * 
* * 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. This array is replaced during a strategic
     * merge patch.
     * +optional
     * 
* * 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. This array is replaced during a strategic
     * merge patch.
     * +optional
     * 
* * 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. This array is replaced during a strategic
     * merge patch.
     * +optional
     * 
* * 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. This array is replaced during a strategic
     * merge patch.
     * +optional
     * 
* * repeated string values = 3; */ public com.google.protobuf.ByteString getValuesBytes(int index) { return values_.getByteString(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, 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)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, operator_); } { 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; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.kubernetes.client.proto.Meta.LabelSelectorRequirement)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.LabelSelectorRequirement other = (io.kubernetes.client.proto.Meta.LabelSelectorRequirement) obj; boolean result = true; result = result && (hasKey() == other.hasKey()); if (hasKey()) { result = result && getKey().equals(other.getKey()); } result = result && (hasOperator() == other.hasOperator()); if (hasOperator()) { result = result && getOperator().equals(other.getOperator()); } result = result && getValuesList().equals(other.getValuesList()); 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 (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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement 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.LabelSelectorRequirement 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; } /** * * *
     * A label selector requirement is a selector that contains values, a key, and an operator that
     * relates the key and values.
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement) io.kubernetes.client.proto.Meta.LabelSelectorRequirementOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.LabelSelectorRequirement.class, io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.LabelSelectorRequirement.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override public Builder clear() { super.clear(); key_ = ""; bitField0_ = (bitField0_ & ~0x00000001); operator_ = ""; bitField0_ = (bitField0_ & ~0x00000002); values_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.LabelSelectorRequirement getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.LabelSelectorRequirement.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.LabelSelectorRequirement build() { io.kubernetes.client.proto.Meta.LabelSelectorRequirement result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.LabelSelectorRequirement buildPartial() { io.kubernetes.client.proto.Meta.LabelSelectorRequirement result = new io.kubernetes.client.proto.Meta.LabelSelectorRequirement(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.key_ = key_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.operator_ = operator_; if (((bitField0_ & 0x00000004) == 0x00000004)) { values_ = values_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); } result.values_ = values_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.LabelSelectorRequirement) { return mergeFrom((io.kubernetes.client.proto.Meta.LabelSelectorRequirement) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.LabelSelectorRequirement other) { if (other == io.kubernetes.client.proto.Meta.LabelSelectorRequirement.getDefaultInstance()) return this; if (other.hasKey()) { bitField0_ |= 0x00000001; key_ = other.key_; onChanged(); } if (other.hasOperator()) { bitField0_ |= 0x00000002; operator_ = other.operator_; onChanged(); } if (!other.values_.isEmpty()) { if (values_.isEmpty()) { values_ = other.values_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureValuesIsMutable(); values_.addAll(other.values_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.LabelSelectorRequirement parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.LabelSelectorRequirement) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object key_ = ""; /** * * *
       * key is the label key that the selector applies to.
       * +patchMergeKey=key
       * +patchStrategy=merge
       * 
* * optional string key = 1; */ public boolean hasKey() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
       * key is the label key that the selector applies to.
       * +patchMergeKey=key
       * +patchStrategy=merge
       * 
* * 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 label key that the selector applies to.
       * +patchMergeKey=key
       * +patchStrategy=merge
       * 
* * 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 label key that the selector applies to.
       * +patchMergeKey=key
       * +patchStrategy=merge
       * 
* * 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 label key that the selector applies to.
       * +patchMergeKey=key
       * +patchStrategy=merge
       * 
* * optional string key = 1; */ public Builder clearKey() { bitField0_ = (bitField0_ & ~0x00000001); key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** * * *
       * key is the label key that the selector applies to.
       * +patchMergeKey=key
       * +patchStrategy=merge
       * 
* * 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 and DoesNotExist.
       * 
* * 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 and DoesNotExist.
       * 
* * 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 and DoesNotExist.
       * 
* * 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 and DoesNotExist.
       * 
* * 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 and DoesNotExist.
       * 
* * 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 and DoesNotExist.
       * 
* * 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. This array is replaced during a strategic
       * merge patch.
       * +optional
       * 
* * 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. This array is replaced during a strategic
       * merge patch.
       * +optional
       * 
* * 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. This array is replaced during a strategic
       * merge patch.
       * +optional
       * 
* * 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. This array is replaced during a strategic
       * merge patch.
       * +optional
       * 
* * 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. This array is replaced during a strategic
       * merge patch.
       * +optional
       * 
* * 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. This array is replaced during a strategic
       * merge patch.
       * +optional
       * 
* * 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. This array is replaced during a strategic
       * merge patch.
       * +optional
       * 
* * repeated string values = 3; */ public Builder addAllValues(java.lang.Iterable values) { ensureValuesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); 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. This array is replaced during a strategic
       * merge patch.
       * +optional
       * 
* * 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. This array is replaced during a strategic
       * merge patch.
       * +optional
       * 
* * 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.LabelSelectorRequirement) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement) private static final io.kubernetes.client.proto.Meta.LabelSelectorRequirement DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.LabelSelectorRequirement(); } public static io.kubernetes.client.proto.Meta.LabelSelectorRequirement getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LabelSelectorRequirement parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new LabelSelectorRequirement(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.LabelSelectorRequirement getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.List) com.google.protobuf.MessageOrBuilder { /** * * *
     * Standard list metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ boolean hasMetadata(); /** * * *
     * Standard list metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ io.kubernetes.client.proto.Meta.ListMeta getMetadata(); /** * * *
     * Standard list metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ io.kubernetes.client.proto.Meta.ListMetaOrBuilder getMetadataOrBuilder(); /** * * *
     * List of objects
     * 
* * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ java.util.List getItemsList(); /** * * *
     * List of objects
     * 
* * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ io.kubernetes.client.proto.Runtime.RawExtension getItems(int index); /** * * *
     * List of objects
     * 
* * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ int getItemsCount(); /** * * *
     * List of objects
     * 
* * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ java.util.List getItemsOrBuilderList(); /** * * *
     * List of objects
     * 
* * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ io.kubernetes.client.proto.Runtime.RawExtensionOrBuilder getItemsOrBuilder(int index); } /** * * *
   * List holds a list of objects, which may not be known by the server.
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.List} */ 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; // Use List.newBuilder() to construct. 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.ArrayList(); mutable_bitField0_ |= 0x00000002; } items_.add( input.readMessage( io.kubernetes.client.proto.Runtime.RawExtension.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)) { items_ = java.util.Collections.unmodifiableList(items_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_List_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_List_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.List.class, io.kubernetes.client.proto.Meta.List.Builder.class); } private int bitField0_; public static final int METADATA_FIELD_NUMBER = 1; private io.kubernetes.client.proto.Meta.ListMeta metadata_; /** * * *
     * Standard list metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public boolean hasMetadata() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
     * Standard list metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public io.kubernetes.client.proto.Meta.ListMeta getMetadata() { return metadata_ == null ? io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance() : metadata_; } /** * * *
     * Standard list metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public io.kubernetes.client.proto.Meta.ListMetaOrBuilder getMetadataOrBuilder() { return metadata_ == null ? io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance() : metadata_; } public static final int ITEMS_FIELD_NUMBER = 2; private java.util.List items_; /** * * *
     * List of objects
     * 
* * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ public java.util.List getItemsList() { return items_; } /** * * *
     * List of objects
     * 
* * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ public java.util.List getItemsOrBuilderList() { return items_; } /** * * *
     * List of objects
     * 
* * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ public int getItemsCount() { return items_.size(); } /** * * *
     * List of objects
     * 
* * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ public io.kubernetes.client.proto.Runtime.RawExtension getItems(int index) { return items_.get(index); } /** * * *
     * List of objects
     * 
* * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ public io.kubernetes.client.proto.Runtime.RawExtensionOrBuilder getItemsOrBuilder(int index) { return items_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; 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.writeMessage(1, getMetadata()); } for (int i = 0; i < items_.size(); i++) { output.writeMessage(2, items_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMetadata()); } for (int i = 0; i < items_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, items_.get(i)); } 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.List)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.List other = (io.kubernetes.client.proto.Meta.List) obj; boolean result = true; result = result && (hasMetadata() == other.hasMetadata()); if (hasMetadata()) { result = result && getMetadata().equals(other.getMetadata()); } result = result && getItemsList().equals(other.getItemsList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasMetadata()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + getMetadata().hashCode(); } if (getItemsCount() > 0) { hash = (37 * hash) + ITEMS_FIELD_NUMBER; hash = (53 * hash) + getItemsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.List parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.List parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.List parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.List parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.List parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.List parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.List parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.List parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.List parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.List parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.List parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.List 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.List prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * * *
     * List holds a list of objects, which may not be known by the server.
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.List} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.List) io.kubernetes.client.proto.Meta.ListOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_List_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_List_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.List.class, io.kubernetes.client.proto.Meta.List.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.List.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getMetadataFieldBuilder(); getItemsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (metadataBuilder_ == null) { metadata_ = null; } else { metadataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (itemsBuilder_ == null) { items_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { itemsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_List_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.List getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.List.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.List build() { io.kubernetes.client.proto.Meta.List result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.List buildPartial() { io.kubernetes.client.proto.Meta.List result = new io.kubernetes.client.proto.Meta.List(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (metadataBuilder_ == null) { result.metadata_ = metadata_; } else { result.metadata_ = metadataBuilder_.build(); } if (itemsBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { items_ = java.util.Collections.unmodifiableList(items_); bitField0_ = (bitField0_ & ~0x00000002); } result.items_ = items_; } else { result.items_ = itemsBuilder_.build(); } result.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.List) { return mergeFrom((io.kubernetes.client.proto.Meta.List) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.List other) { if (other == io.kubernetes.client.proto.Meta.List.getDefaultInstance()) return this; if (other.hasMetadata()) { mergeMetadata(other.getMetadata()); } if (itemsBuilder_ == null) { if (!other.items_.isEmpty()) { if (items_.isEmpty()) { items_ = other.items_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureItemsIsMutable(); items_.addAll(other.items_); } onChanged(); } } else { if (!other.items_.isEmpty()) { if (itemsBuilder_.isEmpty()) { itemsBuilder_.dispose(); itemsBuilder_ = null; items_ = other.items_; bitField0_ = (bitField0_ & ~0x00000002); itemsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getItemsFieldBuilder() : null; } else { itemsBuilder_.addAllMessages(other.items_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.List parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.List) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; 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_; /** * * *
       * Standard list metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public boolean hasMetadata() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
       * Standard list metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public io.kubernetes.client.proto.Meta.ListMeta getMetadata() { if (metadataBuilder_ == null) { return metadata_ == null ? io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** * * *
       * Standard list metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public Builder setMetadata(io.kubernetes.client.proto.Meta.ListMeta value) { if (metadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } metadata_ = value; onChanged(); } else { metadataBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * * *
       * Standard list metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public Builder setMetadata(io.kubernetes.client.proto.Meta.ListMeta.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); onChanged(); } else { metadataBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * * *
       * Standard list metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public Builder mergeMetadata(io.kubernetes.client.proto.Meta.ListMeta value) { if (metadataBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && metadata_ != null && metadata_ != io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance()) { metadata_ = io.kubernetes.client.proto.Meta.ListMeta.newBuilder(metadata_) .mergeFrom(value) .buildPartial(); } else { metadata_ = value; } onChanged(); } else { metadataBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * * *
       * Standard list metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public Builder clearMetadata() { if (metadataBuilder_ == null) { metadata_ = null; onChanged(); } else { metadataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * * *
       * Standard list metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public io.kubernetes.client.proto.Meta.ListMeta.Builder getMetadataBuilder() { bitField0_ |= 0x00000001; onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** * * *
       * Standard list metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public io.kubernetes.client.proto.Meta.ListMetaOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { return metadata_ == null ? io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance() : metadata_; } } /** * * *
       * Standard list metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.kubernetes.client.proto.Meta.ListMeta, io.kubernetes.client.proto.Meta.ListMeta.Builder, io.kubernetes.client.proto.Meta.ListMetaOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.kubernetes.client.proto.Meta.ListMeta, io.kubernetes.client.proto.Meta.ListMeta.Builder, io.kubernetes.client.proto.Meta.ListMetaOrBuilder>( getMetadata(), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; } private java.util.List items_ = java.util.Collections.emptyList(); private void ensureItemsIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { items_ = new java.util.ArrayList(items_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Runtime.RawExtension, io.kubernetes.client.proto.Runtime.RawExtension.Builder, io.kubernetes.client.proto.Runtime.RawExtensionOrBuilder> itemsBuilder_; /** * * *
       * List of objects
       * 
* * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ public java.util.List getItemsList() { if (itemsBuilder_ == null) { return java.util.Collections.unmodifiableList(items_); } else { return itemsBuilder_.getMessageList(); } } /** * * *
       * List of objects
       * 
* * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ public int getItemsCount() { if (itemsBuilder_ == null) { return items_.size(); } else { return itemsBuilder_.getCount(); } } /** * * *
       * List of objects
       * 
* * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ public io.kubernetes.client.proto.Runtime.RawExtension getItems(int index) { if (itemsBuilder_ == null) { return items_.get(index); } else { return itemsBuilder_.getMessage(index); } } /** * * *
       * List of objects
       * 
* * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ public Builder setItems(int index, io.kubernetes.client.proto.Runtime.RawExtension value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsIsMutable(); items_.set(index, value); onChanged(); } else { itemsBuilder_.setMessage(index, value); } return this; } /** * * *
       * List of objects
       * 
* * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ public Builder setItems( int index, io.kubernetes.client.proto.Runtime.RawExtension.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.set(index, builderForValue.build()); onChanged(); } else { itemsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * * *
       * List of objects
       * 
* * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ public Builder addItems(io.kubernetes.client.proto.Runtime.RawExtension value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsIsMutable(); items_.add(value); onChanged(); } else { itemsBuilder_.addMessage(value); } return this; } /** * * *
       * List of objects
       * 
* * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ public Builder addItems(int index, io.kubernetes.client.proto.Runtime.RawExtension value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsIsMutable(); items_.add(index, value); onChanged(); } else { itemsBuilder_.addMessage(index, value); } return this; } /** * * *
       * List of objects
       * 
* * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ public Builder addItems( io.kubernetes.client.proto.Runtime.RawExtension.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.add(builderForValue.build()); onChanged(); } else { itemsBuilder_.addMessage(builderForValue.build()); } return this; } /** * * *
       * List of objects
       * 
* * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ public Builder addItems( int index, io.kubernetes.client.proto.Runtime.RawExtension.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.add(index, builderForValue.build()); onChanged(); } else { itemsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * * *
       * List of objects
       * 
* * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ public Builder addAllItems( java.lang.Iterable values) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, items_); onChanged(); } else { itemsBuilder_.addAllMessages(values); } return this; } /** * * *
       * List of objects
       * 
* * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ public Builder clearItems() { if (itemsBuilder_ == null) { items_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { itemsBuilder_.clear(); } return this; } /** * * *
       * List of objects
       * 
* * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ public Builder removeItems(int index) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.remove(index); onChanged(); } else { itemsBuilder_.remove(index); } return this; } /** * * *
       * List of objects
       * 
* * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ public io.kubernetes.client.proto.Runtime.RawExtension.Builder getItemsBuilder(int index) { return getItemsFieldBuilder().getBuilder(index); } /** * * *
       * List of objects
       * 
* * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ public io.kubernetes.client.proto.Runtime.RawExtensionOrBuilder getItemsOrBuilder(int index) { if (itemsBuilder_ == null) { return items_.get(index); } else { return itemsBuilder_.getMessageOrBuilder(index); } } /** * * *
       * List of objects
       * 
* * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ public java.util.List getItemsOrBuilderList() { if (itemsBuilder_ != null) { return itemsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(items_); } } /** * * *
       * List of objects
       * 
* * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ public io.kubernetes.client.proto.Runtime.RawExtension.Builder addItemsBuilder() { return getItemsFieldBuilder() .addBuilder(io.kubernetes.client.proto.Runtime.RawExtension.getDefaultInstance()); } /** * * *
       * List of objects
       * 
* * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ public io.kubernetes.client.proto.Runtime.RawExtension.Builder addItemsBuilder(int index) { return getItemsFieldBuilder() .addBuilder( index, io.kubernetes.client.proto.Runtime.RawExtension.getDefaultInstance()); } /** * * *
       * List of objects
       * 
* * repeated .k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; */ public java.util.List getItemsBuilderList() { return getItemsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Runtime.RawExtension, io.kubernetes.client.proto.Runtime.RawExtension.Builder, io.kubernetes.client.proto.Runtime.RawExtensionOrBuilder> getItemsFieldBuilder() { if (itemsBuilder_ == null) { itemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Runtime.RawExtension, io.kubernetes.client.proto.Runtime.RawExtension.Builder, io.kubernetes.client.proto.Runtime.RawExtensionOrBuilder>( items_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); items_ = null; } return itemsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.List) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.List) private static final io.kubernetes.client.proto.Meta.List DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.List(); } public static io.kubernetes.client.proto.Meta.List getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public List parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new List(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.List getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListMetaOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta) com.google.protobuf.MessageOrBuilder { /** * * *
     * selfLink is a URL representing this object.
     * Populated by the system.
     * Read-only.
     * DEPRECATED
     * Kubernetes will stop propagating this field in 1.20 release and the field is planned
     * to be removed in 1.21 release.
     * +optional
     * 
* * optional string selfLink = 1; */ boolean hasSelfLink(); /** * * *
     * selfLink is a URL representing this object.
     * Populated by the system.
     * Read-only.
     * DEPRECATED
     * Kubernetes will stop propagating this field in 1.20 release and the field is planned
     * to be removed in 1.21 release.
     * +optional
     * 
* * optional string selfLink = 1; */ java.lang.String getSelfLink(); /** * * *
     * selfLink is a URL representing this object.
     * Populated by the system.
     * Read-only.
     * DEPRECATED
     * Kubernetes will stop propagating this field in 1.20 release and the field is planned
     * to be removed in 1.21 release.
     * +optional
     * 
* * optional string selfLink = 1; */ com.google.protobuf.ByteString getSelfLinkBytes(); /** * * *
     * String that identifies the server's internal version of this object that
     * can be used by clients to determine when objects have changed.
     * Value must be treated as opaque by clients and passed unmodified back to the server.
     * Populated by the system.
     * Read-only.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
     * +optional
     * 
* * optional string resourceVersion = 2; */ boolean hasResourceVersion(); /** * * *
     * String that identifies the server's internal version of this object that
     * can be used by clients to determine when objects have changed.
     * Value must be treated as opaque by clients and passed unmodified back to the server.
     * Populated by the system.
     * Read-only.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
     * +optional
     * 
* * optional string resourceVersion = 2; */ java.lang.String getResourceVersion(); /** * * *
     * String that identifies the server's internal version of this object that
     * can be used by clients to determine when objects have changed.
     * Value must be treated as opaque by clients and passed unmodified back to the server.
     * Populated by the system.
     * Read-only.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
     * +optional
     * 
* * optional string resourceVersion = 2; */ com.google.protobuf.ByteString getResourceVersionBytes(); /** * * *
     * continue may be set if the user set a limit on the number of items returned, and indicates that
     * the server has more data available. The value is opaque and may be used to issue another request
     * to the endpoint that served this list to retrieve the next set of available objects. Continuing a
     * consistent list may not be possible if the server configuration has changed or more than a few
     * minutes have passed. The resourceVersion field returned when using this continue value will be
     * identical to the value in the first response, unless you have received this token from an error
     * message.
     * 
* * optional string continue = 3; */ boolean hasContinue(); /** * * *
     * continue may be set if the user set a limit on the number of items returned, and indicates that
     * the server has more data available. The value is opaque and may be used to issue another request
     * to the endpoint that served this list to retrieve the next set of available objects. Continuing a
     * consistent list may not be possible if the server configuration has changed or more than a few
     * minutes have passed. The resourceVersion field returned when using this continue value will be
     * identical to the value in the first response, unless you have received this token from an error
     * message.
     * 
* * optional string continue = 3; */ java.lang.String getContinue(); /** * * *
     * continue may be set if the user set a limit on the number of items returned, and indicates that
     * the server has more data available. The value is opaque and may be used to issue another request
     * to the endpoint that served this list to retrieve the next set of available objects. Continuing a
     * consistent list may not be possible if the server configuration has changed or more than a few
     * minutes have passed. The resourceVersion field returned when using this continue value will be
     * identical to the value in the first response, unless you have received this token from an error
     * message.
     * 
* * optional string continue = 3; */ com.google.protobuf.ByteString getContinueBytes(); /** * * *
     * remainingItemCount is the number of subsequent items in the list which are not included in this
     * list response. If the list request contained label or field selectors, then the number of
     * remaining items is unknown and the field will be left unset and omitted during serialization.
     * If the list is complete (either because it is not chunking or because this is the last chunk),
     * then there are no more remaining items and this field will be left unset and omitted during
     * serialization.
     * Servers older than v1.15 do not set this field.
     * The intended use of the remainingItemCount is *estimating* the size of a collection. Clients
     * should not rely on the remainingItemCount to be set or to be exact.
     * +optional
     * 
* * optional int64 remainingItemCount = 4; */ boolean hasRemainingItemCount(); /** * * *
     * remainingItemCount is the number of subsequent items in the list which are not included in this
     * list response. If the list request contained label or field selectors, then the number of
     * remaining items is unknown and the field will be left unset and omitted during serialization.
     * If the list is complete (either because it is not chunking or because this is the last chunk),
     * then there are no more remaining items and this field will be left unset and omitted during
     * serialization.
     * Servers older than v1.15 do not set this field.
     * The intended use of the remainingItemCount is *estimating* the size of a collection. Clients
     * should not rely on the remainingItemCount to be set or to be exact.
     * +optional
     * 
* * optional int64 remainingItemCount = 4; */ long getRemainingItemCount(); } /** * * *
   * ListMeta describes metadata that synthetic resources must have, including lists and
   * various status objects. A resource may have only one of {ObjectMeta, ListMeta}.
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta} */ public static final class ListMeta extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta) ListMetaOrBuilder { private static final long serialVersionUID = 0L; // Use ListMeta.newBuilder() to construct. private ListMeta(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListMeta() { selfLink_ = ""; resourceVersion_ = ""; continue_ = ""; 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.ListMeta.class, io.kubernetes.client.proto.Meta.ListMeta.Builder.class); } private int bitField0_; public static final int SELFLINK_FIELD_NUMBER = 1; private volatile java.lang.Object selfLink_; /** * * *
     * selfLink is a URL representing this object.
     * Populated by the system.
     * Read-only.
     * DEPRECATED
     * Kubernetes will stop propagating this field in 1.20 release and the field is planned
     * to be removed in 1.21 release.
     * +optional
     * 
* * optional string selfLink = 1; */ public boolean hasSelfLink() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
     * selfLink is a URL representing this object.
     * Populated by the system.
     * Read-only.
     * DEPRECATED
     * Kubernetes will stop propagating this field in 1.20 release and the field is planned
     * to be removed in 1.21 release.
     * +optional
     * 
* * optional string selfLink = 1; */ public java.lang.String getSelfLink() { java.lang.Object ref = selfLink_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { selfLink_ = s; } return s; } } /** * * *
     * selfLink is a URL representing this object.
     * Populated by the system.
     * Read-only.
     * DEPRECATED
     * Kubernetes will stop propagating this field in 1.20 release and the field is planned
     * to be removed in 1.21 release.
     * +optional
     * 
* * optional string selfLink = 1; */ public com.google.protobuf.ByteString getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); selfLink_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RESOURCEVERSION_FIELD_NUMBER = 2; private volatile java.lang.Object resourceVersion_; /** * * *
     * String that identifies the server's internal version of this object that
     * can be used by clients to determine when objects have changed.
     * Value must be treated as opaque by clients and passed unmodified back to the server.
     * Populated by the system.
     * Read-only.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
     * +optional
     * 
* * optional string resourceVersion = 2; */ public boolean hasResourceVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
     * String that identifies the server's internal version of this object that
     * can be used by clients to determine when objects have changed.
     * Value must be treated as opaque by clients and passed unmodified back to the server.
     * Populated by the system.
     * Read-only.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
     * +optional
     * 
* * optional string resourceVersion = 2; */ public java.lang.String getResourceVersion() { java.lang.Object ref = resourceVersion_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { resourceVersion_ = s; } return s; } } /** * * *
     * String that identifies the server's internal version of this object that
     * can be used by clients to determine when objects have changed.
     * Value must be treated as opaque by clients and passed unmodified back to the server.
     * Populated by the system.
     * Read-only.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
     * +optional
     * 
* * optional string resourceVersion = 2; */ public com.google.protobuf.ByteString getResourceVersionBytes() { java.lang.Object ref = resourceVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CONTINUE_FIELD_NUMBER = 3; private volatile java.lang.Object continue_; /** * * *
     * continue may be set if the user set a limit on the number of items returned, and indicates that
     * the server has more data available. The value is opaque and may be used to issue another request
     * to the endpoint that served this list to retrieve the next set of available objects. Continuing a
     * consistent list may not be possible if the server configuration has changed or more than a few
     * minutes have passed. The resourceVersion field returned when using this continue value will be
     * identical to the value in the first response, unless you have received this token from an error
     * message.
     * 
* * optional string continue = 3; */ public boolean hasContinue() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * * *
     * continue may be set if the user set a limit on the number of items returned, and indicates that
     * the server has more data available. The value is opaque and may be used to issue another request
     * to the endpoint that served this list to retrieve the next set of available objects. Continuing a
     * consistent list may not be possible if the server configuration has changed or more than a few
     * minutes have passed. The resourceVersion field returned when using this continue value will be
     * identical to the value in the first response, unless you have received this token from an error
     * message.
     * 
* * optional string continue = 3; */ public java.lang.String getContinue() { java.lang.Object ref = continue_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { continue_ = s; } return s; } } /** * * *
     * continue may be set if the user set a limit on the number of items returned, and indicates that
     * the server has more data available. The value is opaque and may be used to issue another request
     * to the endpoint that served this list to retrieve the next set of available objects. Continuing a
     * consistent list may not be possible if the server configuration has changed or more than a few
     * minutes have passed. The resourceVersion field returned when using this continue value will be
     * identical to the value in the first response, unless you have received this token from an error
     * message.
     * 
* * optional string continue = 3; */ public com.google.protobuf.ByteString getContinueBytes() { java.lang.Object ref = continue_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); continue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REMAININGITEMCOUNT_FIELD_NUMBER = 4; private long remainingItemCount_; /** * * *
     * remainingItemCount is the number of subsequent items in the list which are not included in this
     * list response. If the list request contained label or field selectors, then the number of
     * remaining items is unknown and the field will be left unset and omitted during serialization.
     * If the list is complete (either because it is not chunking or because this is the last chunk),
     * then there are no more remaining items and this field will be left unset and omitted during
     * serialization.
     * Servers older than v1.15 do not set this field.
     * The intended use of the remainingItemCount is *estimating* the size of a collection. Clients
     * should not rely on the remainingItemCount to be set or to be exact.
     * +optional
     * 
* * optional int64 remainingItemCount = 4; */ public boolean hasRemainingItemCount() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * * *
     * remainingItemCount is the number of subsequent items in the list which are not included in this
     * list response. If the list request contained label or field selectors, then the number of
     * remaining items is unknown and the field will be left unset and omitted during serialization.
     * If the list is complete (either because it is not chunking or because this is the last chunk),
     * then there are no more remaining items and this field will be left unset and omitted during
     * serialization.
     * Servers older than v1.15 do not set this field.
     * The intended use of the remainingItemCount is *estimating* the size of a collection. Clients
     * should not rely on the remainingItemCount to be set or to be exact.
     * +optional
     * 
* * optional int64 remainingItemCount = 4; */ public long getRemainingItemCount() { return remainingItemCount_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, selfLink_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resourceVersion_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, continue_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt64(4, remainingItemCount_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, selfLink_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceVersion_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, continue_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, remainingItemCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.kubernetes.client.proto.Meta.ListMeta)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.ListMeta other = (io.kubernetes.client.proto.Meta.ListMeta) obj; boolean result = true; result = result && (hasSelfLink() == other.hasSelfLink()); if (hasSelfLink()) { result = result && getSelfLink().equals(other.getSelfLink()); } result = result && (hasResourceVersion() == other.hasResourceVersion()); if (hasResourceVersion()) { result = result && getResourceVersion().equals(other.getResourceVersion()); } result = result && (hasContinue() == other.hasContinue()); if (hasContinue()) { result = result && getContinue().equals(other.getContinue()); } result = result && (hasRemainingItemCount() == other.hasRemainingItemCount()); if (hasRemainingItemCount()) { result = result && (getRemainingItemCount() == other.getRemainingItemCount()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasSelfLink()) { hash = (37 * hash) + SELFLINK_FIELD_NUMBER; hash = (53 * hash) + getSelfLink().hashCode(); } if (hasResourceVersion()) { hash = (37 * hash) + RESOURCEVERSION_FIELD_NUMBER; hash = (53 * hash) + getResourceVersion().hashCode(); } if (hasContinue()) { hash = (37 * hash) + CONTINUE_FIELD_NUMBER; hash = (53 * hash) + getContinue().hashCode(); } if (hasRemainingItemCount()) { hash = (37 * hash) + REMAININGITEMCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRemainingItemCount()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.ListMeta parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.ListMeta parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.ListMeta parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.ListMeta parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.ListMeta parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.ListMeta parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.ListMeta parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.ListMeta parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.ListMeta parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.ListMeta parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.ListMeta parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.ListMeta parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.kubernetes.client.proto.Meta.ListMeta prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * * *
     * ListMeta describes metadata that synthetic resources must have, including lists and
     * various status objects. A resource may have only one of {ObjectMeta, ListMeta}.
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta) io.kubernetes.client.proto.Meta.ListMetaOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.ListMeta.class, io.kubernetes.client.proto.Meta.ListMeta.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.ListMeta.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override public Builder clear() { super.clear(); selfLink_ = ""; bitField0_ = (bitField0_ & ~0x00000001); resourceVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000002); continue_ = ""; bitField0_ = (bitField0_ & ~0x00000004); remainingItemCount_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.ListMeta getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.ListMeta build() { io.kubernetes.client.proto.Meta.ListMeta result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.ListMeta buildPartial() { io.kubernetes.client.proto.Meta.ListMeta result = new io.kubernetes.client.proto.Meta.ListMeta(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.selfLink_ = selfLink_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.resourceVersion_ = resourceVersion_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.continue_ = continue_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.remainingItemCount_ = remainingItemCount_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.ListMeta) { return mergeFrom((io.kubernetes.client.proto.Meta.ListMeta) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.ListMeta other) { if (other == io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance()) return this; if (other.hasSelfLink()) { bitField0_ |= 0x00000001; selfLink_ = other.selfLink_; onChanged(); } if (other.hasResourceVersion()) { bitField0_ |= 0x00000002; resourceVersion_ = other.resourceVersion_; onChanged(); } if (other.hasContinue()) { bitField0_ |= 0x00000004; continue_ = other.continue_; onChanged(); } if (other.hasRemainingItemCount()) { setRemainingItemCount(other.getRemainingItemCount()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.ListMeta parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.ListMeta) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object selfLink_ = ""; /** * * *
       * selfLink is a URL representing this object.
       * Populated by the system.
       * Read-only.
       * DEPRECATED
       * Kubernetes will stop propagating this field in 1.20 release and the field is planned
       * to be removed in 1.21 release.
       * +optional
       * 
* * optional string selfLink = 1; */ public boolean hasSelfLink() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
       * selfLink is a URL representing this object.
       * Populated by the system.
       * Read-only.
       * DEPRECATED
       * Kubernetes will stop propagating this field in 1.20 release and the field is planned
       * to be removed in 1.21 release.
       * +optional
       * 
* * optional string selfLink = 1; */ public java.lang.String getSelfLink() { java.lang.Object ref = selfLink_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { selfLink_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * selfLink is a URL representing this object.
       * Populated by the system.
       * Read-only.
       * DEPRECATED
       * Kubernetes will stop propagating this field in 1.20 release and the field is planned
       * to be removed in 1.21 release.
       * +optional
       * 
* * optional string selfLink = 1; */ public com.google.protobuf.ByteString getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); selfLink_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * selfLink is a URL representing this object.
       * Populated by the system.
       * Read-only.
       * DEPRECATED
       * Kubernetes will stop propagating this field in 1.20 release and the field is planned
       * to be removed in 1.21 release.
       * +optional
       * 
* * optional string selfLink = 1; */ public Builder setSelfLink(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; selfLink_ = value; onChanged(); return this; } /** * * *
       * selfLink is a URL representing this object.
       * Populated by the system.
       * Read-only.
       * DEPRECATED
       * Kubernetes will stop propagating this field in 1.20 release and the field is planned
       * to be removed in 1.21 release.
       * +optional
       * 
* * optional string selfLink = 1; */ public Builder clearSelfLink() { bitField0_ = (bitField0_ & ~0x00000001); selfLink_ = getDefaultInstance().getSelfLink(); onChanged(); return this; } /** * * *
       * selfLink is a URL representing this object.
       * Populated by the system.
       * Read-only.
       * DEPRECATED
       * Kubernetes will stop propagating this field in 1.20 release and the field is planned
       * to be removed in 1.21 release.
       * +optional
       * 
* * optional string selfLink = 1; */ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; selfLink_ = value; onChanged(); return this; } private java.lang.Object resourceVersion_ = ""; /** * * *
       * String that identifies the server's internal version of this object that
       * can be used by clients to determine when objects have changed.
       * Value must be treated as opaque by clients and passed unmodified back to the server.
       * Populated by the system.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
       * +optional
       * 
* * optional string resourceVersion = 2; */ public boolean hasResourceVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
       * String that identifies the server's internal version of this object that
       * can be used by clients to determine when objects have changed.
       * Value must be treated as opaque by clients and passed unmodified back to the server.
       * Populated by the system.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
       * +optional
       * 
* * optional string resourceVersion = 2; */ public java.lang.String getResourceVersion() { java.lang.Object ref = resourceVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { resourceVersion_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * String that identifies the server's internal version of this object that
       * can be used by clients to determine when objects have changed.
       * Value must be treated as opaque by clients and passed unmodified back to the server.
       * Populated by the system.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
       * +optional
       * 
* * optional string resourceVersion = 2; */ public com.google.protobuf.ByteString getResourceVersionBytes() { java.lang.Object ref = resourceVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * String that identifies the server's internal version of this object that
       * can be used by clients to determine when objects have changed.
       * Value must be treated as opaque by clients and passed unmodified back to the server.
       * Populated by the system.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
       * +optional
       * 
* * optional string resourceVersion = 2; */ public Builder setResourceVersion(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; resourceVersion_ = value; onChanged(); return this; } /** * * *
       * String that identifies the server's internal version of this object that
       * can be used by clients to determine when objects have changed.
       * Value must be treated as opaque by clients and passed unmodified back to the server.
       * Populated by the system.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
       * +optional
       * 
* * optional string resourceVersion = 2; */ public Builder clearResourceVersion() { bitField0_ = (bitField0_ & ~0x00000002); resourceVersion_ = getDefaultInstance().getResourceVersion(); onChanged(); return this; } /** * * *
       * String that identifies the server's internal version of this object that
       * can be used by clients to determine when objects have changed.
       * Value must be treated as opaque by clients and passed unmodified back to the server.
       * Populated by the system.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
       * +optional
       * 
* * optional string resourceVersion = 2; */ public Builder setResourceVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; resourceVersion_ = value; onChanged(); return this; } private java.lang.Object continue_ = ""; /** * * *
       * continue may be set if the user set a limit on the number of items returned, and indicates that
       * the server has more data available. The value is opaque and may be used to issue another request
       * to the endpoint that served this list to retrieve the next set of available objects. Continuing a
       * consistent list may not be possible if the server configuration has changed or more than a few
       * minutes have passed. The resourceVersion field returned when using this continue value will be
       * identical to the value in the first response, unless you have received this token from an error
       * message.
       * 
* * optional string continue = 3; */ public boolean hasContinue() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * * *
       * continue may be set if the user set a limit on the number of items returned, and indicates that
       * the server has more data available. The value is opaque and may be used to issue another request
       * to the endpoint that served this list to retrieve the next set of available objects. Continuing a
       * consistent list may not be possible if the server configuration has changed or more than a few
       * minutes have passed. The resourceVersion field returned when using this continue value will be
       * identical to the value in the first response, unless you have received this token from an error
       * message.
       * 
* * optional string continue = 3; */ public java.lang.String getContinue() { java.lang.Object ref = continue_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { continue_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * continue may be set if the user set a limit on the number of items returned, and indicates that
       * the server has more data available. The value is opaque and may be used to issue another request
       * to the endpoint that served this list to retrieve the next set of available objects. Continuing a
       * consistent list may not be possible if the server configuration has changed or more than a few
       * minutes have passed. The resourceVersion field returned when using this continue value will be
       * identical to the value in the first response, unless you have received this token from an error
       * message.
       * 
* * optional string continue = 3; */ public com.google.protobuf.ByteString getContinueBytes() { java.lang.Object ref = continue_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); continue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * continue may be set if the user set a limit on the number of items returned, and indicates that
       * the server has more data available. The value is opaque and may be used to issue another request
       * to the endpoint that served this list to retrieve the next set of available objects. Continuing a
       * consistent list may not be possible if the server configuration has changed or more than a few
       * minutes have passed. The resourceVersion field returned when using this continue value will be
       * identical to the value in the first response, unless you have received this token from an error
       * message.
       * 
* * optional string continue = 3; */ public Builder setContinue(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; continue_ = value; onChanged(); return this; } /** * * *
       * continue may be set if the user set a limit on the number of items returned, and indicates that
       * the server has more data available. The value is opaque and may be used to issue another request
       * to the endpoint that served this list to retrieve the next set of available objects. Continuing a
       * consistent list may not be possible if the server configuration has changed or more than a few
       * minutes have passed. The resourceVersion field returned when using this continue value will be
       * identical to the value in the first response, unless you have received this token from an error
       * message.
       * 
* * optional string continue = 3; */ public Builder clearContinue() { bitField0_ = (bitField0_ & ~0x00000004); continue_ = getDefaultInstance().getContinue(); onChanged(); return this; } /** * * *
       * continue may be set if the user set a limit on the number of items returned, and indicates that
       * the server has more data available. The value is opaque and may be used to issue another request
       * to the endpoint that served this list to retrieve the next set of available objects. Continuing a
       * consistent list may not be possible if the server configuration has changed or more than a few
       * minutes have passed. The resourceVersion field returned when using this continue value will be
       * identical to the value in the first response, unless you have received this token from an error
       * message.
       * 
* * optional string continue = 3; */ public Builder setContinueBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; continue_ = value; onChanged(); return this; } private long remainingItemCount_; /** * * *
       * remainingItemCount is the number of subsequent items in the list which are not included in this
       * list response. If the list request contained label or field selectors, then the number of
       * remaining items is unknown and the field will be left unset and omitted during serialization.
       * If the list is complete (either because it is not chunking or because this is the last chunk),
       * then there are no more remaining items and this field will be left unset and omitted during
       * serialization.
       * Servers older than v1.15 do not set this field.
       * The intended use of the remainingItemCount is *estimating* the size of a collection. Clients
       * should not rely on the remainingItemCount to be set or to be exact.
       * +optional
       * 
* * optional int64 remainingItemCount = 4; */ public boolean hasRemainingItemCount() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * * *
       * remainingItemCount is the number of subsequent items in the list which are not included in this
       * list response. If the list request contained label or field selectors, then the number of
       * remaining items is unknown and the field will be left unset and omitted during serialization.
       * If the list is complete (either because it is not chunking or because this is the last chunk),
       * then there are no more remaining items and this field will be left unset and omitted during
       * serialization.
       * Servers older than v1.15 do not set this field.
       * The intended use of the remainingItemCount is *estimating* the size of a collection. Clients
       * should not rely on the remainingItemCount to be set or to be exact.
       * +optional
       * 
* * optional int64 remainingItemCount = 4; */ public long getRemainingItemCount() { return remainingItemCount_; } /** * * *
       * remainingItemCount is the number of subsequent items in the list which are not included in this
       * list response. If the list request contained label or field selectors, then the number of
       * remaining items is unknown and the field will be left unset and omitted during serialization.
       * If the list is complete (either because it is not chunking or because this is the last chunk),
       * then there are no more remaining items and this field will be left unset and omitted during
       * serialization.
       * Servers older than v1.15 do not set this field.
       * The intended use of the remainingItemCount is *estimating* the size of a collection. Clients
       * should not rely on the remainingItemCount to be set or to be exact.
       * +optional
       * 
* * optional int64 remainingItemCount = 4; */ public Builder setRemainingItemCount(long value) { bitField0_ |= 0x00000008; remainingItemCount_ = value; onChanged(); return this; } /** * * *
       * remainingItemCount is the number of subsequent items in the list which are not included in this
       * list response. If the list request contained label or field selectors, then the number of
       * remaining items is unknown and the field will be left unset and omitted during serialization.
       * If the list is complete (either because it is not chunking or because this is the last chunk),
       * then there are no more remaining items and this field will be left unset and omitted during
       * serialization.
       * Servers older than v1.15 do not set this field.
       * The intended use of the remainingItemCount is *estimating* the size of a collection. Clients
       * should not rely on the remainingItemCount to be set or to be exact.
       * +optional
       * 
* * optional int64 remainingItemCount = 4; */ public Builder clearRemainingItemCount() { bitField0_ = (bitField0_ & ~0x00000008); remainingItemCount_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta) private static final io.kubernetes.client.proto.Meta.ListMeta DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.ListMeta(); } public static io.kubernetes.client.proto.Meta.ListMeta getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListMeta parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListMeta(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.ListMeta getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions) com.google.protobuf.MessageOrBuilder { /** * * *
     * A selector to restrict the list of returned objects by their labels.
     * Defaults to everything.
     * +optional
     * 
* * optional string labelSelector = 1; */ boolean hasLabelSelector(); /** * * *
     * A selector to restrict the list of returned objects by their labels.
     * Defaults to everything.
     * +optional
     * 
* * optional string labelSelector = 1; */ java.lang.String getLabelSelector(); /** * * *
     * A selector to restrict the list of returned objects by their labels.
     * Defaults to everything.
     * +optional
     * 
* * optional string labelSelector = 1; */ com.google.protobuf.ByteString getLabelSelectorBytes(); /** * * *
     * A selector to restrict the list of returned objects by their fields.
     * Defaults to everything.
     * +optional
     * 
* * optional string fieldSelector = 2; */ boolean hasFieldSelector(); /** * * *
     * A selector to restrict the list of returned objects by their fields.
     * Defaults to everything.
     * +optional
     * 
* * optional string fieldSelector = 2; */ java.lang.String getFieldSelector(); /** * * *
     * A selector to restrict the list of returned objects by their fields.
     * Defaults to everything.
     * +optional
     * 
* * optional string fieldSelector = 2; */ com.google.protobuf.ByteString getFieldSelectorBytes(); /** * * *
     * Watch for changes to the described resources and return them as a stream of
     * add, update, and remove notifications. Specify resourceVersion.
     * +optional
     * 
* * optional bool watch = 3; */ boolean hasWatch(); /** * * *
     * Watch for changes to the described resources and return them as a stream of
     * add, update, and remove notifications. Specify resourceVersion.
     * +optional
     * 
* * optional bool watch = 3; */ boolean getWatch(); /** * * *
     * allowWatchBookmarks requests watch events with type "BOOKMARK".
     * Servers that do not implement bookmarks may ignore this flag and
     * bookmarks are sent at the server's discretion. Clients should not
     * assume bookmarks are returned at any specific interval, nor may they
     * assume the server will send any BOOKMARK event during a session.
     * If this is not a watch, this field is ignored.
     * +optional
     * 
* * optional bool allowWatchBookmarks = 9; */ boolean hasAllowWatchBookmarks(); /** * * *
     * allowWatchBookmarks requests watch events with type "BOOKMARK".
     * Servers that do not implement bookmarks may ignore this flag and
     * bookmarks are sent at the server's discretion. Clients should not
     * assume bookmarks are returned at any specific interval, nor may they
     * assume the server will send any BOOKMARK event during a session.
     * If this is not a watch, this field is ignored.
     * +optional
     * 
* * optional bool allowWatchBookmarks = 9; */ boolean getAllowWatchBookmarks(); /** * * *
     * 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; */ boolean hasResourceVersion(); /** * * *
     * 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; */ 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; */ com.google.protobuf.ByteString getResourceVersionBytes(); /** * * *
     * resourceVersionMatch determines how resourceVersion is applied to list calls.
     * It is highly recommended that resourceVersionMatch be set for list calls where
     * 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; */ boolean hasResourceVersionMatch(); /** * * *
     * resourceVersionMatch determines how resourceVersion is applied to list calls.
     * It is highly recommended that resourceVersionMatch be set for list calls where
     * 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; */ java.lang.String getResourceVersionMatch(); /** * * *
     * resourceVersionMatch determines how resourceVersion is applied to list calls.
     * It is highly recommended that resourceVersionMatch be set for list calls where
     * 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; */ com.google.protobuf.ByteString getResourceVersionMatchBytes(); /** * * *
     * Timeout for the list/watch call.
     * This limits the duration of the call, regardless of any activity or inactivity.
     * +optional
     * 
* * optional int64 timeoutSeconds = 5; */ boolean hasTimeoutSeconds(); /** * * *
     * Timeout for the list/watch call.
     * This limits the duration of the call, regardless of any activity or inactivity.
     * +optional
     * 
* * optional int64 timeoutSeconds = 5; */ long getTimeoutSeconds(); /** * * *
     * limit is a maximum number of responses to return for a list call. If more items exist, the
     * server will set the `continue` field on the list metadata to a value that can be used with the
     * same initial query to retrieve the next set of results. Setting a limit may return fewer than
     * the requested amount of items (up to zero items) in the event all requested objects are
     * filtered out and clients should only use the presence of the continue field to determine whether
     * more results are available. Servers may choose not to support the limit argument and will return
     * all of the available results. If limit is specified and the continue field is empty, clients may
     * assume that no more results are available. This field is not supported if watch is true.
     * The server guarantees that the objects returned when using continue will be identical to issuing
     * a single list call without a limit - that is, no objects created, modified, or deleted after the
     * first request is issued will be included in any subsequent continued requests. This is sometimes
     * referred to as a consistent snapshot, and ensures that a client that is using limit to receive
     * smaller chunks of a very large result can ensure they see all possible objects. If objects are
     * updated during a chunked list the version of the object that was present at the time the first list
     * result was calculated is returned.
     * 
* * optional int64 limit = 7; */ boolean hasLimit(); /** * * *
     * limit is a maximum number of responses to return for a list call. If more items exist, the
     * server will set the `continue` field on the list metadata to a value that can be used with the
     * same initial query to retrieve the next set of results. Setting a limit may return fewer than
     * the requested amount of items (up to zero items) in the event all requested objects are
     * filtered out and clients should only use the presence of the continue field to determine whether
     * more results are available. Servers may choose not to support the limit argument and will return
     * all of the available results. If limit is specified and the continue field is empty, clients may
     * assume that no more results are available. This field is not supported if watch is true.
     * The server guarantees that the objects returned when using continue will be identical to issuing
     * a single list call without a limit - that is, no objects created, modified, or deleted after the
     * first request is issued will be included in any subsequent continued requests. This is sometimes
     * referred to as a consistent snapshot, and ensures that a client that is using limit to receive
     * smaller chunks of a very large result can ensure they see all possible objects. If objects are
     * updated during a chunked list the version of the object that was present at the time the first list
     * result was calculated is returned.
     * 
* * optional int64 limit = 7; */ long getLimit(); /** * * *
     * The continue option should be set when retrieving more results from the server. Since this value is
     * server defined, clients may only use the continue value from a previous query result with identical
     * query parameters (except for the value of continue) and the server may reject a continue value it
     * does not recognize. If the specified continue value is no longer valid whether due to expiration
     * (generally five to fifteen minutes) or a configuration change on the server, the server will
     * respond with a 410 ResourceExpired error together with a continue token. If the client needs a
     * consistent list, it must restart their list without the continue field. Otherwise, the client may
     * send another list request with the token received with the 410 error, the server will respond with
     * a list starting from the next key, but from the latest snapshot, which is inconsistent from the
     * previous list results - objects that are created, modified, or deleted after the first list request
     * will be included in the response, as long as their keys are after the "next key".
     * This field is not supported when watch is true. Clients may start a watch from the last
     * resourceVersion value returned by the server and not miss any modifications.
     * 
* * optional string continue = 8; */ boolean hasContinue(); /** * * *
     * The continue option should be set when retrieving more results from the server. Since this value is
     * server defined, clients may only use the continue value from a previous query result with identical
     * query parameters (except for the value of continue) and the server may reject a continue value it
     * does not recognize. If the specified continue value is no longer valid whether due to expiration
     * (generally five to fifteen minutes) or a configuration change on the server, the server will
     * respond with a 410 ResourceExpired error together with a continue token. If the client needs a
     * consistent list, it must restart their list without the continue field. Otherwise, the client may
     * send another list request with the token received with the 410 error, the server will respond with
     * a list starting from the next key, but from the latest snapshot, which is inconsistent from the
     * previous list results - objects that are created, modified, or deleted after the first list request
     * will be included in the response, as long as their keys are after the "next key".
     * This field is not supported when watch is true. Clients may start a watch from the last
     * resourceVersion value returned by the server and not miss any modifications.
     * 
* * optional string continue = 8; */ java.lang.String getContinue(); /** * * *
     * The continue option should be set when retrieving more results from the server. Since this value is
     * server defined, clients may only use the continue value from a previous query result with identical
     * query parameters (except for the value of continue) and the server may reject a continue value it
     * does not recognize. If the specified continue value is no longer valid whether due to expiration
     * (generally five to fifteen minutes) or a configuration change on the server, the server will
     * respond with a 410 ResourceExpired error together with a continue token. If the client needs a
     * consistent list, it must restart their list without the continue field. Otherwise, the client may
     * send another list request with the token received with the 410 error, the server will respond with
     * a list starting from the next key, but from the latest snapshot, which is inconsistent from the
     * previous list results - objects that are created, modified, or deleted after the first list request
     * will be included in the response, as long as their keys are after the "next key".
     * This field is not supported when watch is true. Clients may start a watch from the last
     * resourceVersion value returned by the server and not miss any modifications.
     * 
* * optional string continue = 8; */ com.google.protobuf.ByteString getContinueBytes(); } /** * * *
   * ListOptions is the query options to a standard REST list call.
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions} */ public static final class ListOptions extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions) ListOptionsOrBuilder { private static final long serialVersionUID = 0L; // Use ListOptions.newBuilder() to construct. private ListOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListOptions() { labelSelector_ = ""; fieldSelector_ = ""; watch_ = false; allowWatchBookmarks_ = false; resourceVersion_ = ""; resourceVersionMatch_ = ""; timeoutSeconds_ = 0L; limit_ = 0L; continue_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; labelSelector_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; fieldSelector_ = bs; break; } case 24: { bitField0_ |= 0x00000004; watch_ = input.readBool(); break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 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; } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.ListOptions.class, io.kubernetes.client.proto.Meta.ListOptions.Builder.class); } private int bitField0_; public static final int LABELSELECTOR_FIELD_NUMBER = 1; private volatile java.lang.Object labelSelector_; /** * * *
     * A selector to restrict the list of returned objects by their labels.
     * Defaults to everything.
     * +optional
     * 
* * optional string labelSelector = 1; */ public boolean hasLabelSelector() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
     * A selector to restrict the list of returned objects by their labels.
     * Defaults to everything.
     * +optional
     * 
* * optional string labelSelector = 1; */ public java.lang.String getLabelSelector() { java.lang.Object ref = labelSelector_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { labelSelector_ = s; } return s; } } /** * * *
     * A selector to restrict the list of returned objects by their labels.
     * Defaults to everything.
     * +optional
     * 
* * optional string labelSelector = 1; */ public com.google.protobuf.ByteString getLabelSelectorBytes() { java.lang.Object ref = labelSelector_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); labelSelector_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FIELDSELECTOR_FIELD_NUMBER = 2; private volatile java.lang.Object fieldSelector_; /** * * *
     * A selector to restrict the list of returned objects by their fields.
     * Defaults to everything.
     * +optional
     * 
* * optional string fieldSelector = 2; */ public boolean hasFieldSelector() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
     * A selector to restrict the list of returned objects by their fields.
     * Defaults to everything.
     * +optional
     * 
* * optional string fieldSelector = 2; */ public java.lang.String getFieldSelector() { java.lang.Object ref = fieldSelector_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { fieldSelector_ = s; } return s; } } /** * * *
     * A selector to restrict the list of returned objects by their fields.
     * Defaults to everything.
     * +optional
     * 
* * optional string fieldSelector = 2; */ public com.google.protobuf.ByteString getFieldSelectorBytes() { java.lang.Object ref = fieldSelector_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fieldSelector_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int WATCH_FIELD_NUMBER = 3; private boolean watch_; /** * * *
     * Watch for changes to the described resources and return them as a stream of
     * add, update, and remove notifications. Specify resourceVersion.
     * +optional
     * 
* * optional bool watch = 3; */ public boolean hasWatch() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * * *
     * Watch for changes to the described resources and return them as a stream of
     * add, update, and remove notifications. Specify resourceVersion.
     * +optional
     * 
* * optional bool watch = 3; */ public boolean getWatch() { return watch_; } public static final int ALLOWWATCHBOOKMARKS_FIELD_NUMBER = 9; private boolean allowWatchBookmarks_; /** * * *
     * allowWatchBookmarks requests watch events with type "BOOKMARK".
     * Servers that do not implement bookmarks may ignore this flag and
     * bookmarks are sent at the server's discretion. Clients should not
     * assume bookmarks are returned at any specific interval, nor may they
     * assume the server will send any BOOKMARK event during a session.
     * If this is not a watch, this field is ignored.
     * +optional
     * 
* * optional bool allowWatchBookmarks = 9; */ public boolean hasAllowWatchBookmarks() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * * *
     * allowWatchBookmarks requests watch events with type "BOOKMARK".
     * Servers that do not implement bookmarks may ignore this flag and
     * bookmarks are sent at the server's discretion. Clients should not
     * assume bookmarks are returned at any specific interval, nor may they
     * assume the server will send any BOOKMARK event during a session.
     * If this is not a watch, this field is ignored.
     * +optional
     * 
* * optional bool allowWatchBookmarks = 9; */ public boolean getAllowWatchBookmarks() { return allowWatchBookmarks_; } public static final int RESOURCEVERSION_FIELD_NUMBER = 4; 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; */ public boolean hasResourceVersion() { 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; */ public java.lang.String getResourceVersion() { java.lang.Object ref = resourceVersion_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { resourceVersion_ = s; } return s; } } /** * * *
     * 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; */ public com.google.protobuf.ByteString getResourceVersionBytes() { java.lang.Object ref = resourceVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RESOURCEVERSIONMATCH_FIELD_NUMBER = 10; private volatile java.lang.Object resourceVersionMatch_; /** * * *
     * resourceVersionMatch determines how resourceVersion is applied to list calls.
     * It is highly recommended that resourceVersionMatch be set for list calls where
     * 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; */ public boolean hasResourceVersionMatch() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * * *
     * resourceVersionMatch determines how resourceVersion is applied to list calls.
     * It is highly recommended that resourceVersionMatch be set for list calls where
     * 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; */ public java.lang.String getResourceVersionMatch() { java.lang.Object ref = resourceVersionMatch_; 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()) { resourceVersionMatch_ = s; } return s; } } /** * * *
     * resourceVersionMatch determines how resourceVersion is applied to list calls.
     * It is highly recommended that resourceVersionMatch be set for list calls where
     * 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; */ public com.google.protobuf.ByteString getResourceVersionMatchBytes() { java.lang.Object ref = resourceVersionMatch_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceVersionMatch_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TIMEOUTSECONDS_FIELD_NUMBER = 5; private long timeoutSeconds_; /** * * *
     * Timeout for the list/watch call.
     * This limits the duration of the call, regardless of any activity or inactivity.
     * +optional
     * 
* * optional int64 timeoutSeconds = 5; */ public boolean hasTimeoutSeconds() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * * *
     * Timeout for the list/watch call.
     * This limits the duration of the call, regardless of any activity or inactivity.
     * +optional
     * 
* * optional int64 timeoutSeconds = 5; */ public long getTimeoutSeconds() { return timeoutSeconds_; } public static final int LIMIT_FIELD_NUMBER = 7; private long limit_; /** * * *
     * limit is a maximum number of responses to return for a list call. If more items exist, the
     * server will set the `continue` field on the list metadata to a value that can be used with the
     * same initial query to retrieve the next set of results. Setting a limit may return fewer than
     * the requested amount of items (up to zero items) in the event all requested objects are
     * filtered out and clients should only use the presence of the continue field to determine whether
     * more results are available. Servers may choose not to support the limit argument and will return
     * all of the available results. If limit is specified and the continue field is empty, clients may
     * assume that no more results are available. This field is not supported if watch is true.
     * The server guarantees that the objects returned when using continue will be identical to issuing
     * a single list call without a limit - that is, no objects created, modified, or deleted after the
     * first request is issued will be included in any subsequent continued requests. This is sometimes
     * referred to as a consistent snapshot, and ensures that a client that is using limit to receive
     * smaller chunks of a very large result can ensure they see all possible objects. If objects are
     * updated during a chunked list the version of the object that was present at the time the first list
     * result was calculated is returned.
     * 
* * optional int64 limit = 7; */ public boolean hasLimit() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * * *
     * limit is a maximum number of responses to return for a list call. If more items exist, the
     * server will set the `continue` field on the list metadata to a value that can be used with the
     * same initial query to retrieve the next set of results. Setting a limit may return fewer than
     * the requested amount of items (up to zero items) in the event all requested objects are
     * filtered out and clients should only use the presence of the continue field to determine whether
     * more results are available. Servers may choose not to support the limit argument and will return
     * all of the available results. If limit is specified and the continue field is empty, clients may
     * assume that no more results are available. This field is not supported if watch is true.
     * The server guarantees that the objects returned when using continue will be identical to issuing
     * a single list call without a limit - that is, no objects created, modified, or deleted after the
     * first request is issued will be included in any subsequent continued requests. This is sometimes
     * referred to as a consistent snapshot, and ensures that a client that is using limit to receive
     * smaller chunks of a very large result can ensure they see all possible objects. If objects are
     * updated during a chunked list the version of the object that was present at the time the first list
     * result was calculated is returned.
     * 
* * optional int64 limit = 7; */ public long getLimit() { return limit_; } public static final int CONTINUE_FIELD_NUMBER = 8; private volatile java.lang.Object continue_; /** * * *
     * The continue option should be set when retrieving more results from the server. Since this value is
     * server defined, clients may only use the continue value from a previous query result with identical
     * query parameters (except for the value of continue) and the server may reject a continue value it
     * does not recognize. If the specified continue value is no longer valid whether due to expiration
     * (generally five to fifteen minutes) or a configuration change on the server, the server will
     * respond with a 410 ResourceExpired error together with a continue token. If the client needs a
     * consistent list, it must restart their list without the continue field. Otherwise, the client may
     * send another list request with the token received with the 410 error, the server will respond with
     * a list starting from the next key, but from the latest snapshot, which is inconsistent from the
     * previous list results - objects that are created, modified, or deleted after the first list request
     * will be included in the response, as long as their keys are after the "next key".
     * This field is not supported when watch is true. Clients may start a watch from the last
     * resourceVersion value returned by the server and not miss any modifications.
     * 
* * optional string continue = 8; */ public boolean hasContinue() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * * *
     * The continue option should be set when retrieving more results from the server. Since this value is
     * server defined, clients may only use the continue value from a previous query result with identical
     * query parameters (except for the value of continue) and the server may reject a continue value it
     * does not recognize. If the specified continue value is no longer valid whether due to expiration
     * (generally five to fifteen minutes) or a configuration change on the server, the server will
     * respond with a 410 ResourceExpired error together with a continue token. If the client needs a
     * consistent list, it must restart their list without the continue field. Otherwise, the client may
     * send another list request with the token received with the 410 error, the server will respond with
     * a list starting from the next key, but from the latest snapshot, which is inconsistent from the
     * previous list results - objects that are created, modified, or deleted after the first list request
     * will be included in the response, as long as their keys are after the "next key".
     * This field is not supported when watch is true. Clients may start a watch from the last
     * resourceVersion value returned by the server and not miss any modifications.
     * 
* * optional string continue = 8; */ public java.lang.String getContinue() { java.lang.Object ref = continue_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { continue_ = s; } return s; } } /** * * *
     * The continue option should be set when retrieving more results from the server. Since this value is
     * server defined, clients may only use the continue value from a previous query result with identical
     * query parameters (except for the value of continue) and the server may reject a continue value it
     * does not recognize. If the specified continue value is no longer valid whether due to expiration
     * (generally five to fifteen minutes) or a configuration change on the server, the server will
     * respond with a 410 ResourceExpired error together with a continue token. If the client needs a
     * consistent list, it must restart their list without the continue field. Otherwise, the client may
     * send another list request with the token received with the 410 error, the server will respond with
     * a list starting from the next key, but from the latest snapshot, which is inconsistent from the
     * previous list results - objects that are created, modified, or deleted after the first list request
     * will be included in the response, as long as their keys are after the "next key".
     * This field is not supported when watch is true. Clients may start a watch from the last
     * resourceVersion value returned by the server and not miss any modifications.
     * 
* * optional string continue = 8; */ public com.google.protobuf.ByteString getContinueBytes() { java.lang.Object ref = continue_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); continue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, labelSelector_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fieldSelector_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, watch_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, resourceVersion_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeInt64(5, timeoutSeconds_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeInt64(7, limit_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, continue_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBool(9, allowWatchBookmarks_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, resourceVersionMatch_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, labelSelector_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fieldSelector_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, watch_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, resourceVersion_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, timeoutSeconds_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, limit_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, continue_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, allowWatchBookmarks_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, resourceVersionMatch_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.kubernetes.client.proto.Meta.ListOptions)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.ListOptions other = (io.kubernetes.client.proto.Meta.ListOptions) obj; boolean result = true; result = result && (hasLabelSelector() == other.hasLabelSelector()); if (hasLabelSelector()) { result = result && getLabelSelector().equals(other.getLabelSelector()); } result = result && (hasFieldSelector() == other.hasFieldSelector()); if (hasFieldSelector()) { result = result && getFieldSelector().equals(other.getFieldSelector()); } result = result && (hasWatch() == other.hasWatch()); if (hasWatch()) { result = result && (getWatch() == other.getWatch()); } result = result && (hasAllowWatchBookmarks() == other.hasAllowWatchBookmarks()); if (hasAllowWatchBookmarks()) { result = result && (getAllowWatchBookmarks() == other.getAllowWatchBookmarks()); } result = result && (hasResourceVersion() == other.hasResourceVersion()); if (hasResourceVersion()) { result = result && getResourceVersion().equals(other.getResourceVersion()); } result = result && (hasResourceVersionMatch() == other.hasResourceVersionMatch()); if (hasResourceVersionMatch()) { result = result && getResourceVersionMatch().equals(other.getResourceVersionMatch()); } result = result && (hasTimeoutSeconds() == other.hasTimeoutSeconds()); if (hasTimeoutSeconds()) { result = result && (getTimeoutSeconds() == other.getTimeoutSeconds()); } result = result && (hasLimit() == other.hasLimit()); if (hasLimit()) { result = result && (getLimit() == other.getLimit()); } result = result && (hasContinue() == other.hasContinue()); if (hasContinue()) { result = result && getContinue().equals(other.getContinue()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasLabelSelector()) { hash = (37 * hash) + LABELSELECTOR_FIELD_NUMBER; hash = (53 * hash) + getLabelSelector().hashCode(); } if (hasFieldSelector()) { hash = (37 * hash) + FIELDSELECTOR_FIELD_NUMBER; hash = (53 * hash) + getFieldSelector().hashCode(); } if (hasWatch()) { hash = (37 * hash) + WATCH_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getWatch()); } if (hasAllowWatchBookmarks()) { hash = (37 * hash) + ALLOWWATCHBOOKMARKS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowWatchBookmarks()); } if (hasResourceVersion()) { hash = (37 * hash) + RESOURCEVERSION_FIELD_NUMBER; hash = (53 * hash) + getResourceVersion().hashCode(); } if (hasResourceVersionMatch()) { hash = (37 * hash) + RESOURCEVERSIONMATCH_FIELD_NUMBER; hash = (53 * hash) + getResourceVersionMatch().hashCode(); } if (hasTimeoutSeconds()) { hash = (37 * hash) + TIMEOUTSECONDS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTimeoutSeconds()); } if (hasLimit()) { hash = (37 * hash) + LIMIT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLimit()); } if (hasContinue()) { hash = (37 * hash) + CONTINUE_FIELD_NUMBER; hash = (53 * hash) + getContinue().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.ListOptions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.ListOptions parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.ListOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.ListOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.ListOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.ListOptions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.ListOptions parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.ListOptions parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.ListOptions parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.ListOptions parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.ListOptions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.ListOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.kubernetes.client.proto.Meta.ListOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * * *
     * ListOptions is the query options to a standard REST list call.
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions) io.kubernetes.client.proto.Meta.ListOptionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.ListOptions.class, io.kubernetes.client.proto.Meta.ListOptions.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.ListOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override public Builder clear() { super.clear(); labelSelector_ = ""; bitField0_ = (bitField0_ & ~0x00000001); fieldSelector_ = ""; bitField0_ = (bitField0_ & ~0x00000002); watch_ = false; bitField0_ = (bitField0_ & ~0x00000004); allowWatchBookmarks_ = false; bitField0_ = (bitField0_ & ~0x00000008); resourceVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000010); resourceVersionMatch_ = ""; bitField0_ = (bitField0_ & ~0x00000020); timeoutSeconds_ = 0L; bitField0_ = (bitField0_ & ~0x00000040); limit_ = 0L; bitField0_ = (bitField0_ & ~0x00000080); continue_ = ""; bitField0_ = (bitField0_ & ~0x00000100); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListOptions_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.ListOptions getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.ListOptions.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.ListOptions build() { io.kubernetes.client.proto.Meta.ListOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.ListOptions buildPartial() { io.kubernetes.client.proto.Meta.ListOptions result = new io.kubernetes.client.proto.Meta.ListOptions(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.labelSelector_ = labelSelector_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.fieldSelector_ = fieldSelector_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.watch_ = watch_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.allowWatchBookmarks_ = allowWatchBookmarks_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.resourceVersion_ = resourceVersion_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.resourceVersionMatch_ = resourceVersionMatch_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.timeoutSeconds_ = timeoutSeconds_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.limit_ = limit_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } result.continue_ = continue_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.ListOptions) { return mergeFrom((io.kubernetes.client.proto.Meta.ListOptions) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.ListOptions other) { if (other == io.kubernetes.client.proto.Meta.ListOptions.getDefaultInstance()) return this; if (other.hasLabelSelector()) { bitField0_ |= 0x00000001; labelSelector_ = other.labelSelector_; onChanged(); } if (other.hasFieldSelector()) { bitField0_ |= 0x00000002; fieldSelector_ = other.fieldSelector_; onChanged(); } if (other.hasWatch()) { setWatch(other.getWatch()); } if (other.hasAllowWatchBookmarks()) { setAllowWatchBookmarks(other.getAllowWatchBookmarks()); } if (other.hasResourceVersion()) { bitField0_ |= 0x00000010; resourceVersion_ = other.resourceVersion_; onChanged(); } if (other.hasResourceVersionMatch()) { bitField0_ |= 0x00000020; resourceVersionMatch_ = other.resourceVersionMatch_; onChanged(); } if (other.hasTimeoutSeconds()) { setTimeoutSeconds(other.getTimeoutSeconds()); } if (other.hasLimit()) { setLimit(other.getLimit()); } if (other.hasContinue()) { bitField0_ |= 0x00000100; continue_ = other.continue_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.ListOptions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.ListOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object labelSelector_ = ""; /** * * *
       * A selector to restrict the list of returned objects by their labels.
       * Defaults to everything.
       * +optional
       * 
* * optional string labelSelector = 1; */ public boolean hasLabelSelector() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
       * A selector to restrict the list of returned objects by their labels.
       * Defaults to everything.
       * +optional
       * 
* * optional string labelSelector = 1; */ public java.lang.String getLabelSelector() { java.lang.Object ref = labelSelector_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { labelSelector_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * A selector to restrict the list of returned objects by their labels.
       * Defaults to everything.
       * +optional
       * 
* * optional string labelSelector = 1; */ public com.google.protobuf.ByteString getLabelSelectorBytes() { java.lang.Object ref = labelSelector_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); labelSelector_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * A selector to restrict the list of returned objects by their labels.
       * Defaults to everything.
       * +optional
       * 
* * optional string labelSelector = 1; */ public Builder setLabelSelector(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; labelSelector_ = value; onChanged(); return this; } /** * * *
       * A selector to restrict the list of returned objects by their labels.
       * Defaults to everything.
       * +optional
       * 
* * optional string labelSelector = 1; */ public Builder clearLabelSelector() { bitField0_ = (bitField0_ & ~0x00000001); labelSelector_ = getDefaultInstance().getLabelSelector(); onChanged(); return this; } /** * * *
       * A selector to restrict the list of returned objects by their labels.
       * Defaults to everything.
       * +optional
       * 
* * optional string labelSelector = 1; */ public Builder setLabelSelectorBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; labelSelector_ = value; onChanged(); return this; } private java.lang.Object fieldSelector_ = ""; /** * * *
       * A selector to restrict the list of returned objects by their fields.
       * Defaults to everything.
       * +optional
       * 
* * optional string fieldSelector = 2; */ public boolean hasFieldSelector() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
       * A selector to restrict the list of returned objects by their fields.
       * Defaults to everything.
       * +optional
       * 
* * optional string fieldSelector = 2; */ public java.lang.String getFieldSelector() { java.lang.Object ref = fieldSelector_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { fieldSelector_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * A selector to restrict the list of returned objects by their fields.
       * Defaults to everything.
       * +optional
       * 
* * optional string fieldSelector = 2; */ public com.google.protobuf.ByteString getFieldSelectorBytes() { java.lang.Object ref = fieldSelector_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fieldSelector_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * A selector to restrict the list of returned objects by their fields.
       * Defaults to everything.
       * +optional
       * 
* * optional string fieldSelector = 2; */ public Builder setFieldSelector(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; fieldSelector_ = value; onChanged(); return this; } /** * * *
       * A selector to restrict the list of returned objects by their fields.
       * Defaults to everything.
       * +optional
       * 
* * optional string fieldSelector = 2; */ public Builder clearFieldSelector() { bitField0_ = (bitField0_ & ~0x00000002); fieldSelector_ = getDefaultInstance().getFieldSelector(); onChanged(); return this; } /** * * *
       * A selector to restrict the list of returned objects by their fields.
       * Defaults to everything.
       * +optional
       * 
* * optional string fieldSelector = 2; */ public Builder setFieldSelectorBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; fieldSelector_ = value; onChanged(); return this; } private boolean watch_; /** * * *
       * Watch for changes to the described resources and return them as a stream of
       * add, update, and remove notifications. Specify resourceVersion.
       * +optional
       * 
* * optional bool watch = 3; */ public boolean hasWatch() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * * *
       * Watch for changes to the described resources and return them as a stream of
       * add, update, and remove notifications. Specify resourceVersion.
       * +optional
       * 
* * optional bool watch = 3; */ public boolean getWatch() { return watch_; } /** * * *
       * Watch for changes to the described resources and return them as a stream of
       * add, update, and remove notifications. Specify resourceVersion.
       * +optional
       * 
* * optional bool watch = 3; */ public Builder setWatch(boolean value) { bitField0_ |= 0x00000004; watch_ = value; onChanged(); return this; } /** * * *
       * Watch for changes to the described resources and return them as a stream of
       * add, update, and remove notifications. Specify resourceVersion.
       * +optional
       * 
* * optional bool watch = 3; */ public Builder clearWatch() { bitField0_ = (bitField0_ & ~0x00000004); watch_ = false; onChanged(); return this; } private boolean allowWatchBookmarks_; /** * * *
       * allowWatchBookmarks requests watch events with type "BOOKMARK".
       * Servers that do not implement bookmarks may ignore this flag and
       * bookmarks are sent at the server's discretion. Clients should not
       * assume bookmarks are returned at any specific interval, nor may they
       * assume the server will send any BOOKMARK event during a session.
       * If this is not a watch, this field is ignored.
       * +optional
       * 
* * optional bool allowWatchBookmarks = 9; */ public boolean hasAllowWatchBookmarks() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * * *
       * allowWatchBookmarks requests watch events with type "BOOKMARK".
       * Servers that do not implement bookmarks may ignore this flag and
       * bookmarks are sent at the server's discretion. Clients should not
       * assume bookmarks are returned at any specific interval, nor may they
       * assume the server will send any BOOKMARK event during a session.
       * If this is not a watch, this field is ignored.
       * +optional
       * 
* * optional bool allowWatchBookmarks = 9; */ public boolean getAllowWatchBookmarks() { return allowWatchBookmarks_; } /** * * *
       * allowWatchBookmarks requests watch events with type "BOOKMARK".
       * Servers that do not implement bookmarks may ignore this flag and
       * bookmarks are sent at the server's discretion. Clients should not
       * assume bookmarks are returned at any specific interval, nor may they
       * assume the server will send any BOOKMARK event during a session.
       * If this is not a watch, this field is ignored.
       * +optional
       * 
* * optional bool allowWatchBookmarks = 9; */ public Builder setAllowWatchBookmarks(boolean value) { bitField0_ |= 0x00000008; allowWatchBookmarks_ = value; onChanged(); return this; } /** * * *
       * allowWatchBookmarks requests watch events with type "BOOKMARK".
       * Servers that do not implement bookmarks may ignore this flag and
       * bookmarks are sent at the server's discretion. Clients should not
       * assume bookmarks are returned at any specific interval, nor may they
       * assume the server will send any BOOKMARK event during a session.
       * If this is not a watch, this field is ignored.
       * +optional
       * 
* * optional bool allowWatchBookmarks = 9; */ public Builder clearAllowWatchBookmarks() { bitField0_ = (bitField0_ & ~0x00000008); allowWatchBookmarks_ = false; onChanged(); return this; } private 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; */ public boolean hasResourceVersion() { 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; */ public java.lang.String getResourceVersion() { java.lang.Object ref = resourceVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { resourceVersion_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * 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; */ public com.google.protobuf.ByteString getResourceVersionBytes() { java.lang.Object ref = resourceVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * 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; */ public Builder setResourceVersion(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; resourceVersion_ = value; onChanged(); return this; } /** * * *
       * 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; */ public Builder clearResourceVersion() { bitField0_ = (bitField0_ & ~0x00000010); resourceVersion_ = getDefaultInstance().getResourceVersion(); onChanged(); return this; } /** * * *
       * 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; */ public Builder setResourceVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; resourceVersion_ = value; onChanged(); return this; } private java.lang.Object resourceVersionMatch_ = ""; /** * * *
       * resourceVersionMatch determines how resourceVersion is applied to list calls.
       * It is highly recommended that resourceVersionMatch be set for list calls where
       * 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; */ public boolean hasResourceVersionMatch() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * * *
       * resourceVersionMatch determines how resourceVersion is applied to list calls.
       * It is highly recommended that resourceVersionMatch be set for list calls where
       * 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; */ public java.lang.String getResourceVersionMatch() { java.lang.Object ref = resourceVersionMatch_; 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()) { resourceVersionMatch_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * resourceVersionMatch determines how resourceVersion is applied to list calls.
       * It is highly recommended that resourceVersionMatch be set for list calls where
       * 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; */ public com.google.protobuf.ByteString getResourceVersionMatchBytes() { java.lang.Object ref = resourceVersionMatch_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceVersionMatch_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * resourceVersionMatch determines how resourceVersion is applied to list calls.
       * It is highly recommended that resourceVersionMatch be set for list calls where
       * 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; */ public Builder setResourceVersionMatch(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; resourceVersionMatch_ = value; onChanged(); return this; } /** * * *
       * resourceVersionMatch determines how resourceVersion is applied to list calls.
       * It is highly recommended that resourceVersionMatch be set for list calls where
       * 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; */ public Builder clearResourceVersionMatch() { bitField0_ = (bitField0_ & ~0x00000020); resourceVersionMatch_ = getDefaultInstance().getResourceVersionMatch(); onChanged(); return this; } /** * * *
       * resourceVersionMatch determines how resourceVersion is applied to list calls.
       * It is highly recommended that resourceVersionMatch be set for list calls where
       * 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; */ public Builder setResourceVersionMatchBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; resourceVersionMatch_ = value; onChanged(); return this; } private long timeoutSeconds_; /** * * *
       * Timeout for the list/watch call.
       * This limits the duration of the call, regardless of any activity or inactivity.
       * +optional
       * 
* * optional int64 timeoutSeconds = 5; */ public boolean hasTimeoutSeconds() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * * *
       * Timeout for the list/watch call.
       * This limits the duration of the call, regardless of any activity or inactivity.
       * +optional
       * 
* * optional int64 timeoutSeconds = 5; */ public long getTimeoutSeconds() { return timeoutSeconds_; } /** * * *
       * Timeout for the list/watch call.
       * This limits the duration of the call, regardless of any activity or inactivity.
       * +optional
       * 
* * optional int64 timeoutSeconds = 5; */ public Builder setTimeoutSeconds(long value) { bitField0_ |= 0x00000040; timeoutSeconds_ = value; onChanged(); return this; } /** * * *
       * Timeout for the list/watch call.
       * This limits the duration of the call, regardless of any activity or inactivity.
       * +optional
       * 
* * optional int64 timeoutSeconds = 5; */ public Builder clearTimeoutSeconds() { bitField0_ = (bitField0_ & ~0x00000040); timeoutSeconds_ = 0L; onChanged(); return this; } private long limit_; /** * * *
       * limit is a maximum number of responses to return for a list call. If more items exist, the
       * server will set the `continue` field on the list metadata to a value that can be used with the
       * same initial query to retrieve the next set of results. Setting a limit may return fewer than
       * the requested amount of items (up to zero items) in the event all requested objects are
       * filtered out and clients should only use the presence of the continue field to determine whether
       * more results are available. Servers may choose not to support the limit argument and will return
       * all of the available results. If limit is specified and the continue field is empty, clients may
       * assume that no more results are available. This field is not supported if watch is true.
       * The server guarantees that the objects returned when using continue will be identical to issuing
       * a single list call without a limit - that is, no objects created, modified, or deleted after the
       * first request is issued will be included in any subsequent continued requests. This is sometimes
       * referred to as a consistent snapshot, and ensures that a client that is using limit to receive
       * smaller chunks of a very large result can ensure they see all possible objects. If objects are
       * updated during a chunked list the version of the object that was present at the time the first list
       * result was calculated is returned.
       * 
* * optional int64 limit = 7; */ public boolean hasLimit() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * * *
       * limit is a maximum number of responses to return for a list call. If more items exist, the
       * server will set the `continue` field on the list metadata to a value that can be used with the
       * same initial query to retrieve the next set of results. Setting a limit may return fewer than
       * the requested amount of items (up to zero items) in the event all requested objects are
       * filtered out and clients should only use the presence of the continue field to determine whether
       * more results are available. Servers may choose not to support the limit argument and will return
       * all of the available results. If limit is specified and the continue field is empty, clients may
       * assume that no more results are available. This field is not supported if watch is true.
       * The server guarantees that the objects returned when using continue will be identical to issuing
       * a single list call without a limit - that is, no objects created, modified, or deleted after the
       * first request is issued will be included in any subsequent continued requests. This is sometimes
       * referred to as a consistent snapshot, and ensures that a client that is using limit to receive
       * smaller chunks of a very large result can ensure they see all possible objects. If objects are
       * updated during a chunked list the version of the object that was present at the time the first list
       * result was calculated is returned.
       * 
* * optional int64 limit = 7; */ public long getLimit() { return limit_; } /** * * *
       * limit is a maximum number of responses to return for a list call. If more items exist, the
       * server will set the `continue` field on the list metadata to a value that can be used with the
       * same initial query to retrieve the next set of results. Setting a limit may return fewer than
       * the requested amount of items (up to zero items) in the event all requested objects are
       * filtered out and clients should only use the presence of the continue field to determine whether
       * more results are available. Servers may choose not to support the limit argument and will return
       * all of the available results. If limit is specified and the continue field is empty, clients may
       * assume that no more results are available. This field is not supported if watch is true.
       * The server guarantees that the objects returned when using continue will be identical to issuing
       * a single list call without a limit - that is, no objects created, modified, or deleted after the
       * first request is issued will be included in any subsequent continued requests. This is sometimes
       * referred to as a consistent snapshot, and ensures that a client that is using limit to receive
       * smaller chunks of a very large result can ensure they see all possible objects. If objects are
       * updated during a chunked list the version of the object that was present at the time the first list
       * result was calculated is returned.
       * 
* * optional int64 limit = 7; */ public Builder setLimit(long value) { bitField0_ |= 0x00000080; limit_ = value; onChanged(); return this; } /** * * *
       * limit is a maximum number of responses to return for a list call. If more items exist, the
       * server will set the `continue` field on the list metadata to a value that can be used with the
       * same initial query to retrieve the next set of results. Setting a limit may return fewer than
       * the requested amount of items (up to zero items) in the event all requested objects are
       * filtered out and clients should only use the presence of the continue field to determine whether
       * more results are available. Servers may choose not to support the limit argument and will return
       * all of the available results. If limit is specified and the continue field is empty, clients may
       * assume that no more results are available. This field is not supported if watch is true.
       * The server guarantees that the objects returned when using continue will be identical to issuing
       * a single list call without a limit - that is, no objects created, modified, or deleted after the
       * first request is issued will be included in any subsequent continued requests. This is sometimes
       * referred to as a consistent snapshot, and ensures that a client that is using limit to receive
       * smaller chunks of a very large result can ensure they see all possible objects. If objects are
       * updated during a chunked list the version of the object that was present at the time the first list
       * result was calculated is returned.
       * 
* * optional int64 limit = 7; */ public Builder clearLimit() { bitField0_ = (bitField0_ & ~0x00000080); limit_ = 0L; onChanged(); return this; } private java.lang.Object continue_ = ""; /** * * *
       * The continue option should be set when retrieving more results from the server. Since this value is
       * server defined, clients may only use the continue value from a previous query result with identical
       * query parameters (except for the value of continue) and the server may reject a continue value it
       * does not recognize. If the specified continue value is no longer valid whether due to expiration
       * (generally five to fifteen minutes) or a configuration change on the server, the server will
       * respond with a 410 ResourceExpired error together with a continue token. If the client needs a
       * consistent list, it must restart their list without the continue field. Otherwise, the client may
       * send another list request with the token received with the 410 error, the server will respond with
       * a list starting from the next key, but from the latest snapshot, which is inconsistent from the
       * previous list results - objects that are created, modified, or deleted after the first list request
       * will be included in the response, as long as their keys are after the "next key".
       * This field is not supported when watch is true. Clients may start a watch from the last
       * resourceVersion value returned by the server and not miss any modifications.
       * 
* * optional string continue = 8; */ public boolean hasContinue() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * * *
       * The continue option should be set when retrieving more results from the server. Since this value is
       * server defined, clients may only use the continue value from a previous query result with identical
       * query parameters (except for the value of continue) and the server may reject a continue value it
       * does not recognize. If the specified continue value is no longer valid whether due to expiration
       * (generally five to fifteen minutes) or a configuration change on the server, the server will
       * respond with a 410 ResourceExpired error together with a continue token. If the client needs a
       * consistent list, it must restart their list without the continue field. Otherwise, the client may
       * send another list request with the token received with the 410 error, the server will respond with
       * a list starting from the next key, but from the latest snapshot, which is inconsistent from the
       * previous list results - objects that are created, modified, or deleted after the first list request
       * will be included in the response, as long as their keys are after the "next key".
       * This field is not supported when watch is true. Clients may start a watch from the last
       * resourceVersion value returned by the server and not miss any modifications.
       * 
* * optional string continue = 8; */ public java.lang.String getContinue() { java.lang.Object ref = continue_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { continue_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * The continue option should be set when retrieving more results from the server. Since this value is
       * server defined, clients may only use the continue value from a previous query result with identical
       * query parameters (except for the value of continue) and the server may reject a continue value it
       * does not recognize. If the specified continue value is no longer valid whether due to expiration
       * (generally five to fifteen minutes) or a configuration change on the server, the server will
       * respond with a 410 ResourceExpired error together with a continue token. If the client needs a
       * consistent list, it must restart their list without the continue field. Otherwise, the client may
       * send another list request with the token received with the 410 error, the server will respond with
       * a list starting from the next key, but from the latest snapshot, which is inconsistent from the
       * previous list results - objects that are created, modified, or deleted after the first list request
       * will be included in the response, as long as their keys are after the "next key".
       * This field is not supported when watch is true. Clients may start a watch from the last
       * resourceVersion value returned by the server and not miss any modifications.
       * 
* * optional string continue = 8; */ public com.google.protobuf.ByteString getContinueBytes() { java.lang.Object ref = continue_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); continue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * The continue option should be set when retrieving more results from the server. Since this value is
       * server defined, clients may only use the continue value from a previous query result with identical
       * query parameters (except for the value of continue) and the server may reject a continue value it
       * does not recognize. If the specified continue value is no longer valid whether due to expiration
       * (generally five to fifteen minutes) or a configuration change on the server, the server will
       * respond with a 410 ResourceExpired error together with a continue token. If the client needs a
       * consistent list, it must restart their list without the continue field. Otherwise, the client may
       * send another list request with the token received with the 410 error, the server will respond with
       * a list starting from the next key, but from the latest snapshot, which is inconsistent from the
       * previous list results - objects that are created, modified, or deleted after the first list request
       * will be included in the response, as long as their keys are after the "next key".
       * This field is not supported when watch is true. Clients may start a watch from the last
       * resourceVersion value returned by the server and not miss any modifications.
       * 
* * optional string continue = 8; */ public Builder setContinue(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; continue_ = value; onChanged(); return this; } /** * * *
       * The continue option should be set when retrieving more results from the server. Since this value is
       * server defined, clients may only use the continue value from a previous query result with identical
       * query parameters (except for the value of continue) and the server may reject a continue value it
       * does not recognize. If the specified continue value is no longer valid whether due to expiration
       * (generally five to fifteen minutes) or a configuration change on the server, the server will
       * respond with a 410 ResourceExpired error together with a continue token. If the client needs a
       * consistent list, it must restart their list without the continue field. Otherwise, the client may
       * send another list request with the token received with the 410 error, the server will respond with
       * a list starting from the next key, but from the latest snapshot, which is inconsistent from the
       * previous list results - objects that are created, modified, or deleted after the first list request
       * will be included in the response, as long as their keys are after the "next key".
       * This field is not supported when watch is true. Clients may start a watch from the last
       * resourceVersion value returned by the server and not miss any modifications.
       * 
* * optional string continue = 8; */ public Builder clearContinue() { bitField0_ = (bitField0_ & ~0x00000100); continue_ = getDefaultInstance().getContinue(); onChanged(); return this; } /** * * *
       * The continue option should be set when retrieving more results from the server. Since this value is
       * server defined, clients may only use the continue value from a previous query result with identical
       * query parameters (except for the value of continue) and the server may reject a continue value it
       * does not recognize. If the specified continue value is no longer valid whether due to expiration
       * (generally five to fifteen minutes) or a configuration change on the server, the server will
       * respond with a 410 ResourceExpired error together with a continue token. If the client needs a
       * consistent list, it must restart their list without the continue field. Otherwise, the client may
       * send another list request with the token received with the 410 error, the server will respond with
       * a list starting from the next key, but from the latest snapshot, which is inconsistent from the
       * previous list results - objects that are created, modified, or deleted after the first list request
       * will be included in the response, as long as their keys are after the "next key".
       * This field is not supported when watch is true. Clients may start a watch from the last
       * resourceVersion value returned by the server and not miss any modifications.
       * 
* * optional string continue = 8; */ public Builder setContinueBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; continue_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions) private static final io.kubernetes.client.proto.Meta.ListOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.ListOptions(); } public static io.kubernetes.client.proto.Meta.ListOptions getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListOptions(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.ListOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ManagedFieldsEntryOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry) com.google.protobuf.MessageOrBuilder { /** * * *
     * Manager is an identifier of the workflow managing these fields.
     * 
* * optional string manager = 1; */ boolean hasManager(); /** * * *
     * Manager is an identifier of the workflow managing these fields.
     * 
* * optional string manager = 1; */ java.lang.String getManager(); /** * * *
     * Manager is an identifier of the workflow managing these fields.
     * 
* * optional string manager = 1; */ com.google.protobuf.ByteString getManagerBytes(); /** * * *
     * Operation is the type of operation which lead to this ManagedFieldsEntry being created.
     * The only valid values for this field are 'Apply' and 'Update'.
     * 
* * optional string operation = 2; */ boolean hasOperation(); /** * * *
     * Operation is the type of operation which lead to this ManagedFieldsEntry being created.
     * The only valid values for this field are 'Apply' and 'Update'.
     * 
* * optional string operation = 2; */ java.lang.String getOperation(); /** * * *
     * Operation is the type of operation which lead to this ManagedFieldsEntry being created.
     * The only valid values for this field are 'Apply' and 'Update'.
     * 
* * optional string operation = 2; */ com.google.protobuf.ByteString getOperationBytes(); /** * * *
     * APIVersion defines the version of this resource that this field set
     * applies to. The format is "group/version" just like the top-level
     * APIVersion field. It is necessary to track the version of a field
     * set because it cannot be automatically converted.
     * 
* * optional string apiVersion = 3; */ boolean hasApiVersion(); /** * * *
     * APIVersion defines the version of this resource that this field set
     * applies to. The format is "group/version" just like the top-level
     * APIVersion field. It is necessary to track the version of a field
     * set because it cannot be automatically converted.
     * 
* * optional string apiVersion = 3; */ java.lang.String getApiVersion(); /** * * *
     * APIVersion defines the version of this resource that this field set
     * applies to. The format is "group/version" just like the top-level
     * APIVersion field. It is necessary to track the version of a field
     * set because it cannot be automatically converted.
     * 
* * optional string apiVersion = 3; */ com.google.protobuf.ByteString getApiVersionBytes(); /** * * *
     * Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4; */ boolean hasTime(); /** * * *
     * Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4; */ io.kubernetes.client.proto.Meta.Time getTime(); /** * * *
     * Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4; */ io.kubernetes.client.proto.Meta.TimeOrBuilder getTimeOrBuilder(); /** * * *
     * FieldsType is the discriminator for the different fields format and version.
     * There is currently only one possible value: "FieldsV1"
     * 
* * optional string fieldsType = 6; */ boolean hasFieldsType(); /** * * *
     * FieldsType is the discriminator for the different fields format and version.
     * There is currently only one possible value: "FieldsV1"
     * 
* * optional string fieldsType = 6; */ java.lang.String getFieldsType(); /** * * *
     * FieldsType is the discriminator for the different fields format and version.
     * There is currently only one possible value: "FieldsV1"
     * 
* * optional string fieldsType = 6; */ com.google.protobuf.ByteString getFieldsTypeBytes(); /** * * *
     * FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7; */ boolean hasFieldsV1(); /** * * *
     * FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7; */ io.kubernetes.client.proto.Meta.FieldsV1 getFieldsV1(); /** * * *
     * FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7; */ io.kubernetes.client.proto.Meta.FieldsV1OrBuilder getFieldsV1OrBuilder(); /** * * *
     * Subresource is the name of the subresource used to update that object, or
     * empty string if the object was updated through the main resource. The
     * value of this field is used to distinguish between managers, even if they
     * share the same name. For example, a status update will be distinct from a
     * regular update using the same manager name.
     * Note that the APIVersion field is not related to the Subresource field and
     * it always corresponds to the version of the main resource.
     * 
* * optional string subresource = 8; */ boolean hasSubresource(); /** * * *
     * Subresource is the name of the subresource used to update that object, or
     * empty string if the object was updated through the main resource. The
     * value of this field is used to distinguish between managers, even if they
     * share the same name. For example, a status update will be distinct from a
     * regular update using the same manager name.
     * Note that the APIVersion field is not related to the Subresource field and
     * it always corresponds to the version of the main resource.
     * 
* * optional string subresource = 8; */ java.lang.String getSubresource(); /** * * *
     * Subresource is the name of the subresource used to update that object, or
     * empty string if the object was updated through the main resource. The
     * value of this field is used to distinguish between managers, even if they
     * share the same name. For example, a status update will be distinct from a
     * regular update using the same manager name.
     * Note that the APIVersion field is not related to the Subresource field and
     * it always corresponds to the version of the main resource.
     * 
* * optional string subresource = 8; */ com.google.protobuf.ByteString getSubresourceBytes(); } /** * * *
   * ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource
   * that the fieldset applies to.
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry} */ 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; // Use ManagedFieldsEntry.newBuilder() to construct. private ManagedFieldsEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ManagedFieldsEntry() { manager_ = ""; operation_ = ""; apiVersion_ = ""; fieldsType_ = ""; 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ManagedFieldsEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.ManagedFieldsEntry.class, io.kubernetes.client.proto.Meta.ManagedFieldsEntry.Builder.class); } private int bitField0_; public static final int MANAGER_FIELD_NUMBER = 1; private volatile java.lang.Object manager_; /** * * *
     * Manager is an identifier of the workflow managing these fields.
     * 
* * optional string manager = 1; */ public boolean hasManager() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
     * Manager is an identifier of the workflow managing these fields.
     * 
* * optional string manager = 1; */ public java.lang.String getManager() { java.lang.Object ref = manager_; 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()) { manager_ = s; } return s; } } /** * * *
     * Manager is an identifier of the workflow managing these fields.
     * 
* * optional string manager = 1; */ public com.google.protobuf.ByteString getManagerBytes() { java.lang.Object ref = manager_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); manager_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OPERATION_FIELD_NUMBER = 2; private volatile java.lang.Object operation_; /** * * *
     * Operation is the type of operation which lead to this ManagedFieldsEntry being created.
     * The only valid values for this field are 'Apply' and 'Update'.
     * 
* * optional string operation = 2; */ public boolean hasOperation() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
     * Operation is the type of operation which lead to this ManagedFieldsEntry being created.
     * The only valid values for this field are 'Apply' and 'Update'.
     * 
* * optional string operation = 2; */ public java.lang.String getOperation() { java.lang.Object ref = operation_; 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()) { operation_ = s; } return s; } } /** * * *
     * Operation is the type of operation which lead to this ManagedFieldsEntry being created.
     * The only valid values for this field are 'Apply' and 'Update'.
     * 
* * optional string operation = 2; */ public com.google.protobuf.ByteString getOperationBytes() { java.lang.Object ref = operation_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); operation_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int APIVERSION_FIELD_NUMBER = 3; private volatile java.lang.Object apiVersion_; /** * * *
     * APIVersion defines the version of this resource that this field set
     * applies to. The format is "group/version" just like the top-level
     * APIVersion field. It is necessary to track the version of a field
     * set because it cannot be automatically converted.
     * 
* * optional string apiVersion = 3; */ public boolean hasApiVersion() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * * *
     * APIVersion defines the version of this resource that this field set
     * applies to. The format is "group/version" just like the top-level
     * APIVersion field. It is necessary to track the version of a field
     * set because it cannot be automatically converted.
     * 
* * optional string apiVersion = 3; */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; 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()) { apiVersion_ = s; } return s; } } /** * * *
     * APIVersion defines the version of this resource that this field set
     * applies to. The format is "group/version" just like the top-level
     * APIVersion field. It is necessary to track the version of a field
     * set because it cannot be automatically converted.
     * 
* * optional string apiVersion = 3; */ public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TIME_FIELD_NUMBER = 4; private io.kubernetes.client.proto.Meta.Time time_; /** * * *
     * Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4; */ public boolean hasTime() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * * *
     * Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4; */ public io.kubernetes.client.proto.Meta.Time getTime() { return time_ == null ? io.kubernetes.client.proto.Meta.Time.getDefaultInstance() : time_; } /** * * *
     * Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4; */ 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; private volatile java.lang.Object fieldsType_; /** * * *
     * FieldsType is the discriminator for the different fields format and version.
     * There is currently only one possible value: "FieldsV1"
     * 
* * optional string fieldsType = 6; */ public boolean hasFieldsType() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * * *
     * FieldsType is the discriminator for the different fields format and version.
     * There is currently only one possible value: "FieldsV1"
     * 
* * optional string fieldsType = 6; */ public java.lang.String getFieldsType() { java.lang.Object ref = fieldsType_; 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()) { fieldsType_ = s; } return s; } } /** * * *
     * FieldsType is the discriminator for the different fields format and version.
     * There is currently only one possible value: "FieldsV1"
     * 
* * optional string fieldsType = 6; */ public com.google.protobuf.ByteString getFieldsTypeBytes() { java.lang.Object ref = fieldsType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fieldsType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FIELDSV1_FIELD_NUMBER = 7; private io.kubernetes.client.proto.Meta.FieldsV1 fieldsV1_; /** * * *
     * FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7; */ public boolean hasFieldsV1() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * * *
     * FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7; */ public io.kubernetes.client.proto.Meta.FieldsV1 getFieldsV1() { return fieldsV1_ == null ? io.kubernetes.client.proto.Meta.FieldsV1.getDefaultInstance() : fieldsV1_; } /** * * *
     * FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7; */ 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; private volatile java.lang.Object subresource_; /** * * *
     * Subresource is the name of the subresource used to update that object, or
     * empty string if the object was updated through the main resource. The
     * value of this field is used to distinguish between managers, even if they
     * share the same name. For example, a status update will be distinct from a
     * regular update using the same manager name.
     * Note that the APIVersion field is not related to the Subresource field and
     * it always corresponds to the version of the main resource.
     * 
* * optional string subresource = 8; */ public boolean hasSubresource() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * * *
     * Subresource is the name of the subresource used to update that object, or
     * empty string if the object was updated through the main resource. The
     * value of this field is used to distinguish between managers, even if they
     * share the same name. For example, a status update will be distinct from a
     * regular update using the same manager name.
     * Note that the APIVersion field is not related to the Subresource field and
     * it always corresponds to the version of the main resource.
     * 
* * optional string subresource = 8; */ public java.lang.String getSubresource() { java.lang.Object ref = subresource_; 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()) { subresource_ = s; } return s; } } /** * * *
     * Subresource is the name of the subresource used to update that object, or
     * empty string if the object was updated through the main resource. The
     * value of this field is used to distinguish between managers, even if they
     * share the same name. For example, a status update will be distinct from a
     * regular update using the same manager name.
     * Note that the APIVersion field is not related to the Subresource field and
     * it always corresponds to the version of the main resource.
     * 
* * optional string subresource = 8; */ public com.google.protobuf.ByteString getSubresourceBytes() { java.lang.Object ref = subresource_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subresource_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, manager_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, operation_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, apiVersion_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeMessage(4, getTime()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, fieldsType_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeMessage(7, getFieldsV1()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, subresource_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, manager_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, operation_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, apiVersion_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTime()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, fieldsType_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getFieldsV1()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, subresource_); } 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.ManagedFieldsEntry)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.ManagedFieldsEntry other = (io.kubernetes.client.proto.Meta.ManagedFieldsEntry) obj; boolean result = true; result = result && (hasManager() == other.hasManager()); if (hasManager()) { result = result && getManager().equals(other.getManager()); } result = result && (hasOperation() == other.hasOperation()); if (hasOperation()) { result = result && getOperation().equals(other.getOperation()); } result = result && (hasApiVersion() == other.hasApiVersion()); if (hasApiVersion()) { result = result && getApiVersion().equals(other.getApiVersion()); } result = result && (hasTime() == other.hasTime()); if (hasTime()) { result = result && getTime().equals(other.getTime()); } result = result && (hasFieldsType() == other.hasFieldsType()); if (hasFieldsType()) { result = result && getFieldsType().equals(other.getFieldsType()); } result = result && (hasFieldsV1() == other.hasFieldsV1()); if (hasFieldsV1()) { result = result && getFieldsV1().equals(other.getFieldsV1()); } result = result && (hasSubresource() == other.hasSubresource()); if (hasSubresource()) { result = result && getSubresource().equals(other.getSubresource()); } 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 (hasManager()) { hash = (37 * hash) + MANAGER_FIELD_NUMBER; hash = (53 * hash) + getManager().hashCode(); } if (hasOperation()) { hash = (37 * hash) + OPERATION_FIELD_NUMBER; hash = (53 * hash) + getOperation().hashCode(); } if (hasApiVersion()) { hash = (37 * hash) + APIVERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); } if (hasTime()) { hash = (37 * hash) + TIME_FIELD_NUMBER; hash = (53 * hash) + getTime().hashCode(); } if (hasFieldsType()) { hash = (37 * hash) + FIELDSTYPE_FIELD_NUMBER; hash = (53 * hash) + getFieldsType().hashCode(); } if (hasFieldsV1()) { hash = (37 * hash) + FIELDSV1_FIELD_NUMBER; hash = (53 * hash) + getFieldsV1().hashCode(); } if (hasSubresource()) { hash = (37 * hash) + SUBRESOURCE_FIELD_NUMBER; hash = (53 * hash) + getSubresource().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.ManagedFieldsEntry parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.ManagedFieldsEntry 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.ManagedFieldsEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.ManagedFieldsEntry 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.ManagedFieldsEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.ManagedFieldsEntry 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.ManagedFieldsEntry parseFrom( java.io.InputStream input) throws java.io.IOException { 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.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.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.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.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.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.ManagedFieldsEntry 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; } /** * * *
     * ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource
     * that the fieldset applies to.
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry) io.kubernetes.client.proto.Meta.ManagedFieldsEntryOrBuilder { 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ManagedFieldsEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.ManagedFieldsEntry.class, io.kubernetes.client.proto.Meta.ManagedFieldsEntry.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.ManagedFieldsEntry.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getTimeFieldBuilder(); getFieldsV1FieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); manager_ = ""; bitField0_ = (bitField0_ & ~0x00000001); operation_ = ""; bitField0_ = (bitField0_ & ~0x00000002); apiVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000004); if (timeBuilder_ == null) { time_ = null; } else { timeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); fieldsType_ = ""; bitField0_ = (bitField0_ & ~0x00000010); if (fieldsV1Builder_ == null) { fieldsV1_ = null; } else { fieldsV1Builder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); subresource_ = ""; bitField0_ = (bitField0_ & ~0x00000040); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ManagedFieldsEntry_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.ManagedFieldsEntry getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.ManagedFieldsEntry.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.ManagedFieldsEntry build() { io.kubernetes.client.proto.Meta.ManagedFieldsEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.ManagedFieldsEntry buildPartial() { io.kubernetes.client.proto.Meta.ManagedFieldsEntry result = new io.kubernetes.client.proto.Meta.ManagedFieldsEntry(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.manager_ = manager_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.operation_ = operation_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.apiVersion_ = apiVersion_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } if (timeBuilder_ == null) { result.time_ = time_; } else { result.time_ = timeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.fieldsType_ = fieldsType_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } if (fieldsV1Builder_ == null) { result.fieldsV1_ = fieldsV1_; } else { result.fieldsV1_ = fieldsV1Builder_.build(); } if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.subresource_ = subresource_; 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.ManagedFieldsEntry) { return mergeFrom((io.kubernetes.client.proto.Meta.ManagedFieldsEntry) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.ManagedFieldsEntry other) { if (other == io.kubernetes.client.proto.Meta.ManagedFieldsEntry.getDefaultInstance()) return this; if (other.hasManager()) { bitField0_ |= 0x00000001; manager_ = other.manager_; onChanged(); } if (other.hasOperation()) { bitField0_ |= 0x00000002; operation_ = other.operation_; onChanged(); } if (other.hasApiVersion()) { bitField0_ |= 0x00000004; apiVersion_ = other.apiVersion_; onChanged(); } if (other.hasTime()) { mergeTime(other.getTime()); } if (other.hasFieldsType()) { bitField0_ |= 0x00000010; fieldsType_ = other.fieldsType_; onChanged(); } if (other.hasFieldsV1()) { mergeFieldsV1(other.getFieldsV1()); } if (other.hasSubresource()) { bitField0_ |= 0x00000040; subresource_ = other.subresource_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.ManagedFieldsEntry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.ManagedFieldsEntry) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object manager_ = ""; /** * * *
       * Manager is an identifier of the workflow managing these fields.
       * 
* * optional string manager = 1; */ public boolean hasManager() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
       * Manager is an identifier of the workflow managing these fields.
       * 
* * optional string manager = 1; */ public java.lang.String getManager() { java.lang.Object ref = manager_; 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()) { manager_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * Manager is an identifier of the workflow managing these fields.
       * 
* * optional string manager = 1; */ public com.google.protobuf.ByteString getManagerBytes() { java.lang.Object ref = manager_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); manager_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * Manager is an identifier of the workflow managing these fields.
       * 
* * optional string manager = 1; */ public Builder setManager(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; manager_ = value; onChanged(); return this; } /** * * *
       * Manager is an identifier of the workflow managing these fields.
       * 
* * optional string manager = 1; */ public Builder clearManager() { bitField0_ = (bitField0_ & ~0x00000001); manager_ = getDefaultInstance().getManager(); onChanged(); return this; } /** * * *
       * Manager is an identifier of the workflow managing these fields.
       * 
* * optional string manager = 1; */ public Builder setManagerBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; manager_ = value; onChanged(); return this; } private java.lang.Object operation_ = ""; /** * * *
       * Operation is the type of operation which lead to this ManagedFieldsEntry being created.
       * The only valid values for this field are 'Apply' and 'Update'.
       * 
* * optional string operation = 2; */ public boolean hasOperation() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
       * Operation is the type of operation which lead to this ManagedFieldsEntry being created.
       * The only valid values for this field are 'Apply' and 'Update'.
       * 
* * optional string operation = 2; */ public java.lang.String getOperation() { java.lang.Object ref = operation_; 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()) { operation_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * Operation is the type of operation which lead to this ManagedFieldsEntry being created.
       * The only valid values for this field are 'Apply' and 'Update'.
       * 
* * optional string operation = 2; */ public com.google.protobuf.ByteString getOperationBytes() { java.lang.Object ref = operation_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); operation_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * Operation is the type of operation which lead to this ManagedFieldsEntry being created.
       * The only valid values for this field are 'Apply' and 'Update'.
       * 
* * optional string operation = 2; */ public Builder setOperation(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; operation_ = value; onChanged(); return this; } /** * * *
       * Operation is the type of operation which lead to this ManagedFieldsEntry being created.
       * The only valid values for this field are 'Apply' and 'Update'.
       * 
* * optional string operation = 2; */ public Builder clearOperation() { bitField0_ = (bitField0_ & ~0x00000002); operation_ = getDefaultInstance().getOperation(); onChanged(); return this; } /** * * *
       * Operation is the type of operation which lead to this ManagedFieldsEntry being created.
       * The only valid values for this field are 'Apply' and 'Update'.
       * 
* * optional string operation = 2; */ public Builder setOperationBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; operation_ = value; onChanged(); return this; } private java.lang.Object apiVersion_ = ""; /** * * *
       * APIVersion defines the version of this resource that this field set
       * applies to. The format is "group/version" just like the top-level
       * APIVersion field. It is necessary to track the version of a field
       * set because it cannot be automatically converted.
       * 
* * optional string apiVersion = 3; */ public boolean hasApiVersion() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * * *
       * APIVersion defines the version of this resource that this field set
       * applies to. The format is "group/version" just like the top-level
       * APIVersion field. It is necessary to track the version of a field
       * set because it cannot be automatically converted.
       * 
* * optional string apiVersion = 3; */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; 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()) { apiVersion_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * APIVersion defines the version of this resource that this field set
       * applies to. The format is "group/version" just like the top-level
       * APIVersion field. It is necessary to track the version of a field
       * set because it cannot be automatically converted.
       * 
* * optional string apiVersion = 3; */ public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * APIVersion defines the version of this resource that this field set
       * applies to. The format is "group/version" just like the top-level
       * APIVersion field. It is necessary to track the version of a field
       * set because it cannot be automatically converted.
       * 
* * optional string apiVersion = 3; */ public Builder setApiVersion(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; apiVersion_ = value; onChanged(); return this; } /** * * *
       * APIVersion defines the version of this resource that this field set
       * applies to. The format is "group/version" just like the top-level
       * APIVersion field. It is necessary to track the version of a field
       * set because it cannot be automatically converted.
       * 
* * optional string apiVersion = 3; */ public Builder clearApiVersion() { bitField0_ = (bitField0_ & ~0x00000004); apiVersion_ = getDefaultInstance().getApiVersion(); onChanged(); return this; } /** * * *
       * APIVersion defines the version of this resource that this field set
       * applies to. The format is "group/version" just like the top-level
       * APIVersion field. It is necessary to track the version of a field
       * set because it cannot be automatically converted.
       * 
* * optional string apiVersion = 3; */ public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; apiVersion_ = value; onChanged(); return this; } 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_; /** * * *
       * Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4; */ public boolean hasTime() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * * *
       * Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4; */ public io.kubernetes.client.proto.Meta.Time getTime() { if (timeBuilder_ == null) { return time_ == null ? io.kubernetes.client.proto.Meta.Time.getDefaultInstance() : time_; } else { return timeBuilder_.getMessage(); } } /** * * *
       * Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4; */ public Builder setTime(io.kubernetes.client.proto.Meta.Time value) { if (timeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } time_ = value; onChanged(); } else { timeBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * * *
       * Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4; */ 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; return this; } /** * * *
       * Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4; */ public Builder mergeTime(io.kubernetes.client.proto.Meta.Time value) { if (timeBuilder_ == null) { 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); } bitField0_ |= 0x00000008; return this; } /** * * *
       * Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4; */ public Builder clearTime() { if (timeBuilder_ == null) { time_ = null; onChanged(); } else { timeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * * *
       * Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4; */ public io.kubernetes.client.proto.Meta.Time.Builder getTimeBuilder() { bitField0_ |= 0x00000008; onChanged(); return getTimeFieldBuilder().getBuilder(); } /** * * *
       * Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4; */ public io.kubernetes.client.proto.Meta.TimeOrBuilder getTimeOrBuilder() { if (timeBuilder_ != null) { return timeBuilder_.getMessageOrBuilder(); } else { return time_ == null ? io.kubernetes.client.proto.Meta.Time.getDefaultInstance() : time_; } } /** * * *
       * Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time time = 4; */ 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.SingleFieldBuilderV3< io.kubernetes.client.proto.Meta.Time, io.kubernetes.client.proto.Meta.Time.Builder, io.kubernetes.client.proto.Meta.TimeOrBuilder>( getTime(), getParentForChildren(), isClean()); time_ = null; } return timeBuilder_; } private java.lang.Object fieldsType_ = ""; /** * * *
       * FieldsType is the discriminator for the different fields format and version.
       * There is currently only one possible value: "FieldsV1"
       * 
* * optional string fieldsType = 6; */ public boolean hasFieldsType() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * * *
       * FieldsType is the discriminator for the different fields format and version.
       * There is currently only one possible value: "FieldsV1"
       * 
* * optional string fieldsType = 6; */ public java.lang.String getFieldsType() { java.lang.Object ref = fieldsType_; 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()) { fieldsType_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * FieldsType is the discriminator for the different fields format and version.
       * There is currently only one possible value: "FieldsV1"
       * 
* * optional string fieldsType = 6; */ public com.google.protobuf.ByteString getFieldsTypeBytes() { java.lang.Object ref = fieldsType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fieldsType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * FieldsType is the discriminator for the different fields format and version.
       * There is currently only one possible value: "FieldsV1"
       * 
* * optional string fieldsType = 6; */ public Builder setFieldsType(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; fieldsType_ = value; onChanged(); return this; } /** * * *
       * FieldsType is the discriminator for the different fields format and version.
       * There is currently only one possible value: "FieldsV1"
       * 
* * optional string fieldsType = 6; */ public Builder clearFieldsType() { bitField0_ = (bitField0_ & ~0x00000010); fieldsType_ = getDefaultInstance().getFieldsType(); onChanged(); return this; } /** * * *
       * FieldsType is the discriminator for the different fields format and version.
       * There is currently only one possible value: "FieldsV1"
       * 
* * optional string fieldsType = 6; */ public Builder setFieldsTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; fieldsType_ = value; onChanged(); return this; } 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_; /** * * *
       * FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7; */ public boolean hasFieldsV1() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * * *
       * FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7; */ public io.kubernetes.client.proto.Meta.FieldsV1 getFieldsV1() { if (fieldsV1Builder_ == null) { return fieldsV1_ == null ? io.kubernetes.client.proto.Meta.FieldsV1.getDefaultInstance() : fieldsV1_; } else { return fieldsV1Builder_.getMessage(); } } /** * * *
       * FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7; */ public Builder setFieldsV1(io.kubernetes.client.proto.Meta.FieldsV1 value) { if (fieldsV1Builder_ == null) { if (value == null) { throw new NullPointerException(); } fieldsV1_ = value; onChanged(); } else { fieldsV1Builder_.setMessage(value); } bitField0_ |= 0x00000020; return this; } /** * * *
       * FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7; */ 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; return this; } /** * * *
       * FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7; */ public Builder mergeFieldsV1(io.kubernetes.client.proto.Meta.FieldsV1 value) { if (fieldsV1Builder_ == null) { 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); } bitField0_ |= 0x00000020; return this; } /** * * *
       * FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7; */ public Builder clearFieldsV1() { if (fieldsV1Builder_ == null) { fieldsV1_ = null; onChanged(); } else { fieldsV1Builder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); return this; } /** * * *
       * FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7; */ public io.kubernetes.client.proto.Meta.FieldsV1.Builder getFieldsV1Builder() { bitField0_ |= 0x00000020; onChanged(); return getFieldsV1FieldBuilder().getBuilder(); } /** * * *
       * FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7; */ public io.kubernetes.client.proto.Meta.FieldsV1OrBuilder getFieldsV1OrBuilder() { if (fieldsV1Builder_ != null) { return fieldsV1Builder_.getMessageOrBuilder(); } else { return fieldsV1_ == null ? io.kubernetes.client.proto.Meta.FieldsV1.getDefaultInstance() : fieldsV1_; } } /** * * *
       * FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 fieldsV1 = 7; */ 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.SingleFieldBuilderV3< io.kubernetes.client.proto.Meta.FieldsV1, io.kubernetes.client.proto.Meta.FieldsV1.Builder, io.kubernetes.client.proto.Meta.FieldsV1OrBuilder>( getFieldsV1(), getParentForChildren(), isClean()); fieldsV1_ = null; } return fieldsV1Builder_; } private java.lang.Object subresource_ = ""; /** * * *
       * Subresource is the name of the subresource used to update that object, or
       * empty string if the object was updated through the main resource. The
       * value of this field is used to distinguish between managers, even if they
       * share the same name. For example, a status update will be distinct from a
       * regular update using the same manager name.
       * Note that the APIVersion field is not related to the Subresource field and
       * it always corresponds to the version of the main resource.
       * 
* * optional string subresource = 8; */ public boolean hasSubresource() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * * *
       * Subresource is the name of the subresource used to update that object, or
       * empty string if the object was updated through the main resource. The
       * value of this field is used to distinguish between managers, even if they
       * share the same name. For example, a status update will be distinct from a
       * regular update using the same manager name.
       * Note that the APIVersion field is not related to the Subresource field and
       * it always corresponds to the version of the main resource.
       * 
* * optional string subresource = 8; */ public java.lang.String getSubresource() { java.lang.Object ref = subresource_; 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()) { subresource_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * Subresource is the name of the subresource used to update that object, or
       * empty string if the object was updated through the main resource. The
       * value of this field is used to distinguish between managers, even if they
       * share the same name. For example, a status update will be distinct from a
       * regular update using the same manager name.
       * Note that the APIVersion field is not related to the Subresource field and
       * it always corresponds to the version of the main resource.
       * 
* * optional string subresource = 8; */ public com.google.protobuf.ByteString getSubresourceBytes() { java.lang.Object ref = subresource_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subresource_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * Subresource is the name of the subresource used to update that object, or
       * empty string if the object was updated through the main resource. The
       * value of this field is used to distinguish between managers, even if they
       * share the same name. For example, a status update will be distinct from a
       * regular update using the same manager name.
       * Note that the APIVersion field is not related to the Subresource field and
       * it always corresponds to the version of the main resource.
       * 
* * optional string subresource = 8; */ public Builder setSubresource(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; subresource_ = value; onChanged(); return this; } /** * * *
       * Subresource is the name of the subresource used to update that object, or
       * empty string if the object was updated through the main resource. The
       * value of this field is used to distinguish between managers, even if they
       * share the same name. For example, a status update will be distinct from a
       * regular update using the same manager name.
       * Note that the APIVersion field is not related to the Subresource field and
       * it always corresponds to the version of the main resource.
       * 
* * optional string subresource = 8; */ public Builder clearSubresource() { bitField0_ = (bitField0_ & ~0x00000040); subresource_ = getDefaultInstance().getSubresource(); onChanged(); return this; } /** * * *
       * Subresource is the name of the subresource used to update that object, or
       * empty string if the object was updated through the main resource. The
       * value of this field is used to distinguish between managers, even if they
       * share the same name. For example, a status update will be distinct from a
       * regular update using the same manager name.
       * Note that the APIVersion field is not related to the Subresource field and
       * it always corresponds to the version of the main resource.
       * 
* * optional string subresource = 8; */ public Builder setSubresourceBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; subresource_ = 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.ManagedFieldsEntry) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry) private static final io.kubernetes.client.proto.Meta.ManagedFieldsEntry DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.ManagedFieldsEntry(); } public static io.kubernetes.client.proto.Meta.ManagedFieldsEntry getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ManagedFieldsEntry parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ManagedFieldsEntry(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.ManagedFieldsEntry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MicroTimeOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime) com.google.protobuf.MessageOrBuilder { /** * * *
     * Represents seconds of UTC time since Unix epoch
     * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
     * 9999-12-31T23:59:59Z inclusive.
     * 
* * optional int64 seconds = 1; */ boolean hasSeconds(); /** * * *
     * Represents seconds of UTC time since Unix epoch
     * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
     * 9999-12-31T23:59:59Z inclusive.
     * 
* * optional int64 seconds = 1; */ long getSeconds(); /** * * *
     * Non-negative fractions of a second at nanosecond resolution. Negative
     * second values with fractions must still have non-negative nanos values
     * that count forward in time. Must be from 0 to 999,999,999
     * inclusive. This field may be limited in precision depending on context.
     * 
* * optional int32 nanos = 2; */ boolean hasNanos(); /** * * *
     * Non-negative fractions of a second at nanosecond resolution. Negative
     * second values with fractions must still have non-negative nanos values
     * that count forward in time. Must be from 0 to 999,999,999
     * inclusive. This field may be limited in precision depending on context.
     * 
* * optional int32 nanos = 2; */ int getNanos(); } /** * * *
   * MicroTime is version of Time with microsecond level precision.
   * +protobuf.options.marshal=false
   * +protobuf.as=Timestamp
   * +protobuf.options.(gogoproto.goproto_stringer)=false
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime} */ public static final class MicroTime extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime) MicroTimeOrBuilder { private static final long serialVersionUID = 0L; // Use MicroTime.newBuilder() to construct. private MicroTime(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MicroTime() { seconds_ = 0L; nanos_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MicroTime( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { bitField0_ |= 0x00000001; seconds_ = input.readInt64(); break; } case 16: { bitField0_ |= 0x00000002; nanos_ = input.readInt32(); break; } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_MicroTime_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_MicroTime_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.MicroTime.class, io.kubernetes.client.proto.Meta.MicroTime.Builder.class); } private int bitField0_; public static final int SECONDS_FIELD_NUMBER = 1; private long seconds_; /** * * *
     * Represents seconds of UTC time since Unix epoch
     * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
     * 9999-12-31T23:59:59Z inclusive.
     * 
* * optional int64 seconds = 1; */ public boolean hasSeconds() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
     * Represents seconds of UTC time since Unix epoch
     * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
     * 9999-12-31T23:59:59Z inclusive.
     * 
* * optional int64 seconds = 1; */ public long getSeconds() { return seconds_; } public static final int NANOS_FIELD_NUMBER = 2; private int nanos_; /** * * *
     * Non-negative fractions of a second at nanosecond resolution. Negative
     * second values with fractions must still have non-negative nanos values
     * that count forward in time. Must be from 0 to 999,999,999
     * inclusive. This field may be limited in precision depending on context.
     * 
* * optional int32 nanos = 2; */ public boolean hasNanos() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
     * Non-negative fractions of a second at nanosecond resolution. Negative
     * second values with fractions must still have non-negative nanos values
     * that count forward in time. Must be from 0 to 999,999,999
     * inclusive. This field may be limited in precision depending on context.
     * 
* * optional int32 nanos = 2; */ public int getNanos() { return nanos_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, seconds_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, nanos_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, seconds_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, nanos_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.kubernetes.client.proto.Meta.MicroTime)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.MicroTime other = (io.kubernetes.client.proto.Meta.MicroTime) obj; boolean result = true; result = result && (hasSeconds() == other.hasSeconds()); if (hasSeconds()) { result = result && (getSeconds() == other.getSeconds()); } result = result && (hasNanos() == other.hasNanos()); if (hasNanos()) { result = result && (getNanos() == other.getNanos()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasSeconds()) { hash = (37 * hash) + SECONDS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSeconds()); } if (hasNanos()) { hash = (37 * hash) + NANOS_FIELD_NUMBER; hash = (53 * hash) + getNanos(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.MicroTime parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.MicroTime parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.MicroTime parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.MicroTime parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.MicroTime parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.MicroTime parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.MicroTime parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.MicroTime parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.MicroTime parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.MicroTime parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.MicroTime parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.MicroTime parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.kubernetes.client.proto.Meta.MicroTime prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * * *
     * MicroTime is version of Time with microsecond level precision.
     * +protobuf.options.marshal=false
     * +protobuf.as=Timestamp
     * +protobuf.options.(gogoproto.goproto_stringer)=false
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime) io.kubernetes.client.proto.Meta.MicroTimeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_MicroTime_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_MicroTime_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.MicroTime.class, io.kubernetes.client.proto.Meta.MicroTime.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.MicroTime.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override public Builder clear() { super.clear(); seconds_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); nanos_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_MicroTime_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.MicroTime getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.MicroTime.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.MicroTime build() { io.kubernetes.client.proto.Meta.MicroTime result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.MicroTime buildPartial() { io.kubernetes.client.proto.Meta.MicroTime result = new io.kubernetes.client.proto.Meta.MicroTime(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.seconds_ = seconds_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.nanos_ = nanos_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.MicroTime) { return mergeFrom((io.kubernetes.client.proto.Meta.MicroTime) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.MicroTime other) { if (other == io.kubernetes.client.proto.Meta.MicroTime.getDefaultInstance()) return this; if (other.hasSeconds()) { setSeconds(other.getSeconds()); } if (other.hasNanos()) { setNanos(other.getNanos()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.MicroTime parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.MicroTime) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long seconds_; /** * * *
       * Represents seconds of UTC time since Unix epoch
       * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
       * 9999-12-31T23:59:59Z inclusive.
       * 
* * optional int64 seconds = 1; */ public boolean hasSeconds() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
       * Represents seconds of UTC time since Unix epoch
       * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
       * 9999-12-31T23:59:59Z inclusive.
       * 
* * optional int64 seconds = 1; */ public long getSeconds() { return seconds_; } /** * * *
       * Represents seconds of UTC time since Unix epoch
       * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
       * 9999-12-31T23:59:59Z inclusive.
       * 
* * optional int64 seconds = 1; */ public Builder setSeconds(long value) { bitField0_ |= 0x00000001; seconds_ = value; onChanged(); return this; } /** * * *
       * Represents seconds of UTC time since Unix epoch
       * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
       * 9999-12-31T23:59:59Z inclusive.
       * 
* * optional int64 seconds = 1; */ public Builder clearSeconds() { bitField0_ = (bitField0_ & ~0x00000001); seconds_ = 0L; onChanged(); return this; } private int nanos_; /** * * *
       * Non-negative fractions of a second at nanosecond resolution. Negative
       * second values with fractions must still have non-negative nanos values
       * that count forward in time. Must be from 0 to 999,999,999
       * inclusive. This field may be limited in precision depending on context.
       * 
* * optional int32 nanos = 2; */ public boolean hasNanos() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
       * Non-negative fractions of a second at nanosecond resolution. Negative
       * second values with fractions must still have non-negative nanos values
       * that count forward in time. Must be from 0 to 999,999,999
       * inclusive. This field may be limited in precision depending on context.
       * 
* * optional int32 nanos = 2; */ public int getNanos() { return nanos_; } /** * * *
       * Non-negative fractions of a second at nanosecond resolution. Negative
       * second values with fractions must still have non-negative nanos values
       * that count forward in time. Must be from 0 to 999,999,999
       * inclusive. This field may be limited in precision depending on context.
       * 
* * optional int32 nanos = 2; */ public Builder setNanos(int value) { bitField0_ |= 0x00000002; nanos_ = value; onChanged(); return this; } /** * * *
       * Non-negative fractions of a second at nanosecond resolution. Negative
       * second values with fractions must still have non-negative nanos values
       * that count forward in time. Must be from 0 to 999,999,999
       * inclusive. This field may be limited in precision depending on context.
       * 
* * optional int32 nanos = 2; */ public Builder clearNanos() { bitField0_ = (bitField0_ & ~0x00000002); nanos_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime) private static final io.kubernetes.client.proto.Meta.MicroTime DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.MicroTime(); } public static io.kubernetes.client.proto.Meta.MicroTime getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MicroTime parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MicroTime(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.MicroTime getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ObjectMetaOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta) com.google.protobuf.MessageOrBuilder { /** * * *
     * Name must be unique within a namespace. Is required when creating resources, although
     * some resources may allow a client to request the generation of an appropriate name
     * automatically. Name is primarily intended for creation idempotence and configuration
     * definition.
     * Cannot be updated.
     * More info: https://kubernetes.io/docs/user-guide/identifiers#names
     * +optional
     * 
* * optional string name = 1; */ boolean hasName(); /** * * *
     * Name must be unique within a namespace. Is required when creating resources, although
     * some resources may allow a client to request the generation of an appropriate name
     * automatically. Name is primarily intended for creation idempotence and configuration
     * definition.
     * Cannot be updated.
     * More info: https://kubernetes.io/docs/user-guide/identifiers#names
     * +optional
     * 
* * optional string name = 1; */ java.lang.String getName(); /** * * *
     * Name must be unique within a namespace. Is required when creating resources, although
     * some resources may allow a client to request the generation of an appropriate name
     * automatically. Name is primarily intended for creation idempotence and configuration
     * definition.
     * Cannot be updated.
     * More info: https://kubernetes.io/docs/user-guide/identifiers#names
     * +optional
     * 
* * optional string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** * * *
     * GenerateName is an optional prefix, used by the server, to generate a unique
     * name ONLY IF the Name field has not been provided.
     * If this field is used, the name returned to the client will be different
     * than the name passed. This value will also be combined with a unique suffix.
     * The provided value has the same validation rules as the Name field,
     * and may be truncated by the length of the suffix required to make the value
     * unique on the server.
     * If this field is specified and the generated name exists, the server will
     * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
     * ServerTimeout indicating a unique name could not be found in the time allotted, and the client
     * should retry (optionally after the time indicated in the Retry-After header).
     * Applied only if Name is not specified.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
     * +optional
     * 
* * optional string generateName = 2; */ boolean hasGenerateName(); /** * * *
     * GenerateName is an optional prefix, used by the server, to generate a unique
     * name ONLY IF the Name field has not been provided.
     * If this field is used, the name returned to the client will be different
     * than the name passed. This value will also be combined with a unique suffix.
     * The provided value has the same validation rules as the Name field,
     * and may be truncated by the length of the suffix required to make the value
     * unique on the server.
     * If this field is specified and the generated name exists, the server will
     * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
     * ServerTimeout indicating a unique name could not be found in the time allotted, and the client
     * should retry (optionally after the time indicated in the Retry-After header).
     * Applied only if Name is not specified.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
     * +optional
     * 
* * optional string generateName = 2; */ java.lang.String getGenerateName(); /** * * *
     * GenerateName is an optional prefix, used by the server, to generate a unique
     * name ONLY IF the Name field has not been provided.
     * If this field is used, the name returned to the client will be different
     * than the name passed. This value will also be combined with a unique suffix.
     * The provided value has the same validation rules as the Name field,
     * and may be truncated by the length of the suffix required to make the value
     * unique on the server.
     * If this field is specified and the generated name exists, the server will
     * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
     * ServerTimeout indicating a unique name could not be found in the time allotted, and the client
     * should retry (optionally after the time indicated in the Retry-After header).
     * Applied only if Name is not specified.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
     * +optional
     * 
* * optional string generateName = 2; */ com.google.protobuf.ByteString getGenerateNameBytes(); /** * * *
     * 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/user-guide/namespaces
     * +optional
     * 
* * optional string namespace = 3; */ boolean hasNamespace(); /** * * *
     * 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/user-guide/namespaces
     * +optional
     * 
* * optional string namespace = 3; */ java.lang.String getNamespace(); /** * * *
     * 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/user-guide/namespaces
     * +optional
     * 
* * optional string namespace = 3; */ com.google.protobuf.ByteString getNamespaceBytes(); /** * * *
     * SelfLink is a URL representing this object.
     * Populated by the system.
     * Read-only.
     * DEPRECATED
     * Kubernetes will stop propagating this field in 1.20 release and the field is planned
     * to be removed in 1.21 release.
     * +optional
     * 
* * optional string selfLink = 4; */ boolean hasSelfLink(); /** * * *
     * SelfLink is a URL representing this object.
     * Populated by the system.
     * Read-only.
     * DEPRECATED
     * Kubernetes will stop propagating this field in 1.20 release and the field is planned
     * to be removed in 1.21 release.
     * +optional
     * 
* * optional string selfLink = 4; */ java.lang.String getSelfLink(); /** * * *
     * SelfLink is a URL representing this object.
     * Populated by the system.
     * Read-only.
     * DEPRECATED
     * Kubernetes will stop propagating this field in 1.20 release and the field is planned
     * to be removed in 1.21 release.
     * +optional
     * 
* * optional string selfLink = 4; */ com.google.protobuf.ByteString getSelfLinkBytes(); /** * * *
     * UID is the unique in time and space value for this object. It is typically generated by
     * the server on successful creation of a resource and is not allowed to change on PUT
     * operations.
     * Populated by the system.
     * Read-only.
     * More info: https://kubernetes.io/docs/user-guide/identifiers#uids
     * +optional
     * 
* * optional string uid = 5; */ boolean hasUid(); /** * * *
     * UID is the unique in time and space value for this object. It is typically generated by
     * the server on successful creation of a resource and is not allowed to change on PUT
     * operations.
     * Populated by the system.
     * Read-only.
     * More info: https://kubernetes.io/docs/user-guide/identifiers#uids
     * +optional
     * 
* * optional string uid = 5; */ java.lang.String getUid(); /** * * *
     * UID is the unique in time and space value for this object. It is typically generated by
     * the server on successful creation of a resource and is not allowed to change on PUT
     * operations.
     * Populated by the system.
     * Read-only.
     * More info: https://kubernetes.io/docs/user-guide/identifiers#uids
     * +optional
     * 
* * optional string uid = 5; */ com.google.protobuf.ByteString getUidBytes(); /** * * *
     * An opaque value that represents the internal version of this object that can
     * be used by clients to determine when objects have changed. May be used for optimistic
     * concurrency, change detection, and the watch operation on a resource or set of resources.
     * Clients must treat these values as opaque and passed unmodified back to the server.
     * They may only be valid for a particular resource or set of resources.
     * Populated by the system.
     * Read-only.
     * Value must be treated as opaque by clients and .
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
     * +optional
     * 
* * optional string resourceVersion = 6; */ boolean hasResourceVersion(); /** * * *
     * An opaque value that represents the internal version of this object that can
     * be used by clients to determine when objects have changed. May be used for optimistic
     * concurrency, change detection, and the watch operation on a resource or set of resources.
     * Clients must treat these values as opaque and passed unmodified back to the server.
     * They may only be valid for a particular resource or set of resources.
     * Populated by the system.
     * Read-only.
     * Value must be treated as opaque by clients and .
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
     * +optional
     * 
* * optional string resourceVersion = 6; */ java.lang.String getResourceVersion(); /** * * *
     * An opaque value that represents the internal version of this object that can
     * be used by clients to determine when objects have changed. May be used for optimistic
     * concurrency, change detection, and the watch operation on a resource or set of resources.
     * Clients must treat these values as opaque and passed unmodified back to the server.
     * They may only be valid for a particular resource or set of resources.
     * Populated by the system.
     * Read-only.
     * Value must be treated as opaque by clients and .
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
     * +optional
     * 
* * optional string resourceVersion = 6; */ com.google.protobuf.ByteString getResourceVersionBytes(); /** * * *
     * A sequence number representing a specific generation of the desired state.
     * Populated by the system. Read-only.
     * +optional
     * 
* * optional int64 generation = 7; */ boolean hasGeneration(); /** * * *
     * A sequence number representing a specific generation of the desired state.
     * Populated by the system. Read-only.
     * +optional
     * 
* * optional int64 generation = 7; */ long getGeneration(); /** * * *
     * CreationTimestamp is a timestamp representing the server time when this object was
     * created. It is not guaranteed to be set in happens-before order across separate operations.
     * Clients may not set this value. It is represented in RFC3339 form and is in UTC.
     * Populated by the system.
     * Read-only.
     * Null for lists.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8; */ boolean hasCreationTimestamp(); /** * * *
     * CreationTimestamp is a timestamp representing the server time when this object was
     * created. It is not guaranteed to be set in happens-before order across separate operations.
     * Clients may not set this value. It is represented in RFC3339 form and is in UTC.
     * Populated by the system.
     * Read-only.
     * Null for lists.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8; */ io.kubernetes.client.proto.Meta.Time getCreationTimestamp(); /** * * *
     * CreationTimestamp is a timestamp representing the server time when this object was
     * created. It is not guaranteed to be set in happens-before order across separate operations.
     * Clients may not set this value. It is represented in RFC3339 form and is in UTC.
     * Populated by the system.
     * Read-only.
     * Null for lists.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8; */ io.kubernetes.client.proto.Meta.TimeOrBuilder getCreationTimestampOrBuilder(); /** * * *
     * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
     * field is set by the server when a graceful deletion is requested by the user, and is not
     * directly settable by a client. The resource is expected to be deleted (no longer visible
     * from resource lists, and not reachable by name) after the time in this field, once the
     * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
     * Once the deletionTimestamp is set, this value may not be unset or be set further into the
     * future, although it may be shortened or the resource may be deleted prior to this time.
     * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
     * by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
     * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
     * remove the pod from the API. In the presence of network partitions, this object may still
     * exist after this timestamp, until an administrator or automated process can determine the
     * resource is fully terminated.
     * If not set, graceful deletion of the object has not been requested.
     * Populated by the system when a graceful deletion is requested.
     * Read-only.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ boolean hasDeletionTimestamp(); /** * * *
     * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
     * field is set by the server when a graceful deletion is requested by the user, and is not
     * directly settable by a client. The resource is expected to be deleted (no longer visible
     * from resource lists, and not reachable by name) after the time in this field, once the
     * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
     * Once the deletionTimestamp is set, this value may not be unset or be set further into the
     * future, although it may be shortened or the resource may be deleted prior to this time.
     * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
     * by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
     * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
     * remove the pod from the API. In the presence of network partitions, this object may still
     * exist after this timestamp, until an administrator or automated process can determine the
     * resource is fully terminated.
     * If not set, graceful deletion of the object has not been requested.
     * Populated by the system when a graceful deletion is requested.
     * Read-only.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ io.kubernetes.client.proto.Meta.Time getDeletionTimestamp(); /** * * *
     * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
     * field is set by the server when a graceful deletion is requested by the user, and is not
     * directly settable by a client. The resource is expected to be deleted (no longer visible
     * from resource lists, and not reachable by name) after the time in this field, once the
     * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
     * Once the deletionTimestamp is set, this value may not be unset or be set further into the
     * future, although it may be shortened or the resource may be deleted prior to this time.
     * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
     * by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
     * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
     * remove the pod from the API. In the presence of network partitions, this object may still
     * exist after this timestamp, until an administrator or automated process can determine the
     * resource is fully terminated.
     * If not set, graceful deletion of the object has not been requested.
     * Populated by the system when a graceful deletion is requested.
     * Read-only.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ io.kubernetes.client.proto.Meta.TimeOrBuilder getDeletionTimestampOrBuilder(); /** * * *
     * Number of seconds allowed for this object to gracefully terminate before
     * it will be removed from the system. Only set when deletionTimestamp is also set.
     * May only be shortened.
     * Read-only.
     * +optional
     * 
* * optional int64 deletionGracePeriodSeconds = 10; */ boolean hasDeletionGracePeriodSeconds(); /** * * *
     * Number of seconds allowed for this object to gracefully terminate before
     * it will be removed from the system. Only set when deletionTimestamp is also set.
     * May only be shortened.
     * Read-only.
     * +optional
     * 
* * optional int64 deletionGracePeriodSeconds = 10; */ long getDeletionGracePeriodSeconds(); /** * * *
     * Map of string keys and values that can be used to organize and categorize
     * (scope and select) objects. May match selectors of replication controllers
     * and services.
     * More info: https://kubernetes.io/docs/user-guide/labels
     * +optional
     * 
* * map<string, string> labels = 11; */ int getLabelsCount(); /** * * *
     * Map of string keys and values that can be used to organize and categorize
     * (scope and select) objects. May match selectors of replication controllers
     * and services.
     * More info: https://kubernetes.io/docs/user-guide/labels
     * +optional
     * 
* * map<string, string> labels = 11; */ boolean containsLabels(java.lang.String key); /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getLabels(); /** * * *
     * Map of string keys and values that can be used to organize and categorize
     * (scope and select) objects. May match selectors of replication controllers
     * and services.
     * More info: https://kubernetes.io/docs/user-guide/labels
     * +optional
     * 
* * map<string, string> labels = 11; */ java.util.Map getLabelsMap(); /** * * *
     * Map of string keys and values that can be used to organize and categorize
     * (scope and select) objects. May match selectors of replication controllers
     * and services.
     * More info: https://kubernetes.io/docs/user-guide/labels
     * +optional
     * 
* * map<string, string> labels = 11; */ java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue); /** * * *
     * Map of string keys and values that can be used to organize and categorize
     * (scope and select) objects. May match selectors of replication controllers
     * and services.
     * More info: https://kubernetes.io/docs/user-guide/labels
     * +optional
     * 
* * map<string, string> labels = 11; */ java.lang.String getLabelsOrThrow(java.lang.String key); /** * * *
     * Annotations is an unstructured key value map stored with a resource that may be
     * set by external tools to store and retrieve arbitrary metadata. They are not
     * queryable and should be preserved when modifying objects.
     * More info: https://kubernetes.io/docs/user-guide/annotations
     * +optional
     * 
* * map<string, string> annotations = 12; */ int getAnnotationsCount(); /** * * *
     * Annotations is an unstructured key value map stored with a resource that may be
     * set by external tools to store and retrieve arbitrary metadata. They are not
     * queryable and should be preserved when modifying objects.
     * More info: https://kubernetes.io/docs/user-guide/annotations
     * +optional
     * 
* * map<string, string> annotations = 12; */ boolean containsAnnotations(java.lang.String key); /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Deprecated java.util.Map getAnnotations(); /** * * *
     * Annotations is an unstructured key value map stored with a resource that may be
     * set by external tools to store and retrieve arbitrary metadata. They are not
     * queryable and should be preserved when modifying objects.
     * More info: https://kubernetes.io/docs/user-guide/annotations
     * +optional
     * 
* * map<string, string> annotations = 12; */ java.util.Map getAnnotationsMap(); /** * * *
     * Annotations is an unstructured key value map stored with a resource that may be
     * set by external tools to store and retrieve arbitrary metadata. They are not
     * queryable and should be preserved when modifying objects.
     * More info: https://kubernetes.io/docs/user-guide/annotations
     * +optional
     * 
* * map<string, string> annotations = 12; */ java.lang.String getAnnotationsOrDefault(java.lang.String key, java.lang.String defaultValue); /** * * *
     * Annotations is an unstructured key value map stored with a resource that may be
     * set by external tools to store and retrieve arbitrary metadata. They are not
     * queryable and should be preserved when modifying objects.
     * More info: https://kubernetes.io/docs/user-guide/annotations
     * +optional
     * 
* * map<string, string> annotations = 12; */ java.lang.String getAnnotationsOrThrow(java.lang.String key); /** * * *
     * List of objects depended by this object. If ALL objects in the list have
     * been deleted, this object will be garbage collected. If this object is managed by a controller,
     * then an entry in this list will point to this controller, with the controller field set to true.
     * There cannot be more than one managing controller.
     * +optional
     * +patchMergeKey=uid
     * +patchStrategy=merge
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; * */ java.util.List getOwnerReferencesList(); /** * * *
     * List of objects depended by this object. If ALL objects in the list have
     * been deleted, this object will be garbage collected. If this object is managed by a controller,
     * then an entry in this list will point to this controller, with the controller field set to true.
     * There cannot be more than one managing controller.
     * +optional
     * +patchMergeKey=uid
     * +patchStrategy=merge
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; * */ io.kubernetes.client.proto.Meta.OwnerReference getOwnerReferences(int index); /** * * *
     * List of objects depended by this object. If ALL objects in the list have
     * been deleted, this object will be garbage collected. If this object is managed by a controller,
     * then an entry in this list will point to this controller, with the controller field set to true.
     * There cannot be more than one managing controller.
     * +optional
     * +patchMergeKey=uid
     * +patchStrategy=merge
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; * */ int getOwnerReferencesCount(); /** * * *
     * List of objects depended by this object. If ALL objects in the list have
     * been deleted, this object will be garbage collected. If this object is managed by a controller,
     * then an entry in this list will point to this controller, with the controller field set to true.
     * There cannot be more than one managing controller.
     * +optional
     * +patchMergeKey=uid
     * +patchStrategy=merge
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; * */ java.util.List getOwnerReferencesOrBuilderList(); /** * * *
     * List of objects depended by this object. If ALL objects in the list have
     * been deleted, this object will be garbage collected. If this object is managed by a controller,
     * then an entry in this list will point to this controller, with the controller field set to true.
     * There cannot be more than one managing controller.
     * +optional
     * +patchMergeKey=uid
     * +patchStrategy=merge
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; * */ io.kubernetes.client.proto.Meta.OwnerReferenceOrBuilder getOwnerReferencesOrBuilder(int index); /** * * *
     * Must be empty before the object is deleted from the registry. Each entry
     * is an identifier for the responsible component that will remove the entry
     * from the list. If the deletionTimestamp of the object is non-nil, entries
     * in this list can only be removed.
     * Finalizers may be processed and removed in any order.  Order is NOT enforced
     * because it introduces significant risk of stuck finalizers.
     * finalizers is a shared field, any actor with permission can reorder it.
     * If the finalizer list is processed in order, then this can lead to a situation
     * in which the component responsible for the first finalizer in the list is
     * waiting for a signal (field value, external system, or other) produced by a
     * component responsible for a finalizer later in the list, resulting in a deadlock.
     * Without enforced ordering finalizers are free to order amongst themselves and
     * are not vulnerable to ordering changes in the list.
     * +optional
     * +patchStrategy=merge
     * 
* * repeated string finalizers = 14; */ java.util.List getFinalizersList(); /** * * *
     * Must be empty before the object is deleted from the registry. Each entry
     * is an identifier for the responsible component that will remove the entry
     * from the list. If the deletionTimestamp of the object is non-nil, entries
     * in this list can only be removed.
     * Finalizers may be processed and removed in any order.  Order is NOT enforced
     * because it introduces significant risk of stuck finalizers.
     * finalizers is a shared field, any actor with permission can reorder it.
     * If the finalizer list is processed in order, then this can lead to a situation
     * in which the component responsible for the first finalizer in the list is
     * waiting for a signal (field value, external system, or other) produced by a
     * component responsible for a finalizer later in the list, resulting in a deadlock.
     * Without enforced ordering finalizers are free to order amongst themselves and
     * are not vulnerable to ordering changes in the list.
     * +optional
     * +patchStrategy=merge
     * 
* * repeated string finalizers = 14; */ int getFinalizersCount(); /** * * *
     * Must be empty before the object is deleted from the registry. Each entry
     * is an identifier for the responsible component that will remove the entry
     * from the list. If the deletionTimestamp of the object is non-nil, entries
     * in this list can only be removed.
     * Finalizers may be processed and removed in any order.  Order is NOT enforced
     * because it introduces significant risk of stuck finalizers.
     * finalizers is a shared field, any actor with permission can reorder it.
     * If the finalizer list is processed in order, then this can lead to a situation
     * in which the component responsible for the first finalizer in the list is
     * waiting for a signal (field value, external system, or other) produced by a
     * component responsible for a finalizer later in the list, resulting in a deadlock.
     * Without enforced ordering finalizers are free to order amongst themselves and
     * are not vulnerable to ordering changes in the list.
     * +optional
     * +patchStrategy=merge
     * 
* * repeated string finalizers = 14; */ java.lang.String getFinalizers(int index); /** * * *
     * Must be empty before the object is deleted from the registry. Each entry
     * is an identifier for the responsible component that will remove the entry
     * from the list. If the deletionTimestamp of the object is non-nil, entries
     * in this list can only be removed.
     * Finalizers may be processed and removed in any order.  Order is NOT enforced
     * because it introduces significant risk of stuck finalizers.
     * finalizers is a shared field, any actor with permission can reorder it.
     * If the finalizer list is processed in order, then this can lead to a situation
     * in which the component responsible for the first finalizer in the list is
     * waiting for a signal (field value, external system, or other) produced by a
     * component responsible for a finalizer later in the list, resulting in a deadlock.
     * Without enforced ordering finalizers are free to order amongst themselves and
     * are not vulnerable to ordering changes in the list.
     * +optional
     * +patchStrategy=merge
     * 
* * repeated string finalizers = 14; */ com.google.protobuf.ByteString getFinalizersBytes(int index); /** * * *
     * The name of the cluster which the object belongs to.
     * This is used to distinguish resources with same name and namespace in different clusters.
     * This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.
     * +optional
     * 
* * optional string clusterName = 15; */ boolean hasClusterName(); /** * * *
     * The name of the cluster which the object belongs to.
     * This is used to distinguish resources with same name and namespace in different clusters.
     * This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.
     * +optional
     * 
* * optional string clusterName = 15; */ java.lang.String getClusterName(); /** * * *
     * The name of the cluster which the object belongs to.
     * This is used to distinguish resources with same name and namespace in different clusters.
     * This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.
     * +optional
     * 
* * optional string clusterName = 15; */ com.google.protobuf.ByteString getClusterNameBytes(); /** * * *
     * ManagedFields maps workflow-id and version to the set of fields
     * that are managed by that workflow. This is mostly for internal
     * housekeeping, and users typically shouldn't need to set or
     * understand this field. A workflow can be the user's name, a
     * 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
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17; * */ java.util.List getManagedFieldsList(); /** * * *
     * ManagedFields maps workflow-id and version to the set of fields
     * that are managed by that workflow. This is mostly for internal
     * housekeeping, and users typically shouldn't need to set or
     * understand this field. A workflow can be the user's name, a
     * 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
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17; * */ io.kubernetes.client.proto.Meta.ManagedFieldsEntry getManagedFields(int index); /** * * *
     * ManagedFields maps workflow-id and version to the set of fields
     * that are managed by that workflow. This is mostly for internal
     * housekeeping, and users typically shouldn't need to set or
     * understand this field. A workflow can be the user's name, a
     * 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
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17; * */ int getManagedFieldsCount(); /** * * *
     * ManagedFields maps workflow-id and version to the set of fields
     * that are managed by that workflow. This is mostly for internal
     * housekeeping, and users typically shouldn't need to set or
     * understand this field. A workflow can be the user's name, a
     * 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
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17; * */ java.util.List getManagedFieldsOrBuilderList(); /** * * *
     * ManagedFields maps workflow-id and version to the set of fields
     * that are managed by that workflow. This is mostly for internal
     * housekeeping, and users typically shouldn't need to set or
     * understand this field. A workflow can be the user's name, a
     * 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
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17; * */ io.kubernetes.client.proto.Meta.ManagedFieldsEntryOrBuilder getManagedFieldsOrBuilder( int index); } /** * * *
   * ObjectMeta is metadata that all persisted resources must have, which includes all objects
   * users must create.
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta} */ 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; // Use ObjectMeta.newBuilder() to construct. private ObjectMeta(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ObjectMeta() { name_ = ""; generateName_ = ""; namespace_ = ""; selfLink_ = ""; uid_ = ""; resourceVersion_ = ""; generation_ = 0L; deletionGracePeriodSeconds_ = 0L; ownerReferences_ = java.util.Collections.emptyList(); finalizers_ = com.google.protobuf.LazyStringArrayList.EMPTY; clusterName_ = ""; 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 labels__ = input.readMessage( LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); break; } case 98: { if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) { annotations_ = com.google.protobuf.MapField.newMapField( AnnotationsDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000800; } com.google.protobuf.MapEntry annotations__ = input.readMessage( AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); annotations_.getMutableMap().put(annotations__.getKey(), annotations__.getValue()); break; } case 106: { if (!((mutable_bitField0_ & 0x00001000) == 0x00001000)) { ownerReferences_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00001000; } ownerReferences_.add( input.readMessage( io.kubernetes.client.proto.Meta.OwnerReference.PARSER, extensionRegistry)); break; } case 114: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00002000) == 0x00002000)) { finalizers_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00002000; } finalizers_.add(bs); break; } case 122: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000400; clusterName_ = bs; break; } case 138: { if (!((mutable_bitField0_ & 0x00008000) == 0x00008000)) { managedFields_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00008000; } managedFields_.add( input.readMessage( io.kubernetes.client.proto.Meta.ManagedFieldsEntry.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_ & 0x00001000) == 0x00001000)) { ownerReferences_ = java.util.Collections.unmodifiableList(ownerReferences_); } if (((mutable_bitField0_ & 0x00002000) == 0x00002000)) { finalizers_ = finalizers_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00008000) == 0x00008000)) { managedFields_ = java.util.Collections.unmodifiableList(managedFields_); } 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_ObjectMeta_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 11: return internalGetLabels(); case 12: return internalGetAnnotations(); default: throw new RuntimeException("Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.ObjectMeta.class, io.kubernetes.client.proto.Meta.ObjectMeta.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * * *
     * Name must be unique within a namespace. Is required when creating resources, although
     * some resources may allow a client to request the generation of an appropriate name
     * automatically. Name is primarily intended for creation idempotence and configuration
     * definition.
     * Cannot be updated.
     * More info: https://kubernetes.io/docs/user-guide/identifiers#names
     * +optional
     * 
* * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
     * Name must be unique within a namespace. Is required when creating resources, although
     * some resources may allow a client to request the generation of an appropriate name
     * automatically. Name is primarily intended for creation idempotence and configuration
     * definition.
     * Cannot be updated.
     * More info: https://kubernetes.io/docs/user-guide/identifiers#names
     * +optional
     * 
* * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * * *
     * Name must be unique within a namespace. Is required when creating resources, although
     * some resources may allow a client to request the generation of an appropriate name
     * automatically. Name is primarily intended for creation idempotence and configuration
     * definition.
     * Cannot be updated.
     * More info: https://kubernetes.io/docs/user-guide/identifiers#names
     * +optional
     * 
* * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int GENERATENAME_FIELD_NUMBER = 2; private volatile java.lang.Object generateName_; /** * * *
     * GenerateName is an optional prefix, used by the server, to generate a unique
     * name ONLY IF the Name field has not been provided.
     * If this field is used, the name returned to the client will be different
     * than the name passed. This value will also be combined with a unique suffix.
     * The provided value has the same validation rules as the Name field,
     * and may be truncated by the length of the suffix required to make the value
     * unique on the server.
     * If this field is specified and the generated name exists, the server will
     * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
     * ServerTimeout indicating a unique name could not be found in the time allotted, and the client
     * should retry (optionally after the time indicated in the Retry-After header).
     * Applied only if Name is not specified.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
     * +optional
     * 
* * optional string generateName = 2; */ public boolean hasGenerateName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
     * GenerateName is an optional prefix, used by the server, to generate a unique
     * name ONLY IF the Name field has not been provided.
     * If this field is used, the name returned to the client will be different
     * than the name passed. This value will also be combined with a unique suffix.
     * The provided value has the same validation rules as the Name field,
     * and may be truncated by the length of the suffix required to make the value
     * unique on the server.
     * If this field is specified and the generated name exists, the server will
     * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
     * ServerTimeout indicating a unique name could not be found in the time allotted, and the client
     * should retry (optionally after the time indicated in the Retry-After header).
     * Applied only if Name is not specified.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
     * +optional
     * 
* * optional string generateName = 2; */ public java.lang.String getGenerateName() { java.lang.Object ref = generateName_; 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()) { generateName_ = s; } return s; } } /** * * *
     * GenerateName is an optional prefix, used by the server, to generate a unique
     * name ONLY IF the Name field has not been provided.
     * If this field is used, the name returned to the client will be different
     * than the name passed. This value will also be combined with a unique suffix.
     * The provided value has the same validation rules as the Name field,
     * and may be truncated by the length of the suffix required to make the value
     * unique on the server.
     * If this field is specified and the generated name exists, the server will
     * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
     * ServerTimeout indicating a unique name could not be found in the time allotted, and the client
     * should retry (optionally after the time indicated in the Retry-After header).
     * Applied only if Name is not specified.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
     * +optional
     * 
* * optional string generateName = 2; */ public com.google.protobuf.ByteString getGenerateNameBytes() { java.lang.Object ref = generateName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); generateName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAMESPACE_FIELD_NUMBER = 3; 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/user-guide/namespaces
     * +optional
     * 
* * optional string namespace = 3; */ public boolean hasNamespace() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * * *
     * 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/user-guide/namespaces
     * +optional
     * 
* * optional string namespace = 3; */ public java.lang.String getNamespace() { java.lang.Object ref = namespace_; 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()) { namespace_ = s; } return s; } } /** * * *
     * 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/user-guide/namespaces
     * +optional
     * 
* * optional string namespace = 3; */ public com.google.protobuf.ByteString getNamespaceBytes() { java.lang.Object ref = namespace_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); namespace_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SELFLINK_FIELD_NUMBER = 4; private volatile java.lang.Object selfLink_; /** * * *
     * SelfLink is a URL representing this object.
     * Populated by the system.
     * Read-only.
     * DEPRECATED
     * Kubernetes will stop propagating this field in 1.20 release and the field is planned
     * to be removed in 1.21 release.
     * +optional
     * 
* * optional string selfLink = 4; */ public boolean hasSelfLink() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * * *
     * SelfLink is a URL representing this object.
     * Populated by the system.
     * Read-only.
     * DEPRECATED
     * Kubernetes will stop propagating this field in 1.20 release and the field is planned
     * to be removed in 1.21 release.
     * +optional
     * 
* * optional string selfLink = 4; */ public java.lang.String getSelfLink() { java.lang.Object ref = selfLink_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { selfLink_ = s; } return s; } } /** * * *
     * SelfLink is a URL representing this object.
     * Populated by the system.
     * Read-only.
     * DEPRECATED
     * Kubernetes will stop propagating this field in 1.20 release and the field is planned
     * to be removed in 1.21 release.
     * +optional
     * 
* * optional string selfLink = 4; */ public com.google.protobuf.ByteString getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); selfLink_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int UID_FIELD_NUMBER = 5; 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/user-guide/identifiers#uids
     * +optional
     * 
* * optional string uid = 5; */ public boolean hasUid() { 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/user-guide/identifiers#uids
     * +optional
     * 
* * optional string uid = 5; */ public java.lang.String getUid() { java.lang.Object ref = uid_; 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()) { uid_ = s; } return s; } } /** * * *
     * 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/user-guide/identifiers#uids
     * +optional
     * 
* * optional string uid = 5; */ public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RESOURCEVERSION_FIELD_NUMBER = 6; private volatile java.lang.Object resourceVersion_; /** * * *
     * An opaque value that represents the internal version of this object that can
     * be used by clients to determine when objects have changed. May be used for optimistic
     * concurrency, change detection, and the watch operation on a resource or set of resources.
     * Clients must treat these values as opaque and passed unmodified back to the server.
     * They may only be valid for a particular resource or set of resources.
     * Populated by the system.
     * Read-only.
     * Value must be treated as opaque by clients and .
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
     * +optional
     * 
* * optional string resourceVersion = 6; */ public boolean hasResourceVersion() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * * *
     * An opaque value that represents the internal version of this object that can
     * be used by clients to determine when objects have changed. May be used for optimistic
     * concurrency, change detection, and the watch operation on a resource or set of resources.
     * Clients must treat these values as opaque and passed unmodified back to the server.
     * They may only be valid for a particular resource or set of resources.
     * Populated by the system.
     * Read-only.
     * Value must be treated as opaque by clients and .
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
     * +optional
     * 
* * optional string resourceVersion = 6; */ public java.lang.String getResourceVersion() { java.lang.Object ref = resourceVersion_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { resourceVersion_ = s; } return s; } } /** * * *
     * An opaque value that represents the internal version of this object that can
     * be used by clients to determine when objects have changed. May be used for optimistic
     * concurrency, change detection, and the watch operation on a resource or set of resources.
     * Clients must treat these values as opaque and passed unmodified back to the server.
     * They may only be valid for a particular resource or set of resources.
     * Populated by the system.
     * Read-only.
     * Value must be treated as opaque by clients and .
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
     * +optional
     * 
* * optional string resourceVersion = 6; */ public com.google.protobuf.ByteString getResourceVersionBytes() { java.lang.Object ref = resourceVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int GENERATION_FIELD_NUMBER = 7; private long generation_; /** * * *
     * A sequence number representing a specific generation of the desired state.
     * Populated by the system. Read-only.
     * +optional
     * 
* * optional int64 generation = 7; */ public boolean hasGeneration() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * * *
     * A sequence number representing a specific generation of the desired state.
     * Populated by the system. Read-only.
     * +optional
     * 
* * optional int64 generation = 7; */ public long getGeneration() { return generation_; } public static final int CREATIONTIMESTAMP_FIELD_NUMBER = 8; private io.kubernetes.client.proto.Meta.Time creationTimestamp_; /** * * *
     * CreationTimestamp is a timestamp representing the server time when this object was
     * created. It is not guaranteed to be set in happens-before order across separate operations.
     * Clients may not set this value. It is represented in RFC3339 form and is in UTC.
     * Populated by the system.
     * Read-only.
     * Null for lists.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8; */ public boolean hasCreationTimestamp() { 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.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8; */ public io.kubernetes.client.proto.Meta.Time getCreationTimestamp() { return creationTimestamp_ == null ? io.kubernetes.client.proto.Meta.Time.getDefaultInstance() : creationTimestamp_; } /** * * *
     * CreationTimestamp is a timestamp representing the server time when this object was
     * created. It is not guaranteed to be set in happens-before order across separate operations.
     * Clients may not set this value. It is represented in RFC3339 form and is in UTC.
     * Populated by the system.
     * Read-only.
     * Null for lists.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8; */ public io.kubernetes.client.proto.Meta.TimeOrBuilder getCreationTimestampOrBuilder() { return creationTimestamp_ == null ? io.kubernetes.client.proto.Meta.Time.getDefaultInstance() : creationTimestamp_; } public static final int DELETIONTIMESTAMP_FIELD_NUMBER = 9; private io.kubernetes.client.proto.Meta.Time deletionTimestamp_; /** * * *
     * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
     * field is set by the server when a graceful deletion is requested by the user, and is not
     * directly settable by a client. The resource is expected to be deleted (no longer visible
     * from resource lists, and not reachable by name) after the time in this field, once the
     * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
     * Once the deletionTimestamp is set, this value may not be unset or be set further into the
     * future, although it may be shortened or the resource may be deleted prior to this time.
     * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
     * by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
     * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
     * remove the pod from the API. In the presence of network partitions, this object may still
     * exist after this timestamp, until an administrator or automated process can determine the
     * resource is fully terminated.
     * If not set, graceful deletion of the object has not been requested.
     * Populated by the system when a graceful deletion is requested.
     * Read-only.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ public boolean hasDeletionTimestamp() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * * *
     * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
     * field is set by the server when a graceful deletion is requested by the user, and is not
     * directly settable by a client. The resource is expected to be deleted (no longer visible
     * from resource lists, and not reachable by name) after the time in this field, once the
     * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
     * Once the deletionTimestamp is set, this value may not be unset or be set further into the
     * future, although it may be shortened or the resource may be deleted prior to this time.
     * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
     * by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
     * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
     * remove the pod from the API. In the presence of network partitions, this object may still
     * exist after this timestamp, until an administrator or automated process can determine the
     * resource is fully terminated.
     * If not set, graceful deletion of the object has not been requested.
     * Populated by the system when a graceful deletion is requested.
     * Read-only.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ public io.kubernetes.client.proto.Meta.Time getDeletionTimestamp() { return deletionTimestamp_ == null ? io.kubernetes.client.proto.Meta.Time.getDefaultInstance() : deletionTimestamp_; } /** * * *
     * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
     * field is set by the server when a graceful deletion is requested by the user, and is not
     * directly settable by a client. The resource is expected to be deleted (no longer visible
     * from resource lists, and not reachable by name) after the time in this field, once the
     * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
     * Once the deletionTimestamp is set, this value may not be unset or be set further into the
     * future, although it may be shortened or the resource may be deleted prior to this time.
     * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
     * by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
     * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
     * remove the pod from the API. In the presence of network partitions, this object may still
     * exist after this timestamp, until an administrator or automated process can determine the
     * resource is fully terminated.
     * If not set, graceful deletion of the object has not been requested.
     * Populated by the system when a graceful deletion is requested.
     * Read-only.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ 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_; /** * * *
     * Number of seconds allowed for this object to gracefully terminate before
     * it will be removed from the system. Only set when deletionTimestamp is also set.
     * May only be shortened.
     * Read-only.
     * +optional
     * 
* * optional int64 deletionGracePeriodSeconds = 10; */ public boolean hasDeletionGracePeriodSeconds() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * * *
     * Number of seconds allowed for this object to gracefully terminate before
     * it will be removed from the system. Only set when deletionTimestamp is also set.
     * May only be shortened.
     * Read-only.
     * +optional
     * 
* * optional int64 deletionGracePeriodSeconds = 10; */ public long getDeletionGracePeriodSeconds() { return deletionGracePeriodSeconds_; } public static final int LABELS_FIELD_NUMBER = 11; private static final class LabelsDefaultEntryHolder { static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry.newDefaultInstance( io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta_LabelsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField labels_; private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** * * *
     * Map of string keys and values that can be used to organize and categorize
     * (scope and select) objects. May match selectors of replication controllers
     * and services.
     * More info: https://kubernetes.io/docs/user-guide/labels
     * +optional
     * 
* * map<string, string> labels = 11; */ public boolean containsLabels(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetLabels().getMap().containsKey(key); } /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** * * *
     * Map of string keys and values that can be used to organize and categorize
     * (scope and select) objects. May match selectors of replication controllers
     * and services.
     * More info: https://kubernetes.io/docs/user-guide/labels
     * +optional
     * 
* * map<string, string> labels = 11; */ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** * * *
     * Map of string keys and values that can be used to organize and categorize
     * (scope and select) objects. May match selectors of replication controllers
     * and services.
     * More info: https://kubernetes.io/docs/user-guide/labels
     * +optional
     * 
* * map<string, string> labels = 11; */ public java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * * *
     * Map of string keys and values that can be used to organize and categorize
     * (scope and select) objects. May match selectors of replication controllers
     * and services.
     * More info: https://kubernetes.io/docs/user-guide/labels
     * +optional
     * 
* * map<string, string> labels = 11; */ public java.lang.String getLabelsOrThrow(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int ANNOTATIONS_FIELD_NUMBER = 12; private static final class AnnotationsDefaultEntryHolder { static final com.google.protobuf.MapEntry defaultEntry = com.google.protobuf.MapEntry.newDefaultInstance( io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta_AnnotationsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField annotations_; private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { return com.google.protobuf.MapField.emptyMapField( AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** * * *
     * Annotations is an unstructured key value map stored with a resource that may be
     * set by external tools to store and retrieve arbitrary metadata. They are not
     * queryable and should be preserved when modifying objects.
     * More info: https://kubernetes.io/docs/user-guide/annotations
     * +optional
     * 
* * map<string, string> annotations = 12; */ public boolean containsAnnotations(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetAnnotations().getMap().containsKey(key); } /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** * * *
     * Annotations is an unstructured key value map stored with a resource that may be
     * set by external tools to store and retrieve arbitrary metadata. They are not
     * queryable and should be preserved when modifying objects.
     * More info: https://kubernetes.io/docs/user-guide/annotations
     * +optional
     * 
* * map<string, string> annotations = 12; */ public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** * * *
     * Annotations is an unstructured key value map stored with a resource that may be
     * set by external tools to store and retrieve arbitrary metadata. They are not
     * queryable and should be preserved when modifying objects.
     * More info: https://kubernetes.io/docs/user-guide/annotations
     * +optional
     * 
* * map<string, string> annotations = 12; */ public java.lang.String getAnnotationsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * * *
     * Annotations is an unstructured key value map stored with a resource that may be
     * set by external tools to store and retrieve arbitrary metadata. They are not
     * queryable and should be preserved when modifying objects.
     * More info: https://kubernetes.io/docs/user-guide/annotations
     * +optional
     * 
* * map<string, string> annotations = 12; */ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int OWNERREFERENCES_FIELD_NUMBER = 13; private java.util.List ownerReferences_; /** * * *
     * List of objects depended by this object. If ALL objects in the list have
     * been deleted, this object will be garbage collected. If this object is managed by a controller,
     * then an entry in this list will point to this controller, with the controller field set to true.
     * There cannot be more than one managing controller.
     * +optional
     * +patchMergeKey=uid
     * +patchStrategy=merge
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; * */ public java.util.List getOwnerReferencesList() { return ownerReferences_; } /** * * *
     * List of objects depended by this object. If ALL objects in the list have
     * been deleted, this object will be garbage collected. If this object is managed by a controller,
     * then an entry in this list will point to this controller, with the controller field set to true.
     * There cannot be more than one managing controller.
     * +optional
     * +patchMergeKey=uid
     * +patchStrategy=merge
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; * */ public java.util.List getOwnerReferencesOrBuilderList() { return ownerReferences_; } /** * * *
     * List of objects depended by this object. If ALL objects in the list have
     * been deleted, this object will be garbage collected. If this object is managed by a controller,
     * then an entry in this list will point to this controller, with the controller field set to true.
     * There cannot be more than one managing controller.
     * +optional
     * +patchMergeKey=uid
     * +patchStrategy=merge
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; * */ public int getOwnerReferencesCount() { return ownerReferences_.size(); } /** * * *
     * List of objects depended by this object. If ALL objects in the list have
     * been deleted, this object will be garbage collected. If this object is managed by a controller,
     * then an entry in this list will point to this controller, with the controller field set to true.
     * There cannot be more than one managing controller.
     * +optional
     * +patchMergeKey=uid
     * +patchStrategy=merge
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; * */ public io.kubernetes.client.proto.Meta.OwnerReference getOwnerReferences(int index) { return ownerReferences_.get(index); } /** * * *
     * List of objects depended by this object. If ALL objects in the list have
     * been deleted, this object will be garbage collected. If this object is managed by a controller,
     * then an entry in this list will point to this controller, with the controller field set to true.
     * There cannot be more than one managing controller.
     * +optional
     * +patchMergeKey=uid
     * +patchStrategy=merge
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; * */ public io.kubernetes.client.proto.Meta.OwnerReferenceOrBuilder getOwnerReferencesOrBuilder( int index) { return ownerReferences_.get(index); } public static final int FINALIZERS_FIELD_NUMBER = 14; private com.google.protobuf.LazyStringList finalizers_; /** * * *
     * Must be empty before the object is deleted from the registry. Each entry
     * is an identifier for the responsible component that will remove the entry
     * from the list. If the deletionTimestamp of the object is non-nil, entries
     * in this list can only be removed.
     * Finalizers may be processed and removed in any order.  Order is NOT enforced
     * because it introduces significant risk of stuck finalizers.
     * finalizers is a shared field, any actor with permission can reorder it.
     * If the finalizer list is processed in order, then this can lead to a situation
     * in which the component responsible for the first finalizer in the list is
     * waiting for a signal (field value, external system, or other) produced by a
     * component responsible for a finalizer later in the list, resulting in a deadlock.
     * Without enforced ordering finalizers are free to order amongst themselves and
     * are not vulnerable to ordering changes in the list.
     * +optional
     * +patchStrategy=merge
     * 
* * repeated string finalizers = 14; */ public com.google.protobuf.ProtocolStringList getFinalizersList() { return finalizers_; } /** * * *
     * Must be empty before the object is deleted from the registry. Each entry
     * is an identifier for the responsible component that will remove the entry
     * from the list. If the deletionTimestamp of the object is non-nil, entries
     * in this list can only be removed.
     * Finalizers may be processed and removed in any order.  Order is NOT enforced
     * because it introduces significant risk of stuck finalizers.
     * finalizers is a shared field, any actor with permission can reorder it.
     * If the finalizer list is processed in order, then this can lead to a situation
     * in which the component responsible for the first finalizer in the list is
     * waiting for a signal (field value, external system, or other) produced by a
     * component responsible for a finalizer later in the list, resulting in a deadlock.
     * Without enforced ordering finalizers are free to order amongst themselves and
     * are not vulnerable to ordering changes in the list.
     * +optional
     * +patchStrategy=merge
     * 
* * repeated string finalizers = 14; */ public int getFinalizersCount() { return finalizers_.size(); } /** * * *
     * Must be empty before the object is deleted from the registry. Each entry
     * is an identifier for the responsible component that will remove the entry
     * from the list. If the deletionTimestamp of the object is non-nil, entries
     * in this list can only be removed.
     * Finalizers may be processed and removed in any order.  Order is NOT enforced
     * because it introduces significant risk of stuck finalizers.
     * finalizers is a shared field, any actor with permission can reorder it.
     * If the finalizer list is processed in order, then this can lead to a situation
     * in which the component responsible for the first finalizer in the list is
     * waiting for a signal (field value, external system, or other) produced by a
     * component responsible for a finalizer later in the list, resulting in a deadlock.
     * Without enforced ordering finalizers are free to order amongst themselves and
     * are not vulnerable to ordering changes in the list.
     * +optional
     * +patchStrategy=merge
     * 
* * repeated string finalizers = 14; */ public java.lang.String getFinalizers(int index) { return finalizers_.get(index); } /** * * *
     * Must be empty before the object is deleted from the registry. Each entry
     * is an identifier for the responsible component that will remove the entry
     * from the list. If the deletionTimestamp of the object is non-nil, entries
     * in this list can only be removed.
     * Finalizers may be processed and removed in any order.  Order is NOT enforced
     * because it introduces significant risk of stuck finalizers.
     * finalizers is a shared field, any actor with permission can reorder it.
     * If the finalizer list is processed in order, then this can lead to a situation
     * in which the component responsible for the first finalizer in the list is
     * waiting for a signal (field value, external system, or other) produced by a
     * component responsible for a finalizer later in the list, resulting in a deadlock.
     * Without enforced ordering finalizers are free to order amongst themselves and
     * are not vulnerable to ordering changes in the list.
     * +optional
     * +patchStrategy=merge
     * 
* * repeated string finalizers = 14; */ public com.google.protobuf.ByteString getFinalizersBytes(int index) { return finalizers_.getByteString(index); } public static final int CLUSTERNAME_FIELD_NUMBER = 15; private volatile java.lang.Object clusterName_; /** * * *
     * The name of the cluster which the object belongs to.
     * This is used to distinguish resources with same name and namespace in different clusters.
     * This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.
     * +optional
     * 
* * optional string clusterName = 15; */ public boolean hasClusterName() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * * *
     * The name of the cluster which the object belongs to.
     * This is used to distinguish resources with same name and namespace in different clusters.
     * This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.
     * +optional
     * 
* * optional string clusterName = 15; */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; 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()) { clusterName_ = s; } return s; } } /** * * *
     * The name of the cluster which the object belongs to.
     * This is used to distinguish resources with same name and namespace in different clusters.
     * This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.
     * +optional
     * 
* * optional string clusterName = 15; */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MANAGEDFIELDS_FIELD_NUMBER = 17; private java.util.List managedFields_; /** * * *
     * ManagedFields maps workflow-id and version to the set of fields
     * that are managed by that workflow. This is mostly for internal
     * housekeeping, and users typically shouldn't need to set or
     * understand this field. A workflow can be the user's name, a
     * 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
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17; * */ public java.util.List getManagedFieldsList() { return managedFields_; } /** * * *
     * ManagedFields maps workflow-id and version to the set of fields
     * that are managed by that workflow. This is mostly for internal
     * housekeeping, and users typically shouldn't need to set or
     * understand this field. A workflow can be the user's name, a
     * 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
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17; * */ public java.util.List getManagedFieldsOrBuilderList() { return managedFields_; } /** * * *
     * ManagedFields maps workflow-id and version to the set of fields
     * that are managed by that workflow. This is mostly for internal
     * housekeeping, and users typically shouldn't need to set or
     * understand this field. A workflow can be the user's name, a
     * 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
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17; * */ public int getManagedFieldsCount() { return managedFields_.size(); } /** * * *
     * ManagedFields maps workflow-id and version to the set of fields
     * that are managed by that workflow. This is mostly for internal
     * housekeeping, and users typically shouldn't need to set or
     * understand this field. A workflow can be the user's name, a
     * 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
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17; * */ public io.kubernetes.client.proto.Meta.ManagedFieldsEntry getManagedFields(int index) { return managedFields_.get(index); } /** * * *
     * ManagedFields maps workflow-id and version to the set of fields
     * that are managed by that workflow. This is mostly for internal
     * housekeeping, and users typically shouldn't need to set or
     * understand this field. A workflow can be the user's name, a
     * 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
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17; * */ public io.kubernetes.client.proto.Meta.ManagedFieldsEntryOrBuilder getManagedFieldsOrBuilder( int index) { return managedFields_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, generateName_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, namespace_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, selfLink_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, uid_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, resourceVersion_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeInt64(7, generation_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeMessage(8, getCreationTimestamp()); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeMessage(9, getDeletionTimestamp()); } if (((bitField0_ & 0x00000200) == 0x00000200)) { output.writeInt64(10, deletionGracePeriodSeconds_); } com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 11); com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 12); for (int i = 0; i < ownerReferences_.size(); i++) { output.writeMessage(13, ownerReferences_.get(i)); } for (int i = 0; i < finalizers_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, finalizers_.getRaw(i)); } if (((bitField0_ & 0x00000400) == 0x00000400)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 15, clusterName_); } for (int i = 0; i < managedFields_.size(); i++) { output.writeMessage(17, managedFields_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, generateName_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, namespace_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, selfLink_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, uid_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, resourceVersion_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, generation_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getCreationTimestamp()); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getDeletionTimestamp()); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(10, deletionGracePeriodSeconds_); } for (java.util.Map.Entry entry : internalGetLabels().getMap().entrySet()) { com.google.protobuf.MapEntry labels__ = LabelsDefaultEntryHolder.defaultEntry .newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, labels__); } for (java.util.Map.Entry entry : internalGetAnnotations().getMap().entrySet()) { com.google.protobuf.MapEntry annotations__ = AnnotationsDefaultEntryHolder.defaultEntry .newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, annotations__); } for (int i = 0; i < ownerReferences_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, ownerReferences_.get(i)); } { int dataSize = 0; for (int i = 0; i < finalizers_.size(); i++) { dataSize += computeStringSizeNoTag(finalizers_.getRaw(i)); } size += dataSize; size += 1 * getFinalizersList().size(); } if (((bitField0_ & 0x00000400) == 0x00000400)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, clusterName_); } for (int i = 0; i < managedFields_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, managedFields_.get(i)); } 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.ObjectMeta)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.ObjectMeta other = (io.kubernetes.client.proto.Meta.ObjectMeta) obj; boolean result = true; result = result && (hasName() == other.hasName()); if (hasName()) { result = result && getName().equals(other.getName()); } result = result && (hasGenerateName() == other.hasGenerateName()); if (hasGenerateName()) { result = result && getGenerateName().equals(other.getGenerateName()); } result = result && (hasNamespace() == other.hasNamespace()); if (hasNamespace()) { result = result && getNamespace().equals(other.getNamespace()); } result = result && (hasSelfLink() == other.hasSelfLink()); if (hasSelfLink()) { result = result && getSelfLink().equals(other.getSelfLink()); } result = result && (hasUid() == other.hasUid()); if (hasUid()) { result = result && getUid().equals(other.getUid()); } result = result && (hasResourceVersion() == other.hasResourceVersion()); if (hasResourceVersion()) { result = result && getResourceVersion().equals(other.getResourceVersion()); } result = result && (hasGeneration() == other.hasGeneration()); if (hasGeneration()) { result = result && (getGeneration() == other.getGeneration()); } result = result && (hasCreationTimestamp() == other.hasCreationTimestamp()); if (hasCreationTimestamp()) { result = result && getCreationTimestamp().equals(other.getCreationTimestamp()); } result = result && (hasDeletionTimestamp() == other.hasDeletionTimestamp()); if (hasDeletionTimestamp()) { result = result && getDeletionTimestamp().equals(other.getDeletionTimestamp()); } result = result && (hasDeletionGracePeriodSeconds() == other.hasDeletionGracePeriodSeconds()); if (hasDeletionGracePeriodSeconds()) { 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 && (hasClusterName() == other.hasClusterName()); if (hasClusterName()) { result = result && getClusterName().equals(other.getClusterName()); } result = result && getManagedFieldsList().equals(other.getManagedFieldsList()); 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 (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasGenerateName()) { hash = (37 * hash) + GENERATENAME_FIELD_NUMBER; hash = (53 * hash) + getGenerateName().hashCode(); } if (hasNamespace()) { hash = (37 * hash) + NAMESPACE_FIELD_NUMBER; hash = (53 * hash) + getNamespace().hashCode(); } if (hasSelfLink()) { hash = (37 * hash) + SELFLINK_FIELD_NUMBER; hash = (53 * hash) + getSelfLink().hashCode(); } if (hasUid()) { hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid().hashCode(); } if (hasResourceVersion()) { hash = (37 * hash) + RESOURCEVERSION_FIELD_NUMBER; hash = (53 * hash) + getResourceVersion().hashCode(); } if (hasGeneration()) { hash = (37 * hash) + GENERATION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getGeneration()); } if (hasCreationTimestamp()) { hash = (37 * hash) + CREATIONTIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + getCreationTimestamp().hashCode(); } if (hasDeletionTimestamp()) { hash = (37 * hash) + DELETIONTIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + getDeletionTimestamp().hashCode(); } if (hasDeletionGracePeriodSeconds()) { hash = (37 * hash) + DELETIONGRACEPERIODSECONDS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDeletionGracePeriodSeconds()); } if (!internalGetLabels().getMap().isEmpty()) { hash = (37 * hash) + LABELS_FIELD_NUMBER; hash = (53 * hash) + internalGetLabels().hashCode(); } if (!internalGetAnnotations().getMap().isEmpty()) { hash = (37 * hash) + ANNOTATIONS_FIELD_NUMBER; hash = (53 * hash) + internalGetAnnotations().hashCode(); } if (getOwnerReferencesCount() > 0) { hash = (37 * hash) + OWNERREFERENCES_FIELD_NUMBER; hash = (53 * hash) + getOwnerReferencesList().hashCode(); } if (getFinalizersCount() > 0) { hash = (37 * hash) + FINALIZERS_FIELD_NUMBER; hash = (53 * hash) + getFinalizersList().hashCode(); } if (hasClusterName()) { hash = (37 * hash) + CLUSTERNAME_FIELD_NUMBER; hash = (53 * hash) + getClusterName().hashCode(); } if (getManagedFieldsCount() > 0) { hash = (37 * hash) + MANAGEDFIELDS_FIELD_NUMBER; hash = (53 * hash) + getManagedFieldsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.ObjectMeta parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.ObjectMeta 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.ObjectMeta parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.ObjectMeta 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.ObjectMeta parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.ObjectMeta 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.ObjectMeta parseFrom(java.io.InputStream input) throws java.io.IOException { 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.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.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.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.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.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.ObjectMeta 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; } /** * * *
     * ObjectMeta is metadata that all persisted resources must have, which includes all objects
     * users must create.
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta) io.kubernetes.client.proto.Meta.ObjectMetaOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 11: return internalGetLabels(); case 12: return internalGetAnnotations(); default: throw new RuntimeException("Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 11: return internalGetMutableLabels(); case 12: return internalGetMutableAnnotations(); default: throw new RuntimeException("Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.ObjectMeta.class, io.kubernetes.client.proto.Meta.ObjectMeta.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.ObjectMeta.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCreationTimestampFieldBuilder(); getDeletionTimestampFieldBuilder(); getOwnerReferencesFieldBuilder(); getManagedFieldsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); generateName_ = ""; bitField0_ = (bitField0_ & ~0x00000002); namespace_ = ""; bitField0_ = (bitField0_ & ~0x00000004); selfLink_ = ""; bitField0_ = (bitField0_ & ~0x00000008); uid_ = ""; bitField0_ = (bitField0_ & ~0x00000010); resourceVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000020); generation_ = 0L; bitField0_ = (bitField0_ & ~0x00000040); if (creationTimestampBuilder_ == null) { creationTimestamp_ = null; } else { creationTimestampBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); if (deletionTimestampBuilder_ == null) { deletionTimestamp_ = null; } else { deletionTimestampBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); deletionGracePeriodSeconds_ = 0L; bitField0_ = (bitField0_ & ~0x00000200); internalGetMutableLabels().clear(); internalGetMutableAnnotations().clear(); if (ownerReferencesBuilder_ == null) { ownerReferences_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00001000); } else { ownerReferencesBuilder_.clear(); } finalizers_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00002000); clusterName_ = ""; bitField0_ = (bitField0_ & ~0x00004000); if (managedFieldsBuilder_ == null) { managedFields_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00008000); } else { managedFieldsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.ObjectMeta getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.ObjectMeta.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.ObjectMeta build() { io.kubernetes.client.proto.Meta.ObjectMeta result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.ObjectMeta buildPartial() { io.kubernetes.client.proto.Meta.ObjectMeta result = new io.kubernetes.client.proto.Meta.ObjectMeta(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.generateName_ = generateName_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.namespace_ = namespace_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.selfLink_ = selfLink_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.uid_ = uid_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.resourceVersion_ = resourceVersion_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.generation_ = generation_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } if (creationTimestampBuilder_ == null) { result.creationTimestamp_ = creationTimestamp_; } else { result.creationTimestamp_ = creationTimestampBuilder_.build(); } if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } if (deletionTimestampBuilder_ == null) { result.deletionTimestamp_ = deletionTimestamp_; } else { result.deletionTimestamp_ = deletionTimestampBuilder_.build(); } if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000200; } result.deletionGracePeriodSeconds_ = deletionGracePeriodSeconds_; result.labels_ = internalGetLabels(); result.labels_.makeImmutable(); result.annotations_ = internalGetAnnotations(); result.annotations_.makeImmutable(); if (ownerReferencesBuilder_ == null) { if (((bitField0_ & 0x00001000) == 0x00001000)) { ownerReferences_ = java.util.Collections.unmodifiableList(ownerReferences_); bitField0_ = (bitField0_ & ~0x00001000); } result.ownerReferences_ = ownerReferences_; } else { result.ownerReferences_ = ownerReferencesBuilder_.build(); } if (((bitField0_ & 0x00002000) == 0x00002000)) { finalizers_ = finalizers_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00002000); } result.finalizers_ = finalizers_; if (((from_bitField0_ & 0x00004000) == 0x00004000)) { to_bitField0_ |= 0x00000400; } result.clusterName_ = clusterName_; if (managedFieldsBuilder_ == null) { if (((bitField0_ & 0x00008000) == 0x00008000)) { managedFields_ = java.util.Collections.unmodifiableList(managedFields_); bitField0_ = (bitField0_ & ~0x00008000); } result.managedFields_ = managedFields_; } else { result.managedFields_ = managedFieldsBuilder_.build(); } 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.ObjectMeta) { return mergeFrom((io.kubernetes.client.proto.Meta.ObjectMeta) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.ObjectMeta other) { if (other == io.kubernetes.client.proto.Meta.ObjectMeta.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasGenerateName()) { bitField0_ |= 0x00000002; generateName_ = other.generateName_; onChanged(); } if (other.hasNamespace()) { bitField0_ |= 0x00000004; namespace_ = other.namespace_; onChanged(); } if (other.hasSelfLink()) { bitField0_ |= 0x00000008; selfLink_ = other.selfLink_; onChanged(); } if (other.hasUid()) { bitField0_ |= 0x00000010; uid_ = other.uid_; onChanged(); } if (other.hasResourceVersion()) { bitField0_ |= 0x00000020; resourceVersion_ = other.resourceVersion_; onChanged(); } if (other.hasGeneration()) { setGeneration(other.getGeneration()); } if (other.hasCreationTimestamp()) { mergeCreationTimestamp(other.getCreationTimestamp()); } if (other.hasDeletionTimestamp()) { mergeDeletionTimestamp(other.getDeletionTimestamp()); } if (other.hasDeletionGracePeriodSeconds()) { setDeletionGracePeriodSeconds(other.getDeletionGracePeriodSeconds()); } internalGetMutableLabels().mergeFrom(other.internalGetLabels()); internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); if (ownerReferencesBuilder_ == null) { if (!other.ownerReferences_.isEmpty()) { if (ownerReferences_.isEmpty()) { ownerReferences_ = other.ownerReferences_; bitField0_ = (bitField0_ & ~0x00001000); } else { ensureOwnerReferencesIsMutable(); ownerReferences_.addAll(other.ownerReferences_); } onChanged(); } } else { if (!other.ownerReferences_.isEmpty()) { if (ownerReferencesBuilder_.isEmpty()) { ownerReferencesBuilder_.dispose(); ownerReferencesBuilder_ = null; ownerReferences_ = other.ownerReferences_; bitField0_ = (bitField0_ & ~0x00001000); ownerReferencesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getOwnerReferencesFieldBuilder() : null; } else { ownerReferencesBuilder_.addAllMessages(other.ownerReferences_); } } } if (!other.finalizers_.isEmpty()) { if (finalizers_.isEmpty()) { finalizers_ = other.finalizers_; bitField0_ = (bitField0_ & ~0x00002000); } else { ensureFinalizersIsMutable(); finalizers_.addAll(other.finalizers_); } onChanged(); } if (other.hasClusterName()) { bitField0_ |= 0x00004000; clusterName_ = other.clusterName_; onChanged(); } if (managedFieldsBuilder_ == null) { if (!other.managedFields_.isEmpty()) { if (managedFields_.isEmpty()) { managedFields_ = other.managedFields_; bitField0_ = (bitField0_ & ~0x00008000); } else { ensureManagedFieldsIsMutable(); managedFields_.addAll(other.managedFields_); } onChanged(); } } else { if (!other.managedFields_.isEmpty()) { if (managedFieldsBuilder_.isEmpty()) { managedFieldsBuilder_.dispose(); managedFieldsBuilder_ = null; managedFields_ = other.managedFields_; bitField0_ = (bitField0_ & ~0x00008000); managedFieldsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getManagedFieldsFieldBuilder() : null; } else { managedFieldsBuilder_.addAllMessages(other.managedFields_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.ObjectMeta parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.ObjectMeta) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * * *
       * Name must be unique within a namespace. Is required when creating resources, although
       * some resources may allow a client to request the generation of an appropriate name
       * automatically. Name is primarily intended for creation idempotence and configuration
       * definition.
       * Cannot be updated.
       * More info: https://kubernetes.io/docs/user-guide/identifiers#names
       * +optional
       * 
* * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
       * Name must be unique within a namespace. Is required when creating resources, although
       * some resources may allow a client to request the generation of an appropriate name
       * automatically. Name is primarily intended for creation idempotence and configuration
       * definition.
       * Cannot be updated.
       * More info: https://kubernetes.io/docs/user-guide/identifiers#names
       * +optional
       * 
* * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * Name must be unique within a namespace. Is required when creating resources, although
       * some resources may allow a client to request the generation of an appropriate name
       * automatically. Name is primarily intended for creation idempotence and configuration
       * definition.
       * Cannot be updated.
       * More info: https://kubernetes.io/docs/user-guide/identifiers#names
       * +optional
       * 
* * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * Name must be unique within a namespace. Is required when creating resources, although
       * some resources may allow a client to request the generation of an appropriate name
       * automatically. Name is primarily intended for creation idempotence and configuration
       * definition.
       * Cannot be updated.
       * More info: https://kubernetes.io/docs/user-guide/identifiers#names
       * +optional
       * 
* * optional string name = 1; */ public Builder setName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * * *
       * Name must be unique within a namespace. Is required when creating resources, although
       * some resources may allow a client to request the generation of an appropriate name
       * automatically. Name is primarily intended for creation idempotence and configuration
       * definition.
       * Cannot be updated.
       * More info: https://kubernetes.io/docs/user-guide/identifiers#names
       * +optional
       * 
* * optional string name = 1; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * * *
       * Name must be unique within a namespace. Is required when creating resources, although
       * some resources may allow a client to request the generation of an appropriate name
       * automatically. Name is primarily intended for creation idempotence and configuration
       * definition.
       * Cannot be updated.
       * More info: https://kubernetes.io/docs/user-guide/identifiers#names
       * +optional
       * 
* * optional string name = 1; */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object generateName_ = ""; /** * * *
       * GenerateName is an optional prefix, used by the server, to generate a unique
       * name ONLY IF the Name field has not been provided.
       * If this field is used, the name returned to the client will be different
       * than the name passed. This value will also be combined with a unique suffix.
       * The provided value has the same validation rules as the Name field,
       * and may be truncated by the length of the suffix required to make the value
       * unique on the server.
       * If this field is specified and the generated name exists, the server will
       * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
       * ServerTimeout indicating a unique name could not be found in the time allotted, and the client
       * should retry (optionally after the time indicated in the Retry-After header).
       * Applied only if Name is not specified.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
       * +optional
       * 
* * optional string generateName = 2; */ public boolean hasGenerateName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
       * GenerateName is an optional prefix, used by the server, to generate a unique
       * name ONLY IF the Name field has not been provided.
       * If this field is used, the name returned to the client will be different
       * than the name passed. This value will also be combined with a unique suffix.
       * The provided value has the same validation rules as the Name field,
       * and may be truncated by the length of the suffix required to make the value
       * unique on the server.
       * If this field is specified and the generated name exists, the server will
       * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
       * ServerTimeout indicating a unique name could not be found in the time allotted, and the client
       * should retry (optionally after the time indicated in the Retry-After header).
       * Applied only if Name is not specified.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
       * +optional
       * 
* * optional string generateName = 2; */ public java.lang.String getGenerateName() { java.lang.Object ref = generateName_; 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()) { generateName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * GenerateName is an optional prefix, used by the server, to generate a unique
       * name ONLY IF the Name field has not been provided.
       * If this field is used, the name returned to the client will be different
       * than the name passed. This value will also be combined with a unique suffix.
       * The provided value has the same validation rules as the Name field,
       * and may be truncated by the length of the suffix required to make the value
       * unique on the server.
       * If this field is specified and the generated name exists, the server will
       * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
       * ServerTimeout indicating a unique name could not be found in the time allotted, and the client
       * should retry (optionally after the time indicated in the Retry-After header).
       * Applied only if Name is not specified.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
       * +optional
       * 
* * optional string generateName = 2; */ public com.google.protobuf.ByteString getGenerateNameBytes() { java.lang.Object ref = generateName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); generateName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * GenerateName is an optional prefix, used by the server, to generate a unique
       * name ONLY IF the Name field has not been provided.
       * If this field is used, the name returned to the client will be different
       * than the name passed. This value will also be combined with a unique suffix.
       * The provided value has the same validation rules as the Name field,
       * and may be truncated by the length of the suffix required to make the value
       * unique on the server.
       * If this field is specified and the generated name exists, the server will
       * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
       * ServerTimeout indicating a unique name could not be found in the time allotted, and the client
       * should retry (optionally after the time indicated in the Retry-After header).
       * Applied only if Name is not specified.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
       * +optional
       * 
* * optional string generateName = 2; */ public Builder setGenerateName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; generateName_ = value; onChanged(); return this; } /** * * *
       * GenerateName is an optional prefix, used by the server, to generate a unique
       * name ONLY IF the Name field has not been provided.
       * If this field is used, the name returned to the client will be different
       * than the name passed. This value will also be combined with a unique suffix.
       * The provided value has the same validation rules as the Name field,
       * and may be truncated by the length of the suffix required to make the value
       * unique on the server.
       * If this field is specified and the generated name exists, the server will
       * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
       * ServerTimeout indicating a unique name could not be found in the time allotted, and the client
       * should retry (optionally after the time indicated in the Retry-After header).
       * Applied only if Name is not specified.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
       * +optional
       * 
* * optional string generateName = 2; */ public Builder clearGenerateName() { bitField0_ = (bitField0_ & ~0x00000002); generateName_ = getDefaultInstance().getGenerateName(); onChanged(); return this; } /** * * *
       * GenerateName is an optional prefix, used by the server, to generate a unique
       * name ONLY IF the Name field has not been provided.
       * If this field is used, the name returned to the client will be different
       * than the name passed. This value will also be combined with a unique suffix.
       * The provided value has the same validation rules as the Name field,
       * and may be truncated by the length of the suffix required to make the value
       * unique on the server.
       * If this field is specified and the generated name exists, the server will
       * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
       * ServerTimeout indicating a unique name could not be found in the time allotted, and the client
       * should retry (optionally after the time indicated in the Retry-After header).
       * Applied only if Name is not specified.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
       * +optional
       * 
* * optional string generateName = 2; */ public Builder setGenerateNameBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; generateName_ = value; onChanged(); return this; } private 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/user-guide/namespaces
       * +optional
       * 
* * optional string namespace = 3; */ public boolean hasNamespace() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * * *
       * 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/user-guide/namespaces
       * +optional
       * 
* * optional string namespace = 3; */ public java.lang.String getNamespace() { java.lang.Object ref = namespace_; 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()) { namespace_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * 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/user-guide/namespaces
       * +optional
       * 
* * optional string namespace = 3; */ public com.google.protobuf.ByteString getNamespaceBytes() { java.lang.Object ref = namespace_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); namespace_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * 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/user-guide/namespaces
       * +optional
       * 
* * optional string namespace = 3; */ public Builder setNamespace(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; namespace_ = value; onChanged(); return this; } /** * * *
       * 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/user-guide/namespaces
       * +optional
       * 
* * optional string namespace = 3; */ public Builder clearNamespace() { bitField0_ = (bitField0_ & ~0x00000004); namespace_ = getDefaultInstance().getNamespace(); onChanged(); return this; } /** * * *
       * 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/user-guide/namespaces
       * +optional
       * 
* * optional string namespace = 3; */ public Builder setNamespaceBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; namespace_ = value; onChanged(); return this; } private java.lang.Object selfLink_ = ""; /** * * *
       * SelfLink is a URL representing this object.
       * Populated by the system.
       * Read-only.
       * DEPRECATED
       * Kubernetes will stop propagating this field in 1.20 release and the field is planned
       * to be removed in 1.21 release.
       * +optional
       * 
* * optional string selfLink = 4; */ public boolean hasSelfLink() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * * *
       * SelfLink is a URL representing this object.
       * Populated by the system.
       * Read-only.
       * DEPRECATED
       * Kubernetes will stop propagating this field in 1.20 release and the field is planned
       * to be removed in 1.21 release.
       * +optional
       * 
* * optional string selfLink = 4; */ public java.lang.String getSelfLink() { java.lang.Object ref = selfLink_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { selfLink_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * SelfLink is a URL representing this object.
       * Populated by the system.
       * Read-only.
       * DEPRECATED
       * Kubernetes will stop propagating this field in 1.20 release and the field is planned
       * to be removed in 1.21 release.
       * +optional
       * 
* * optional string selfLink = 4; */ public com.google.protobuf.ByteString getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); selfLink_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * SelfLink is a URL representing this object.
       * Populated by the system.
       * Read-only.
       * DEPRECATED
       * Kubernetes will stop propagating this field in 1.20 release and the field is planned
       * to be removed in 1.21 release.
       * +optional
       * 
* * optional string selfLink = 4; */ public Builder setSelfLink(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; selfLink_ = value; onChanged(); return this; } /** * * *
       * SelfLink is a URL representing this object.
       * Populated by the system.
       * Read-only.
       * DEPRECATED
       * Kubernetes will stop propagating this field in 1.20 release and the field is planned
       * to be removed in 1.21 release.
       * +optional
       * 
* * optional string selfLink = 4; */ public Builder clearSelfLink() { bitField0_ = (bitField0_ & ~0x00000008); selfLink_ = getDefaultInstance().getSelfLink(); onChanged(); return this; } /** * * *
       * SelfLink is a URL representing this object.
       * Populated by the system.
       * Read-only.
       * DEPRECATED
       * Kubernetes will stop propagating this field in 1.20 release and the field is planned
       * to be removed in 1.21 release.
       * +optional
       * 
* * optional string selfLink = 4; */ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; selfLink_ = value; onChanged(); return this; } private 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/user-guide/identifiers#uids
       * +optional
       * 
* * optional string uid = 5; */ public boolean hasUid() { 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/user-guide/identifiers#uids
       * +optional
       * 
* * optional string uid = 5; */ public java.lang.String getUid() { java.lang.Object ref = uid_; 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()) { uid_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * 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/user-guide/identifiers#uids
       * +optional
       * 
* * optional string uid = 5; */ public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * 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/user-guide/identifiers#uids
       * +optional
       * 
* * optional string uid = 5; */ public Builder setUid(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; uid_ = value; onChanged(); return this; } /** * * *
       * 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/user-guide/identifiers#uids
       * +optional
       * 
* * optional string uid = 5; */ public Builder clearUid() { bitField0_ = (bitField0_ & ~0x00000010); uid_ = getDefaultInstance().getUid(); onChanged(); return this; } /** * * *
       * 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/user-guide/identifiers#uids
       * +optional
       * 
* * optional string uid = 5; */ public Builder setUidBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; uid_ = value; onChanged(); return this; } private java.lang.Object resourceVersion_ = ""; /** * * *
       * An opaque value that represents the internal version of this object that can
       * be used by clients to determine when objects have changed. May be used for optimistic
       * concurrency, change detection, and the watch operation on a resource or set of resources.
       * Clients must treat these values as opaque and passed unmodified back to the server.
       * They may only be valid for a particular resource or set of resources.
       * Populated by the system.
       * Read-only.
       * Value must be treated as opaque by clients and .
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
       * +optional
       * 
* * optional string resourceVersion = 6; */ public boolean hasResourceVersion() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * * *
       * An opaque value that represents the internal version of this object that can
       * be used by clients to determine when objects have changed. May be used for optimistic
       * concurrency, change detection, and the watch operation on a resource or set of resources.
       * Clients must treat these values as opaque and passed unmodified back to the server.
       * They may only be valid for a particular resource or set of resources.
       * Populated by the system.
       * Read-only.
       * Value must be treated as opaque by clients and .
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
       * +optional
       * 
* * optional string resourceVersion = 6; */ public java.lang.String getResourceVersion() { java.lang.Object ref = resourceVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { resourceVersion_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * An opaque value that represents the internal version of this object that can
       * be used by clients to determine when objects have changed. May be used for optimistic
       * concurrency, change detection, and the watch operation on a resource or set of resources.
       * Clients must treat these values as opaque and passed unmodified back to the server.
       * They may only be valid for a particular resource or set of resources.
       * Populated by the system.
       * Read-only.
       * Value must be treated as opaque by clients and .
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
       * +optional
       * 
* * optional string resourceVersion = 6; */ public com.google.protobuf.ByteString getResourceVersionBytes() { java.lang.Object ref = resourceVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * An opaque value that represents the internal version of this object that can
       * be used by clients to determine when objects have changed. May be used for optimistic
       * concurrency, change detection, and the watch operation on a resource or set of resources.
       * Clients must treat these values as opaque and passed unmodified back to the server.
       * They may only be valid for a particular resource or set of resources.
       * Populated by the system.
       * Read-only.
       * Value must be treated as opaque by clients and .
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
       * +optional
       * 
* * optional string resourceVersion = 6; */ public Builder setResourceVersion(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; resourceVersion_ = value; onChanged(); return this; } /** * * *
       * An opaque value that represents the internal version of this object that can
       * be used by clients to determine when objects have changed. May be used for optimistic
       * concurrency, change detection, and the watch operation on a resource or set of resources.
       * Clients must treat these values as opaque and passed unmodified back to the server.
       * They may only be valid for a particular resource or set of resources.
       * Populated by the system.
       * Read-only.
       * Value must be treated as opaque by clients and .
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
       * +optional
       * 
* * optional string resourceVersion = 6; */ public Builder clearResourceVersion() { bitField0_ = (bitField0_ & ~0x00000020); resourceVersion_ = getDefaultInstance().getResourceVersion(); onChanged(); return this; } /** * * *
       * An opaque value that represents the internal version of this object that can
       * be used by clients to determine when objects have changed. May be used for optimistic
       * concurrency, change detection, and the watch operation on a resource or set of resources.
       * Clients must treat these values as opaque and passed unmodified back to the server.
       * They may only be valid for a particular resource or set of resources.
       * Populated by the system.
       * Read-only.
       * Value must be treated as opaque by clients and .
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
       * +optional
       * 
* * optional string resourceVersion = 6; */ public Builder setResourceVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; resourceVersion_ = value; onChanged(); return this; } private long generation_; /** * * *
       * A sequence number representing a specific generation of the desired state.
       * Populated by the system. Read-only.
       * +optional
       * 
* * optional int64 generation = 7; */ public boolean hasGeneration() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * * *
       * A sequence number representing a specific generation of the desired state.
       * Populated by the system. Read-only.
       * +optional
       * 
* * optional int64 generation = 7; */ public long getGeneration() { return generation_; } /** * * *
       * A sequence number representing a specific generation of the desired state.
       * Populated by the system. Read-only.
       * +optional
       * 
* * optional int64 generation = 7; */ public Builder setGeneration(long value) { bitField0_ |= 0x00000040; generation_ = value; onChanged(); return this; } /** * * *
       * A sequence number representing a specific generation of the desired state.
       * Populated by the system. Read-only.
       * +optional
       * 
* * optional int64 generation = 7; */ public Builder clearGeneration() { bitField0_ = (bitField0_ & ~0x00000040); generation_ = 0L; onChanged(); return this; } 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.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8; */ public boolean hasCreationTimestamp() { 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.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8; */ public io.kubernetes.client.proto.Meta.Time getCreationTimestamp() { if (creationTimestampBuilder_ == null) { return creationTimestamp_ == null ? io.kubernetes.client.proto.Meta.Time.getDefaultInstance() : creationTimestamp_; } else { return creationTimestampBuilder_.getMessage(); } } /** * * *
       * CreationTimestamp is a timestamp representing the server time when this object was
       * created. It is not guaranteed to be set in happens-before order across separate operations.
       * Clients may not set this value. It is represented in RFC3339 form and is in UTC.
       * Populated by the system.
       * Read-only.
       * Null for lists.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8; */ public Builder setCreationTimestamp(io.kubernetes.client.proto.Meta.Time value) { if (creationTimestampBuilder_ == null) { if (value == null) { throw new NullPointerException(); } creationTimestamp_ = value; onChanged(); } else { creationTimestampBuilder_.setMessage(value); } bitField0_ |= 0x00000080; return this; } /** * * *
       * CreationTimestamp is a timestamp representing the server time when this object was
       * created. It is not guaranteed to be set in happens-before order across separate operations.
       * Clients may not set this value. It is represented in RFC3339 form and is in UTC.
       * Populated by the system.
       * Read-only.
       * Null for lists.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8; */ 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; return this; } /** * * *
       * CreationTimestamp is a timestamp representing the server time when this object was
       * created. It is not guaranteed to be set in happens-before order across separate operations.
       * Clients may not set this value. It is represented in RFC3339 form and is in UTC.
       * Populated by the system.
       * Read-only.
       * Null for lists.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8; */ public Builder mergeCreationTimestamp(io.kubernetes.client.proto.Meta.Time value) { if (creationTimestampBuilder_ == null) { 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); } bitField0_ |= 0x00000080; return this; } /** * * *
       * CreationTimestamp is a timestamp representing the server time when this object was
       * created. It is not guaranteed to be set in happens-before order across separate operations.
       * Clients may not set this value. It is represented in RFC3339 form and is in UTC.
       * Populated by the system.
       * Read-only.
       * Null for lists.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8; */ public Builder clearCreationTimestamp() { if (creationTimestampBuilder_ == null) { creationTimestamp_ = null; onChanged(); } else { creationTimestampBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); return this; } /** * * *
       * CreationTimestamp is a timestamp representing the server time when this object was
       * created. It is not guaranteed to be set in happens-before order across separate operations.
       * Clients may not set this value. It is represented in RFC3339 form and is in UTC.
       * Populated by the system.
       * Read-only.
       * Null for lists.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8; */ public io.kubernetes.client.proto.Meta.Time.Builder getCreationTimestampBuilder() { bitField0_ |= 0x00000080; onChanged(); return getCreationTimestampFieldBuilder().getBuilder(); } /** * * *
       * CreationTimestamp is a timestamp representing the server time when this object was
       * created. It is not guaranteed to be set in happens-before order across separate operations.
       * Clients may not set this value. It is represented in RFC3339 form and is in UTC.
       * Populated by the system.
       * Read-only.
       * Null for lists.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8; */ public io.kubernetes.client.proto.Meta.TimeOrBuilder getCreationTimestampOrBuilder() { if (creationTimestampBuilder_ != null) { return creationTimestampBuilder_.getMessageOrBuilder(); } else { return creationTimestamp_ == null ? io.kubernetes.client.proto.Meta.Time.getDefaultInstance() : creationTimestamp_; } } /** * * *
       * CreationTimestamp is a timestamp representing the server time when this object was
       * created. It is not guaranteed to be set in happens-before order across separate operations.
       * Clients may not set this value. It is represented in RFC3339 form and is in UTC.
       * Populated by the system.
       * Read-only.
       * Null for lists.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8; */ 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.SingleFieldBuilderV3< io.kubernetes.client.proto.Meta.Time, io.kubernetes.client.proto.Meta.Time.Builder, io.kubernetes.client.proto.Meta.TimeOrBuilder>( getCreationTimestamp(), getParentForChildren(), isClean()); creationTimestamp_ = null; } return creationTimestampBuilder_; } 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_; /** * * *
       * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
       * field is set by the server when a graceful deletion is requested by the user, and is not
       * directly settable by a client. The resource is expected to be deleted (no longer visible
       * from resource lists, and not reachable by name) after the time in this field, once the
       * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
       * Once the deletionTimestamp is set, this value may not be unset or be set further into the
       * future, although it may be shortened or the resource may be deleted prior to this time.
       * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
       * by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
       * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
       * remove the pod from the API. In the presence of network partitions, this object may still
       * exist after this timestamp, until an administrator or automated process can determine the
       * resource is fully terminated.
       * If not set, graceful deletion of the object has not been requested.
       * Populated by the system when a graceful deletion is requested.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ public boolean hasDeletionTimestamp() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * * *
       * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
       * field is set by the server when a graceful deletion is requested by the user, and is not
       * directly settable by a client. The resource is expected to be deleted (no longer visible
       * from resource lists, and not reachable by name) after the time in this field, once the
       * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
       * Once the deletionTimestamp is set, this value may not be unset or be set further into the
       * future, although it may be shortened or the resource may be deleted prior to this time.
       * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
       * by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
       * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
       * remove the pod from the API. In the presence of network partitions, this object may still
       * exist after this timestamp, until an administrator or automated process can determine the
       * resource is fully terminated.
       * If not set, graceful deletion of the object has not been requested.
       * Populated by the system when a graceful deletion is requested.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ public io.kubernetes.client.proto.Meta.Time getDeletionTimestamp() { if (deletionTimestampBuilder_ == null) { return deletionTimestamp_ == null ? io.kubernetes.client.proto.Meta.Time.getDefaultInstance() : deletionTimestamp_; } else { return deletionTimestampBuilder_.getMessage(); } } /** * * *
       * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
       * field is set by the server when a graceful deletion is requested by the user, and is not
       * directly settable by a client. The resource is expected to be deleted (no longer visible
       * from resource lists, and not reachable by name) after the time in this field, once the
       * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
       * Once the deletionTimestamp is set, this value may not be unset or be set further into the
       * future, although it may be shortened or the resource may be deleted prior to this time.
       * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
       * by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
       * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
       * remove the pod from the API. In the presence of network partitions, this object may still
       * exist after this timestamp, until an administrator or automated process can determine the
       * resource is fully terminated.
       * If not set, graceful deletion of the object has not been requested.
       * Populated by the system when a graceful deletion is requested.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ public Builder setDeletionTimestamp(io.kubernetes.client.proto.Meta.Time value) { if (deletionTimestampBuilder_ == null) { if (value == null) { throw new NullPointerException(); } deletionTimestamp_ = value; onChanged(); } else { deletionTimestampBuilder_.setMessage(value); } bitField0_ |= 0x00000100; return this; } /** * * *
       * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
       * field is set by the server when a graceful deletion is requested by the user, and is not
       * directly settable by a client. The resource is expected to be deleted (no longer visible
       * from resource lists, and not reachable by name) after the time in this field, once the
       * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
       * Once the deletionTimestamp is set, this value may not be unset or be set further into the
       * future, although it may be shortened or the resource may be deleted prior to this time.
       * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
       * by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
       * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
       * remove the pod from the API. In the presence of network partitions, this object may still
       * exist after this timestamp, until an administrator or automated process can determine the
       * resource is fully terminated.
       * If not set, graceful deletion of the object has not been requested.
       * Populated by the system when a graceful deletion is requested.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ 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; return this; } /** * * *
       * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
       * field is set by the server when a graceful deletion is requested by the user, and is not
       * directly settable by a client. The resource is expected to be deleted (no longer visible
       * from resource lists, and not reachable by name) after the time in this field, once the
       * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
       * Once the deletionTimestamp is set, this value may not be unset or be set further into the
       * future, although it may be shortened or the resource may be deleted prior to this time.
       * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
       * by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
       * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
       * remove the pod from the API. In the presence of network partitions, this object may still
       * exist after this timestamp, until an administrator or automated process can determine the
       * resource is fully terminated.
       * If not set, graceful deletion of the object has not been requested.
       * Populated by the system when a graceful deletion is requested.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ public Builder mergeDeletionTimestamp(io.kubernetes.client.proto.Meta.Time value) { if (deletionTimestampBuilder_ == null) { 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); } bitField0_ |= 0x00000100; return this; } /** * * *
       * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
       * field is set by the server when a graceful deletion is requested by the user, and is not
       * directly settable by a client. The resource is expected to be deleted (no longer visible
       * from resource lists, and not reachable by name) after the time in this field, once the
       * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
       * Once the deletionTimestamp is set, this value may not be unset or be set further into the
       * future, although it may be shortened or the resource may be deleted prior to this time.
       * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
       * by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
       * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
       * remove the pod from the API. In the presence of network partitions, this object may still
       * exist after this timestamp, until an administrator or automated process can determine the
       * resource is fully terminated.
       * If not set, graceful deletion of the object has not been requested.
       * Populated by the system when a graceful deletion is requested.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ public Builder clearDeletionTimestamp() { if (deletionTimestampBuilder_ == null) { deletionTimestamp_ = null; onChanged(); } else { deletionTimestampBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); return this; } /** * * *
       * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
       * field is set by the server when a graceful deletion is requested by the user, and is not
       * directly settable by a client. The resource is expected to be deleted (no longer visible
       * from resource lists, and not reachable by name) after the time in this field, once the
       * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
       * Once the deletionTimestamp is set, this value may not be unset or be set further into the
       * future, although it may be shortened or the resource may be deleted prior to this time.
       * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
       * by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
       * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
       * remove the pod from the API. In the presence of network partitions, this object may still
       * exist after this timestamp, until an administrator or automated process can determine the
       * resource is fully terminated.
       * If not set, graceful deletion of the object has not been requested.
       * Populated by the system when a graceful deletion is requested.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ public io.kubernetes.client.proto.Meta.Time.Builder getDeletionTimestampBuilder() { bitField0_ |= 0x00000100; onChanged(); return getDeletionTimestampFieldBuilder().getBuilder(); } /** * * *
       * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
       * field is set by the server when a graceful deletion is requested by the user, and is not
       * directly settable by a client. The resource is expected to be deleted (no longer visible
       * from resource lists, and not reachable by name) after the time in this field, once the
       * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
       * Once the deletionTimestamp is set, this value may not be unset or be set further into the
       * future, although it may be shortened or the resource may be deleted prior to this time.
       * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
       * by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
       * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
       * remove the pod from the API. In the presence of network partitions, this object may still
       * exist after this timestamp, until an administrator or automated process can determine the
       * resource is fully terminated.
       * If not set, graceful deletion of the object has not been requested.
       * Populated by the system when a graceful deletion is requested.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ public io.kubernetes.client.proto.Meta.TimeOrBuilder getDeletionTimestampOrBuilder() { if (deletionTimestampBuilder_ != null) { return deletionTimestampBuilder_.getMessageOrBuilder(); } else { return deletionTimestamp_ == null ? io.kubernetes.client.proto.Meta.Time.getDefaultInstance() : deletionTimestamp_; } } /** * * *
       * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
       * field is set by the server when a graceful deletion is requested by the user, and is not
       * directly settable by a client. The resource is expected to be deleted (no longer visible
       * from resource lists, and not reachable by name) after the time in this field, once the
       * finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
       * Once the deletionTimestamp is set, this value may not be unset or be set further into the
       * future, although it may be shortened or the resource may be deleted prior to this time.
       * For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
       * by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
       * the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
       * remove the pod from the API. In the presence of network partitions, this object may still
       * exist after this timestamp, until an administrator or automated process can determine the
       * resource is fully terminated.
       * If not set, graceful deletion of the object has not been requested.
       * Populated by the system when a graceful deletion is requested.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ 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.SingleFieldBuilderV3< io.kubernetes.client.proto.Meta.Time, io.kubernetes.client.proto.Meta.Time.Builder, io.kubernetes.client.proto.Meta.TimeOrBuilder>( getDeletionTimestamp(), getParentForChildren(), isClean()); deletionTimestamp_ = null; } return deletionTimestampBuilder_; } private long deletionGracePeriodSeconds_; /** * * *
       * Number of seconds allowed for this object to gracefully terminate before
       * it will be removed from the system. Only set when deletionTimestamp is also set.
       * May only be shortened.
       * Read-only.
       * +optional
       * 
* * optional int64 deletionGracePeriodSeconds = 10; */ public boolean hasDeletionGracePeriodSeconds() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * * *
       * Number of seconds allowed for this object to gracefully terminate before
       * it will be removed from the system. Only set when deletionTimestamp is also set.
       * May only be shortened.
       * Read-only.
       * +optional
       * 
* * optional int64 deletionGracePeriodSeconds = 10; */ public long getDeletionGracePeriodSeconds() { return deletionGracePeriodSeconds_; } /** * * *
       * Number of seconds allowed for this object to gracefully terminate before
       * it will be removed from the system. Only set when deletionTimestamp is also set.
       * May only be shortened.
       * Read-only.
       * +optional
       * 
* * optional int64 deletionGracePeriodSeconds = 10; */ public Builder setDeletionGracePeriodSeconds(long value) { bitField0_ |= 0x00000200; deletionGracePeriodSeconds_ = value; onChanged(); return this; } /** * * *
       * Number of seconds allowed for this object to gracefully terminate before
       * it will be removed from the system. Only set when deletionTimestamp is also set.
       * May only be shortened.
       * Read-only.
       * +optional
       * 
* * optional int64 deletionGracePeriodSeconds = 10; */ public Builder clearDeletionGracePeriodSeconds() { bitField0_ = (bitField0_ & ~0x00000200); deletionGracePeriodSeconds_ = 0L; onChanged(); return this; } private com.google.protobuf.MapField labels_; private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } private com.google.protobuf.MapField internalGetMutableLabels() { onChanged(); ; if (labels_ == null) { labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); } return labels_; } public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** * * *
       * Map of string keys and values that can be used to organize and categorize
       * (scope and select) objects. May match selectors of replication controllers
       * and services.
       * More info: https://kubernetes.io/docs/user-guide/labels
       * +optional
       * 
* * map<string, string> labels = 11; */ public boolean containsLabels(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetLabels().getMap().containsKey(key); } /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** * * *
       * Map of string keys and values that can be used to organize and categorize
       * (scope and select) objects. May match selectors of replication controllers
       * and services.
       * More info: https://kubernetes.io/docs/user-guide/labels
       * +optional
       * 
* * map<string, string> labels = 11; */ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** * * *
       * Map of string keys and values that can be used to organize and categorize
       * (scope and select) objects. May match selectors of replication controllers
       * and services.
       * More info: https://kubernetes.io/docs/user-guide/labels
       * +optional
       * 
* * map<string, string> labels = 11; */ public java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * * *
       * Map of string keys and values that can be used to organize and categorize
       * (scope and select) objects. May match selectors of replication controllers
       * and services.
       * More info: https://kubernetes.io/docs/user-guide/labels
       * +optional
       * 
* * map<string, string> labels = 11; */ public java.lang.String getLabelsOrThrow(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearLabels() { internalGetMutableLabels().getMutableMap().clear(); return this; } /** * * *
       * Map of string keys and values that can be used to organize and categorize
       * (scope and select) objects. May match selectors of replication controllers
       * and services.
       * More info: https://kubernetes.io/docs/user-guide/labels
       * +optional
       * 
* * map<string, string> labels = 11; */ public Builder removeLabels(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableLabels().getMutableMap().remove(key); return this; } /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** * * *
       * Map of string keys and values that can be used to organize and categorize
       * (scope and select) objects. May match selectors of replication controllers
       * and services.
       * More info: https://kubernetes.io/docs/user-guide/labels
       * +optional
       * 
* * map<string, string> labels = 11; */ public Builder putLabels(java.lang.String key, java.lang.String value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableLabels().getMutableMap().put(key, value); return this; } /** * * *
       * Map of string keys and values that can be used to organize and categorize
       * (scope and select) objects. May match selectors of replication controllers
       * and services.
       * More info: https://kubernetes.io/docs/user-guide/labels
       * +optional
       * 
* * map<string, string> labels = 11; */ public Builder putAllLabels(java.util.Map values) { internalGetMutableLabels().getMutableMap().putAll(values); return this; } private com.google.protobuf.MapField annotations_; private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { return com.google.protobuf.MapField.emptyMapField( AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } private com.google.protobuf.MapField internalGetMutableAnnotations() { onChanged(); ; if (annotations_ == null) { annotations_ = com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); } return annotations_; } public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** * * *
       * Annotations is an unstructured key value map stored with a resource that may be
       * set by external tools to store and retrieve arbitrary metadata. They are not
       * queryable and should be preserved when modifying objects.
       * More info: https://kubernetes.io/docs/user-guide/annotations
       * +optional
       * 
* * map<string, string> annotations = 12; */ public boolean containsAnnotations(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetAnnotations().getMap().containsKey(key); } /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** * * *
       * Annotations is an unstructured key value map stored with a resource that may be
       * set by external tools to store and retrieve arbitrary metadata. They are not
       * queryable and should be preserved when modifying objects.
       * More info: https://kubernetes.io/docs/user-guide/annotations
       * +optional
       * 
* * map<string, string> annotations = 12; */ public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** * * *
       * Annotations is an unstructured key value map stored with a resource that may be
       * set by external tools to store and retrieve arbitrary metadata. They are not
       * queryable and should be preserved when modifying objects.
       * More info: https://kubernetes.io/docs/user-guide/annotations
       * +optional
       * 
* * map<string, string> annotations = 12; */ public java.lang.String getAnnotationsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * * *
       * Annotations is an unstructured key value map stored with a resource that may be
       * set by external tools to store and retrieve arbitrary metadata. They are not
       * queryable and should be preserved when modifying objects.
       * More info: https://kubernetes.io/docs/user-guide/annotations
       * +optional
       * 
* * map<string, string> annotations = 12; */ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearAnnotations() { internalGetMutableAnnotations().getMutableMap().clear(); return this; } /** * * *
       * Annotations is an unstructured key value map stored with a resource that may be
       * set by external tools to store and retrieve arbitrary metadata. They are not
       * queryable and should be preserved when modifying objects.
       * More info: https://kubernetes.io/docs/user-guide/annotations
       * +optional
       * 
* * map<string, string> annotations = 12; */ public Builder removeAnnotations(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableAnnotations().getMutableMap().remove(key); return this; } /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableAnnotations() { return internalGetMutableAnnotations().getMutableMap(); } /** * * *
       * Annotations is an unstructured key value map stored with a resource that may be
       * set by external tools to store and retrieve arbitrary metadata. They are not
       * queryable and should be preserved when modifying objects.
       * More info: https://kubernetes.io/docs/user-guide/annotations
       * +optional
       * 
* * map<string, string> annotations = 12; */ public Builder putAnnotations(java.lang.String key, java.lang.String value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableAnnotations().getMutableMap().put(key, value); return this; } /** * * *
       * Annotations is an unstructured key value map stored with a resource that may be
       * set by external tools to store and retrieve arbitrary metadata. They are not
       * queryable and should be preserved when modifying objects.
       * More info: https://kubernetes.io/docs/user-guide/annotations
       * +optional
       * 
* * map<string, string> annotations = 12; */ public Builder putAllAnnotations(java.util.Map values) { internalGetMutableAnnotations().getMutableMap().putAll(values); return this; } private java.util.List ownerReferences_ = java.util.Collections.emptyList(); private void ensureOwnerReferencesIsMutable() { if (!((bitField0_ & 0x00001000) == 0x00001000)) { ownerReferences_ = new java.util.ArrayList( ownerReferences_); bitField0_ |= 0x00001000; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.OwnerReference, io.kubernetes.client.proto.Meta.OwnerReference.Builder, io.kubernetes.client.proto.Meta.OwnerReferenceOrBuilder> ownerReferencesBuilder_; /** * * *
       * List of objects depended by this object. If ALL objects in the list have
       * been deleted, this object will be garbage collected. If this object is managed by a controller,
       * then an entry in this list will point to this controller, with the controller field set to true.
       * There cannot be more than one managing controller.
       * +optional
       * +patchMergeKey=uid
       * +patchStrategy=merge
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; * */ public java.util.List getOwnerReferencesList() { if (ownerReferencesBuilder_ == null) { return java.util.Collections.unmodifiableList(ownerReferences_); } else { return ownerReferencesBuilder_.getMessageList(); } } /** * * *
       * List of objects depended by this object. If ALL objects in the list have
       * been deleted, this object will be garbage collected. If this object is managed by a controller,
       * then an entry in this list will point to this controller, with the controller field set to true.
       * There cannot be more than one managing controller.
       * +optional
       * +patchMergeKey=uid
       * +patchStrategy=merge
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; * */ public int getOwnerReferencesCount() { if (ownerReferencesBuilder_ == null) { return ownerReferences_.size(); } else { return ownerReferencesBuilder_.getCount(); } } /** * * *
       * List of objects depended by this object. If ALL objects in the list have
       * been deleted, this object will be garbage collected. If this object is managed by a controller,
       * then an entry in this list will point to this controller, with the controller field set to true.
       * There cannot be more than one managing controller.
       * +optional
       * +patchMergeKey=uid
       * +patchStrategy=merge
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; * */ public io.kubernetes.client.proto.Meta.OwnerReference getOwnerReferences(int index) { if (ownerReferencesBuilder_ == null) { return ownerReferences_.get(index); } else { return ownerReferencesBuilder_.getMessage(index); } } /** * * *
       * List of objects depended by this object. If ALL objects in the list have
       * been deleted, this object will be garbage collected. If this object is managed by a controller,
       * then an entry in this list will point to this controller, with the controller field set to true.
       * There cannot be more than one managing controller.
       * +optional
       * +patchMergeKey=uid
       * +patchStrategy=merge
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; * */ public Builder setOwnerReferences( int index, io.kubernetes.client.proto.Meta.OwnerReference value) { if (ownerReferencesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOwnerReferencesIsMutable(); ownerReferences_.set(index, value); onChanged(); } else { ownerReferencesBuilder_.setMessage(index, value); } return this; } /** * * *
       * List of objects depended by this object. If ALL objects in the list have
       * been deleted, this object will be garbage collected. If this object is managed by a controller,
       * then an entry in this list will point to this controller, with the controller field set to true.
       * There cannot be more than one managing controller.
       * +optional
       * +patchMergeKey=uid
       * +patchStrategy=merge
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; * */ public Builder setOwnerReferences( int index, io.kubernetes.client.proto.Meta.OwnerReference.Builder builderForValue) { if (ownerReferencesBuilder_ == null) { ensureOwnerReferencesIsMutable(); ownerReferences_.set(index, builderForValue.build()); onChanged(); } else { ownerReferencesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * * *
       * List of objects depended by this object. If ALL objects in the list have
       * been deleted, this object will be garbage collected. If this object is managed by a controller,
       * then an entry in this list will point to this controller, with the controller field set to true.
       * There cannot be more than one managing controller.
       * +optional
       * +patchMergeKey=uid
       * +patchStrategy=merge
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; * */ public Builder addOwnerReferences(io.kubernetes.client.proto.Meta.OwnerReference value) { if (ownerReferencesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOwnerReferencesIsMutable(); ownerReferences_.add(value); onChanged(); } else { ownerReferencesBuilder_.addMessage(value); } return this; } /** * * *
       * List of objects depended by this object. If ALL objects in the list have
       * been deleted, this object will be garbage collected. If this object is managed by a controller,
       * then an entry in this list will point to this controller, with the controller field set to true.
       * There cannot be more than one managing controller.
       * +optional
       * +patchMergeKey=uid
       * +patchStrategy=merge
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; * */ public Builder addOwnerReferences( int index, io.kubernetes.client.proto.Meta.OwnerReference value) { if (ownerReferencesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOwnerReferencesIsMutable(); ownerReferences_.add(index, value); onChanged(); } else { ownerReferencesBuilder_.addMessage(index, value); } return this; } /** * * *
       * List of objects depended by this object. If ALL objects in the list have
       * been deleted, this object will be garbage collected. If this object is managed by a controller,
       * then an entry in this list will point to this controller, with the controller field set to true.
       * There cannot be more than one managing controller.
       * +optional
       * +patchMergeKey=uid
       * +patchStrategy=merge
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; * */ public Builder addOwnerReferences( io.kubernetes.client.proto.Meta.OwnerReference.Builder builderForValue) { if (ownerReferencesBuilder_ == null) { ensureOwnerReferencesIsMutable(); ownerReferences_.add(builderForValue.build()); onChanged(); } else { ownerReferencesBuilder_.addMessage(builderForValue.build()); } return this; } /** * * *
       * List of objects depended by this object. If ALL objects in the list have
       * been deleted, this object will be garbage collected. If this object is managed by a controller,
       * then an entry in this list will point to this controller, with the controller field set to true.
       * There cannot be more than one managing controller.
       * +optional
       * +patchMergeKey=uid
       * +patchStrategy=merge
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; * */ public Builder addOwnerReferences( int index, io.kubernetes.client.proto.Meta.OwnerReference.Builder builderForValue) { if (ownerReferencesBuilder_ == null) { ensureOwnerReferencesIsMutable(); ownerReferences_.add(index, builderForValue.build()); onChanged(); } else { ownerReferencesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * * *
       * List of objects depended by this object. If ALL objects in the list have
       * been deleted, this object will be garbage collected. If this object is managed by a controller,
       * then an entry in this list will point to this controller, with the controller field set to true.
       * There cannot be more than one managing controller.
       * +optional
       * +patchMergeKey=uid
       * +patchStrategy=merge
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; * */ public Builder addAllOwnerReferences( java.lang.Iterable values) { if (ownerReferencesBuilder_ == null) { ensureOwnerReferencesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ownerReferences_); onChanged(); } else { ownerReferencesBuilder_.addAllMessages(values); } return this; } /** * * *
       * List of objects depended by this object. If ALL objects in the list have
       * been deleted, this object will be garbage collected. If this object is managed by a controller,
       * then an entry in this list will point to this controller, with the controller field set to true.
       * There cannot be more than one managing controller.
       * +optional
       * +patchMergeKey=uid
       * +patchStrategy=merge
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; * */ public Builder clearOwnerReferences() { if (ownerReferencesBuilder_ == null) { ownerReferences_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00001000); onChanged(); } else { ownerReferencesBuilder_.clear(); } return this; } /** * * *
       * List of objects depended by this object. If ALL objects in the list have
       * been deleted, this object will be garbage collected. If this object is managed by a controller,
       * then an entry in this list will point to this controller, with the controller field set to true.
       * There cannot be more than one managing controller.
       * +optional
       * +patchMergeKey=uid
       * +patchStrategy=merge
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; * */ public Builder removeOwnerReferences(int index) { if (ownerReferencesBuilder_ == null) { ensureOwnerReferencesIsMutable(); ownerReferences_.remove(index); onChanged(); } else { ownerReferencesBuilder_.remove(index); } return this; } /** * * *
       * List of objects depended by this object. If ALL objects in the list have
       * been deleted, this object will be garbage collected. If this object is managed by a controller,
       * then an entry in this list will point to this controller, with the controller field set to true.
       * There cannot be more than one managing controller.
       * +optional
       * +patchMergeKey=uid
       * +patchStrategy=merge
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; * */ public io.kubernetes.client.proto.Meta.OwnerReference.Builder getOwnerReferencesBuilder( int index) { return getOwnerReferencesFieldBuilder().getBuilder(index); } /** * * *
       * List of objects depended by this object. If ALL objects in the list have
       * been deleted, this object will be garbage collected. If this object is managed by a controller,
       * then an entry in this list will point to this controller, with the controller field set to true.
       * There cannot be more than one managing controller.
       * +optional
       * +patchMergeKey=uid
       * +patchStrategy=merge
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; * */ public io.kubernetes.client.proto.Meta.OwnerReferenceOrBuilder getOwnerReferencesOrBuilder( int index) { if (ownerReferencesBuilder_ == null) { return ownerReferences_.get(index); } else { return ownerReferencesBuilder_.getMessageOrBuilder(index); } } /** * * *
       * List of objects depended by this object. If ALL objects in the list have
       * been deleted, this object will be garbage collected. If this object is managed by a controller,
       * then an entry in this list will point to this controller, with the controller field set to true.
       * There cannot be more than one managing controller.
       * +optional
       * +patchMergeKey=uid
       * +patchStrategy=merge
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; * */ public java.util.List getOwnerReferencesOrBuilderList() { if (ownerReferencesBuilder_ != null) { return ownerReferencesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(ownerReferences_); } } /** * * *
       * List of objects depended by this object. If ALL objects in the list have
       * been deleted, this object will be garbage collected. If this object is managed by a controller,
       * then an entry in this list will point to this controller, with the controller field set to true.
       * There cannot be more than one managing controller.
       * +optional
       * +patchMergeKey=uid
       * +patchStrategy=merge
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; * */ public io.kubernetes.client.proto.Meta.OwnerReference.Builder addOwnerReferencesBuilder() { return getOwnerReferencesFieldBuilder() .addBuilder(io.kubernetes.client.proto.Meta.OwnerReference.getDefaultInstance()); } /** * * *
       * List of objects depended by this object. If ALL objects in the list have
       * been deleted, this object will be garbage collected. If this object is managed by a controller,
       * then an entry in this list will point to this controller, with the controller field set to true.
       * There cannot be more than one managing controller.
       * +optional
       * +patchMergeKey=uid
       * +patchStrategy=merge
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; * */ public io.kubernetes.client.proto.Meta.OwnerReference.Builder addOwnerReferencesBuilder( int index) { return getOwnerReferencesFieldBuilder() .addBuilder(index, io.kubernetes.client.proto.Meta.OwnerReference.getDefaultInstance()); } /** * * *
       * List of objects depended by this object. If ALL objects in the list have
       * been deleted, this object will be garbage collected. If this object is managed by a controller,
       * then an entry in this list will point to this controller, with the controller field set to true.
       * There cannot be more than one managing controller.
       * +optional
       * +patchMergeKey=uid
       * +patchStrategy=merge
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; * */ public java.util.List getOwnerReferencesBuilderList() { return getOwnerReferencesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.OwnerReference, io.kubernetes.client.proto.Meta.OwnerReference.Builder, io.kubernetes.client.proto.Meta.OwnerReferenceOrBuilder> getOwnerReferencesFieldBuilder() { if (ownerReferencesBuilder_ == null) { ownerReferencesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.OwnerReference, io.kubernetes.client.proto.Meta.OwnerReference.Builder, io.kubernetes.client.proto.Meta.OwnerReferenceOrBuilder>( ownerReferences_, ((bitField0_ & 0x00001000) == 0x00001000), getParentForChildren(), isClean()); ownerReferences_ = null; } return ownerReferencesBuilder_; } private com.google.protobuf.LazyStringList finalizers_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureFinalizersIsMutable() { if (!((bitField0_ & 0x00002000) == 0x00002000)) { finalizers_ = new com.google.protobuf.LazyStringArrayList(finalizers_); bitField0_ |= 0x00002000; } } /** * * *
       * Must be empty before the object is deleted from the registry. Each entry
       * is an identifier for the responsible component that will remove the entry
       * from the list. If the deletionTimestamp of the object is non-nil, entries
       * in this list can only be removed.
       * Finalizers may be processed and removed in any order.  Order is NOT enforced
       * because it introduces significant risk of stuck finalizers.
       * finalizers is a shared field, any actor with permission can reorder it.
       * If the finalizer list is processed in order, then this can lead to a situation
       * in which the component responsible for the first finalizer in the list is
       * waiting for a signal (field value, external system, or other) produced by a
       * component responsible for a finalizer later in the list, resulting in a deadlock.
       * Without enforced ordering finalizers are free to order amongst themselves and
       * are not vulnerable to ordering changes in the list.
       * +optional
       * +patchStrategy=merge
       * 
* * repeated string finalizers = 14; */ public com.google.protobuf.ProtocolStringList getFinalizersList() { return finalizers_.getUnmodifiableView(); } /** * * *
       * Must be empty before the object is deleted from the registry. Each entry
       * is an identifier for the responsible component that will remove the entry
       * from the list. If the deletionTimestamp of the object is non-nil, entries
       * in this list can only be removed.
       * Finalizers may be processed and removed in any order.  Order is NOT enforced
       * because it introduces significant risk of stuck finalizers.
       * finalizers is a shared field, any actor with permission can reorder it.
       * If the finalizer list is processed in order, then this can lead to a situation
       * in which the component responsible for the first finalizer in the list is
       * waiting for a signal (field value, external system, or other) produced by a
       * component responsible for a finalizer later in the list, resulting in a deadlock.
       * Without enforced ordering finalizers are free to order amongst themselves and
       * are not vulnerable to ordering changes in the list.
       * +optional
       * +patchStrategy=merge
       * 
* * repeated string finalizers = 14; */ public int getFinalizersCount() { return finalizers_.size(); } /** * * *
       * Must be empty before the object is deleted from the registry. Each entry
       * is an identifier for the responsible component that will remove the entry
       * from the list. If the deletionTimestamp of the object is non-nil, entries
       * in this list can only be removed.
       * Finalizers may be processed and removed in any order.  Order is NOT enforced
       * because it introduces significant risk of stuck finalizers.
       * finalizers is a shared field, any actor with permission can reorder it.
       * If the finalizer list is processed in order, then this can lead to a situation
       * in which the component responsible for the first finalizer in the list is
       * waiting for a signal (field value, external system, or other) produced by a
       * component responsible for a finalizer later in the list, resulting in a deadlock.
       * Without enforced ordering finalizers are free to order amongst themselves and
       * are not vulnerable to ordering changes in the list.
       * +optional
       * +patchStrategy=merge
       * 
* * repeated string finalizers = 14; */ public java.lang.String getFinalizers(int index) { return finalizers_.get(index); } /** * * *
       * Must be empty before the object is deleted from the registry. Each entry
       * is an identifier for the responsible component that will remove the entry
       * from the list. If the deletionTimestamp of the object is non-nil, entries
       * in this list can only be removed.
       * Finalizers may be processed and removed in any order.  Order is NOT enforced
       * because it introduces significant risk of stuck finalizers.
       * finalizers is a shared field, any actor with permission can reorder it.
       * If the finalizer list is processed in order, then this can lead to a situation
       * in which the component responsible for the first finalizer in the list is
       * waiting for a signal (field value, external system, or other) produced by a
       * component responsible for a finalizer later in the list, resulting in a deadlock.
       * Without enforced ordering finalizers are free to order amongst themselves and
       * are not vulnerable to ordering changes in the list.
       * +optional
       * +patchStrategy=merge
       * 
* * repeated string finalizers = 14; */ public com.google.protobuf.ByteString getFinalizersBytes(int index) { return finalizers_.getByteString(index); } /** * * *
       * Must be empty before the object is deleted from the registry. Each entry
       * is an identifier for the responsible component that will remove the entry
       * from the list. If the deletionTimestamp of the object is non-nil, entries
       * in this list can only be removed.
       * Finalizers may be processed and removed in any order.  Order is NOT enforced
       * because it introduces significant risk of stuck finalizers.
       * finalizers is a shared field, any actor with permission can reorder it.
       * If the finalizer list is processed in order, then this can lead to a situation
       * in which the component responsible for the first finalizer in the list is
       * waiting for a signal (field value, external system, or other) produced by a
       * component responsible for a finalizer later in the list, resulting in a deadlock.
       * Without enforced ordering finalizers are free to order amongst themselves and
       * are not vulnerable to ordering changes in the list.
       * +optional
       * +patchStrategy=merge
       * 
* * repeated string finalizers = 14; */ public Builder setFinalizers(int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureFinalizersIsMutable(); finalizers_.set(index, value); onChanged(); return this; } /** * * *
       * Must be empty before the object is deleted from the registry. Each entry
       * is an identifier for the responsible component that will remove the entry
       * from the list. If the deletionTimestamp of the object is non-nil, entries
       * in this list can only be removed.
       * Finalizers may be processed and removed in any order.  Order is NOT enforced
       * because it introduces significant risk of stuck finalizers.
       * finalizers is a shared field, any actor with permission can reorder it.
       * If the finalizer list is processed in order, then this can lead to a situation
       * in which the component responsible for the first finalizer in the list is
       * waiting for a signal (field value, external system, or other) produced by a
       * component responsible for a finalizer later in the list, resulting in a deadlock.
       * Without enforced ordering finalizers are free to order amongst themselves and
       * are not vulnerable to ordering changes in the list.
       * +optional
       * +patchStrategy=merge
       * 
* * repeated string finalizers = 14; */ public Builder addFinalizers(java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureFinalizersIsMutable(); finalizers_.add(value); onChanged(); return this; } /** * * *
       * Must be empty before the object is deleted from the registry. Each entry
       * is an identifier for the responsible component that will remove the entry
       * from the list. If the deletionTimestamp of the object is non-nil, entries
       * in this list can only be removed.
       * Finalizers may be processed and removed in any order.  Order is NOT enforced
       * because it introduces significant risk of stuck finalizers.
       * finalizers is a shared field, any actor with permission can reorder it.
       * If the finalizer list is processed in order, then this can lead to a situation
       * in which the component responsible for the first finalizer in the list is
       * waiting for a signal (field value, external system, or other) produced by a
       * component responsible for a finalizer later in the list, resulting in a deadlock.
       * Without enforced ordering finalizers are free to order amongst themselves and
       * are not vulnerable to ordering changes in the list.
       * +optional
       * +patchStrategy=merge
       * 
* * repeated string finalizers = 14; */ public Builder addAllFinalizers(java.lang.Iterable values) { ensureFinalizersIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, finalizers_); onChanged(); return this; } /** * * *
       * Must be empty before the object is deleted from the registry. Each entry
       * is an identifier for the responsible component that will remove the entry
       * from the list. If the deletionTimestamp of the object is non-nil, entries
       * in this list can only be removed.
       * Finalizers may be processed and removed in any order.  Order is NOT enforced
       * because it introduces significant risk of stuck finalizers.
       * finalizers is a shared field, any actor with permission can reorder it.
       * If the finalizer list is processed in order, then this can lead to a situation
       * in which the component responsible for the first finalizer in the list is
       * waiting for a signal (field value, external system, or other) produced by a
       * component responsible for a finalizer later in the list, resulting in a deadlock.
       * Without enforced ordering finalizers are free to order amongst themselves and
       * are not vulnerable to ordering changes in the list.
       * +optional
       * +patchStrategy=merge
       * 
* * repeated string finalizers = 14; */ public Builder clearFinalizers() { finalizers_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00002000); onChanged(); return this; } /** * * *
       * Must be empty before the object is deleted from the registry. Each entry
       * is an identifier for the responsible component that will remove the entry
       * from the list. If the deletionTimestamp of the object is non-nil, entries
       * in this list can only be removed.
       * Finalizers may be processed and removed in any order.  Order is NOT enforced
       * because it introduces significant risk of stuck finalizers.
       * finalizers is a shared field, any actor with permission can reorder it.
       * If the finalizer list is processed in order, then this can lead to a situation
       * in which the component responsible for the first finalizer in the list is
       * waiting for a signal (field value, external system, or other) produced by a
       * component responsible for a finalizer later in the list, resulting in a deadlock.
       * Without enforced ordering finalizers are free to order amongst themselves and
       * are not vulnerable to ordering changes in the list.
       * +optional
       * +patchStrategy=merge
       * 
* * repeated string finalizers = 14; */ public Builder addFinalizersBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureFinalizersIsMutable(); finalizers_.add(value); onChanged(); return this; } private java.lang.Object clusterName_ = ""; /** * * *
       * The name of the cluster which the object belongs to.
       * This is used to distinguish resources with same name and namespace in different clusters.
       * This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.
       * +optional
       * 
* * optional string clusterName = 15; */ public boolean hasClusterName() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** * * *
       * The name of the cluster which the object belongs to.
       * This is used to distinguish resources with same name and namespace in different clusters.
       * This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.
       * +optional
       * 
* * optional string clusterName = 15; */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; 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()) { clusterName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * The name of the cluster which the object belongs to.
       * This is used to distinguish resources with same name and namespace in different clusters.
       * This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.
       * +optional
       * 
* * optional string clusterName = 15; */ public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * The name of the cluster which the object belongs to.
       * This is used to distinguish resources with same name and namespace in different clusters.
       * This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.
       * +optional
       * 
* * optional string clusterName = 15; */ public Builder setClusterName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00004000; clusterName_ = value; onChanged(); return this; } /** * * *
       * The name of the cluster which the object belongs to.
       * This is used to distinguish resources with same name and namespace in different clusters.
       * This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.
       * +optional
       * 
* * optional string clusterName = 15; */ public Builder clearClusterName() { bitField0_ = (bitField0_ & ~0x00004000); clusterName_ = getDefaultInstance().getClusterName(); onChanged(); return this; } /** * * *
       * The name of the cluster which the object belongs to.
       * This is used to distinguish resources with same name and namespace in different clusters.
       * This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.
       * +optional
       * 
* * optional string clusterName = 15; */ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00004000; clusterName_ = value; onChanged(); return this; } private java.util.List managedFields_ = java.util.Collections.emptyList(); private void ensureManagedFieldsIsMutable() { if (!((bitField0_ & 0x00008000) == 0x00008000)) { managedFields_ = new java.util.ArrayList( managedFields_); bitField0_ |= 0x00008000; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.ManagedFieldsEntry, io.kubernetes.client.proto.Meta.ManagedFieldsEntry.Builder, io.kubernetes.client.proto.Meta.ManagedFieldsEntryOrBuilder> managedFieldsBuilder_; /** * * *
       * ManagedFields maps workflow-id and version to the set of fields
       * that are managed by that workflow. This is mostly for internal
       * housekeeping, and users typically shouldn't need to set or
       * understand this field. A workflow can be the user's name, a
       * 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
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17; * */ public java.util.List getManagedFieldsList() { if (managedFieldsBuilder_ == null) { return java.util.Collections.unmodifiableList(managedFields_); } else { return managedFieldsBuilder_.getMessageList(); } } /** * * *
       * ManagedFields maps workflow-id and version to the set of fields
       * that are managed by that workflow. This is mostly for internal
       * housekeeping, and users typically shouldn't need to set or
       * understand this field. A workflow can be the user's name, a
       * 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
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17; * */ public int getManagedFieldsCount() { if (managedFieldsBuilder_ == null) { return managedFields_.size(); } else { return managedFieldsBuilder_.getCount(); } } /** * * *
       * ManagedFields maps workflow-id and version to the set of fields
       * that are managed by that workflow. This is mostly for internal
       * housekeeping, and users typically shouldn't need to set or
       * understand this field. A workflow can be the user's name, a
       * 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
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17; * */ public io.kubernetes.client.proto.Meta.ManagedFieldsEntry getManagedFields(int index) { if (managedFieldsBuilder_ == null) { return managedFields_.get(index); } else { return managedFieldsBuilder_.getMessage(index); } } /** * * *
       * ManagedFields maps workflow-id and version to the set of fields
       * that are managed by that workflow. This is mostly for internal
       * housekeeping, and users typically shouldn't need to set or
       * understand this field. A workflow can be the user's name, a
       * 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
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17; * */ public Builder setManagedFields( int index, io.kubernetes.client.proto.Meta.ManagedFieldsEntry value) { if (managedFieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureManagedFieldsIsMutable(); managedFields_.set(index, value); onChanged(); } else { managedFieldsBuilder_.setMessage(index, value); } return this; } /** * * *
       * ManagedFields maps workflow-id and version to the set of fields
       * that are managed by that workflow. This is mostly for internal
       * housekeeping, and users typically shouldn't need to set or
       * understand this field. A workflow can be the user's name, a
       * 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
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17; * */ public Builder setManagedFields( int index, io.kubernetes.client.proto.Meta.ManagedFieldsEntry.Builder builderForValue) { if (managedFieldsBuilder_ == null) { ensureManagedFieldsIsMutable(); managedFields_.set(index, builderForValue.build()); onChanged(); } else { managedFieldsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * * *
       * ManagedFields maps workflow-id and version to the set of fields
       * that are managed by that workflow. This is mostly for internal
       * housekeeping, and users typically shouldn't need to set or
       * understand this field. A workflow can be the user's name, a
       * 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
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17; * */ public Builder addManagedFields(io.kubernetes.client.proto.Meta.ManagedFieldsEntry value) { if (managedFieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureManagedFieldsIsMutable(); managedFields_.add(value); onChanged(); } else { managedFieldsBuilder_.addMessage(value); } return this; } /** * * *
       * ManagedFields maps workflow-id and version to the set of fields
       * that are managed by that workflow. This is mostly for internal
       * housekeeping, and users typically shouldn't need to set or
       * understand this field. A workflow can be the user's name, a
       * 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
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17; * */ public Builder addManagedFields( int index, io.kubernetes.client.proto.Meta.ManagedFieldsEntry value) { if (managedFieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureManagedFieldsIsMutable(); managedFields_.add(index, value); onChanged(); } else { managedFieldsBuilder_.addMessage(index, value); } return this; } /** * * *
       * ManagedFields maps workflow-id and version to the set of fields
       * that are managed by that workflow. This is mostly for internal
       * housekeeping, and users typically shouldn't need to set or
       * understand this field. A workflow can be the user's name, a
       * 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
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17; * */ public Builder addManagedFields( io.kubernetes.client.proto.Meta.ManagedFieldsEntry.Builder builderForValue) { if (managedFieldsBuilder_ == null) { ensureManagedFieldsIsMutable(); managedFields_.add(builderForValue.build()); onChanged(); } else { managedFieldsBuilder_.addMessage(builderForValue.build()); } return this; } /** * * *
       * ManagedFields maps workflow-id and version to the set of fields
       * that are managed by that workflow. This is mostly for internal
       * housekeeping, and users typically shouldn't need to set or
       * understand this field. A workflow can be the user's name, a
       * 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
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17; * */ public Builder addManagedFields( int index, io.kubernetes.client.proto.Meta.ManagedFieldsEntry.Builder builderForValue) { if (managedFieldsBuilder_ == null) { ensureManagedFieldsIsMutable(); managedFields_.add(index, builderForValue.build()); onChanged(); } else { managedFieldsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * * *
       * ManagedFields maps workflow-id and version to the set of fields
       * that are managed by that workflow. This is mostly for internal
       * housekeeping, and users typically shouldn't need to set or
       * understand this field. A workflow can be the user's name, a
       * 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
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17; * */ public Builder addAllManagedFields( java.lang.Iterable values) { if (managedFieldsBuilder_ == null) { ensureManagedFieldsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, managedFields_); onChanged(); } else { managedFieldsBuilder_.addAllMessages(values); } return this; } /** * * *
       * ManagedFields maps workflow-id and version to the set of fields
       * that are managed by that workflow. This is mostly for internal
       * housekeeping, and users typically shouldn't need to set or
       * understand this field. A workflow can be the user's name, a
       * 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
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17; * */ public Builder clearManagedFields() { if (managedFieldsBuilder_ == null) { managedFields_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00008000); onChanged(); } else { managedFieldsBuilder_.clear(); } return this; } /** * * *
       * ManagedFields maps workflow-id and version to the set of fields
       * that are managed by that workflow. This is mostly for internal
       * housekeeping, and users typically shouldn't need to set or
       * understand this field. A workflow can be the user's name, a
       * 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
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17; * */ public Builder removeManagedFields(int index) { if (managedFieldsBuilder_ == null) { ensureManagedFieldsIsMutable(); managedFields_.remove(index); onChanged(); } else { managedFieldsBuilder_.remove(index); } return this; } /** * * *
       * ManagedFields maps workflow-id and version to the set of fields
       * that are managed by that workflow. This is mostly for internal
       * housekeeping, and users typically shouldn't need to set or
       * understand this field. A workflow can be the user's name, a
       * 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
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17; * */ public io.kubernetes.client.proto.Meta.ManagedFieldsEntry.Builder getManagedFieldsBuilder( int index) { return getManagedFieldsFieldBuilder().getBuilder(index); } /** * * *
       * ManagedFields maps workflow-id and version to the set of fields
       * that are managed by that workflow. This is mostly for internal
       * housekeeping, and users typically shouldn't need to set or
       * understand this field. A workflow can be the user's name, a
       * 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
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17; * */ public io.kubernetes.client.proto.Meta.ManagedFieldsEntryOrBuilder getManagedFieldsOrBuilder( int index) { if (managedFieldsBuilder_ == null) { return managedFields_.get(index); } else { return managedFieldsBuilder_.getMessageOrBuilder(index); } } /** * * *
       * ManagedFields maps workflow-id and version to the set of fields
       * that are managed by that workflow. This is mostly for internal
       * housekeeping, and users typically shouldn't need to set or
       * understand this field. A workflow can be the user's name, a
       * 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
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17; * */ public java.util.List getManagedFieldsOrBuilderList() { if (managedFieldsBuilder_ != null) { return managedFieldsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(managedFields_); } } /** * * *
       * ManagedFields maps workflow-id and version to the set of fields
       * that are managed by that workflow. This is mostly for internal
       * housekeeping, and users typically shouldn't need to set or
       * understand this field. A workflow can be the user's name, a
       * 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
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17; * */ public io.kubernetes.client.proto.Meta.ManagedFieldsEntry.Builder addManagedFieldsBuilder() { return getManagedFieldsFieldBuilder() .addBuilder(io.kubernetes.client.proto.Meta.ManagedFieldsEntry.getDefaultInstance()); } /** * * *
       * ManagedFields maps workflow-id and version to the set of fields
       * that are managed by that workflow. This is mostly for internal
       * housekeeping, and users typically shouldn't need to set or
       * understand this field. A workflow can be the user's name, a
       * 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
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17; * */ public io.kubernetes.client.proto.Meta.ManagedFieldsEntry.Builder addManagedFieldsBuilder( int index) { return getManagedFieldsFieldBuilder() .addBuilder( index, io.kubernetes.client.proto.Meta.ManagedFieldsEntry.getDefaultInstance()); } /** * * *
       * ManagedFields maps workflow-id and version to the set of fields
       * that are managed by that workflow. This is mostly for internal
       * housekeeping, and users typically shouldn't need to set or
       * understand this field. A workflow can be the user's name, a
       * 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
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry managedFields = 17; * */ public java.util.List getManagedFieldsBuilderList() { return getManagedFieldsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.ManagedFieldsEntry, io.kubernetes.client.proto.Meta.ManagedFieldsEntry.Builder, io.kubernetes.client.proto.Meta.ManagedFieldsEntryOrBuilder> getManagedFieldsFieldBuilder() { if (managedFieldsBuilder_ == null) { managedFieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.ManagedFieldsEntry, io.kubernetes.client.proto.Meta.ManagedFieldsEntry.Builder, io.kubernetes.client.proto.Meta.ManagedFieldsEntryOrBuilder>( managedFields_, ((bitField0_ & 0x00008000) == 0x00008000), getParentForChildren(), isClean()); managedFields_ = null; } return managedFieldsBuilder_; } @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.ObjectMeta) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta) private static final io.kubernetes.client.proto.Meta.ObjectMeta DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.ObjectMeta(); } public static io.kubernetes.client.proto.Meta.ObjectMeta getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ObjectMeta parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ObjectMeta(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.ObjectMeta getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OwnerReferenceOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference) com.google.protobuf.MessageOrBuilder { /** * * *
     * API version of the referent.
     * 
* * optional string apiVersion = 5; */ boolean hasApiVersion(); /** * * *
     * API version of the referent.
     * 
* * optional string apiVersion = 5; */ java.lang.String getApiVersion(); /** * * *
     * API version of the referent.
     * 
* * optional string apiVersion = 5; */ com.google.protobuf.ByteString getApiVersionBytes(); /** * * *
     * Kind of the referent.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * 
* * optional string kind = 1; */ boolean hasKind(); /** * * *
     * Kind of the referent.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * 
* * optional string kind = 1; */ java.lang.String getKind(); /** * * *
     * Kind of the referent.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * 
* * optional string kind = 1; */ com.google.protobuf.ByteString getKindBytes(); /** * * *
     * Name of the referent.
     * More info: https://kubernetes.io/docs/user-guide/identifiers#names
     * 
* * optional string name = 3; */ boolean hasName(); /** * * *
     * Name of the referent.
     * More info: https://kubernetes.io/docs/user-guide/identifiers#names
     * 
* * optional string name = 3; */ java.lang.String getName(); /** * * *
     * Name of the referent.
     * More info: https://kubernetes.io/docs/user-guide/identifiers#names
     * 
* * optional string name = 3; */ com.google.protobuf.ByteString getNameBytes(); /** * * *
     * UID of the referent.
     * More info: https://kubernetes.io/docs/user-guide/identifiers#uids
     * 
* * optional string uid = 4; */ boolean hasUid(); /** * * *
     * UID of the referent.
     * More info: https://kubernetes.io/docs/user-guide/identifiers#uids
     * 
* * optional string uid = 4; */ java.lang.String getUid(); /** * * *
     * UID of the referent.
     * More info: https://kubernetes.io/docs/user-guide/identifiers#uids
     * 
* * optional string uid = 4; */ com.google.protobuf.ByteString getUidBytes(); /** * * *
     * If true, this reference points to the managing controller.
     * +optional
     * 
* * optional bool controller = 6; */ boolean hasController(); /** * * *
     * If true, this reference points to the managing controller.
     * +optional
     * 
* * optional bool controller = 6; */ boolean getController(); /** * * *
     * If true, AND if the owner has the "foregroundDeletion" finalizer, then
     * the owner cannot be deleted from the key-value store until this
     * reference is removed.
     * Defaults to false.
     * To set this field, a user needs "delete" permission of the owner,
     * otherwise 422 (Unprocessable Entity) will be returned.
     * +optional
     * 
* * optional bool blockOwnerDeletion = 7; */ boolean hasBlockOwnerDeletion(); /** * * *
     * If true, AND if the owner has the "foregroundDeletion" finalizer, then
     * the owner cannot be deleted from the key-value store until this
     * reference is removed.
     * Defaults to false.
     * To set this field, a user needs "delete" permission of the owner,
     * otherwise 422 (Unprocessable Entity) will be returned.
     * +optional
     * 
* * optional bool blockOwnerDeletion = 7; */ boolean getBlockOwnerDeletion(); } /** * * *
   * OwnerReference contains enough information to let you identify an owning
   * object. An owning object must be in the same namespace as the dependent, or
   * be cluster-scoped, so there is no namespace field.
   * +structType=atomic
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference} */ 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; // Use OwnerReference.newBuilder() to construct. private OwnerReference(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private OwnerReference() { apiVersion_ = ""; 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_OwnerReference_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.OwnerReference.class, io.kubernetes.client.proto.Meta.OwnerReference.Builder.class); } private int bitField0_; public static final int APIVERSION_FIELD_NUMBER = 5; private volatile java.lang.Object apiVersion_; /** * * *
     * API version of the referent.
     * 
* * optional string apiVersion = 5; */ public boolean hasApiVersion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
     * API version of the referent.
     * 
* * optional string apiVersion = 5; */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; 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()) { apiVersion_ = s; } return s; } } /** * * *
     * API version of the referent.
     * 
* * optional string apiVersion = 5; */ public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int KIND_FIELD_NUMBER = 1; private volatile java.lang.Object kind_; /** * * *
     * Kind of the referent.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * 
* * optional string kind = 1; */ public boolean hasKind() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
     * Kind of the referent.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * 
* * optional string kind = 1; */ public java.lang.String getKind() { java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { kind_ = s; } return s; } } /** * * *
     * Kind of the referent.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * 
* * optional string kind = 1; */ public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kind_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** * * *
     * Name of the referent.
     * More info: https://kubernetes.io/docs/user-guide/identifiers#names
     * 
* * optional string name = 3; */ public boolean hasName() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * * *
     * Name of the referent.
     * More info: https://kubernetes.io/docs/user-guide/identifiers#names
     * 
* * optional string name = 3; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * * *
     * Name of the referent.
     * More info: https://kubernetes.io/docs/user-guide/identifiers#names
     * 
* * optional string name = 3; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int UID_FIELD_NUMBER = 4; private volatile java.lang.Object uid_; /** * * *
     * UID of the referent.
     * More info: https://kubernetes.io/docs/user-guide/identifiers#uids
     * 
* * optional string uid = 4; */ public boolean hasUid() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * * *
     * UID of the referent.
     * More info: https://kubernetes.io/docs/user-guide/identifiers#uids
     * 
* * optional string uid = 4; */ public java.lang.String getUid() { java.lang.Object ref = uid_; 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()) { uid_ = s; } return s; } } /** * * *
     * UID of the referent.
     * More info: https://kubernetes.io/docs/user-guide/identifiers#uids
     * 
* * optional string uid = 4; */ public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CONTROLLER_FIELD_NUMBER = 6; private boolean controller_; /** * * *
     * If true, this reference points to the managing controller.
     * +optional
     * 
* * optional bool controller = 6; */ public boolean hasController() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * * *
     * If true, this reference points to the managing controller.
     * +optional
     * 
* * optional bool controller = 6; */ public boolean getController() { return controller_; } public static final int BLOCKOWNERDELETION_FIELD_NUMBER = 7; private boolean blockOwnerDeletion_; /** * * *
     * If true, AND if the owner has the "foregroundDeletion" finalizer, then
     * the owner cannot be deleted from the key-value store until this
     * reference is removed.
     * Defaults to false.
     * To set this field, a user needs "delete" permission of the owner,
     * otherwise 422 (Unprocessable Entity) will be returned.
     * +optional
     * 
* * optional bool blockOwnerDeletion = 7; */ public boolean hasBlockOwnerDeletion() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * * *
     * If true, AND if the owner has the "foregroundDeletion" finalizer, then
     * the owner cannot be deleted from the key-value store until this
     * reference is removed.
     * Defaults to false.
     * To set this field, a user needs "delete" permission of the owner,
     * otherwise 422 (Unprocessable Entity) will be returned.
     * +optional
     * 
* * optional bool blockOwnerDeletion = 7; */ public boolean getBlockOwnerDeletion() { return blockOwnerDeletion_; } 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_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kind_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, uid_); } if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, apiVersion_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBool(6, controller_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeBool(7, blockOwnerDeletion_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, kind_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, uid_); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, apiVersion_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, controller_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, blockOwnerDeletion_); } 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.OwnerReference)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.OwnerReference other = (io.kubernetes.client.proto.Meta.OwnerReference) obj; boolean result = true; result = result && (hasApiVersion() == other.hasApiVersion()); if (hasApiVersion()) { result = result && getApiVersion().equals(other.getApiVersion()); } result = result && (hasKind() == other.hasKind()); if (hasKind()) { result = result && getKind().equals(other.getKind()); } result = result && (hasName() == other.hasName()); if (hasName()) { result = result && getName().equals(other.getName()); } result = result && (hasUid() == other.hasUid()); if (hasUid()) { result = result && getUid().equals(other.getUid()); } result = result && (hasController() == other.hasController()); if (hasController()) { result = result && (getController() == other.getController()); } result = result && (hasBlockOwnerDeletion() == other.hasBlockOwnerDeletion()); if (hasBlockOwnerDeletion()) { result = result && (getBlockOwnerDeletion() == other.getBlockOwnerDeletion()); } 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 (hasApiVersion()) { hash = (37 * hash) + APIVERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); } if (hasKind()) { hash = (37 * hash) + KIND_FIELD_NUMBER; hash = (53 * hash) + getKind().hashCode(); } if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasUid()) { hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid().hashCode(); } if (hasController()) { hash = (37 * hash) + CONTROLLER_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getController()); } if (hasBlockOwnerDeletion()) { hash = (37 * hash) + BLOCKOWNERDELETION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBlockOwnerDeletion()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.OwnerReference parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.OwnerReference 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.OwnerReference parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.OwnerReference 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.OwnerReference parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.OwnerReference 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.OwnerReference parseFrom( java.io.InputStream input) throws java.io.IOException { 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.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.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.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.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.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.OwnerReference 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; } /** * * *
     * OwnerReference contains enough information to let you identify an owning
     * object. An owning object must be in the same namespace as the dependent, or
     * be cluster-scoped, so there is no namespace field.
     * +structType=atomic
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference) io.kubernetes.client.proto.Meta.OwnerReferenceOrBuilder { 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_OwnerReference_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.OwnerReference.class, io.kubernetes.client.proto.Meta.OwnerReference.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.OwnerReference.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override public Builder clear() { super.clear(); apiVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000001); kind_ = ""; bitField0_ = (bitField0_ & ~0x00000002); name_ = ""; bitField0_ = (bitField0_ & ~0x00000004); uid_ = ""; bitField0_ = (bitField0_ & ~0x00000008); controller_ = false; bitField0_ = (bitField0_ & ~0x00000010); blockOwnerDeletion_ = false; bitField0_ = (bitField0_ & ~0x00000020); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_OwnerReference_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.OwnerReference getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.OwnerReference.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.OwnerReference build() { io.kubernetes.client.proto.Meta.OwnerReference result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.OwnerReference buildPartial() { io.kubernetes.client.proto.Meta.OwnerReference result = new io.kubernetes.client.proto.Meta.OwnerReference(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.apiVersion_ = apiVersion_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.kind_ = kind_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.name_ = name_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.uid_ = uid_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.controller_ = controller_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.blockOwnerDeletion_ = blockOwnerDeletion_; 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.OwnerReference) { return mergeFrom((io.kubernetes.client.proto.Meta.OwnerReference) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.OwnerReference other) { if (other == io.kubernetes.client.proto.Meta.OwnerReference.getDefaultInstance()) return this; if (other.hasApiVersion()) { bitField0_ |= 0x00000001; apiVersion_ = other.apiVersion_; onChanged(); } if (other.hasKind()) { bitField0_ |= 0x00000002; kind_ = other.kind_; onChanged(); } if (other.hasName()) { bitField0_ |= 0x00000004; name_ = other.name_; onChanged(); } if (other.hasUid()) { bitField0_ |= 0x00000008; uid_ = other.uid_; onChanged(); } if (other.hasController()) { setController(other.getController()); } if (other.hasBlockOwnerDeletion()) { setBlockOwnerDeletion(other.getBlockOwnerDeletion()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.OwnerReference parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.OwnerReference) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object apiVersion_ = ""; /** * * *
       * API version of the referent.
       * 
* * optional string apiVersion = 5; */ public boolean hasApiVersion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
       * API version of the referent.
       * 
* * optional string apiVersion = 5; */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; 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()) { apiVersion_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * API version of the referent.
       * 
* * optional string apiVersion = 5; */ public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * API version of the referent.
       * 
* * optional string apiVersion = 5; */ public Builder setApiVersion(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; apiVersion_ = value; onChanged(); return this; } /** * * *
       * API version of the referent.
       * 
* * optional string apiVersion = 5; */ public Builder clearApiVersion() { bitField0_ = (bitField0_ & ~0x00000001); apiVersion_ = getDefaultInstance().getApiVersion(); onChanged(); return this; } /** * * *
       * API version of the referent.
       * 
* * optional string apiVersion = 5; */ public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; apiVersion_ = value; onChanged(); return this; } private java.lang.Object kind_ = ""; /** * * *
       * Kind of the referent.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * 
* * optional string kind = 1; */ public boolean hasKind() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
       * Kind of the referent.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * 
* * optional string kind = 1; */ public java.lang.String getKind() { java.lang.Object ref = kind_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { kind_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * Kind of the referent.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * 
* * optional string kind = 1; */ public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kind_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * Kind of the referent.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * 
* * optional string kind = 1; */ public Builder setKind(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; kind_ = value; onChanged(); return this; } /** * * *
       * Kind of the referent.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * 
* * optional string kind = 1; */ public Builder clearKind() { bitField0_ = (bitField0_ & ~0x00000002); kind_ = getDefaultInstance().getKind(); onChanged(); return this; } /** * * *
       * Kind of the referent.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * 
* * optional string kind = 1; */ public Builder setKindBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; kind_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** * * *
       * Name of the referent.
       * More info: https://kubernetes.io/docs/user-guide/identifiers#names
       * 
* * optional string name = 3; */ public boolean hasName() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * * *
       * Name of the referent.
       * More info: https://kubernetes.io/docs/user-guide/identifiers#names
       * 
* * optional string name = 3; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * Name of the referent.
       * More info: https://kubernetes.io/docs/user-guide/identifiers#names
       * 
* * optional string name = 3; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * Name of the referent.
       * More info: https://kubernetes.io/docs/user-guide/identifiers#names
       * 
* * optional string name = 3; */ public Builder setName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; name_ = value; onChanged(); return this; } /** * * *
       * Name of the referent.
       * More info: https://kubernetes.io/docs/user-guide/identifiers#names
       * 
* * optional string name = 3; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000004); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * * *
       * Name of the referent.
       * More info: https://kubernetes.io/docs/user-guide/identifiers#names
       * 
* * optional string name = 3; */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; name_ = value; onChanged(); return this; } private java.lang.Object uid_ = ""; /** * * *
       * UID of the referent.
       * More info: https://kubernetes.io/docs/user-guide/identifiers#uids
       * 
* * optional string uid = 4; */ public boolean hasUid() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * * *
       * UID of the referent.
       * More info: https://kubernetes.io/docs/user-guide/identifiers#uids
       * 
* * optional string uid = 4; */ public java.lang.String getUid() { java.lang.Object ref = uid_; 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()) { uid_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * UID of the referent.
       * More info: https://kubernetes.io/docs/user-guide/identifiers#uids
       * 
* * optional string uid = 4; */ public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * UID of the referent.
       * More info: https://kubernetes.io/docs/user-guide/identifiers#uids
       * 
* * optional string uid = 4; */ public Builder setUid(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; uid_ = value; onChanged(); return this; } /** * * *
       * UID of the referent.
       * More info: https://kubernetes.io/docs/user-guide/identifiers#uids
       * 
* * optional string uid = 4; */ public Builder clearUid() { bitField0_ = (bitField0_ & ~0x00000008); uid_ = getDefaultInstance().getUid(); onChanged(); return this; } /** * * *
       * UID of the referent.
       * More info: https://kubernetes.io/docs/user-guide/identifiers#uids
       * 
* * optional string uid = 4; */ public Builder setUidBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; uid_ = value; onChanged(); return this; } private boolean controller_; /** * * *
       * If true, this reference points to the managing controller.
       * +optional
       * 
* * optional bool controller = 6; */ public boolean hasController() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * * *
       * If true, this reference points to the managing controller.
       * +optional
       * 
* * optional bool controller = 6; */ public boolean getController() { return controller_; } /** * * *
       * If true, this reference points to the managing controller.
       * +optional
       * 
* * optional bool controller = 6; */ public Builder setController(boolean value) { bitField0_ |= 0x00000010; controller_ = value; onChanged(); return this; } /** * * *
       * If true, this reference points to the managing controller.
       * +optional
       * 
* * optional bool controller = 6; */ public Builder clearController() { bitField0_ = (bitField0_ & ~0x00000010); controller_ = false; onChanged(); return this; } private boolean blockOwnerDeletion_; /** * * *
       * If true, AND if the owner has the "foregroundDeletion" finalizer, then
       * the owner cannot be deleted from the key-value store until this
       * reference is removed.
       * Defaults to false.
       * To set this field, a user needs "delete" permission of the owner,
       * otherwise 422 (Unprocessable Entity) will be returned.
       * +optional
       * 
* * optional bool blockOwnerDeletion = 7; */ public boolean hasBlockOwnerDeletion() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * * *
       * If true, AND if the owner has the "foregroundDeletion" finalizer, then
       * the owner cannot be deleted from the key-value store until this
       * reference is removed.
       * Defaults to false.
       * To set this field, a user needs "delete" permission of the owner,
       * otherwise 422 (Unprocessable Entity) will be returned.
       * +optional
       * 
* * optional bool blockOwnerDeletion = 7; */ public boolean getBlockOwnerDeletion() { return blockOwnerDeletion_; } /** * * *
       * If true, AND if the owner has the "foregroundDeletion" finalizer, then
       * the owner cannot be deleted from the key-value store until this
       * reference is removed.
       * Defaults to false.
       * To set this field, a user needs "delete" permission of the owner,
       * otherwise 422 (Unprocessable Entity) will be returned.
       * +optional
       * 
* * optional bool blockOwnerDeletion = 7; */ public Builder setBlockOwnerDeletion(boolean value) { bitField0_ |= 0x00000020; blockOwnerDeletion_ = value; onChanged(); return this; } /** * * *
       * If true, AND if the owner has the "foregroundDeletion" finalizer, then
       * the owner cannot be deleted from the key-value store until this
       * reference is removed.
       * Defaults to false.
       * To set this field, a user needs "delete" permission of the owner,
       * otherwise 422 (Unprocessable Entity) will be returned.
       * +optional
       * 
* * optional bool blockOwnerDeletion = 7; */ public Builder clearBlockOwnerDeletion() { bitField0_ = (bitField0_ & ~0x00000020); blockOwnerDeletion_ = 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.OwnerReference) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference) private static final io.kubernetes.client.proto.Meta.OwnerReference DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.OwnerReference(); } public static io.kubernetes.client.proto.Meta.OwnerReference getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public OwnerReference parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new OwnerReference(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.OwnerReference getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PartialObjectMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata) com.google.protobuf.MessageOrBuilder { /** * * *
     * Standard object's metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; */ boolean hasMetadata(); /** * * *
     * Standard object's metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; */ io.kubernetes.client.proto.Meta.ObjectMeta getMetadata(); /** * * *
     * Standard object's metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; */ io.kubernetes.client.proto.Meta.ObjectMetaOrBuilder getMetadataOrBuilder(); } /** * * *
   * PartialObjectMetadata is a generic representation of any object with ObjectMeta. It allows clients
   * to get access to a particular ObjectMeta schema without knowing the details of the version.
   * +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata} */ 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; // Use PartialObjectMetadata.newBuilder() to construct. 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_PartialObjectMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.PartialObjectMetadata.class, io.kubernetes.client.proto.Meta.PartialObjectMetadata.Builder.class); } private int bitField0_; public static final int METADATA_FIELD_NUMBER = 1; private io.kubernetes.client.proto.Meta.ObjectMeta metadata_; /** * * *
     * Standard object's metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; */ public boolean hasMetadata() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
     * Standard object's metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; */ public io.kubernetes.client.proto.Meta.ObjectMeta getMetadata() { return metadata_ == null ? io.kubernetes.client.proto.Meta.ObjectMeta.getDefaultInstance() : metadata_; } /** * * *
     * Standard object's metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; */ public io.kubernetes.client.proto.Meta.ObjectMetaOrBuilder getMetadataOrBuilder() { return metadata_ == null ? io.kubernetes.client.proto.Meta.ObjectMeta.getDefaultInstance() : metadata_; } 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.writeMessage(1, getMetadata()); } 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.computeMessageSize(1, getMetadata()); } 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.PartialObjectMetadata)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.PartialObjectMetadata other = (io.kubernetes.client.proto.Meta.PartialObjectMetadata) obj; boolean result = true; result = result && (hasMetadata() == other.hasMetadata()); if (hasMetadata()) { result = result && getMetadata().equals(other.getMetadata()); } 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 (hasMetadata()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + getMetadata().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.PartialObjectMetadata parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.PartialObjectMetadata 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.PartialObjectMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.PartialObjectMetadata 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.PartialObjectMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.PartialObjectMetadata 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.PartialObjectMetadata parseFrom( java.io.InputStream input) throws java.io.IOException { 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.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.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.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.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.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.PartialObjectMetadata 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; } /** * * *
     * PartialObjectMetadata is a generic representation of any object with ObjectMeta. It allows clients
     * to get access to a particular ObjectMeta schema without knowing the details of the version.
     * +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata) io.kubernetes.client.proto.Meta.PartialObjectMetadataOrBuilder { 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_PartialObjectMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.PartialObjectMetadata.class, io.kubernetes.client.proto.Meta.PartialObjectMetadata.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.PartialObjectMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getMetadataFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (metadataBuilder_ == null) { metadata_ = null; } else { metadataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_PartialObjectMetadata_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.PartialObjectMetadata getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.PartialObjectMetadata.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.PartialObjectMetadata build() { io.kubernetes.client.proto.Meta.PartialObjectMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.PartialObjectMetadata buildPartial() { io.kubernetes.client.proto.Meta.PartialObjectMetadata result = new io.kubernetes.client.proto.Meta.PartialObjectMetadata(this); 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(); } 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.PartialObjectMetadata) { return mergeFrom((io.kubernetes.client.proto.Meta.PartialObjectMetadata) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.PartialObjectMetadata other) { if (other == io.kubernetes.client.proto.Meta.PartialObjectMetadata.getDefaultInstance()) return this; if (other.hasMetadata()) { mergeMetadata(other.getMetadata()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.PartialObjectMetadata parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.PartialObjectMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private io.kubernetes.client.proto.Meta.ObjectMeta metadata_ = null; private com.google.protobuf.SingleFieldBuilderV3< io.kubernetes.client.proto.Meta.ObjectMeta, io.kubernetes.client.proto.Meta.ObjectMeta.Builder, io.kubernetes.client.proto.Meta.ObjectMetaOrBuilder> metadataBuilder_; /** * * *
       * Standard object's metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; */ public boolean hasMetadata() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
       * Standard object's metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; */ public io.kubernetes.client.proto.Meta.ObjectMeta getMetadata() { if (metadataBuilder_ == null) { return metadata_ == null ? io.kubernetes.client.proto.Meta.ObjectMeta.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** * * *
       * Standard object's metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; */ public Builder setMetadata(io.kubernetes.client.proto.Meta.ObjectMeta value) { if (metadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } metadata_ = value; onChanged(); } else { metadataBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * * *
       * Standard object's metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; */ 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; return this; } /** * * *
       * Standard object's metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; */ public Builder mergeMetadata(io.kubernetes.client.proto.Meta.ObjectMeta value) { if (metadataBuilder_ == null) { 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); } bitField0_ |= 0x00000001; return this; } /** * * *
       * Standard object's metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; */ public Builder clearMetadata() { if (metadataBuilder_ == null) { metadata_ = null; onChanged(); } else { metadataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * * *
       * Standard object's metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; */ public io.kubernetes.client.proto.Meta.ObjectMeta.Builder getMetadataBuilder() { bitField0_ |= 0x00000001; onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** * * *
       * Standard object's metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; */ public io.kubernetes.client.proto.Meta.ObjectMetaOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { return metadata_ == null ? io.kubernetes.client.proto.Meta.ObjectMeta.getDefaultInstance() : metadata_; } } /** * * *
       * Standard object's metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; */ 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.SingleFieldBuilderV3< io.kubernetes.client.proto.Meta.ObjectMeta, io.kubernetes.client.proto.Meta.ObjectMeta.Builder, io.kubernetes.client.proto.Meta.ObjectMetaOrBuilder>( getMetadata(), getParentForChildren(), isClean()); metadata_ = null; } 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) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata) private static final io.kubernetes.client.proto.Meta.PartialObjectMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.PartialObjectMetadata(); } public static io.kubernetes.client.proto.Meta.PartialObjectMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PartialObjectMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PartialObjectMetadata(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.PartialObjectMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PartialObjectMetadataListOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadataList) com.google.protobuf.MessageOrBuilder { /** * * *
     * Standard list metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ boolean hasMetadata(); /** * * *
     * Standard list metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ io.kubernetes.client.proto.Meta.ListMeta getMetadata(); /** * * *
     * Standard list metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ io.kubernetes.client.proto.Meta.ListMetaOrBuilder getMetadataOrBuilder(); /** * * *
     * items contains each of the included items.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2; */ java.util.List getItemsList(); /** * * *
     * items contains each of the included items.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2; */ io.kubernetes.client.proto.Meta.PartialObjectMetadata getItems(int index); /** * * *
     * items contains each of the included items.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2; */ int getItemsCount(); /** * * *
     * items contains each of the included items.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2; */ java.util.List getItemsOrBuilderList(); /** * * *
     * items contains each of the included items.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2; */ io.kubernetes.client.proto.Meta.PartialObjectMetadataOrBuilder getItemsOrBuilder(int index); } /** * * *
   * PartialObjectMetadataList contains a list of objects containing only their metadata
   * +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadataList} */ 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; // Use PartialObjectMetadataList.newBuilder() to construct. 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.ArrayList< io.kubernetes.client.proto.Meta.PartialObjectMetadata>(); mutable_bitField0_ |= 0x00000002; } items_.add( input.readMessage( io.kubernetes.client.proto.Meta.PartialObjectMetadata.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)) { items_ = java.util.Collections.unmodifiableList(items_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_PartialObjectMetadataList_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_PartialObjectMetadataList_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.PartialObjectMetadataList.class, io.kubernetes.client.proto.Meta.PartialObjectMetadataList.Builder.class); } private int bitField0_; public static final int METADATA_FIELD_NUMBER = 1; private io.kubernetes.client.proto.Meta.ListMeta metadata_; /** * * *
     * Standard list metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public boolean hasMetadata() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
     * Standard list metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public io.kubernetes.client.proto.Meta.ListMeta getMetadata() { return metadata_ == null ? io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance() : metadata_; } /** * * *
     * Standard list metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public io.kubernetes.client.proto.Meta.ListMetaOrBuilder getMetadataOrBuilder() { return metadata_ == null ? io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance() : metadata_; } public static final int ITEMS_FIELD_NUMBER = 2; private java.util.List items_; /** * * *
     * items contains each of the included items.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2; */ public java.util.List getItemsList() { return items_; } /** * * *
     * items contains each of the included items.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2; */ public java.util.List getItemsOrBuilderList() { return items_; } /** * * *
     * items contains each of the included items.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2; */ public int getItemsCount() { return items_.size(); } /** * * *
     * items contains each of the included items.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2; */ public io.kubernetes.client.proto.Meta.PartialObjectMetadata getItems(int index) { return items_.get(index); } /** * * *
     * items contains each of the included items.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2; */ public io.kubernetes.client.proto.Meta.PartialObjectMetadataOrBuilder getItemsOrBuilder( int index) { return items_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; 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.writeMessage(1, getMetadata()); } for (int i = 0; i < items_.size(); i++) { output.writeMessage(2, items_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMetadata()); } for (int i = 0; i < items_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, items_.get(i)); } 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.PartialObjectMetadataList)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.PartialObjectMetadataList other = (io.kubernetes.client.proto.Meta.PartialObjectMetadataList) obj; boolean result = true; result = result && (hasMetadata() == other.hasMetadata()); if (hasMetadata()) { result = result && getMetadata().equals(other.getMetadata()); } result = result && getItemsList().equals(other.getItemsList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasMetadata()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + getMetadata().hashCode(); } if (getItemsCount() > 0) { hash = (37 * hash) + ITEMS_FIELD_NUMBER; hash = (53 * hash) + getItemsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.PartialObjectMetadataList parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.PartialObjectMetadataList 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.PartialObjectMetadataList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.PartialObjectMetadataList 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.PartialObjectMetadataList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.PartialObjectMetadataList 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.PartialObjectMetadataList parseFrom( java.io.InputStream input) throws java.io.IOException { 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.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.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.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.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.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.PartialObjectMetadataList 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; } /** * * *
     * PartialObjectMetadataList contains a list of objects containing only their metadata
     * +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadataList} */ public static final class Builder extends 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 getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_PartialObjectMetadataList_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_PartialObjectMetadataList_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.PartialObjectMetadataList.class, io.kubernetes.client.proto.Meta.PartialObjectMetadataList.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.PartialObjectMetadataList.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getMetadataFieldBuilder(); getItemsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (metadataBuilder_ == null) { metadata_ = null; } else { metadataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (itemsBuilder_ == null) { items_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { itemsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_PartialObjectMetadataList_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.PartialObjectMetadataList getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.PartialObjectMetadataList.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.PartialObjectMetadataList build() { io.kubernetes.client.proto.Meta.PartialObjectMetadataList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @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); 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) == 0x00000002)) { items_ = java.util.Collections.unmodifiableList(items_); bitField0_ = (bitField0_ & ~0x00000002); } result.items_ = items_; } else { result.items_ = itemsBuilder_.build(); } 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.PartialObjectMetadataList) { return mergeFrom((io.kubernetes.client.proto.Meta.PartialObjectMetadataList) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.PartialObjectMetadataList other) { if (other == io.kubernetes.client.proto.Meta.PartialObjectMetadataList.getDefaultInstance()) return this; if (other.hasMetadata()) { mergeMetadata(other.getMetadata()); } if (itemsBuilder_ == null) { if (!other.items_.isEmpty()) { if (items_.isEmpty()) { items_ = other.items_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureItemsIsMutable(); items_.addAll(other.items_); } onChanged(); } } else { if (!other.items_.isEmpty()) { if (itemsBuilder_.isEmpty()) { itemsBuilder_.dispose(); itemsBuilder_ = null; items_ = other.items_; bitField0_ = (bitField0_ & ~0x00000002); itemsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getItemsFieldBuilder() : null; } else { itemsBuilder_.addAllMessages(other.items_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.PartialObjectMetadataList parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.PartialObjectMetadataList) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; 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_; /** * * *
       * Standard list metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public boolean hasMetadata() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
       * Standard list metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public io.kubernetes.client.proto.Meta.ListMeta getMetadata() { if (metadataBuilder_ == null) { return metadata_ == null ? io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** * * *
       * Standard list metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public Builder setMetadata(io.kubernetes.client.proto.Meta.ListMeta value) { if (metadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } metadata_ = value; onChanged(); } else { metadataBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * * *
       * Standard list metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public Builder setMetadata(io.kubernetes.client.proto.Meta.ListMeta.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); onChanged(); } else { metadataBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * * *
       * Standard list metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public Builder mergeMetadata(io.kubernetes.client.proto.Meta.ListMeta value) { if (metadataBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && metadata_ != null && metadata_ != io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance()) { metadata_ = io.kubernetes.client.proto.Meta.ListMeta.newBuilder(metadata_) .mergeFrom(value) .buildPartial(); } else { metadata_ = value; } onChanged(); } else { metadataBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * * *
       * Standard list metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public Builder clearMetadata() { if (metadataBuilder_ == null) { metadata_ = null; onChanged(); } else { metadataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * * *
       * Standard list metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public io.kubernetes.client.proto.Meta.ListMeta.Builder getMetadataBuilder() { bitField0_ |= 0x00000001; onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** * * *
       * Standard list metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public io.kubernetes.client.proto.Meta.ListMetaOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { return metadata_ == null ? io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance() : metadata_; } } /** * * *
       * Standard list metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.kubernetes.client.proto.Meta.ListMeta, io.kubernetes.client.proto.Meta.ListMeta.Builder, io.kubernetes.client.proto.Meta.ListMetaOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.kubernetes.client.proto.Meta.ListMeta, io.kubernetes.client.proto.Meta.ListMeta.Builder, io.kubernetes.client.proto.Meta.ListMetaOrBuilder>( getMetadata(), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; } private java.util.List items_ = java.util.Collections.emptyList(); private void ensureItemsIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { items_ = new java.util.ArrayList( items_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.PartialObjectMetadata, io.kubernetes.client.proto.Meta.PartialObjectMetadata.Builder, io.kubernetes.client.proto.Meta.PartialObjectMetadataOrBuilder> itemsBuilder_; /** * * *
       * items contains each of the included items.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2; * */ public java.util.List getItemsList() { if (itemsBuilder_ == null) { return java.util.Collections.unmodifiableList(items_); } else { return itemsBuilder_.getMessageList(); } } /** * * *
       * items contains each of the included items.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2; * */ public int getItemsCount() { if (itemsBuilder_ == null) { return items_.size(); } else { return itemsBuilder_.getCount(); } } /** * * *
       * items contains each of the included items.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2; * */ public io.kubernetes.client.proto.Meta.PartialObjectMetadata getItems(int index) { if (itemsBuilder_ == null) { return items_.get(index); } else { return itemsBuilder_.getMessage(index); } } /** * * *
       * items contains each of the included items.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2; * */ public Builder setItems( int index, io.kubernetes.client.proto.Meta.PartialObjectMetadata value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsIsMutable(); items_.set(index, value); onChanged(); } else { itemsBuilder_.setMessage(index, value); } return this; } /** * * *
       * items contains each of the included items.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2; * */ public Builder setItems( int index, io.kubernetes.client.proto.Meta.PartialObjectMetadata.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.set(index, builderForValue.build()); onChanged(); } else { itemsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * * *
       * items contains each of the included items.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2; * */ public Builder addItems(io.kubernetes.client.proto.Meta.PartialObjectMetadata value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsIsMutable(); items_.add(value); onChanged(); } else { itemsBuilder_.addMessage(value); } return this; } /** * * *
       * items contains each of the included items.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2; * */ public Builder addItems( int index, io.kubernetes.client.proto.Meta.PartialObjectMetadata value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsIsMutable(); items_.add(index, value); onChanged(); } else { itemsBuilder_.addMessage(index, value); } return this; } /** * * *
       * items contains each of the included items.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2; * */ public Builder addItems( io.kubernetes.client.proto.Meta.PartialObjectMetadata.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.add(builderForValue.build()); onChanged(); } else { itemsBuilder_.addMessage(builderForValue.build()); } return this; } /** * * *
       * items contains each of the included items.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2; * */ public Builder addItems( int index, io.kubernetes.client.proto.Meta.PartialObjectMetadata.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.add(index, builderForValue.build()); onChanged(); } else { itemsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * * *
       * items contains each of the included items.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2; * */ public Builder addAllItems( java.lang.Iterable values) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, items_); onChanged(); } else { itemsBuilder_.addAllMessages(values); } return this; } /** * * *
       * items contains each of the included items.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2; * */ public Builder clearItems() { if (itemsBuilder_ == null) { items_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { itemsBuilder_.clear(); } return this; } /** * * *
       * items contains each of the included items.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2; * */ public Builder removeItems(int index) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.remove(index); onChanged(); } else { itemsBuilder_.remove(index); } return this; } /** * * *
       * items contains each of the included items.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2; * */ public io.kubernetes.client.proto.Meta.PartialObjectMetadata.Builder getItemsBuilder( int index) { return getItemsFieldBuilder().getBuilder(index); } /** * * *
       * items contains each of the included items.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2; * */ public io.kubernetes.client.proto.Meta.PartialObjectMetadataOrBuilder getItemsOrBuilder( int index) { if (itemsBuilder_ == null) { return items_.get(index); } else { return itemsBuilder_.getMessageOrBuilder(index); } } /** * * *
       * items contains each of the included items.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2; * */ public java.util.List< ? extends io.kubernetes.client.proto.Meta.PartialObjectMetadataOrBuilder> getItemsOrBuilderList() { if (itemsBuilder_ != null) { return itemsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(items_); } } /** * * *
       * items contains each of the included items.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2; * */ public io.kubernetes.client.proto.Meta.PartialObjectMetadata.Builder addItemsBuilder() { return getItemsFieldBuilder() .addBuilder(io.kubernetes.client.proto.Meta.PartialObjectMetadata.getDefaultInstance()); } /** * * *
       * items contains each of the included items.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2; * */ public io.kubernetes.client.proto.Meta.PartialObjectMetadata.Builder addItemsBuilder( int index) { return getItemsFieldBuilder() .addBuilder( index, io.kubernetes.client.proto.Meta.PartialObjectMetadata.getDefaultInstance()); } /** * * *
       * items contains each of the included items.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 2; * */ public java.util.List getItemsBuilderList() { return getItemsFieldBuilder().getBuilderList(); } 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.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.PartialObjectMetadata, io.kubernetes.client.proto.Meta.PartialObjectMetadata.Builder, io.kubernetes.client.proto.Meta.PartialObjectMetadataOrBuilder>( items_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); items_ = null; } return itemsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadataList) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadataList) private static final io.kubernetes.client.proto.Meta.PartialObjectMetadataList DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.PartialObjectMetadataList(); } public static io.kubernetes.client.proto.Meta.PartialObjectMetadataList getDefaultInstance() { return DEFAULT_INSTANCE; } @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 { return new PartialObjectMetadataList(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.PartialObjectMetadataList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PatchOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.Patch) com.google.protobuf.MessageOrBuilder {} /** * * *
   * Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Patch} */ public static final class Patch extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Patch) PatchOrBuilder { private static final long serialVersionUID = 0L; // Use Patch.newBuilder() to construct. private Patch(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Patch() {} @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Patch( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Patch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Patch_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.Patch.class, io.kubernetes.client.proto.Meta.Patch.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.kubernetes.client.proto.Meta.Patch)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.Patch other = (io.kubernetes.client.proto.Meta.Patch) obj; boolean result = true; result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.Patch parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.Patch parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.Patch parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.Patch parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.Patch parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.Patch parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.Patch parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.Patch parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.Patch parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.Patch parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.Patch parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.Patch parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.kubernetes.client.proto.Meta.Patch prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * * *
     * Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Patch} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Patch) io.kubernetes.client.proto.Meta.PatchOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Patch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Patch_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.Patch.class, io.kubernetes.client.proto.Meta.Patch.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.Patch.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Patch_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.Patch getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.Patch.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.Patch build() { io.kubernetes.client.proto.Meta.Patch result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.Patch buildPartial() { io.kubernetes.client.proto.Meta.Patch result = new io.kubernetes.client.proto.Meta.Patch(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.Patch) { return mergeFrom((io.kubernetes.client.proto.Meta.Patch) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.Patch other) { if (other == io.kubernetes.client.proto.Meta.Patch.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.Patch parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.Patch) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Patch) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Patch) private static final io.kubernetes.client.proto.Meta.Patch DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.Patch(); } public static io.kubernetes.client.proto.Meta.Patch getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Patch parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Patch(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.Patch getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PatchOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.PatchOptions) com.google.protobuf.MessageOrBuilder { /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 1; */ java.util.List getDryRunList(); /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 1; */ int getDryRunCount(); /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 1; */ java.lang.String getDryRun(int index); /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 1; */ com.google.protobuf.ByteString getDryRunBytes(int index); /** * * *
     * Force is going to "force" Apply requests. It means user will
     * re-acquire conflicting fields owned by other people. Force
     * flag must be unset for non-apply patch requests.
     * +optional
     * 
* * optional bool force = 2; */ boolean hasForce(); /** * * *
     * Force is going to "force" Apply requests. It means user will
     * re-acquire conflicting fields owned by other people. Force
     * flag must be unset for non-apply patch requests.
     * +optional
     * 
* * optional bool force = 2; */ boolean getForce(); /** * * *
     * fieldManager is a name associated with the actor or entity
     * that is making these changes. The value must be less than or
     * 128 characters long, and only contain printable characters,
     * as defined by https://golang.org/pkg/unicode/#IsPrint. This
     * field is required for apply requests
     * (application/apply-patch) but optional for non-apply patch
     * types (JsonPatch, MergePatch, StrategicMergePatch).
     * +optional
     * 
* * optional string fieldManager = 3; */ boolean hasFieldManager(); /** * * *
     * fieldManager is a name associated with the actor or entity
     * that is making these changes. The value must be less than or
     * 128 characters long, and only contain printable characters,
     * as defined by https://golang.org/pkg/unicode/#IsPrint. This
     * field is required for apply requests
     * (application/apply-patch) but optional for non-apply patch
     * types (JsonPatch, MergePatch, StrategicMergePatch).
     * +optional
     * 
* * optional string fieldManager = 3; */ java.lang.String getFieldManager(); /** * * *
     * fieldManager is a name associated with the actor or entity
     * that is making these changes. The value must be less than or
     * 128 characters long, and only contain printable characters,
     * as defined by https://golang.org/pkg/unicode/#IsPrint. This
     * field is required for apply requests
     * (application/apply-patch) but optional for non-apply patch
     * types (JsonPatch, MergePatch, StrategicMergePatch).
     * +optional
     * 
* * optional string fieldManager = 3; */ com.google.protobuf.ByteString getFieldManagerBytes(); } /** * * *
   * PatchOptions may be provided when patching an API object.
   * PatchOptions is meant to be a superset of UpdateOptions.
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.PatchOptions} */ 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; // Use PatchOptions.newBuilder() to construct. private PatchOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PatchOptions() { dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY; force_ = false; fieldManager_ = ""; } @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; } 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_PatchOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.PatchOptions.class, io.kubernetes.client.proto.Meta.PatchOptions.Builder.class); } private int bitField0_; public static final int DRYRUN_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList dryRun_; /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 1; */ public com.google.protobuf.ProtocolStringList getDryRunList() { return dryRun_; } /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 1; */ public int getDryRunCount() { return dryRun_.size(); } /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 1; */ public java.lang.String getDryRun(int index) { return dryRun_.get(index); } /** * * *
     * When present, indicates that modifications should not be
     * persisted. An invalid or unrecognized dryRun directive will
     * result in an error response and no further processing of the
     * request. Valid values are:
     * - All: all dry run stages will be processed
     * +optional
     * 
* * repeated string dryRun = 1; */ public com.google.protobuf.ByteString getDryRunBytes(int index) { return dryRun_.getByteString(index); } public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** * * *
     * Force is going to "force" Apply requests. It means user will
     * re-acquire conflicting fields owned by other people. Force
     * flag must be unset for non-apply patch requests.
     * +optional
     * 
* * optional bool force = 2; */ public boolean hasForce() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
     * Force is going to "force" Apply requests. It means user will
     * re-acquire conflicting fields owned by other people. Force
     * flag must be unset for non-apply patch requests.
     * +optional
     * 
* * optional bool force = 2; */ public boolean getForce() { return force_; } public static final int FIELDMANAGER_FIELD_NUMBER = 3; private volatile java.lang.Object fieldManager_; /** * * *
     * fieldManager is a name associated with the actor or entity
     * that is making these changes. The value must be less than or
     * 128 characters long, and only contain printable characters,
     * as defined by https://golang.org/pkg/unicode/#IsPrint. This
     * field is required for apply requests
     * (application/apply-patch) but optional for non-apply patch
     * types (JsonPatch, MergePatch, StrategicMergePatch).
     * +optional
     * 
* * optional string fieldManager = 3; */ public boolean hasFieldManager() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
     * fieldManager is a name associated with the actor or entity
     * that is making these changes. The value must be less than or
     * 128 characters long, and only contain printable characters,
     * as defined by https://golang.org/pkg/unicode/#IsPrint. This
     * field is required for apply requests
     * (application/apply-patch) but optional for non-apply patch
     * types (JsonPatch, MergePatch, StrategicMergePatch).
     * +optional
     * 
* * optional string fieldManager = 3; */ public java.lang.String getFieldManager() { java.lang.Object ref = fieldManager_; 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()) { fieldManager_ = s; } return s; } } /** * * *
     * fieldManager is a name associated with the actor or entity
     * that is making these changes. The value must be less than or
     * 128 characters long, and only contain printable characters,
     * as defined by https://golang.org/pkg/unicode/#IsPrint. This
     * field is required for apply requests
     * (application/apply-patch) but optional for non-apply patch
     * types (JsonPatch, MergePatch, StrategicMergePatch).
     * +optional
     * 
* * optional string fieldManager = 3; */ public com.google.protobuf.ByteString getFieldManagerBytes() { java.lang.Object ref = fieldManager_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fieldManager_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < dryRun_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dryRun_.getRaw(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBool(2, force_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, fieldManager_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < dryRun_.size(); i++) { dataSize += computeStringSizeNoTag(dryRun_.getRaw(i)); } size += dataSize; size += 1 * getDryRunList().size(); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, fieldManager_); } 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.PatchOptions)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.PatchOptions other = (io.kubernetes.client.proto.Meta.PatchOptions) obj; boolean result = true; result = result && getDryRunList().equals(other.getDryRunList()); result = result && (hasForce() == other.hasForce()); if (hasForce()) { result = result && (getForce() == other.getForce()); } result = result && (hasFieldManager() == other.hasFieldManager()); if (hasFieldManager()) { result = result && getFieldManager().equals(other.getFieldManager()); } 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 (getDryRunCount() > 0) { hash = (37 * hash) + DRYRUN_FIELD_NUMBER; hash = (53 * hash) + getDryRunList().hashCode(); } if (hasForce()) { hash = (37 * hash) + FORCE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); } if (hasFieldManager()) { hash = (37 * hash) + FIELDMANAGER_FIELD_NUMBER; hash = (53 * hash) + getFieldManager().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.PatchOptions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.PatchOptions 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.PatchOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.PatchOptions 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.PatchOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.PatchOptions 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.PatchOptions parseFrom(java.io.InputStream input) throws java.io.IOException { 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.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.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.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.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.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.PatchOptions 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; } /** * * *
     * PatchOptions may be provided when patching an API object.
     * PatchOptions is meant to be a superset of UpdateOptions.
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.PatchOptions} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.PatchOptions) io.kubernetes.client.proto.Meta.PatchOptionsOrBuilder { 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_PatchOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.PatchOptions.class, io.kubernetes.client.proto.Meta.PatchOptions.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.PatchOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override public Builder clear() { super.clear(); dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); force_ = false; bitField0_ = (bitField0_ & ~0x00000002); fieldManager_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_PatchOptions_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.PatchOptions getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.PatchOptions.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.PatchOptions build() { io.kubernetes.client.proto.Meta.PatchOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.PatchOptions buildPartial() { io.kubernetes.client.proto.Meta.PatchOptions result = new io.kubernetes.client.proto.Meta.PatchOptions(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { dryRun_ = dryRun_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.dryRun_ = dryRun_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000001; } result.force_ = force_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000002; } result.fieldManager_ = fieldManager_; 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.PatchOptions) { return mergeFrom((io.kubernetes.client.proto.Meta.PatchOptions) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.PatchOptions other) { if (other == io.kubernetes.client.proto.Meta.PatchOptions.getDefaultInstance()) return this; if (!other.dryRun_.isEmpty()) { if (dryRun_.isEmpty()) { dryRun_ = other.dryRun_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDryRunIsMutable(); dryRun_.addAll(other.dryRun_); } onChanged(); } if (other.hasForce()) { setForce(other.getForce()); } if (other.hasFieldManager()) { bitField0_ |= 0x00000004; fieldManager_ = other.fieldManager_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.PatchOptions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.PatchOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.LazyStringList dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDryRunIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { dryRun_ = new com.google.protobuf.LazyStringArrayList(dryRun_); bitField0_ |= 0x00000001; } } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 1; */ public com.google.protobuf.ProtocolStringList getDryRunList() { return dryRun_.getUnmodifiableView(); } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 1; */ public int getDryRunCount() { return dryRun_.size(); } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 1; */ public java.lang.String getDryRun(int index) { return dryRun_.get(index); } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 1; */ public com.google.protobuf.ByteString getDryRunBytes(int index) { return dryRun_.getByteString(index); } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 1; */ public Builder setDryRun(int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDryRunIsMutable(); dryRun_.set(index, value); onChanged(); return this; } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 1; */ public Builder addDryRun(java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDryRunIsMutable(); dryRun_.add(value); onChanged(); return this; } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 1; */ public Builder addAllDryRun(java.lang.Iterable values) { ensureDryRunIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dryRun_); onChanged(); return this; } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 1; */ public Builder clearDryRun() { dryRun_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * * *
       * When present, indicates that modifications should not be
       * persisted. An invalid or unrecognized dryRun directive will
       * result in an error response and no further processing of the
       * request. Valid values are:
       * - All: all dry run stages will be processed
       * +optional
       * 
* * repeated string dryRun = 1; */ public Builder addDryRunBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureDryRunIsMutable(); dryRun_.add(value); onChanged(); return this; } private boolean force_; /** * * *
       * Force is going to "force" Apply requests. It means user will
       * re-acquire conflicting fields owned by other people. Force
       * flag must be unset for non-apply patch requests.
       * +optional
       * 
* * optional bool force = 2; */ public boolean hasForce() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
       * Force is going to "force" Apply requests. It means user will
       * re-acquire conflicting fields owned by other people. Force
       * flag must be unset for non-apply patch requests.
       * +optional
       * 
* * optional bool force = 2; */ public boolean getForce() { return force_; } /** * * *
       * Force is going to "force" Apply requests. It means user will
       * re-acquire conflicting fields owned by other people. Force
       * flag must be unset for non-apply patch requests.
       * +optional
       * 
* * optional bool force = 2; */ public Builder setForce(boolean value) { bitField0_ |= 0x00000002; force_ = value; onChanged(); return this; } /** * * *
       * Force is going to "force" Apply requests. It means user will
       * re-acquire conflicting fields owned by other people. Force
       * flag must be unset for non-apply patch requests.
       * +optional
       * 
* * optional bool force = 2; */ public Builder clearForce() { bitField0_ = (bitField0_ & ~0x00000002); force_ = false; onChanged(); return this; } private java.lang.Object fieldManager_ = ""; /** * * *
       * fieldManager is a name associated with the actor or entity
       * that is making these changes. The value must be less than or
       * 128 characters long, and only contain printable characters,
       * as defined by https://golang.org/pkg/unicode/#IsPrint. This
       * field is required for apply requests
       * (application/apply-patch) but optional for non-apply patch
       * types (JsonPatch, MergePatch, StrategicMergePatch).
       * +optional
       * 
* * optional string fieldManager = 3; */ public boolean hasFieldManager() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * * *
       * fieldManager is a name associated with the actor or entity
       * that is making these changes. The value must be less than or
       * 128 characters long, and only contain printable characters,
       * as defined by https://golang.org/pkg/unicode/#IsPrint. This
       * field is required for apply requests
       * (application/apply-patch) but optional for non-apply patch
       * types (JsonPatch, MergePatch, StrategicMergePatch).
       * +optional
       * 
* * optional string fieldManager = 3; */ public java.lang.String getFieldManager() { java.lang.Object ref = fieldManager_; 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()) { fieldManager_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * fieldManager is a name associated with the actor or entity
       * that is making these changes. The value must be less than or
       * 128 characters long, and only contain printable characters,
       * as defined by https://golang.org/pkg/unicode/#IsPrint. This
       * field is required for apply requests
       * (application/apply-patch) but optional for non-apply patch
       * types (JsonPatch, MergePatch, StrategicMergePatch).
       * +optional
       * 
* * optional string fieldManager = 3; */ public com.google.protobuf.ByteString getFieldManagerBytes() { java.lang.Object ref = fieldManager_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fieldManager_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * fieldManager is a name associated with the actor or entity
       * that is making these changes. The value must be less than or
       * 128 characters long, and only contain printable characters,
       * as defined by https://golang.org/pkg/unicode/#IsPrint. This
       * field is required for apply requests
       * (application/apply-patch) but optional for non-apply patch
       * types (JsonPatch, MergePatch, StrategicMergePatch).
       * +optional
       * 
* * optional string fieldManager = 3; */ public Builder setFieldManager(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; fieldManager_ = value; onChanged(); return this; } /** * * *
       * fieldManager is a name associated with the actor or entity
       * that is making these changes. The value must be less than or
       * 128 characters long, and only contain printable characters,
       * as defined by https://golang.org/pkg/unicode/#IsPrint. This
       * field is required for apply requests
       * (application/apply-patch) but optional for non-apply patch
       * types (JsonPatch, MergePatch, StrategicMergePatch).
       * +optional
       * 
* * optional string fieldManager = 3; */ public Builder clearFieldManager() { bitField0_ = (bitField0_ & ~0x00000004); fieldManager_ = getDefaultInstance().getFieldManager(); onChanged(); return this; } /** * * *
       * fieldManager is a name associated with the actor or entity
       * that is making these changes. The value must be less than or
       * 128 characters long, and only contain printable characters,
       * as defined by https://golang.org/pkg/unicode/#IsPrint. This
       * field is required for apply requests
       * (application/apply-patch) but optional for non-apply patch
       * types (JsonPatch, MergePatch, StrategicMergePatch).
       * +optional
       * 
* * optional string fieldManager = 3; */ public Builder setFieldManagerBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; fieldManager_ = 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.PatchOptions) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.PatchOptions) private static final io.kubernetes.client.proto.Meta.PatchOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.PatchOptions(); } public static io.kubernetes.client.proto.Meta.PatchOptions getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PatchOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PatchOptions(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.PatchOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PreconditionsOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions) com.google.protobuf.MessageOrBuilder { /** * * *
     * Specifies the target UID.
     * +optional
     * 
* * optional string uid = 1; */ boolean hasUid(); /** * * *
     * Specifies the target UID.
     * +optional
     * 
* * optional string uid = 1; */ java.lang.String getUid(); /** * * *
     * Specifies the target UID.
     * +optional
     * 
* * optional string uid = 1; */ com.google.protobuf.ByteString getUidBytes(); /** * * *
     * Specifies the target ResourceVersion
     * +optional
     * 
* * optional string resourceVersion = 2; */ boolean hasResourceVersion(); /** * * *
     * Specifies the target ResourceVersion
     * +optional
     * 
* * optional string resourceVersion = 2; */ java.lang.String getResourceVersion(); /** * * *
     * Specifies the target ResourceVersion
     * +optional
     * 
* * optional string resourceVersion = 2; */ com.google.protobuf.ByteString getResourceVersionBytes(); } /** * * *
   * Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions} */ 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; // Use Preconditions.newBuilder() to construct. private Preconditions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Preconditions() { uid_ = ""; 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Preconditions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.Preconditions.class, io.kubernetes.client.proto.Meta.Preconditions.Builder.class); } private int bitField0_; public static final int UID_FIELD_NUMBER = 1; private volatile java.lang.Object uid_; /** * * *
     * Specifies the target UID.
     * +optional
     * 
* * optional string uid = 1; */ public boolean hasUid() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
     * Specifies the target UID.
     * +optional
     * 
* * optional string uid = 1; */ public java.lang.String getUid() { java.lang.Object ref = uid_; 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()) { uid_ = s; } return s; } } /** * * *
     * Specifies the target UID.
     * +optional
     * 
* * optional string uid = 1; */ public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RESOURCEVERSION_FIELD_NUMBER = 2; private volatile java.lang.Object resourceVersion_; /** * * *
     * Specifies the target ResourceVersion
     * +optional
     * 
* * optional string resourceVersion = 2; */ public boolean hasResourceVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
     * Specifies the target ResourceVersion
     * +optional
     * 
* * optional string resourceVersion = 2; */ public java.lang.String getResourceVersion() { java.lang.Object ref = resourceVersion_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { resourceVersion_ = s; } return s; } } /** * * *
     * Specifies the target ResourceVersion
     * +optional
     * 
* * optional string resourceVersion = 2; */ public com.google.protobuf.ByteString getResourceVersionBytes() { java.lang.Object ref = resourceVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uid_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resourceVersion_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uid_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceVersion_); } 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.Preconditions)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.Preconditions other = (io.kubernetes.client.proto.Meta.Preconditions) obj; boolean result = true; result = result && (hasUid() == other.hasUid()); if (hasUid()) { result = result && getUid().equals(other.getUid()); } result = result && (hasResourceVersion() == other.hasResourceVersion()); if (hasResourceVersion()) { result = result && getResourceVersion().equals(other.getResourceVersion()); } 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 (hasUid()) { hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid().hashCode(); } if (hasResourceVersion()) { hash = (37 * hash) + RESOURCEVERSION_FIELD_NUMBER; hash = (53 * hash) + getResourceVersion().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.Preconditions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.Preconditions 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.Preconditions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.Preconditions 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.Preconditions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.Preconditions 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.Preconditions parseFrom(java.io.InputStream input) throws java.io.IOException { 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.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.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.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.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.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.Preconditions 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; } /** * * *
     * Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions) io.kubernetes.client.proto.Meta.PreconditionsOrBuilder { 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Preconditions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.Preconditions.class, io.kubernetes.client.proto.Meta.Preconditions.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.Preconditions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override public Builder clear() { super.clear(); uid_ = ""; bitField0_ = (bitField0_ & ~0x00000001); resourceVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Preconditions_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.Preconditions getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.Preconditions.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.Preconditions build() { io.kubernetes.client.proto.Meta.Preconditions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.Preconditions buildPartial() { io.kubernetes.client.proto.Meta.Preconditions result = new io.kubernetes.client.proto.Meta.Preconditions(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.uid_ = uid_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.resourceVersion_ = resourceVersion_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.Preconditions) { return mergeFrom((io.kubernetes.client.proto.Meta.Preconditions) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.Preconditions other) { if (other == io.kubernetes.client.proto.Meta.Preconditions.getDefaultInstance()) return this; if (other.hasUid()) { bitField0_ |= 0x00000001; uid_ = other.uid_; onChanged(); } if (other.hasResourceVersion()) { bitField0_ |= 0x00000002; resourceVersion_ = other.resourceVersion_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.Preconditions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.Preconditions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object uid_ = ""; /** * * *
       * Specifies the target UID.
       * +optional
       * 
* * optional string uid = 1; */ public boolean hasUid() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
       * Specifies the target UID.
       * +optional
       * 
* * optional string uid = 1; */ public java.lang.String getUid() { java.lang.Object ref = uid_; 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()) { uid_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * Specifies the target UID.
       * +optional
       * 
* * optional string uid = 1; */ public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * Specifies the target UID.
       * +optional
       * 
* * optional string uid = 1; */ public Builder setUid(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; uid_ = value; onChanged(); return this; } /** * * *
       * Specifies the target UID.
       * +optional
       * 
* * optional string uid = 1; */ public Builder clearUid() { bitField0_ = (bitField0_ & ~0x00000001); uid_ = getDefaultInstance().getUid(); onChanged(); return this; } /** * * *
       * Specifies the target UID.
       * +optional
       * 
* * optional string uid = 1; */ public Builder setUidBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; uid_ = value; onChanged(); return this; } private java.lang.Object resourceVersion_ = ""; /** * * *
       * Specifies the target ResourceVersion
       * +optional
       * 
* * optional string resourceVersion = 2; */ public boolean hasResourceVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
       * Specifies the target ResourceVersion
       * +optional
       * 
* * optional string resourceVersion = 2; */ public java.lang.String getResourceVersion() { java.lang.Object ref = resourceVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { resourceVersion_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * Specifies the target ResourceVersion
       * +optional
       * 
* * optional string resourceVersion = 2; */ public com.google.protobuf.ByteString getResourceVersionBytes() { java.lang.Object ref = resourceVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * Specifies the target ResourceVersion
       * +optional
       * 
* * optional string resourceVersion = 2; */ public Builder setResourceVersion(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; resourceVersion_ = value; onChanged(); return this; } /** * * *
       * Specifies the target ResourceVersion
       * +optional
       * 
* * optional string resourceVersion = 2; */ public Builder clearResourceVersion() { bitField0_ = (bitField0_ & ~0x00000002); resourceVersion_ = getDefaultInstance().getResourceVersion(); onChanged(); return this; } /** * * *
       * Specifies the target ResourceVersion
       * +optional
       * 
* * optional string resourceVersion = 2; */ public Builder setResourceVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; resourceVersion_ = value; onChanged(); return this; } @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) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions) private static final io.kubernetes.client.proto.Meta.Preconditions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.Preconditions(); } public static io.kubernetes.client.proto.Meta.Preconditions getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Preconditions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Preconditions(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.Preconditions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RootPathsOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.RootPaths) com.google.protobuf.MessageOrBuilder { /** * * *
     * paths are the paths available at root.
     * 
* * repeated string paths = 1; */ java.util.List getPathsList(); /** * * *
     * paths are the paths available at root.
     * 
* * repeated string paths = 1; */ int getPathsCount(); /** * * *
     * paths are the paths available at root.
     * 
* * repeated string paths = 1; */ java.lang.String getPaths(int index); /** * * *
     * paths are the paths available at root.
     * 
* * repeated string paths = 1; */ com.google.protobuf.ByteString getPathsBytes(int index); } /** * * *
   * RootPaths lists the paths available at root.
   * For example: "/healthz", "/apis".
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.RootPaths} */ 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; // Use RootPaths.newBuilder() to construct. private RootPaths(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RootPaths() { 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_RootPaths_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.RootPaths.class, io.kubernetes.client.proto.Meta.RootPaths.Builder.class); } public static final int PATHS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList paths_; /** * * *
     * paths are the paths available at root.
     * 
* * repeated string paths = 1; */ public com.google.protobuf.ProtocolStringList getPathsList() { return paths_; } /** * * *
     * paths are the paths available at root.
     * 
* * repeated string paths = 1; */ public int getPathsCount() { return paths_.size(); } /** * * *
     * paths are the paths available at root.
     * 
* * repeated string paths = 1; */ public java.lang.String getPaths(int index) { return paths_.get(index); } /** * * *
     * paths are the paths available at root.
     * 
* * repeated string paths = 1; */ public com.google.protobuf.ByteString getPathsBytes(int index) { return paths_.getByteString(index); } 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 { for (int i = 0; i < paths_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, paths_.getRaw(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < paths_.size(); i++) { dataSize += computeStringSizeNoTag(paths_.getRaw(i)); } size += dataSize; size += 1 * getPathsList().size(); } 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.RootPaths)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.RootPaths other = (io.kubernetes.client.proto.Meta.RootPaths) obj; boolean result = true; result = result && getPathsList().equals(other.getPathsList()); 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 (getPathsCount() > 0) { hash = (37 * hash) + PATHS_FIELD_NUMBER; hash = (53 * hash) + getPathsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.RootPaths parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.RootPaths 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.RootPaths parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.RootPaths 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.RootPaths parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.RootPaths 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.RootPaths parseFrom(java.io.InputStream input) throws java.io.IOException { 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.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.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.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.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.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.RootPaths 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; } /** * * *
     * RootPaths lists the paths available at root.
     * For example: "/healthz", "/apis".
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.RootPaths} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.RootPaths) io.kubernetes.client.proto.Meta.RootPathsOrBuilder { 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_RootPaths_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.RootPaths.class, io.kubernetes.client.proto.Meta.RootPaths.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.RootPaths.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override public Builder clear() { super.clear(); paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_RootPaths_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.RootPaths getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.RootPaths.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.RootPaths build() { io.kubernetes.client.proto.Meta.RootPaths result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.RootPaths buildPartial() { io.kubernetes.client.proto.Meta.RootPaths result = new io.kubernetes.client.proto.Meta.RootPaths(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { paths_ = paths_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.paths_ = paths_; 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.RootPaths) { return mergeFrom((io.kubernetes.client.proto.Meta.RootPaths) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.RootPaths other) { if (other == io.kubernetes.client.proto.Meta.RootPaths.getDefaultInstance()) return this; if (!other.paths_.isEmpty()) { if (paths_.isEmpty()) { paths_ = other.paths_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePathsIsMutable(); paths_.addAll(other.paths_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.RootPaths parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.RootPaths) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.LazyStringList paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePathsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { paths_ = new com.google.protobuf.LazyStringArrayList(paths_); bitField0_ |= 0x00000001; } } /** * * *
       * paths are the paths available at root.
       * 
* * repeated string paths = 1; */ public com.google.protobuf.ProtocolStringList getPathsList() { return paths_.getUnmodifiableView(); } /** * * *
       * paths are the paths available at root.
       * 
* * repeated string paths = 1; */ public int getPathsCount() { return paths_.size(); } /** * * *
       * paths are the paths available at root.
       * 
* * repeated string paths = 1; */ public java.lang.String getPaths(int index) { return paths_.get(index); } /** * * *
       * paths are the paths available at root.
       * 
* * repeated string paths = 1; */ public com.google.protobuf.ByteString getPathsBytes(int index) { return paths_.getByteString(index); } /** * * *
       * paths are the paths available at root.
       * 
* * repeated string paths = 1; */ public Builder setPaths(int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePathsIsMutable(); paths_.set(index, value); onChanged(); return this; } /** * * *
       * paths are the paths available at root.
       * 
* * repeated string paths = 1; */ public Builder addPaths(java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePathsIsMutable(); paths_.add(value); onChanged(); return this; } /** * * *
       * paths are the paths available at root.
       * 
* * repeated string paths = 1; */ public Builder addAllPaths(java.lang.Iterable values) { ensurePathsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, paths_); onChanged(); return this; } /** * * *
       * paths are the paths available at root.
       * 
* * repeated string paths = 1; */ public Builder clearPaths() { paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * * *
       * paths are the paths available at root.
       * 
* * repeated string paths = 1; */ public Builder addPathsBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensurePathsIsMutable(); paths_.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.RootPaths) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.RootPaths) private static final io.kubernetes.client.proto.Meta.RootPaths DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.RootPaths(); } public static io.kubernetes.client.proto.Meta.RootPaths getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RootPaths parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RootPaths(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.RootPaths getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ServerAddressByClientCIDROrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR) com.google.protobuf.MessageOrBuilder { /** * * *
     * The CIDR with which clients can match their IP to figure out the server address that they should use.
     * 
* * optional string clientCIDR = 1; */ boolean hasClientCIDR(); /** * * *
     * The CIDR with which clients can match their IP to figure out the server address that they should use.
     * 
* * optional string clientCIDR = 1; */ java.lang.String getClientCIDR(); /** * * *
     * The CIDR with which clients can match their IP to figure out the server address that they should use.
     * 
* * optional string clientCIDR = 1; */ com.google.protobuf.ByteString getClientCIDRBytes(); /** * * *
     * Address of this server, suitable for a client that matches the above CIDR.
     * This can be a hostname, hostname:port, IP or IP:port.
     * 
* * optional string serverAddress = 2; */ boolean hasServerAddress(); /** * * *
     * Address of this server, suitable for a client that matches the above CIDR.
     * This can be a hostname, hostname:port, IP or IP:port.
     * 
* * optional string serverAddress = 2; */ java.lang.String getServerAddress(); /** * * *
     * Address of this server, suitable for a client that matches the above CIDR.
     * This can be a hostname, hostname:port, IP or IP:port.
     * 
* * optional string serverAddress = 2; */ com.google.protobuf.ByteString getServerAddressBytes(); } /** * * *
   * ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR} */ 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; // Use ServerAddressByClientCIDR.newBuilder() to construct. private ServerAddressByClientCIDR(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ServerAddressByClientCIDR() { clientCIDR_ = ""; 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ServerAddressByClientCIDR_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.class, io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.Builder.class); } private int bitField0_; public static final int CLIENTCIDR_FIELD_NUMBER = 1; 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; */ public boolean hasClientCIDR() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
     * The CIDR with which clients can match their IP to figure out the server address that they should use.
     * 
* * optional string clientCIDR = 1; */ public java.lang.String getClientCIDR() { java.lang.Object ref = clientCIDR_; 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()) { clientCIDR_ = s; } return s; } } /** * * *
     * The CIDR with which clients can match their IP to figure out the server address that they should use.
     * 
* * optional string clientCIDR = 1; */ public com.google.protobuf.ByteString getClientCIDRBytes() { java.lang.Object ref = clientCIDR_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clientCIDR_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SERVERADDRESS_FIELD_NUMBER = 2; private volatile java.lang.Object serverAddress_; /** * * *
     * Address of this server, suitable for a client that matches the above CIDR.
     * This can be a hostname, hostname:port, IP or IP:port.
     * 
* * optional string serverAddress = 2; */ public boolean hasServerAddress() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
     * Address of this server, suitable for a client that matches the above CIDR.
     * This can be a hostname, hostname:port, IP or IP:port.
     * 
* * optional string serverAddress = 2; */ public java.lang.String getServerAddress() { java.lang.Object ref = serverAddress_; 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()) { serverAddress_ = s; } return s; } } /** * * *
     * Address of this server, suitable for a client that matches the above CIDR.
     * This can be a hostname, hostname:port, IP or IP:port.
     * 
* * optional string serverAddress = 2; */ public com.google.protobuf.ByteString getServerAddressBytes() { java.lang.Object ref = serverAddress_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serverAddress_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, clientCIDR_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, serverAddress_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, clientCIDR_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, serverAddress_); } 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.ServerAddressByClientCIDR)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR other = (io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR) obj; boolean result = true; result = result && (hasClientCIDR() == other.hasClientCIDR()); if (hasClientCIDR()) { result = result && getClientCIDR().equals(other.getClientCIDR()); } result = result && (hasServerAddress() == other.hasServerAddress()); if (hasServerAddress()) { result = result && getServerAddress().equals(other.getServerAddress()); } 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 (hasClientCIDR()) { hash = (37 * hash) + CLIENTCIDR_FIELD_NUMBER; hash = (53 * hash) + getClientCIDR().hashCode(); } if (hasServerAddress()) { hash = (37 * hash) + SERVERADDRESS_FIELD_NUMBER; hash = (53 * hash) + getServerAddress().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR 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.ServerAddressByClientCIDR parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR 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.ServerAddressByClientCIDR parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR 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.ServerAddressByClientCIDR parseFrom( java.io.InputStream input) throws java.io.IOException { 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.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.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.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.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.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.ServerAddressByClientCIDR 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; } /** * * *
     * ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR) io.kubernetes.client.proto.Meta.ServerAddressByClientCIDROrBuilder { 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ServerAddressByClientCIDR_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.class, io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override public Builder clear() { super.clear(); clientCIDR_ = ""; bitField0_ = (bitField0_ & ~0x00000001); serverAddress_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ServerAddressByClientCIDR_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR build() { io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR buildPartial() { io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR result = new io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.clientCIDR_ = clientCIDR_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.serverAddress_ = serverAddress_; 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.ServerAddressByClientCIDR) { return mergeFrom((io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR other) { if (other == io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.getDefaultInstance()) return this; if (other.hasClientCIDR()) { bitField0_ |= 0x00000001; clientCIDR_ = other.clientCIDR_; onChanged(); } if (other.hasServerAddress()) { bitField0_ |= 0x00000002; serverAddress_ = other.serverAddress_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private 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; */ public boolean hasClientCIDR() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
       * The CIDR with which clients can match their IP to figure out the server address that they should use.
       * 
* * optional string clientCIDR = 1; */ public java.lang.String getClientCIDR() { java.lang.Object ref = clientCIDR_; 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()) { clientCIDR_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * The CIDR with which clients can match their IP to figure out the server address that they should use.
       * 
* * optional string clientCIDR = 1; */ public com.google.protobuf.ByteString getClientCIDRBytes() { java.lang.Object ref = clientCIDR_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clientCIDR_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * The CIDR with which clients can match their IP to figure out the server address that they should use.
       * 
* * optional string clientCIDR = 1; */ public Builder setClientCIDR(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; clientCIDR_ = value; onChanged(); return this; } /** * * *
       * The CIDR with which clients can match their IP to figure out the server address that they should use.
       * 
* * optional string clientCIDR = 1; */ public Builder clearClientCIDR() { bitField0_ = (bitField0_ & ~0x00000001); clientCIDR_ = getDefaultInstance().getClientCIDR(); onChanged(); return this; } /** * * *
       * The CIDR with which clients can match their IP to figure out the server address that they should use.
       * 
* * optional string clientCIDR = 1; */ public Builder setClientCIDRBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; clientCIDR_ = value; onChanged(); return this; } private java.lang.Object serverAddress_ = ""; /** * * *
       * Address of this server, suitable for a client that matches the above CIDR.
       * This can be a hostname, hostname:port, IP or IP:port.
       * 
* * optional string serverAddress = 2; */ public boolean hasServerAddress() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
       * Address of this server, suitable for a client that matches the above CIDR.
       * This can be a hostname, hostname:port, IP or IP:port.
       * 
* * optional string serverAddress = 2; */ public java.lang.String getServerAddress() { java.lang.Object ref = serverAddress_; 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()) { serverAddress_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * Address of this server, suitable for a client that matches the above CIDR.
       * This can be a hostname, hostname:port, IP or IP:port.
       * 
* * optional string serverAddress = 2; */ public com.google.protobuf.ByteString getServerAddressBytes() { java.lang.Object ref = serverAddress_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serverAddress_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * Address of this server, suitable for a client that matches the above CIDR.
       * This can be a hostname, hostname:port, IP or IP:port.
       * 
* * optional string serverAddress = 2; */ public Builder setServerAddress(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; serverAddress_ = value; onChanged(); return this; } /** * * *
       * Address of this server, suitable for a client that matches the above CIDR.
       * This can be a hostname, hostname:port, IP or IP:port.
       * 
* * optional string serverAddress = 2; */ public Builder clearServerAddress() { bitField0_ = (bitField0_ & ~0x00000002); serverAddress_ = getDefaultInstance().getServerAddress(); onChanged(); return this; } /** * * *
       * Address of this server, suitable for a client that matches the above CIDR.
       * This can be a hostname, hostname:port, IP or IP:port.
       * 
* * optional string serverAddress = 2; */ public Builder setServerAddressBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; serverAddress_ = 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.ServerAddressByClientCIDR) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR) private static final io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR(); } public static io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ServerAddressByClientCIDR parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ServerAddressByClientCIDR(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StatusOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.Status) com.google.protobuf.MessageOrBuilder { /** * * *
     * Standard list metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ boolean hasMetadata(); /** * * *
     * Standard list metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ io.kubernetes.client.proto.Meta.ListMeta getMetadata(); /** * * *
     * Standard list metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ io.kubernetes.client.proto.Meta.ListMetaOrBuilder getMetadataOrBuilder(); /** * * *
     * Status of the operation.
     * One of: "Success" or "Failure".
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
     * +optional
     * 
* * optional string status = 2; */ boolean hasStatus(); /** * * *
     * Status of the operation.
     * One of: "Success" or "Failure".
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
     * +optional
     * 
* * optional string status = 2; */ java.lang.String getStatus(); /** * * *
     * Status of the operation.
     * One of: "Success" or "Failure".
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
     * +optional
     * 
* * optional string status = 2; */ com.google.protobuf.ByteString getStatusBytes(); /** * * *
     * A human-readable description of the status of this operation.
     * +optional
     * 
* * optional string message = 3; */ boolean hasMessage(); /** * * *
     * A human-readable description of the status of this operation.
     * +optional
     * 
* * optional string message = 3; */ java.lang.String getMessage(); /** * * *
     * A human-readable description of the status of this operation.
     * +optional
     * 
* * optional string message = 3; */ com.google.protobuf.ByteString getMessageBytes(); /** * * *
     * A machine-readable description of why this operation is in the
     * "Failure" status. If this value is empty there
     * is no information available. A Reason clarifies an HTTP status
     * code but does not override it.
     * +optional
     * 
* * optional string reason = 4; */ boolean hasReason(); /** * * *
     * A machine-readable description of why this operation is in the
     * "Failure" status. If this value is empty there
     * is no information available. A Reason clarifies an HTTP status
     * code but does not override it.
     * +optional
     * 
* * optional string reason = 4; */ java.lang.String getReason(); /** * * *
     * A machine-readable description of why this operation is in the
     * "Failure" status. If this value is empty there
     * is no information available. A Reason clarifies an HTTP status
     * code but does not override it.
     * +optional
     * 
* * optional string reason = 4; */ com.google.protobuf.ByteString getReasonBytes(); /** * * *
     * Extended data associated with the reason.  Each reason may define its
     * own extended details. This field is optional and the data returned
     * is not guaranteed to conform to any schema except that defined by
     * the reason type.
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5; */ boolean hasDetails(); /** * * *
     * Extended data associated with the reason.  Each reason may define its
     * own extended details. This field is optional and the data returned
     * is not guaranteed to conform to any schema except that defined by
     * the reason type.
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5; */ io.kubernetes.client.proto.Meta.StatusDetails getDetails(); /** * * *
     * Extended data associated with the reason.  Each reason may define its
     * own extended details. This field is optional and the data returned
     * is not guaranteed to conform to any schema except that defined by
     * the reason type.
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5; */ io.kubernetes.client.proto.Meta.StatusDetailsOrBuilder getDetailsOrBuilder(); /** * * *
     * Suggested HTTP return code for this status, 0 if not set.
     * +optional
     * 
* * optional int32 code = 6; */ boolean hasCode(); /** * * *
     * Suggested HTTP return code for this status, 0 if not set.
     * +optional
     * 
* * optional int32 code = 6; */ int getCode(); } /** * * *
   * Status is a return value for calls that don't return other objects.
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Status} */ 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; // Use Status.newBuilder() to construct. 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Status_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.Status.class, io.kubernetes.client.proto.Meta.Status.Builder.class); } private int bitField0_; public static final int METADATA_FIELD_NUMBER = 1; private io.kubernetes.client.proto.Meta.ListMeta metadata_; /** * * *
     * Standard list metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public boolean hasMetadata() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
     * Standard list metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public io.kubernetes.client.proto.Meta.ListMeta getMetadata() { return metadata_ == null ? io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance() : metadata_; } /** * * *
     * Standard list metadata.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ 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; private volatile java.lang.Object status_; /** * * *
     * Status of the operation.
     * One of: "Success" or "Failure".
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
     * +optional
     * 
* * optional string status = 2; */ public boolean hasStatus() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
     * Status of the operation.
     * One of: "Success" or "Failure".
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
     * +optional
     * 
* * optional string status = 2; */ public java.lang.String getStatus() { java.lang.Object ref = status_; 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()) { status_ = s; } return s; } } /** * * *
     * Status of the operation.
     * One of: "Success" or "Failure".
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
     * +optional
     * 
* * optional string status = 2; */ public com.google.protobuf.ByteString getStatusBytes() { java.lang.Object ref = status_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); status_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MESSAGE_FIELD_NUMBER = 3; private volatile java.lang.Object message_; /** * * *
     * A human-readable description of the status of this operation.
     * +optional
     * 
* * optional string message = 3; */ public boolean hasMessage() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * * *
     * A human-readable description of the status of this operation.
     * +optional
     * 
* * optional string message = 3; */ public java.lang.String getMessage() { java.lang.Object ref = message_; 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()) { message_ = s; } return s; } } /** * * *
     * A human-readable description of the status of this operation.
     * +optional
     * 
* * optional string message = 3; */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REASON_FIELD_NUMBER = 4; private volatile java.lang.Object reason_; /** * * *
     * A machine-readable description of why this operation is in the
     * "Failure" status. If this value is empty there
     * is no information available. A Reason clarifies an HTTP status
     * code but does not override it.
     * +optional
     * 
* * optional string reason = 4; */ public boolean hasReason() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * * *
     * A machine-readable description of why this operation is in the
     * "Failure" status. If this value is empty there
     * is no information available. A Reason clarifies an HTTP status
     * code but does not override it.
     * +optional
     * 
* * optional string reason = 4; */ public java.lang.String getReason() { java.lang.Object ref = reason_; 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()) { reason_ = s; } return s; } } /** * * *
     * A machine-readable description of why this operation is in the
     * "Failure" status. If this value is empty there
     * is no information available. A Reason clarifies an HTTP status
     * code but does not override it.
     * +optional
     * 
* * optional string reason = 4; */ public com.google.protobuf.ByteString getReasonBytes() { java.lang.Object ref = reason_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reason_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DETAILS_FIELD_NUMBER = 5; private io.kubernetes.client.proto.Meta.StatusDetails details_; /** * * *
     * Extended data associated with the reason.  Each reason may define its
     * own extended details. This field is optional and the data returned
     * is not guaranteed to conform to any schema except that defined by
     * the reason type.
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5; */ public boolean hasDetails() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * * *
     * Extended data associated with the reason.  Each reason may define its
     * own extended details. This field is optional and the data returned
     * is not guaranteed to conform to any schema except that defined by
     * the reason type.
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5; */ public io.kubernetes.client.proto.Meta.StatusDetails getDetails() { return details_ == null ? io.kubernetes.client.proto.Meta.StatusDetails.getDefaultInstance() : details_; } /** * * *
     * Extended data associated with the reason.  Each reason may define its
     * own extended details. This field is optional and the data returned
     * is not guaranteed to conform to any schema except that defined by
     * the reason type.
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5; */ 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_; /** * * *
     * Suggested HTTP return code for this status, 0 if not set.
     * +optional
     * 
* * optional int32 code = 6; */ public boolean hasCode() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * * *
     * Suggested HTTP return code for this status, 0 if not set.
     * +optional
     * 
* * optional int32 code = 6; */ public int getCode() { return code_; } 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.writeMessage(1, getMetadata()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, status_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, message_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, reason_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(5, getDetails()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeInt32(6, code_); } 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.computeMessageSize(1, getMetadata()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, status_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, message_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, reason_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDetails()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, code_); } 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.Status)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.Status other = (io.kubernetes.client.proto.Meta.Status) obj; boolean result = true; result = result && (hasMetadata() == other.hasMetadata()); if (hasMetadata()) { result = result && getMetadata().equals(other.getMetadata()); } result = result && (hasStatus() == other.hasStatus()); if (hasStatus()) { result = result && getStatus().equals(other.getStatus()); } result = result && (hasMessage() == other.hasMessage()); if (hasMessage()) { result = result && getMessage().equals(other.getMessage()); } result = result && (hasReason() == other.hasReason()); if (hasReason()) { result = result && getReason().equals(other.getReason()); } result = result && (hasDetails() == other.hasDetails()); if (hasDetails()) { result = result && getDetails().equals(other.getDetails()); } result = result && (hasCode() == other.hasCode()); if (hasCode()) { result = result && (getCode() == other.getCode()); } 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 (hasMetadata()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + getMetadata().hashCode(); } if (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } if (hasMessage()) { hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); } if (hasReason()) { hash = (37 * hash) + REASON_FIELD_NUMBER; hash = (53 * hash) + getReason().hashCode(); } if (hasDetails()) { hash = (37 * hash) + DETAILS_FIELD_NUMBER; hash = (53 * hash) + getDetails().hashCode(); } if (hasCode()) { hash = (37 * hash) + CODE_FIELD_NUMBER; hash = (53 * hash) + getCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.Status parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.Status 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.Status parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.Status 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.Status parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.Status 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.Status parseFrom(java.io.InputStream input) throws java.io.IOException { 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.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.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.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.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.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.Status 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; } /** * * *
     * Status is a return value for calls that don't return other objects.
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Status} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Status) io.kubernetes.client.proto.Meta.StatusOrBuilder { 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Status_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.Status.class, io.kubernetes.client.proto.Meta.Status.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.Status.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getMetadataFieldBuilder(); getDetailsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (metadataBuilder_ == null) { metadata_ = null; } else { metadataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); status_ = ""; bitField0_ = (bitField0_ & ~0x00000002); message_ = ""; bitField0_ = (bitField0_ & ~0x00000004); reason_ = ""; bitField0_ = (bitField0_ & ~0x00000008); if (detailsBuilder_ == null) { details_ = null; } else { detailsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); code_ = 0; bitField0_ = (bitField0_ & ~0x00000020); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Status_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.Status getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.Status.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.Status build() { io.kubernetes.client.proto.Meta.Status result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.Status buildPartial() { io.kubernetes.client.proto.Meta.Status result = new io.kubernetes.client.proto.Meta.Status(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (metadataBuilder_ == null) { result.metadata_ = metadata_; } else { result.metadata_ = metadataBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.status_ = status_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.message_ = message_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.reason_ = reason_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } if (detailsBuilder_ == null) { result.details_ = details_; } else { result.details_ = detailsBuilder_.build(); } if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.code_ = code_; 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.Status) { return mergeFrom((io.kubernetes.client.proto.Meta.Status) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.Status other) { if (other == io.kubernetes.client.proto.Meta.Status.getDefaultInstance()) return this; if (other.hasMetadata()) { mergeMetadata(other.getMetadata()); } if (other.hasStatus()) { bitField0_ |= 0x00000002; status_ = other.status_; onChanged(); } if (other.hasMessage()) { bitField0_ |= 0x00000004; message_ = other.message_; onChanged(); } if (other.hasReason()) { bitField0_ |= 0x00000008; reason_ = other.reason_; onChanged(); } if (other.hasDetails()) { mergeDetails(other.getDetails()); } if (other.hasCode()) { setCode(other.getCode()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.Status parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.Status) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; 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_; /** * * *
       * Standard list metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public boolean hasMetadata() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
       * Standard list metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public io.kubernetes.client.proto.Meta.ListMeta getMetadata() { if (metadataBuilder_ == null) { return metadata_ == null ? io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** * * *
       * Standard list metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public Builder setMetadata(io.kubernetes.client.proto.Meta.ListMeta value) { if (metadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } metadata_ = value; onChanged(); } else { metadataBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * * *
       * Standard list metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public Builder setMetadata(io.kubernetes.client.proto.Meta.ListMeta.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); onChanged(); } else { metadataBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * * *
       * Standard list metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public Builder mergeMetadata(io.kubernetes.client.proto.Meta.ListMeta value) { if (metadataBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && metadata_ != null && metadata_ != io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance()) { metadata_ = io.kubernetes.client.proto.Meta.ListMeta.newBuilder(metadata_) .mergeFrom(value) .buildPartial(); } else { metadata_ = value; } onChanged(); } else { metadataBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * * *
       * Standard list metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public Builder clearMetadata() { if (metadataBuilder_ == null) { metadata_ = null; onChanged(); } else { metadataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * * *
       * Standard list metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public io.kubernetes.client.proto.Meta.ListMeta.Builder getMetadataBuilder() { bitField0_ |= 0x00000001; onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** * * *
       * Standard list metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ public io.kubernetes.client.proto.Meta.ListMetaOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { return metadata_ == null ? io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance() : metadata_; } } /** * * *
       * Standard list metadata.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.kubernetes.client.proto.Meta.ListMeta, io.kubernetes.client.proto.Meta.ListMeta.Builder, io.kubernetes.client.proto.Meta.ListMetaOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.kubernetes.client.proto.Meta.ListMeta, io.kubernetes.client.proto.Meta.ListMeta.Builder, io.kubernetes.client.proto.Meta.ListMetaOrBuilder>( getMetadata(), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; } private java.lang.Object status_ = ""; /** * * *
       * Status of the operation.
       * One of: "Success" or "Failure".
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
       * +optional
       * 
* * optional string status = 2; */ public boolean hasStatus() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
       * Status of the operation.
       * One of: "Success" or "Failure".
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
       * +optional
       * 
* * optional string status = 2; */ public java.lang.String getStatus() { java.lang.Object ref = status_; 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()) { status_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * Status of the operation.
       * One of: "Success" or "Failure".
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
       * +optional
       * 
* * optional string status = 2; */ public com.google.protobuf.ByteString getStatusBytes() { java.lang.Object ref = status_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); status_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * Status of the operation.
       * One of: "Success" or "Failure".
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
       * +optional
       * 
* * optional string status = 2; */ public Builder setStatus(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; status_ = value; onChanged(); return this; } /** * * *
       * Status of the operation.
       * One of: "Success" or "Failure".
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
       * +optional
       * 
* * optional string status = 2; */ public Builder clearStatus() { bitField0_ = (bitField0_ & ~0x00000002); status_ = getDefaultInstance().getStatus(); onChanged(); return this; } /** * * *
       * Status of the operation.
       * One of: "Success" or "Failure".
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
       * +optional
       * 
* * optional string status = 2; */ public Builder setStatusBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; status_ = value; onChanged(); return this; } private java.lang.Object message_ = ""; /** * * *
       * A human-readable description of the status of this operation.
       * +optional
       * 
* * optional string message = 3; */ public boolean hasMessage() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * * *
       * A human-readable description of the status of this operation.
       * +optional
       * 
* * optional string message = 3; */ public java.lang.String getMessage() { java.lang.Object ref = message_; 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()) { message_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * A human-readable description of the status of this operation.
       * +optional
       * 
* * optional string message = 3; */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * A human-readable description of the status of this operation.
       * +optional
       * 
* * optional string message = 3; */ public Builder setMessage(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; message_ = value; onChanged(); return this; } /** * * *
       * A human-readable description of the status of this operation.
       * +optional
       * 
* * optional string message = 3; */ public Builder clearMessage() { bitField0_ = (bitField0_ & ~0x00000004); message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * * *
       * A human-readable description of the status of this operation.
       * +optional
       * 
* * optional string message = 3; */ public Builder setMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; message_ = value; onChanged(); return this; } private java.lang.Object reason_ = ""; /** * * *
       * A machine-readable description of why this operation is in the
       * "Failure" status. If this value is empty there
       * is no information available. A Reason clarifies an HTTP status
       * code but does not override it.
       * +optional
       * 
* * optional string reason = 4; */ public boolean hasReason() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * * *
       * A machine-readable description of why this operation is in the
       * "Failure" status. If this value is empty there
       * is no information available. A Reason clarifies an HTTP status
       * code but does not override it.
       * +optional
       * 
* * optional string reason = 4; */ public java.lang.String getReason() { java.lang.Object ref = reason_; 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()) { reason_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * A machine-readable description of why this operation is in the
       * "Failure" status. If this value is empty there
       * is no information available. A Reason clarifies an HTTP status
       * code but does not override it.
       * +optional
       * 
* * optional string reason = 4; */ public com.google.protobuf.ByteString getReasonBytes() { java.lang.Object ref = reason_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reason_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * A machine-readable description of why this operation is in the
       * "Failure" status. If this value is empty there
       * is no information available. A Reason clarifies an HTTP status
       * code but does not override it.
       * +optional
       * 
* * optional string reason = 4; */ public Builder setReason(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; reason_ = value; onChanged(); return this; } /** * * *
       * A machine-readable description of why this operation is in the
       * "Failure" status. If this value is empty there
       * is no information available. A Reason clarifies an HTTP status
       * code but does not override it.
       * +optional
       * 
* * optional string reason = 4; */ public Builder clearReason() { bitField0_ = (bitField0_ & ~0x00000008); reason_ = getDefaultInstance().getReason(); onChanged(); return this; } /** * * *
       * A machine-readable description of why this operation is in the
       * "Failure" status. If this value is empty there
       * is no information available. A Reason clarifies an HTTP status
       * code but does not override it.
       * +optional
       * 
* * optional string reason = 4; */ public Builder setReasonBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; reason_ = value; onChanged(); return this; } 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_; /** * * *
       * Extended data associated with the reason.  Each reason may define its
       * own extended details. This field is optional and the data returned
       * is not guaranteed to conform to any schema except that defined by
       * the reason type.
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5; */ public boolean hasDetails() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * * *
       * Extended data associated with the reason.  Each reason may define its
       * own extended details. This field is optional and the data returned
       * is not guaranteed to conform to any schema except that defined by
       * the reason type.
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5; */ public io.kubernetes.client.proto.Meta.StatusDetails getDetails() { if (detailsBuilder_ == null) { return details_ == null ? io.kubernetes.client.proto.Meta.StatusDetails.getDefaultInstance() : details_; } else { return detailsBuilder_.getMessage(); } } /** * * *
       * Extended data associated with the reason.  Each reason may define its
       * own extended details. This field is optional and the data returned
       * is not guaranteed to conform to any schema except that defined by
       * the reason type.
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5; */ public Builder setDetails(io.kubernetes.client.proto.Meta.StatusDetails value) { if (detailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } details_ = value; onChanged(); } else { detailsBuilder_.setMessage(value); } bitField0_ |= 0x00000010; return this; } /** * * *
       * Extended data associated with the reason.  Each reason may define its
       * own extended details. This field is optional and the data returned
       * is not guaranteed to conform to any schema except that defined by
       * the reason type.
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5; */ 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; return this; } /** * * *
       * Extended data associated with the reason.  Each reason may define its
       * own extended details. This field is optional and the data returned
       * is not guaranteed to conform to any schema except that defined by
       * the reason type.
       * +optional
       * 
* * 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) == 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); } bitField0_ |= 0x00000010; return this; } /** * * *
       * Extended data associated with the reason.  Each reason may define its
       * own extended details. This field is optional and the data returned
       * is not guaranteed to conform to any schema except that defined by
       * the reason type.
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5; */ public Builder clearDetails() { if (detailsBuilder_ == null) { details_ = null; onChanged(); } else { detailsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** * * *
       * Extended data associated with the reason.  Each reason may define its
       * own extended details. This field is optional and the data returned
       * is not guaranteed to conform to any schema except that defined by
       * the reason type.
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5; */ public io.kubernetes.client.proto.Meta.StatusDetails.Builder getDetailsBuilder() { bitField0_ |= 0x00000010; onChanged(); return getDetailsFieldBuilder().getBuilder(); } /** * * *
       * Extended data associated with the reason.  Each reason may define its
       * own extended details. This field is optional and the data returned
       * is not guaranteed to conform to any schema except that defined by
       * the reason type.
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5; */ public io.kubernetes.client.proto.Meta.StatusDetailsOrBuilder getDetailsOrBuilder() { if (detailsBuilder_ != null) { return detailsBuilder_.getMessageOrBuilder(); } else { return details_ == null ? io.kubernetes.client.proto.Meta.StatusDetails.getDefaultInstance() : details_; } } /** * * *
       * Extended data associated with the reason.  Each reason may define its
       * own extended details. This field is optional and the data returned
       * is not guaranteed to conform to any schema except that defined by
       * the reason type.
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5; */ 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.SingleFieldBuilderV3< io.kubernetes.client.proto.Meta.StatusDetails, io.kubernetes.client.proto.Meta.StatusDetails.Builder, io.kubernetes.client.proto.Meta.StatusDetailsOrBuilder>( getDetails(), getParentForChildren(), isClean()); details_ = null; } return detailsBuilder_; } private int code_; /** * * *
       * Suggested HTTP return code for this status, 0 if not set.
       * +optional
       * 
* * optional int32 code = 6; */ public boolean hasCode() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * * *
       * Suggested HTTP return code for this status, 0 if not set.
       * +optional
       * 
* * optional int32 code = 6; */ public int getCode() { return code_; } /** * * *
       * Suggested HTTP return code for this status, 0 if not set.
       * +optional
       * 
* * optional int32 code = 6; */ public Builder setCode(int value) { bitField0_ |= 0x00000020; code_ = value; onChanged(); return this; } /** * * *
       * Suggested HTTP return code for this status, 0 if not set.
       * +optional
       * 
* * optional int32 code = 6; */ public Builder clearCode() { bitField0_ = (bitField0_ & ~0x00000020); code_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Status) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Status) private static final io.kubernetes.client.proto.Meta.Status DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.Status(); } public static io.kubernetes.client.proto.Meta.Status getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Status parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Status(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.Status getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StatusCauseOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause) com.google.protobuf.MessageOrBuilder { /** * * *
     * A machine-readable description of the cause of the error. If this value is
     * empty there is no information available.
     * +optional
     * 
* * optional string reason = 1; */ boolean hasReason(); /** * * *
     * A machine-readable description of the cause of the error. If this value is
     * empty there is no information available.
     * +optional
     * 
* * optional string reason = 1; */ java.lang.String getReason(); /** * * *
     * A machine-readable description of the cause of the error. If this value is
     * empty there is no information available.
     * +optional
     * 
* * optional string reason = 1; */ com.google.protobuf.ByteString getReasonBytes(); /** * * *
     * A human-readable description of the cause of the error.  This field may be
     * presented as-is to a reader.
     * +optional
     * 
* * optional string message = 2; */ boolean hasMessage(); /** * * *
     * A human-readable description of the cause of the error.  This field may be
     * presented as-is to a reader.
     * +optional
     * 
* * optional string message = 2; */ java.lang.String getMessage(); /** * * *
     * A human-readable description of the cause of the error.  This field may be
     * presented as-is to a reader.
     * +optional
     * 
* * optional string message = 2; */ com.google.protobuf.ByteString getMessageBytes(); /** * * *
     * The field of the resource that has caused this error, as named by its JSON
     * serialization. May include dot and postfix notation for nested attributes.
     * 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"
     * +optional
     * 
* * optional string field = 3; */ boolean hasField(); /** * * *
     * The field of the resource that has caused this error, as named by its JSON
     * serialization. May include dot and postfix notation for nested attributes.
     * 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"
     * +optional
     * 
* * optional string field = 3; */ java.lang.String getField(); /** * * *
     * The field of the resource that has caused this error, as named by its JSON
     * serialization. May include dot and postfix notation for nested attributes.
     * 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"
     * +optional
     * 
* * optional string field = 3; */ com.google.protobuf.ByteString getFieldBytes(); } /** * * *
   * StatusCause provides more information about an api.Status failure, including
   * cases when multiple errors are encountered.
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause} */ 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; // Use StatusCause.newBuilder() to construct. private StatusCause(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StatusCause() { reason_ = ""; message_ = ""; 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_StatusCause_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.StatusCause.class, io.kubernetes.client.proto.Meta.StatusCause.Builder.class); } private int bitField0_; public static final int REASON_FIELD_NUMBER = 1; private volatile java.lang.Object reason_; /** * * *
     * A machine-readable description of the cause of the error. If this value is
     * empty there is no information available.
     * +optional
     * 
* * optional string reason = 1; */ public boolean hasReason() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
     * A machine-readable description of the cause of the error. If this value is
     * empty there is no information available.
     * +optional
     * 
* * optional string reason = 1; */ public java.lang.String getReason() { java.lang.Object ref = reason_; 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()) { reason_ = s; } return s; } } /** * * *
     * A machine-readable description of the cause of the error. If this value is
     * empty there is no information available.
     * +optional
     * 
* * optional string reason = 1; */ public com.google.protobuf.ByteString getReasonBytes() { java.lang.Object ref = reason_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reason_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MESSAGE_FIELD_NUMBER = 2; private volatile java.lang.Object message_; /** * * *
     * A human-readable description of the cause of the error.  This field may be
     * presented as-is to a reader.
     * +optional
     * 
* * optional string message = 2; */ public boolean hasMessage() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
     * A human-readable description of the cause of the error.  This field may be
     * presented as-is to a reader.
     * +optional
     * 
* * optional string message = 2; */ public java.lang.String getMessage() { java.lang.Object ref = message_; 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()) { message_ = s; } return s; } } /** * * *
     * A human-readable description of the cause of the error.  This field may be
     * presented as-is to a reader.
     * +optional
     * 
* * optional string message = 2; */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FIELD_FIELD_NUMBER = 3; private volatile java.lang.Object field_; /** * * *
     * The field of the resource that has caused this error, as named by its JSON
     * serialization. May include dot and postfix notation for nested attributes.
     * 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"
     * +optional
     * 
* * optional string field = 3; */ public boolean hasField() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * * *
     * The field of the resource that has caused this error, as named by its JSON
     * serialization. May include dot and postfix notation for nested attributes.
     * 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"
     * +optional
     * 
* * optional string field = 3; */ public java.lang.String getField() { java.lang.Object ref = field_; 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()) { field_ = s; } return s; } } /** * * *
     * The field of the resource that has caused this error, as named by its JSON
     * serialization. May include dot and postfix notation for nested attributes.
     * 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"
     * +optional
     * 
* * optional string field = 3; */ public com.google.protobuf.ByteString getFieldBytes() { java.lang.Object ref = field_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); field_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, reason_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, field_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, reason_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, field_); } 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.StatusCause)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.StatusCause other = (io.kubernetes.client.proto.Meta.StatusCause) obj; boolean result = true; result = result && (hasReason() == other.hasReason()); if (hasReason()) { result = result && getReason().equals(other.getReason()); } result = result && (hasMessage() == other.hasMessage()); if (hasMessage()) { result = result && getMessage().equals(other.getMessage()); } result = result && (hasField() == other.hasField()); if (hasField()) { result = result && getField().equals(other.getField()); } 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 (hasReason()) { hash = (37 * hash) + REASON_FIELD_NUMBER; hash = (53 * hash) + getReason().hashCode(); } if (hasMessage()) { hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); } if (hasField()) { hash = (37 * hash) + FIELD_FIELD_NUMBER; hash = (53 * hash) + getField().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.StatusCause parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.StatusCause 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.StatusCause parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.StatusCause 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.StatusCause parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.StatusCause 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.StatusCause parseFrom(java.io.InputStream input) throws java.io.IOException { 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.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.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.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.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.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.StatusCause 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; } /** * * *
     * StatusCause provides more information about an api.Status failure, including
     * cases when multiple errors are encountered.
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause) io.kubernetes.client.proto.Meta.StatusCauseOrBuilder { 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_StatusCause_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.StatusCause.class, io.kubernetes.client.proto.Meta.StatusCause.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.StatusCause.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override public Builder clear() { super.clear(); reason_ = ""; bitField0_ = (bitField0_ & ~0x00000001); message_ = ""; bitField0_ = (bitField0_ & ~0x00000002); field_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_StatusCause_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.StatusCause getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.StatusCause.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.StatusCause build() { io.kubernetes.client.proto.Meta.StatusCause result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.StatusCause buildPartial() { io.kubernetes.client.proto.Meta.StatusCause result = new io.kubernetes.client.proto.Meta.StatusCause(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.reason_ = reason_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.message_ = message_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.field_ = field_; 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.StatusCause) { return mergeFrom((io.kubernetes.client.proto.Meta.StatusCause) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.StatusCause other) { if (other == io.kubernetes.client.proto.Meta.StatusCause.getDefaultInstance()) return this; if (other.hasReason()) { bitField0_ |= 0x00000001; reason_ = other.reason_; onChanged(); } if (other.hasMessage()) { bitField0_ |= 0x00000002; message_ = other.message_; onChanged(); } if (other.hasField()) { bitField0_ |= 0x00000004; field_ = other.field_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.StatusCause parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.StatusCause) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object reason_ = ""; /** * * *
       * A machine-readable description of the cause of the error. If this value is
       * empty there is no information available.
       * +optional
       * 
* * optional string reason = 1; */ public boolean hasReason() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
       * A machine-readable description of the cause of the error. If this value is
       * empty there is no information available.
       * +optional
       * 
* * optional string reason = 1; */ public java.lang.String getReason() { java.lang.Object ref = reason_; 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()) { reason_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * A machine-readable description of the cause of the error. If this value is
       * empty there is no information available.
       * +optional
       * 
* * optional string reason = 1; */ public com.google.protobuf.ByteString getReasonBytes() { java.lang.Object ref = reason_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reason_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * A machine-readable description of the cause of the error. If this value is
       * empty there is no information available.
       * +optional
       * 
* * optional string reason = 1; */ public Builder setReason(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; reason_ = value; onChanged(); return this; } /** * * *
       * A machine-readable description of the cause of the error. If this value is
       * empty there is no information available.
       * +optional
       * 
* * optional string reason = 1; */ public Builder clearReason() { bitField0_ = (bitField0_ & ~0x00000001); reason_ = getDefaultInstance().getReason(); onChanged(); return this; } /** * * *
       * A machine-readable description of the cause of the error. If this value is
       * empty there is no information available.
       * +optional
       * 
* * optional string reason = 1; */ public Builder setReasonBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; reason_ = value; onChanged(); return this; } private java.lang.Object message_ = ""; /** * * *
       * A human-readable description of the cause of the error.  This field may be
       * presented as-is to a reader.
       * +optional
       * 
* * optional string message = 2; */ public boolean hasMessage() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
       * A human-readable description of the cause of the error.  This field may be
       * presented as-is to a reader.
       * +optional
       * 
* * optional string message = 2; */ public java.lang.String getMessage() { java.lang.Object ref = message_; 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()) { message_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * A human-readable description of the cause of the error.  This field may be
       * presented as-is to a reader.
       * +optional
       * 
* * optional string message = 2; */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * A human-readable description of the cause of the error.  This field may be
       * presented as-is to a reader.
       * +optional
       * 
* * optional string message = 2; */ public Builder setMessage(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; message_ = value; onChanged(); return this; } /** * * *
       * A human-readable description of the cause of the error.  This field may be
       * presented as-is to a reader.
       * +optional
       * 
* * optional string message = 2; */ public Builder clearMessage() { bitField0_ = (bitField0_ & ~0x00000002); message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * * *
       * A human-readable description of the cause of the error.  This field may be
       * presented as-is to a reader.
       * +optional
       * 
* * optional string message = 2; */ public Builder setMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; message_ = value; onChanged(); return this; } private java.lang.Object field_ = ""; /** * * *
       * The field of the resource that has caused this error, as named by its JSON
       * serialization. May include dot and postfix notation for nested attributes.
       * 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"
       * +optional
       * 
* * optional string field = 3; */ public boolean hasField() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * * *
       * The field of the resource that has caused this error, as named by its JSON
       * serialization. May include dot and postfix notation for nested attributes.
       * 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"
       * +optional
       * 
* * optional string field = 3; */ public java.lang.String getField() { java.lang.Object ref = field_; 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()) { field_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * The field of the resource that has caused this error, as named by its JSON
       * serialization. May include dot and postfix notation for nested attributes.
       * 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"
       * +optional
       * 
* * optional string field = 3; */ public com.google.protobuf.ByteString getFieldBytes() { java.lang.Object ref = field_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); field_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * The field of the resource that has caused this error, as named by its JSON
       * serialization. May include dot and postfix notation for nested attributes.
       * 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"
       * +optional
       * 
* * optional string field = 3; */ public Builder setField(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; field_ = value; onChanged(); return this; } /** * * *
       * The field of the resource that has caused this error, as named by its JSON
       * serialization. May include dot and postfix notation for nested attributes.
       * 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"
       * +optional
       * 
* * optional string field = 3; */ public Builder clearField() { bitField0_ = (bitField0_ & ~0x00000004); field_ = getDefaultInstance().getField(); onChanged(); return this; } /** * * *
       * The field of the resource that has caused this error, as named by its JSON
       * serialization. May include dot and postfix notation for nested attributes.
       * 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"
       * +optional
       * 
* * optional string field = 3; */ public Builder setFieldBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; field_ = 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.StatusCause) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause) private static final io.kubernetes.client.proto.Meta.StatusCause DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.StatusCause(); } public static io.kubernetes.client.proto.Meta.StatusCause getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StatusCause parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new StatusCause(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.StatusCause getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StatusDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails) com.google.protobuf.MessageOrBuilder { /** * * *
     * The name attribute of the resource associated with the status StatusReason
     * (when there is a single name which can be described).
     * +optional
     * 
* * optional string name = 1; */ boolean hasName(); /** * * *
     * The name attribute of the resource associated with the status StatusReason
     * (when there is a single name which can be described).
     * +optional
     * 
* * optional string name = 1; */ java.lang.String getName(); /** * * *
     * The name attribute of the resource associated with the status StatusReason
     * (when there is a single name which can be described).
     * +optional
     * 
* * optional string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** * * *
     * The group attribute of the resource associated with the status StatusReason.
     * +optional
     * 
* * optional string group = 2; */ boolean hasGroup(); /** * * *
     * The group attribute of the resource associated with the status StatusReason.
     * +optional
     * 
* * optional string group = 2; */ java.lang.String getGroup(); /** * * *
     * The group attribute of the resource associated with the status StatusReason.
     * +optional
     * 
* * optional string group = 2; */ com.google.protobuf.ByteString getGroupBytes(); /** * * *
     * The kind attribute of the resource associated with the status StatusReason.
     * On some operations may differ from the requested resource Kind.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * +optional
     * 
* * optional string kind = 3; */ boolean hasKind(); /** * * *
     * The kind attribute of the resource associated with the status StatusReason.
     * On some operations may differ from the requested resource Kind.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * +optional
     * 
* * optional string kind = 3; */ java.lang.String getKind(); /** * * *
     * The kind attribute of the resource associated with the status StatusReason.
     * On some operations may differ from the requested resource Kind.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * +optional
     * 
* * optional string kind = 3; */ com.google.protobuf.ByteString getKindBytes(); /** * * *
     * UID of the resource.
     * (when there is a single resource which can be described).
     * More info: https://kubernetes.io/docs/user-guide/identifiers#uids
     * +optional
     * 
* * optional string uid = 6; */ boolean hasUid(); /** * * *
     * UID of the resource.
     * (when there is a single resource which can be described).
     * More info: https://kubernetes.io/docs/user-guide/identifiers#uids
     * +optional
     * 
* * optional string uid = 6; */ java.lang.String getUid(); /** * * *
     * UID of the resource.
     * (when there is a single resource which can be described).
     * More info: https://kubernetes.io/docs/user-guide/identifiers#uids
     * +optional
     * 
* * optional string uid = 6; */ com.google.protobuf.ByteString getUidBytes(); /** * * *
     * The Causes array includes more details associated with the StatusReason
     * failure. Not all StatusReasons may provide detailed causes.
     * +optional
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; */ java.util.List getCausesList(); /** * * *
     * The Causes array includes more details associated with the StatusReason
     * failure. Not all StatusReasons may provide detailed causes.
     * +optional
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; */ io.kubernetes.client.proto.Meta.StatusCause getCauses(int index); /** * * *
     * The Causes array includes more details associated with the StatusReason
     * failure. Not all StatusReasons may provide detailed causes.
     * +optional
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; */ int getCausesCount(); /** * * *
     * The Causes array includes more details associated with the StatusReason
     * failure. Not all StatusReasons may provide detailed causes.
     * +optional
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; */ java.util.List getCausesOrBuilderList(); /** * * *
     * The Causes array includes more details associated with the StatusReason
     * failure. Not all StatusReasons may provide detailed causes.
     * +optional
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; */ io.kubernetes.client.proto.Meta.StatusCauseOrBuilder getCausesOrBuilder(int index); /** * * *
     * If specified, the time in seconds before the operation should be retried. Some errors may indicate
     * the client must take an alternate action - for those errors this field may indicate how long to wait
     * before taking the alternate action.
     * +optional
     * 
* * optional int32 retryAfterSeconds = 5; */ boolean hasRetryAfterSeconds(); /** * * *
     * If specified, the time in seconds before the operation should be retried. Some errors may indicate
     * the client must take an alternate action - for those errors this field may indicate how long to wait
     * before taking the alternate action.
     * +optional
     * 
* * optional int32 retryAfterSeconds = 5; */ int getRetryAfterSeconds(); } /** * * *
   * StatusDetails is a set of additional properties that MAY be set by the
   * server to provide additional information about a response. The Reason
   * field of a Status object defines what attributes will be set. Clients
   * must ignore fields that do not match the defined type of each attribute,
   * and should assume that any attribute may be empty, invalid, or under
   * defined.
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails} */ 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; // Use StatusDetails.newBuilder() to construct. private StatusDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StatusDetails() { name_ = ""; group_ = ""; 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(); mutable_bitField0_ |= 0x00000010; } causes_.add( input.readMessage( io.kubernetes.client.proto.Meta.StatusCause.PARSER, extensionRegistry)); break; } case 40: { bitField0_ |= 0x00000010; retryAfterSeconds_ = input.readInt32(); break; } case 50: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; uid_ = 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_ & 0x00000010) == 0x00000010)) { causes_ = java.util.Collections.unmodifiableList(causes_); } 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_StatusDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_StatusDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.StatusDetails.class, io.kubernetes.client.proto.Meta.StatusDetails.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * * *
     * The name attribute of the resource associated with the status StatusReason
     * (when there is a single name which can be described).
     * +optional
     * 
* * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
     * The name attribute of the resource associated with the status StatusReason
     * (when there is a single name which can be described).
     * +optional
     * 
* * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * * *
     * The name attribute of the resource associated with the status StatusReason
     * (when there is a single name which can be described).
     * +optional
     * 
* * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int GROUP_FIELD_NUMBER = 2; private volatile java.lang.Object group_; /** * * *
     * The group attribute of the resource associated with the status StatusReason.
     * +optional
     * 
* * optional string group = 2; */ public boolean hasGroup() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
     * The group attribute of the resource associated with the status StatusReason.
     * +optional
     * 
* * optional string group = 2; */ public java.lang.String getGroup() { java.lang.Object ref = group_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { group_ = s; } return s; } } /** * * *
     * The group attribute of the resource associated with the status StatusReason.
     * +optional
     * 
* * optional string group = 2; */ public com.google.protobuf.ByteString getGroupBytes() { java.lang.Object ref = group_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); group_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int KIND_FIELD_NUMBER = 3; private volatile java.lang.Object kind_; /** * * *
     * The kind attribute of the resource associated with the status StatusReason.
     * On some operations may differ from the requested resource Kind.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * +optional
     * 
* * optional string kind = 3; */ public boolean hasKind() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * * *
     * The kind attribute of the resource associated with the status StatusReason.
     * On some operations may differ from the requested resource Kind.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * +optional
     * 
* * optional string kind = 3; */ public java.lang.String getKind() { java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { kind_ = s; } return s; } } /** * * *
     * The kind attribute of the resource associated with the status StatusReason.
     * On some operations may differ from the requested resource Kind.
     * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
     * +optional
     * 
* * optional string kind = 3; */ public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kind_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int UID_FIELD_NUMBER = 6; private volatile java.lang.Object uid_; /** * * *
     * UID of the resource.
     * (when there is a single resource which can be described).
     * More info: https://kubernetes.io/docs/user-guide/identifiers#uids
     * +optional
     * 
* * optional string uid = 6; */ public boolean hasUid() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * * *
     * UID of the resource.
     * (when there is a single resource which can be described).
     * More info: https://kubernetes.io/docs/user-guide/identifiers#uids
     * +optional
     * 
* * optional string uid = 6; */ public java.lang.String getUid() { java.lang.Object ref = uid_; 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()) { uid_ = s; } return s; } } /** * * *
     * UID of the resource.
     * (when there is a single resource which can be described).
     * More info: https://kubernetes.io/docs/user-guide/identifiers#uids
     * +optional
     * 
* * optional string uid = 6; */ public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CAUSES_FIELD_NUMBER = 4; private java.util.List causes_; /** * * *
     * The Causes array includes more details associated with the StatusReason
     * failure. Not all StatusReasons may provide detailed causes.
     * +optional
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; */ public java.util.List getCausesList() { return causes_; } /** * * *
     * The Causes array includes more details associated with the StatusReason
     * failure. Not all StatusReasons may provide detailed causes.
     * +optional
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; */ public java.util.List getCausesOrBuilderList() { return causes_; } /** * * *
     * The Causes array includes more details associated with the StatusReason
     * failure. Not all StatusReasons may provide detailed causes.
     * +optional
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; */ public int getCausesCount() { return causes_.size(); } /** * * *
     * The Causes array includes more details associated with the StatusReason
     * failure. Not all StatusReasons may provide detailed causes.
     * +optional
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; */ public io.kubernetes.client.proto.Meta.StatusCause getCauses(int index) { return causes_.get(index); } /** * * *
     * The Causes array includes more details associated with the StatusReason
     * failure. Not all StatusReasons may provide detailed causes.
     * +optional
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; */ public io.kubernetes.client.proto.Meta.StatusCauseOrBuilder getCausesOrBuilder(int index) { return causes_.get(index); } public static final int RETRYAFTERSECONDS_FIELD_NUMBER = 5; private int retryAfterSeconds_; /** * * *
     * If specified, the time in seconds before the operation should be retried. Some errors may indicate
     * the client must take an alternate action - for those errors this field may indicate how long to wait
     * before taking the alternate action.
     * +optional
     * 
* * optional int32 retryAfterSeconds = 5; */ public boolean hasRetryAfterSeconds() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * * *
     * If specified, the time in seconds before the operation should be retried. Some errors may indicate
     * the client must take an alternate action - for those errors this field may indicate how long to wait
     * before taking the alternate action.
     * +optional
     * 
* * optional int32 retryAfterSeconds = 5; */ public int getRetryAfterSeconds() { return retryAfterSeconds_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, group_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, kind_); } for (int i = 0; i < causes_.size(); i++) { output.writeMessage(4, causes_.get(i)); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeInt32(5, retryAfterSeconds_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, uid_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, group_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, kind_); } for (int i = 0; i < causes_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, causes_.get(i)); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, retryAfterSeconds_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, uid_); } 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.StatusDetails)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.StatusDetails other = (io.kubernetes.client.proto.Meta.StatusDetails) obj; boolean result = true; result = result && (hasName() == other.hasName()); if (hasName()) { result = result && getName().equals(other.getName()); } result = result && (hasGroup() == other.hasGroup()); if (hasGroup()) { result = result && getGroup().equals(other.getGroup()); } result = result && (hasKind() == other.hasKind()); if (hasKind()) { result = result && getKind().equals(other.getKind()); } result = result && (hasUid() == other.hasUid()); if (hasUid()) { result = result && getUid().equals(other.getUid()); } result = result && getCausesList().equals(other.getCausesList()); result = result && (hasRetryAfterSeconds() == other.hasRetryAfterSeconds()); if (hasRetryAfterSeconds()) { result = result && (getRetryAfterSeconds() == other.getRetryAfterSeconds()); } 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 (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasGroup()) { hash = (37 * hash) + GROUP_FIELD_NUMBER; hash = (53 * hash) + getGroup().hashCode(); } if (hasKind()) { hash = (37 * hash) + KIND_FIELD_NUMBER; hash = (53 * hash) + getKind().hashCode(); } if (hasUid()) { hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid().hashCode(); } if (getCausesCount() > 0) { hash = (37 * hash) + CAUSES_FIELD_NUMBER; hash = (53 * hash) + getCausesList().hashCode(); } if (hasRetryAfterSeconds()) { hash = (37 * hash) + RETRYAFTERSECONDS_FIELD_NUMBER; hash = (53 * hash) + getRetryAfterSeconds(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.StatusDetails parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.StatusDetails 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.StatusDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.StatusDetails 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.StatusDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.StatusDetails 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.StatusDetails parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.StatusDetails 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.StatusDetails parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.StatusDetails 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.StatusDetails 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.StatusDetails 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.StatusDetails 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; } /** * * *
     * StatusDetails is a set of additional properties that MAY be set by the
     * server to provide additional information about a response. The Reason
     * field of a Status object defines what attributes will be set. Clients
     * must ignore fields that do not match the defined type of each attribute,
     * and should assume that any attribute may be empty, invalid, or under
     * defined.
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails) io.kubernetes.client.proto.Meta.StatusDetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_StatusDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_StatusDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.StatusDetails.class, io.kubernetes.client.proto.Meta.StatusDetails.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.StatusDetails.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCausesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); group_ = ""; bitField0_ = (bitField0_ & ~0x00000002); kind_ = ""; bitField0_ = (bitField0_ & ~0x00000004); uid_ = ""; bitField0_ = (bitField0_ & ~0x00000008); if (causesBuilder_ == null) { causes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { causesBuilder_.clear(); } retryAfterSeconds_ = 0; bitField0_ = (bitField0_ & ~0x00000020); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_StatusDetails_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.StatusDetails getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.StatusDetails.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.StatusDetails build() { io.kubernetes.client.proto.Meta.StatusDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.StatusDetails buildPartial() { io.kubernetes.client.proto.Meta.StatusDetails result = new io.kubernetes.client.proto.Meta.StatusDetails(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.group_ = group_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.kind_ = kind_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.uid_ = uid_; if (causesBuilder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010)) { causes_ = java.util.Collections.unmodifiableList(causes_); bitField0_ = (bitField0_ & ~0x00000010); } result.causes_ = causes_; } else { result.causes_ = causesBuilder_.build(); } if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000010; } result.retryAfterSeconds_ = retryAfterSeconds_; 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.StatusDetails) { return mergeFrom((io.kubernetes.client.proto.Meta.StatusDetails) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.StatusDetails other) { if (other == io.kubernetes.client.proto.Meta.StatusDetails.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasGroup()) { bitField0_ |= 0x00000002; group_ = other.group_; onChanged(); } if (other.hasKind()) { bitField0_ |= 0x00000004; kind_ = other.kind_; onChanged(); } if (other.hasUid()) { bitField0_ |= 0x00000008; uid_ = other.uid_; onChanged(); } if (causesBuilder_ == null) { if (!other.causes_.isEmpty()) { if (causes_.isEmpty()) { causes_ = other.causes_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureCausesIsMutable(); causes_.addAll(other.causes_); } onChanged(); } } else { if (!other.causes_.isEmpty()) { if (causesBuilder_.isEmpty()) { causesBuilder_.dispose(); causesBuilder_ = null; causes_ = other.causes_; bitField0_ = (bitField0_ & ~0x00000010); causesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getCausesFieldBuilder() : null; } else { causesBuilder_.addAllMessages(other.causes_); } } } if (other.hasRetryAfterSeconds()) { setRetryAfterSeconds(other.getRetryAfterSeconds()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.StatusDetails parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.StatusDetails) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * * *
       * The name attribute of the resource associated with the status StatusReason
       * (when there is a single name which can be described).
       * +optional
       * 
* * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
       * The name attribute of the resource associated with the status StatusReason
       * (when there is a single name which can be described).
       * +optional
       * 
* * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * The name attribute of the resource associated with the status StatusReason
       * (when there is a single name which can be described).
       * +optional
       * 
* * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * The name attribute of the resource associated with the status StatusReason
       * (when there is a single name which can be described).
       * +optional
       * 
* * optional string name = 1; */ public Builder setName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * * *
       * The name attribute of the resource associated with the status StatusReason
       * (when there is a single name which can be described).
       * +optional
       * 
* * optional string name = 1; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * * *
       * The name attribute of the resource associated with the status StatusReason
       * (when there is a single name which can be described).
       * +optional
       * 
* * optional string name = 1; */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object group_ = ""; /** * * *
       * The group attribute of the resource associated with the status StatusReason.
       * +optional
       * 
* * optional string group = 2; */ public boolean hasGroup() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
       * The group attribute of the resource associated with the status StatusReason.
       * +optional
       * 
* * optional string group = 2; */ public java.lang.String getGroup() { java.lang.Object ref = group_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { group_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * The group attribute of the resource associated with the status StatusReason.
       * +optional
       * 
* * optional string group = 2; */ public com.google.protobuf.ByteString getGroupBytes() { java.lang.Object ref = group_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); group_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * The group attribute of the resource associated with the status StatusReason.
       * +optional
       * 
* * optional string group = 2; */ public Builder setGroup(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; group_ = value; onChanged(); return this; } /** * * *
       * The group attribute of the resource associated with the status StatusReason.
       * +optional
       * 
* * optional string group = 2; */ public Builder clearGroup() { bitField0_ = (bitField0_ & ~0x00000002); group_ = getDefaultInstance().getGroup(); onChanged(); return this; } /** * * *
       * The group attribute of the resource associated with the status StatusReason.
       * +optional
       * 
* * optional string group = 2; */ public Builder setGroupBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; group_ = value; onChanged(); return this; } private java.lang.Object kind_ = ""; /** * * *
       * The kind attribute of the resource associated with the status StatusReason.
       * On some operations may differ from the requested resource Kind.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional string kind = 3; */ public boolean hasKind() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * * *
       * The kind attribute of the resource associated with the status StatusReason.
       * On some operations may differ from the requested resource Kind.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional string kind = 3; */ public java.lang.String getKind() { java.lang.Object ref = kind_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { kind_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * The kind attribute of the resource associated with the status StatusReason.
       * On some operations may differ from the requested resource Kind.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional string kind = 3; */ public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kind_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * The kind attribute of the resource associated with the status StatusReason.
       * On some operations may differ from the requested resource Kind.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional string kind = 3; */ public Builder setKind(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; kind_ = value; onChanged(); return this; } /** * * *
       * The kind attribute of the resource associated with the status StatusReason.
       * On some operations may differ from the requested resource Kind.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional string kind = 3; */ public Builder clearKind() { bitField0_ = (bitField0_ & ~0x00000004); kind_ = getDefaultInstance().getKind(); onChanged(); return this; } /** * * *
       * The kind attribute of the resource associated with the status StatusReason.
       * On some operations may differ from the requested resource Kind.
       * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
       * +optional
       * 
* * optional string kind = 3; */ public Builder setKindBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; kind_ = value; onChanged(); return this; } private java.lang.Object uid_ = ""; /** * * *
       * UID of the resource.
       * (when there is a single resource which can be described).
       * More info: https://kubernetes.io/docs/user-guide/identifiers#uids
       * +optional
       * 
* * optional string uid = 6; */ public boolean hasUid() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * * *
       * UID of the resource.
       * (when there is a single resource which can be described).
       * More info: https://kubernetes.io/docs/user-guide/identifiers#uids
       * +optional
       * 
* * optional string uid = 6; */ public java.lang.String getUid() { java.lang.Object ref = uid_; 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()) { uid_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * UID of the resource.
       * (when there is a single resource which can be described).
       * More info: https://kubernetes.io/docs/user-guide/identifiers#uids
       * +optional
       * 
* * optional string uid = 6; */ public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * UID of the resource.
       * (when there is a single resource which can be described).
       * More info: https://kubernetes.io/docs/user-guide/identifiers#uids
       * +optional
       * 
* * optional string uid = 6; */ public Builder setUid(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; uid_ = value; onChanged(); return this; } /** * * *
       * UID of the resource.
       * (when there is a single resource which can be described).
       * More info: https://kubernetes.io/docs/user-guide/identifiers#uids
       * +optional
       * 
* * optional string uid = 6; */ public Builder clearUid() { bitField0_ = (bitField0_ & ~0x00000008); uid_ = getDefaultInstance().getUid(); onChanged(); return this; } /** * * *
       * UID of the resource.
       * (when there is a single resource which can be described).
       * More info: https://kubernetes.io/docs/user-guide/identifiers#uids
       * +optional
       * 
* * optional string uid = 6; */ public Builder setUidBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; uid_ = value; onChanged(); return this; } private java.util.List causes_ = java.util.Collections.emptyList(); private void ensureCausesIsMutable() { if (!((bitField0_ & 0x00000010) == 0x00000010)) { causes_ = new java.util.ArrayList(causes_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.StatusCause, io.kubernetes.client.proto.Meta.StatusCause.Builder, io.kubernetes.client.proto.Meta.StatusCauseOrBuilder> causesBuilder_; /** * * *
       * The Causes array includes more details associated with the StatusReason
       * failure. Not all StatusReasons may provide detailed causes.
       * +optional
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; */ public java.util.List getCausesList() { if (causesBuilder_ == null) { return java.util.Collections.unmodifiableList(causes_); } else { return causesBuilder_.getMessageList(); } } /** * * *
       * The Causes array includes more details associated with the StatusReason
       * failure. Not all StatusReasons may provide detailed causes.
       * +optional
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; */ public int getCausesCount() { if (causesBuilder_ == null) { return causes_.size(); } else { return causesBuilder_.getCount(); } } /** * * *
       * The Causes array includes more details associated with the StatusReason
       * failure. Not all StatusReasons may provide detailed causes.
       * +optional
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; */ public io.kubernetes.client.proto.Meta.StatusCause getCauses(int index) { if (causesBuilder_ == null) { return causes_.get(index); } else { return causesBuilder_.getMessage(index); } } /** * * *
       * The Causes array includes more details associated with the StatusReason
       * failure. Not all StatusReasons may provide detailed causes.
       * +optional
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; */ public Builder setCauses(int index, io.kubernetes.client.proto.Meta.StatusCause value) { if (causesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCausesIsMutable(); causes_.set(index, value); onChanged(); } else { causesBuilder_.setMessage(index, value); } return this; } /** * * *
       * The Causes array includes more details associated with the StatusReason
       * failure. Not all StatusReasons may provide detailed causes.
       * +optional
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; */ public Builder setCauses( int index, io.kubernetes.client.proto.Meta.StatusCause.Builder builderForValue) { if (causesBuilder_ == null) { ensureCausesIsMutable(); causes_.set(index, builderForValue.build()); onChanged(); } else { causesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * * *
       * The Causes array includes more details associated with the StatusReason
       * failure. Not all StatusReasons may provide detailed causes.
       * +optional
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; */ public Builder addCauses(io.kubernetes.client.proto.Meta.StatusCause value) { if (causesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCausesIsMutable(); causes_.add(value); onChanged(); } else { causesBuilder_.addMessage(value); } return this; } /** * * *
       * The Causes array includes more details associated with the StatusReason
       * failure. Not all StatusReasons may provide detailed causes.
       * +optional
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; */ public Builder addCauses(int index, io.kubernetes.client.proto.Meta.StatusCause value) { if (causesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCausesIsMutable(); causes_.add(index, value); onChanged(); } else { causesBuilder_.addMessage(index, value); } return this; } /** * * *
       * The Causes array includes more details associated with the StatusReason
       * failure. Not all StatusReasons may provide detailed causes.
       * +optional
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; */ public Builder addCauses( io.kubernetes.client.proto.Meta.StatusCause.Builder builderForValue) { if (causesBuilder_ == null) { ensureCausesIsMutable(); causes_.add(builderForValue.build()); onChanged(); } else { causesBuilder_.addMessage(builderForValue.build()); } return this; } /** * * *
       * The Causes array includes more details associated with the StatusReason
       * failure. Not all StatusReasons may provide detailed causes.
       * +optional
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; */ public Builder addCauses( int index, io.kubernetes.client.proto.Meta.StatusCause.Builder builderForValue) { if (causesBuilder_ == null) { ensureCausesIsMutable(); causes_.add(index, builderForValue.build()); onChanged(); } else { causesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * * *
       * The Causes array includes more details associated with the StatusReason
       * failure. Not all StatusReasons may provide detailed causes.
       * +optional
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; */ public Builder addAllCauses( java.lang.Iterable values) { if (causesBuilder_ == null) { ensureCausesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, causes_); onChanged(); } else { causesBuilder_.addAllMessages(values); } return this; } /** * * *
       * The Causes array includes more details associated with the StatusReason
       * failure. Not all StatusReasons may provide detailed causes.
       * +optional
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; */ public Builder clearCauses() { if (causesBuilder_ == null) { causes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { causesBuilder_.clear(); } return this; } /** * * *
       * The Causes array includes more details associated with the StatusReason
       * failure. Not all StatusReasons may provide detailed causes.
       * +optional
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; */ public Builder removeCauses(int index) { if (causesBuilder_ == null) { ensureCausesIsMutable(); causes_.remove(index); onChanged(); } else { causesBuilder_.remove(index); } return this; } /** * * *
       * The Causes array includes more details associated with the StatusReason
       * failure. Not all StatusReasons may provide detailed causes.
       * +optional
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; */ public io.kubernetes.client.proto.Meta.StatusCause.Builder getCausesBuilder(int index) { return getCausesFieldBuilder().getBuilder(index); } /** * * *
       * The Causes array includes more details associated with the StatusReason
       * failure. Not all StatusReasons may provide detailed causes.
       * +optional
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; */ public io.kubernetes.client.proto.Meta.StatusCauseOrBuilder getCausesOrBuilder(int index) { if (causesBuilder_ == null) { return causes_.get(index); } else { return causesBuilder_.getMessageOrBuilder(index); } } /** * * *
       * The Causes array includes more details associated with the StatusReason
       * failure. Not all StatusReasons may provide detailed causes.
       * +optional
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; */ public java.util.List getCausesOrBuilderList() { if (causesBuilder_ != null) { return causesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(causes_); } } /** * * *
       * The Causes array includes more details associated with the StatusReason
       * failure. Not all StatusReasons may provide detailed causes.
       * +optional
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; */ public io.kubernetes.client.proto.Meta.StatusCause.Builder addCausesBuilder() { return getCausesFieldBuilder() .addBuilder(io.kubernetes.client.proto.Meta.StatusCause.getDefaultInstance()); } /** * * *
       * The Causes array includes more details associated with the StatusReason
       * failure. Not all StatusReasons may provide detailed causes.
       * +optional
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; */ public io.kubernetes.client.proto.Meta.StatusCause.Builder addCausesBuilder(int index) { return getCausesFieldBuilder() .addBuilder(index, io.kubernetes.client.proto.Meta.StatusCause.getDefaultInstance()); } /** * * *
       * The Causes array includes more details associated with the StatusReason
       * failure. Not all StatusReasons may provide detailed causes.
       * +optional
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4; */ public java.util.List getCausesBuilderList() { return getCausesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.StatusCause, io.kubernetes.client.proto.Meta.StatusCause.Builder, io.kubernetes.client.proto.Meta.StatusCauseOrBuilder> getCausesFieldBuilder() { if (causesBuilder_ == null) { causesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.StatusCause, io.kubernetes.client.proto.Meta.StatusCause.Builder, io.kubernetes.client.proto.Meta.StatusCauseOrBuilder>( causes_, ((bitField0_ & 0x00000010) == 0x00000010), getParentForChildren(), isClean()); causes_ = null; } return causesBuilder_; } private int retryAfterSeconds_; /** * * *
       * If specified, the time in seconds before the operation should be retried. Some errors may indicate
       * the client must take an alternate action - for those errors this field may indicate how long to wait
       * before taking the alternate action.
       * +optional
       * 
* * optional int32 retryAfterSeconds = 5; */ public boolean hasRetryAfterSeconds() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * * *
       * If specified, the time in seconds before the operation should be retried. Some errors may indicate
       * the client must take an alternate action - for those errors this field may indicate how long to wait
       * before taking the alternate action.
       * +optional
       * 
* * optional int32 retryAfterSeconds = 5; */ public int getRetryAfterSeconds() { return retryAfterSeconds_; } /** * * *
       * If specified, the time in seconds before the operation should be retried. Some errors may indicate
       * the client must take an alternate action - for those errors this field may indicate how long to wait
       * before taking the alternate action.
       * +optional
       * 
* * optional int32 retryAfterSeconds = 5; */ public Builder setRetryAfterSeconds(int value) { bitField0_ |= 0x00000020; retryAfterSeconds_ = value; onChanged(); return this; } /** * * *
       * If specified, the time in seconds before the operation should be retried. Some errors may indicate
       * the client must take an alternate action - for those errors this field may indicate how long to wait
       * before taking the alternate action.
       * +optional
       * 
* * optional int32 retryAfterSeconds = 5; */ public Builder clearRetryAfterSeconds() { bitField0_ = (bitField0_ & ~0x00000020); retryAfterSeconds_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails) private static final io.kubernetes.client.proto.Meta.StatusDetails DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.StatusDetails(); } public static io.kubernetes.client.proto.Meta.StatusDetails getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StatusDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new StatusDetails(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.StatusDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TableOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.TableOptions) com.google.protobuf.MessageOrBuilder { /** * * *
     * includeObject decides whether to include each object along with its columnar information.
     * Specifying "None" will return no object, specifying "Object" will return the full object contents, and
     * specifying "Metadata" (the default) will return the object's metadata in the PartialObjectMetadata kind
     * in version v1beta1 of the meta.k8s.io API group.
     * 
* * optional string includeObject = 1; */ boolean hasIncludeObject(); /** * * *
     * includeObject decides whether to include each object along with its columnar information.
     * Specifying "None" will return no object, specifying "Object" will return the full object contents, and
     * specifying "Metadata" (the default) will return the object's metadata in the PartialObjectMetadata kind
     * in version v1beta1 of the meta.k8s.io API group.
     * 
* * optional string includeObject = 1; */ java.lang.String getIncludeObject(); /** * * *
     * includeObject decides whether to include each object along with its columnar information.
     * Specifying "None" will return no object, specifying "Object" will return the full object contents, and
     * specifying "Metadata" (the default) will return the object's metadata in the PartialObjectMetadata kind
     * in version v1beta1 of the meta.k8s.io API group.
     * 
* * optional string includeObject = 1; */ com.google.protobuf.ByteString getIncludeObjectBytes(); } /** * * *
   * TableOptions are used when a Table is requested by the caller.
   * +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.TableOptions} */ public static final class TableOptions extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.TableOptions) TableOptionsOrBuilder { private static final long serialVersionUID = 0L; // Use TableOptions.newBuilder() to construct. private TableOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TableOptions() { includeObject_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TableOptions( 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; includeObject_ = 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_TableOptions_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_TableOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.TableOptions.class, io.kubernetes.client.proto.Meta.TableOptions.Builder.class); } private int bitField0_; public static final int INCLUDEOBJECT_FIELD_NUMBER = 1; private volatile java.lang.Object includeObject_; /** * * *
     * includeObject decides whether to include each object along with its columnar information.
     * Specifying "None" will return no object, specifying "Object" will return the full object contents, and
     * specifying "Metadata" (the default) will return the object's metadata in the PartialObjectMetadata kind
     * in version v1beta1 of the meta.k8s.io API group.
     * 
* * optional string includeObject = 1; */ public boolean hasIncludeObject() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
     * includeObject decides whether to include each object along with its columnar information.
     * Specifying "None" will return no object, specifying "Object" will return the full object contents, and
     * specifying "Metadata" (the default) will return the object's metadata in the PartialObjectMetadata kind
     * in version v1beta1 of the meta.k8s.io API group.
     * 
* * optional string includeObject = 1; */ public java.lang.String getIncludeObject() { java.lang.Object ref = includeObject_; 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()) { includeObject_ = s; } return s; } } /** * * *
     * includeObject decides whether to include each object along with its columnar information.
     * Specifying "None" will return no object, specifying "Object" will return the full object contents, and
     * specifying "Metadata" (the default) will return the object's metadata in the PartialObjectMetadata kind
     * in version v1beta1 of the meta.k8s.io API group.
     * 
* * optional string includeObject = 1; */ public com.google.protobuf.ByteString getIncludeObjectBytes() { java.lang.Object ref = includeObject_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); includeObject_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, includeObject_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, includeObject_); } 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.TableOptions)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.TableOptions other = (io.kubernetes.client.proto.Meta.TableOptions) obj; boolean result = true; result = result && (hasIncludeObject() == other.hasIncludeObject()); if (hasIncludeObject()) { result = result && getIncludeObject().equals(other.getIncludeObject()); } 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 (hasIncludeObject()) { hash = (37 * hash) + INCLUDEOBJECT_FIELD_NUMBER; hash = (53 * hash) + getIncludeObject().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.TableOptions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.TableOptions 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.TableOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.TableOptions 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.TableOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.TableOptions 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.TableOptions parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.TableOptions 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.TableOptions parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.TableOptions 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.TableOptions 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.TableOptions 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.TableOptions 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; } /** * * *
     * TableOptions are used when a Table is requested by the caller.
     * +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.TableOptions} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.TableOptions) io.kubernetes.client.proto.Meta.TableOptionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_TableOptions_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_TableOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.TableOptions.class, io.kubernetes.client.proto.Meta.TableOptions.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.TableOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override public Builder clear() { super.clear(); includeObject_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_TableOptions_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.TableOptions getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.TableOptions.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.TableOptions build() { io.kubernetes.client.proto.Meta.TableOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.TableOptions buildPartial() { io.kubernetes.client.proto.Meta.TableOptions result = new io.kubernetes.client.proto.Meta.TableOptions(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.includeObject_ = includeObject_; 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.TableOptions) { return mergeFrom((io.kubernetes.client.proto.Meta.TableOptions) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.TableOptions other) { if (other == io.kubernetes.client.proto.Meta.TableOptions.getDefaultInstance()) return this; if (other.hasIncludeObject()) { bitField0_ |= 0x00000001; includeObject_ = other.includeObject_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.TableOptions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.TableOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object includeObject_ = ""; /** * * *
       * includeObject decides whether to include each object along with its columnar information.
       * Specifying "None" will return no object, specifying "Object" will return the full object contents, and
       * specifying "Metadata" (the default) will return the object's metadata in the PartialObjectMetadata kind
       * in version v1beta1 of the meta.k8s.io API group.
       * 
* * optional string includeObject = 1; */ public boolean hasIncludeObject() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
       * includeObject decides whether to include each object along with its columnar information.
       * Specifying "None" will return no object, specifying "Object" will return the full object contents, and
       * specifying "Metadata" (the default) will return the object's metadata in the PartialObjectMetadata kind
       * in version v1beta1 of the meta.k8s.io API group.
       * 
* * optional string includeObject = 1; */ public java.lang.String getIncludeObject() { java.lang.Object ref = includeObject_; 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()) { includeObject_ = s; } return s; } else { return (java.lang.String) ref; } } /** * * *
       * includeObject decides whether to include each object along with its columnar information.
       * Specifying "None" will return no object, specifying "Object" will return the full object contents, and
       * specifying "Metadata" (the default) will return the object's metadata in the PartialObjectMetadata kind
       * in version v1beta1 of the meta.k8s.io API group.
       * 
* * optional string includeObject = 1; */ public com.google.protobuf.ByteString getIncludeObjectBytes() { java.lang.Object ref = includeObject_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); includeObject_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
       * includeObject decides whether to include each object along with its columnar information.
       * Specifying "None" will return no object, specifying "Object" will return the full object contents, and
       * specifying "Metadata" (the default) will return the object's metadata in the PartialObjectMetadata kind
       * in version v1beta1 of the meta.k8s.io API group.
       * 
* * optional string includeObject = 1; */ public Builder setIncludeObject(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; includeObject_ = value; onChanged(); return this; } /** * * *
       * includeObject decides whether to include each object along with its columnar information.
       * Specifying "None" will return no object, specifying "Object" will return the full object contents, and
       * specifying "Metadata" (the default) will return the object's metadata in the PartialObjectMetadata kind
       * in version v1beta1 of the meta.k8s.io API group.
       * 
* * optional string includeObject = 1; */ public Builder clearIncludeObject() { bitField0_ = (bitField0_ & ~0x00000001); includeObject_ = getDefaultInstance().getIncludeObject(); onChanged(); return this; } /** * * *
       * includeObject decides whether to include each object along with its columnar information.
       * Specifying "None" will return no object, specifying "Object" will return the full object contents, and
       * specifying "Metadata" (the default) will return the object's metadata in the PartialObjectMetadata kind
       * in version v1beta1 of the meta.k8s.io API group.
       * 
* * optional string includeObject = 1; */ public Builder setIncludeObjectBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; includeObject_ = 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.TableOptions) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.TableOptions) private static final io.kubernetes.client.proto.Meta.TableOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.TableOptions(); } public static io.kubernetes.client.proto.Meta.TableOptions getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TableOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TableOptions(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.kubernetes.client.proto.Meta.TableOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TimeOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.Time) com.google.protobuf.MessageOrBuilder { /** * * *
     * Represents seconds of UTC time since Unix epoch
     * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
     * 9999-12-31T23:59:59Z inclusive.
     * 
* * optional int64 seconds = 1; */ boolean hasSeconds(); /** * * *
     * Represents seconds of UTC time since Unix epoch
     * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
     * 9999-12-31T23:59:59Z inclusive.
     * 
* * optional int64 seconds = 1; */ long getSeconds(); /** * * *
     * Non-negative fractions of a second at nanosecond resolution. Negative
     * second values with fractions must still have non-negative nanos values
     * that count forward in time. Must be from 0 to 999,999,999
     * inclusive. This field may be limited in precision depending on context.
     * 
* * optional int32 nanos = 2; */ boolean hasNanos(); /** * * *
     * Non-negative fractions of a second at nanosecond resolution. Negative
     * second values with fractions must still have non-negative nanos values
     * that count forward in time. Must be from 0 to 999,999,999
     * inclusive. This field may be limited in precision depending on context.
     * 
* * optional int32 nanos = 2; */ int getNanos(); } /** * * *
   * Time is a wrapper around time.Time which supports correct
   * marshaling to YAML and JSON.  Wrappers are provided for many
   * of the factory methods that the time package offers.
   * +protobuf.options.marshal=false
   * +protobuf.as=Timestamp
   * +protobuf.options.(gogoproto.goproto_stringer)=false
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Time} */ public static final class Time extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Time) TimeOrBuilder { private static final long serialVersionUID = 0L; // Use Time.newBuilder() to construct. private Time(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Time() { seconds_ = 0L; nanos_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Time( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { bitField0_ |= 0x00000001; seconds_ = input.readInt64(); break; } case 16: { bitField0_ |= 0x00000002; nanos_ = input.readInt32(); break; } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Time_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Time_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.Time.class, io.kubernetes.client.proto.Meta.Time.Builder.class); } private int bitField0_; public static final int SECONDS_FIELD_NUMBER = 1; private long seconds_; /** * * *
     * Represents seconds of UTC time since Unix epoch
     * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
     * 9999-12-31T23:59:59Z inclusive.
     * 
* * optional int64 seconds = 1; */ public boolean hasSeconds() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
     * Represents seconds of UTC time since Unix epoch
     * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
     * 9999-12-31T23:59:59Z inclusive.
     * 
* * optional int64 seconds = 1; */ public long getSeconds() { return seconds_; } public static final int NANOS_FIELD_NUMBER = 2; private int nanos_; /** * * *
     * Non-negative fractions of a second at nanosecond resolution. Negative
     * second values with fractions must still have non-negative nanos values
     * that count forward in time. Must be from 0 to 999,999,999
     * inclusive. This field may be limited in precision depending on context.
     * 
* * optional int32 nanos = 2; */ public boolean hasNanos() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
     * Non-negative fractions of a second at nanosecond resolution. Negative
     * second values with fractions must still have non-negative nanos values
     * that count forward in time. Must be from 0 to 999,999,999
     * inclusive. This field may be limited in precision depending on context.
     * 
* * optional int32 nanos = 2; */ public int getNanos() { return nanos_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, seconds_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, nanos_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, seconds_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, nanos_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.kubernetes.client.proto.Meta.Time)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.Time other = (io.kubernetes.client.proto.Meta.Time) obj; boolean result = true; result = result && (hasSeconds() == other.hasSeconds()); if (hasSeconds()) { result = result && (getSeconds() == other.getSeconds()); } result = result && (hasNanos() == other.hasNanos()); if (hasNanos()) { result = result && (getNanos() == other.getNanos()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasSeconds()) { hash = (37 * hash) + SECONDS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSeconds()); } if (hasNanos()) { hash = (37 * hash) + NANOS_FIELD_NUMBER; hash = (53 * hash) + getNanos(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.Time parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.Time parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.Time parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.Time parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.Time parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.Time parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.Time parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.Time parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.Time parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.Time parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.Time parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.Time parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.kubernetes.client.proto.Meta.Time prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * * *
     * Time is a wrapper around time.Time which supports correct
     * marshaling to YAML and JSON.  Wrappers are provided for many
     * of the factory methods that the time package offers.
     * +protobuf.options.marshal=false
     * +protobuf.as=Timestamp
     * +protobuf.options.(gogoproto.goproto_stringer)=false
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Time} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Time) io.kubernetes.client.proto.Meta.TimeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Time_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Time_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.Time.class, io.kubernetes.client.proto.Meta.Time.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.Time.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override public Builder clear() { super.clear(); seconds_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); nanos_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta .internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Time_descriptor; } @java.lang.Override public io.kubernetes.client.proto.Meta.Time getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.Time.getDefaultInstance(); } @java.lang.Override public io.kubernetes.client.proto.Meta.Time build() { io.kubernetes.client.proto.Meta.Time result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.kubernetes.client.proto.Meta.Time buildPartial() { io.kubernetes.client.proto.Meta.Time result = new io.kubernetes.client.proto.Meta.Time(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.seconds_ = seconds_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.nanos_ = nanos_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.Time) { return mergeFrom((io.kubernetes.client.proto.Meta.Time) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.Time other) { if (other == io.kubernetes.client.proto.Meta.Time.getDefaultInstance()) return this; if (other.hasSeconds()) { setSeconds(other.getSeconds()); } if (other.hasNanos()) { setNanos(other.getNanos()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.Time parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.Time) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long seconds_; /** * * *
       * Represents seconds of UTC time since Unix epoch
       * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
       * 9999-12-31T23:59:59Z inclusive.
       * 
* * optional int64 seconds = 1; */ public boolean hasSeconds() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * * *
       * Represents seconds of UTC time since Unix epoch
       * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
       * 9999-12-31T23:59:59Z inclusive.
       * 
* * optional int64 seconds = 1; */ public long getSeconds() { return seconds_; } /** * * *
       * Represents seconds of UTC time since Unix epoch
       * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
       * 9999-12-31T23:59:59Z inclusive.
       * 
* * optional int64 seconds = 1; */ public Builder setSeconds(long value) { bitField0_ |= 0x00000001; seconds_ = value; onChanged(); return this; } /** * * *
       * Represents seconds of UTC time since Unix epoch
       * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
       * 9999-12-31T23:59:59Z inclusive.
       * 
* * optional int64 seconds = 1; */ public Builder clearSeconds() { bitField0_ = (bitField0_ & ~0x00000001); seconds_ = 0L; onChanged(); return this; } private int nanos_; /** * * *
       * Non-negative fractions of a second at nanosecond resolution. Negative
       * second values with fractions must still have non-negative nanos values
       * that count forward in time. Must be from 0 to 999,999,999
       * inclusive. This field may be limited in precision depending on context.
       * 
* * optional int32 nanos = 2; */ public boolean hasNanos() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * * *
       * Non-negative fractions of a second at nanosecond resolution. Negative
       * second values with fractions must still have non-negative nanos values
       * that count forward in time. Must be from 0 to 999,999,999
       * inclusive. This field may be limited in precision depending on context.
       * 
* * optional int32 nanos = 2; */ public int getNanos() { return nanos_; } /** * * *
       * Non-negative fractions of a second at nanosecond resolution. Negative
       * second values with fractions must still have non-negative nanos values
       * that count forward in time. Must be from 0 to 999,999,999
       * inclusive. This field may be limited in precision depending on context.
       * 
* * optional int32 nanos = 2; */ public Builder setNanos(int value) { bitField0_ |= 0x00000002; nanos_ = value; onChanged(); return this; } /** * * *
       * Non-negative fractions of a second at nanosecond resolution. Negative
       * second values with fractions must still have non-negative nanos values
       * that count forward in time. Must be from 0 to 999,999,999
       * inclusive. This field may be limited in precision depending on context.
       * 
* * optional int32 nanos = 2; */ public Builder clearNanos() { bitField0_ = (bitField0_ & ~0x00000002); nanos_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Time) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Time) private static final io.kubernetes.client.proto.Meta.Time DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.Time(); } public static io.kubernetes.client.proto.Meta.Time getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser




© 2015 - 2025 Weber Informatics LLC | Privacy Policy