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

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

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

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.
     * 
* * 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.
     * 
* * 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.
     * 
* * 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.
     * 
* * 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.
     * 
* * 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(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 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(); 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(); mutable_bitField0_ |= 0x00000008; } serverAddressByClientCIDRs_.add( input.readMessage(io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.PARSER, extensionRegistry)); 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; } 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 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.
     * 
* * 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.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; */ public java.util.List 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 = 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.
     * 
* * 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.
     * 
* * 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; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { 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); } 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); } 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); } 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; } 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(); } } 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; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIGroup_descriptor; } public io.kubernetes.client.proto.Meta.APIGroup getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.APIGroup.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.APIGroup build() { io.kubernetes.client.proto.Meta.APIGroup result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } 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; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } 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; } public final boolean isInitialized() { return true; } 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 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.
       * 
* * 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.
       * 
* * 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.
       * 
* * 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.
       * 
* * 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.
       * 
* * 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.
       * 
* * 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.
       * 
* * 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.
       * 
* * 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.
       * 
* * 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.
       * 
* * 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.
       * 
* * 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.
       * 
* * 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.
       * 
* * 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.
       * 
* * 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.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; */ public java.util.List 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 = 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.
       * 
* * 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.
       * 
* * 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_; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.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() { 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; } 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(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 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; } } } } 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; } 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; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < groups_.size(); i++) { output.writeMessage(1, groups_.get(i)); } unknownFields.writeTo(output); } 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); } 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); } 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; } 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(); } } public Builder clear() { super.clear(); if (groupsBuilder_ == null) { groups_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { groupsBuilder_.clear(); } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIGroupList_descriptor; } public io.kubernetes.client.proto.Meta.APIGroupList getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.APIGroupList.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.APIGroupList build() { io.kubernetes.client.proto.Meta.APIGroupList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } 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; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } 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; } public final boolean isInitialized() { return true; } 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_; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.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() { 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; } 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(); /** *
     * 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); } /** *
   * 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; kind_ = ""; shortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; categories_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @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(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 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_ |= 0x00000008; kind_ = bs; break; } case 34: { io.kubernetes.client.proto.Meta.Verbs.Builder subBuilder = null; if (((bitField0_ & 0x00000010) == 0x00000010)) { subBuilder = verbs_.toBuilder(); } verbs_ = input.readMessage(io.kubernetes.client.proto.Meta.Verbs.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(verbs_); verbs_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; break; } case 42: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { shortNames_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000020; } 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_ & 0x00000040) == 0x00000040)) { categories_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000040; } categories_.add(bs); 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_ & 0x00000020) == 0x00000020)) { shortNames_ = shortNames_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { 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; } 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 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_ & 0x00000008) == 0x00000008); } /** *
     * 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_ & 0x00000010) == 0x00000010); } /** *
     * 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); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(2, namespaced_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, kind_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { 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)); } unknownFields.writeTo(output); } 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_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, kind_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { 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(); } 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 && (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 && 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 (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(); } 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); } 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); } 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; } 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(); } } public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); singularName_ = ""; bitField0_ = (bitField0_ & ~0x00000002); namespaced_ = false; bitField0_ = (bitField0_ & ~0x00000004); kind_ = ""; bitField0_ = (bitField0_ & ~0x00000008); if (verbsBuilder_ == null) { verbs_ = null; } else { verbsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); shortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000020); categories_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000040); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIResource_descriptor; } public io.kubernetes.client.proto.Meta.APIResource getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.APIResource.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.APIResource build() { io.kubernetes.client.proto.Meta.APIResource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } 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.kind_ = kind_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } if (verbsBuilder_ == null) { result.verbs_ = verbs_; } else { result.verbs_ = verbsBuilder_.build(); } if (((bitField0_ & 0x00000020) == 0x00000020)) { shortNames_ = shortNames_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000020); } result.shortNames_ = shortNames_; if (((bitField0_ & 0x00000040) == 0x00000040)) { categories_ = categories_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000040); } result.categories_ = categories_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } 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.hasKind()) { bitField0_ |= 0x00000008; kind_ = other.kind_; onChanged(); } if (other.hasVerbs()) { mergeVerbs(other.getVerbs()); } if (!other.shortNames_.isEmpty()) { if (shortNames_.isEmpty()) { shortNames_ = other.shortNames_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureShortNamesIsMutable(); shortNames_.addAll(other.shortNames_); } onChanged(); } if (!other.categories_.isEmpty()) { if (categories_.isEmpty()) { categories_ = other.categories_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureCategoriesIsMutable(); categories_.addAll(other.categories_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } 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 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_ & 0x00000008) == 0x00000008); } /** *
       * 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_ |= 0x00000008; 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_ & ~0x00000008); 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_ |= 0x00000008; 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_ & 0x00000010) == 0x00000010); } /** *
       * 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_ |= 0x00000010; 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_ |= 0x00000010; 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_ & 0x00000010) == 0x00000010) && 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_ |= 0x00000010; 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_ & ~0x00000010); 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_ |= 0x00000010; 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_ & 0x00000020) == 0x00000020)) { shortNames_ = new com.google.protobuf.LazyStringArrayList(shortNames_); bitField0_ |= 0x00000020; } } /** *
       * 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_ & ~0x00000020); 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_ & 0x00000040) == 0x00000040)) { categories_ = new com.google.protobuf.LazyStringArrayList(categories_); bitField0_ |= 0x00000040; } } /** *
       * 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_ & ~0x00000040); 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; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.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() { 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; } 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(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 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; } } } } 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; } 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; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { 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); } 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); } 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); } 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; } 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(); } } 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; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIResourceList_descriptor; } public io.kubernetes.client.proto.Meta.APIResourceList getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.APIResourceList.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.APIResourceList build() { io.kubernetes.client.proto.Meta.APIResourceList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } 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; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } 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; } public final boolean isInitialized() { return true; } 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_; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.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() { 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; } 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(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 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(); mutable_bitField0_ |= 0x00000002; } serverAddressByClientCIDRs_.add( input.readMessage(io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.PARSER, extensionRegistry)); 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; } 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 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; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { 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); } 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); } 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); } 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; } 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(); } } 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; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_APIVersions_descriptor; } public io.kubernetes.client.proto.Meta.APIVersions getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.APIVersions.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.APIVersions build() { io.kubernetes.client.proto.Meta.APIVersions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } 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; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } 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; } public final boolean isInitialized() { return true; } 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 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_; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.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() { 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; } public io.kubernetes.client.proto.Meta.APIVersions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DeleteOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions) com.google.protobuf.MessageOrBuilder { /** *
     * The duration in seconds before the object should be deleted. Value must be non-negative integer.
     * The value zero indicates delete immediately. If this value is nil, the default grace period for the
     * specified type will be used.
     * Defaults to a per object value if not specified. zero means delete immediately.
     * +optional
     * 
* * optional int64 gracePeriodSeconds = 1; */ boolean hasGracePeriodSeconds(); /** *
     * The duration in seconds before the object should be deleted. Value must be non-negative integer.
     * The value zero indicates delete immediately. If this value is nil, the default grace period for the
     * specified type will be used.
     * Defaults to a per object value if not specified. zero means delete immediately.
     * +optional
     * 
* * optional int64 gracePeriodSeconds = 1; */ long getGracePeriodSeconds(); /** *
     * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
     * returned.
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; */ boolean hasPreconditions(); /** *
     * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
     * returned.
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; */ io.kubernetes.client.proto.Meta.Preconditions getPreconditions(); /** *
     * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
     * returned.
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; */ io.kubernetes.client.proto.Meta.PreconditionsOrBuilder getPreconditionsOrBuilder(); /** *
     * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
     * Should the dependent objects be orphaned. If true/false, the "orphan"
     * finalizer will be added to/removed from the object's finalizers list.
     * Either this field or PropagationPolicy may be set, but not both.
     * +optional
     * 
* * optional bool orphanDependents = 3; */ boolean hasOrphanDependents(); /** *
     * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
     * Should the dependent objects be orphaned. If true/false, the "orphan"
     * finalizer will be added to/removed from the object's finalizers list.
     * Either this field or PropagationPolicy may be set, but not both.
     * +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.
     * +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.
     * +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.
     * +optional
     * 
* * optional string propagationPolicy = 4; */ com.google.protobuf.ByteString getPropagationPolicyBytes(); } /** *
   * 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_ = ""; } @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(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; gracePeriodSeconds_ = input.readInt64(); break; } case 18: { io.kubernetes.client.proto.Meta.Preconditions.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = preconditions_.toBuilder(); } preconditions_ = input.readMessage(io.kubernetes.client.proto.Meta.Preconditions.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(preconditions_); preconditions_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 24: { bitField0_ |= 0x00000004; orphanDependents_ = input.readBool(); break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; propagationPolicy_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { 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_DeleteOptions_descriptor; } 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.
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; */ public boolean hasPreconditions() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
     * returned.
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; */ public io.kubernetes.client.proto.Meta.Preconditions getPreconditions() { return preconditions_ == null ? io.kubernetes.client.proto.Meta.Preconditions.getDefaultInstance() : preconditions_; } /** *
     * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
     * returned.
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; */ public io.kubernetes.client.proto.Meta.PreconditionsOrBuilder getPreconditionsOrBuilder() { return preconditions_ == null ? io.kubernetes.client.proto.Meta.Preconditions.getDefaultInstance() : preconditions_; } public static final int ORPHANDEPENDENTS_FIELD_NUMBER = 3; private boolean orphanDependents_; /** *
     * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
     * Should the dependent objects be orphaned. If true/false, the "orphan"
     * finalizer will be added to/removed from the object's finalizers list.
     * Either this field or PropagationPolicy may be set, but not both.
     * +optional
     * 
* * optional bool orphanDependents = 3; */ public boolean hasOrphanDependents() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
     * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
     * Should the dependent objects be orphaned. If true/false, the "orphan"
     * finalizer will be added to/removed from the object's finalizers list.
     * Either this field or PropagationPolicy may be set, but not both.
     * +optional
     * 
* * optional bool orphanDependents = 3; */ public boolean getOrphanDependents() { return orphanDependents_; } public static final int PROPAGATIONPOLICY_FIELD_NUMBER = 4; private volatile java.lang.Object propagationPolicy_; /** *
     * Whether and how garbage collection will be performed.
     * Either this field or OrphanDependents may be set, but not both.
     * The default policy is decided by the existing finalizer set in the
     * metadata.finalizers and the resource-specific default policy.
     * +optional
     * 
* * optional string propagationPolicy = 4; */ public boolean hasPropagationPolicy() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
     * Whether and how garbage collection will be performed.
     * Either this field or OrphanDependents may be set, but not both.
     * The default policy is decided by the existing finalizer set in the
     * metadata.finalizers and the resource-specific default policy.
     * +optional
     * 
* * optional string propagationPolicy = 4; */ public java.lang.String getPropagationPolicy() { java.lang.Object ref = propagationPolicy_; if (ref instanceof java.lang.String) { 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.
     * +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; } } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.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_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .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_); } 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 && 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(); } 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); } 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); } 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; } 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(); } } 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); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_DeleteOptions_descriptor; } public io.kubernetes.client.proto.Meta.DeleteOptions getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.DeleteOptions.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.DeleteOptions build() { io.kubernetes.client.proto.Meta.DeleteOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.kubernetes.client.proto.Meta.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_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } 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(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } 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.
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; */ public boolean hasPreconditions() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
       * returned.
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; */ public io.kubernetes.client.proto.Meta.Preconditions getPreconditions() { if (preconditionsBuilder_ == null) { return preconditions_ == null ? io.kubernetes.client.proto.Meta.Preconditions.getDefaultInstance() : preconditions_; } else { return preconditionsBuilder_.getMessage(); } } /** *
       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
       * returned.
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; */ public Builder setPreconditions(io.kubernetes.client.proto.Meta.Preconditions value) { if (preconditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } preconditions_ = value; onChanged(); } else { preconditionsBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** *
       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
       * returned.
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; */ public Builder setPreconditions( io.kubernetes.client.proto.Meta.Preconditions.Builder builderForValue) { if (preconditionsBuilder_ == null) { preconditions_ = builderForValue.build(); onChanged(); } else { preconditionsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** *
       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
       * returned.
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; */ public Builder mergePreconditions(io.kubernetes.client.proto.Meta.Preconditions value) { if (preconditionsBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && preconditions_ != null && preconditions_ != io.kubernetes.client.proto.Meta.Preconditions.getDefaultInstance()) { preconditions_ = io.kubernetes.client.proto.Meta.Preconditions.newBuilder(preconditions_).mergeFrom(value).buildPartial(); } else { preconditions_ = value; } onChanged(); } else { preconditionsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** *
       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
       * returned.
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; */ public Builder clearPreconditions() { if (preconditionsBuilder_ == null) { preconditions_ = null; onChanged(); } else { preconditionsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** *
       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
       * returned.
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; */ public io.kubernetes.client.proto.Meta.Preconditions.Builder getPreconditionsBuilder() { bitField0_ |= 0x00000002; onChanged(); return getPreconditionsFieldBuilder().getBuilder(); } /** *
       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
       * returned.
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; */ public io.kubernetes.client.proto.Meta.PreconditionsOrBuilder getPreconditionsOrBuilder() { if (preconditionsBuilder_ != null) { return preconditionsBuilder_.getMessageOrBuilder(); } else { return preconditions_ == null ? io.kubernetes.client.proto.Meta.Preconditions.getDefaultInstance() : preconditions_; } } /** *
       * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
       * returned.
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions preconditions = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.kubernetes.client.proto.Meta.Preconditions, io.kubernetes.client.proto.Meta.Preconditions.Builder, io.kubernetes.client.proto.Meta.PreconditionsOrBuilder> getPreconditionsFieldBuilder() { if (preconditionsBuilder_ == null) { preconditionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.kubernetes.client.proto.Meta.Preconditions, io.kubernetes.client.proto.Meta.Preconditions.Builder, io.kubernetes.client.proto.Meta.PreconditionsOrBuilder>( getPreconditions(), getParentForChildren(), isClean()); preconditions_ = null; } 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.
       * +optional
       * 
* * optional string propagationPolicy = 4; */ public boolean hasPropagationPolicy() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
       * Whether and how garbage collection will be performed.
       * Either this field or OrphanDependents may be set, but not both.
       * The default policy is decided by the existing finalizer set in the
       * metadata.finalizers and the resource-specific default policy.
       * +optional
       * 
* * optional string propagationPolicy = 4; */ public java.lang.String getPropagationPolicy() { java.lang.Object ref = propagationPolicy_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { propagationPolicy_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Whether and how garbage collection will be performed.
       * Either this field or OrphanDependents may be set, but not both.
       * The default policy is decided by the existing finalizer set in the
       * metadata.finalizers and the resource-specific default policy.
       * +optional
       * 
* * optional string propagationPolicy = 4; */ public com.google.protobuf.ByteString getPropagationPolicyBytes() { java.lang.Object ref = propagationPolicy_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); propagationPolicy_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Whether and how garbage collection will be performed.
       * Either this field or OrphanDependents may be set, but not both.
       * The default policy is decided by the existing finalizer set in the
       * metadata.finalizers and the resource-specific default policy.
       * +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.
       * +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.
       * +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; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.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() { 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; } 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(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; duration_ = input.readInt64(); 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; } 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; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, duration_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .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); } 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); } 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; } 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) { } } public Builder clear() { super.clear(); duration_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Duration_descriptor; } public io.kubernetes.client.proto.Meta.Duration getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.Duration.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.Duration build() { io.kubernetes.client.proto.Meta.Duration result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.kubernetes.client.proto.Meta.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; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } 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; } public final boolean isInitialized() { return true; } 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; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Duration) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Duration) private static final io.kubernetes.client.proto.Meta.Duration DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.Duration(); } public static io.kubernetes.client.proto.Meta.Duration getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Duration parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Duration(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public io.kubernetes.client.proto.Meta.Duration getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExportOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.ExportOptions) com.google.protobuf.MessageOrBuilder { /** *
     * Should this value be exported.  Export strips fields that a user can not specify.
     * 
* * optional bool export = 1; */ boolean hasExport(); /** *
     * Should this value be exported.  Export strips fields that a user can not specify.
     * 
* * optional bool export = 1; */ boolean getExport(); /** *
     * Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
     * 
* * optional bool exact = 2; */ boolean hasExact(); /** *
     * Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
     * 
* * optional bool exact = 2; */ boolean getExact(); } /** *
   * ExportOptions is the query options to the standard REST get call.
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ExportOptions} */ public static final class ExportOptions extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.ExportOptions) ExportOptionsOrBuilder { private static final long serialVersionUID = 0L; // Use ExportOptions.newBuilder() to construct. private ExportOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExportOptions() { export_ = false; exact_ = false; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExportOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; export_ = input.readBool(); break; } case 16: { bitField0_ |= 0x00000002; exact_ = input.readBool(); break; } } } } 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_ExportOptions_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ExportOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.ExportOptions.class, io.kubernetes.client.proto.Meta.ExportOptions.Builder.class); } private int bitField0_; public static final int EXPORT_FIELD_NUMBER = 1; private boolean export_; /** *
     * Should this value be exported.  Export strips fields that a user can not specify.
     * 
* * optional bool export = 1; */ public boolean hasExport() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     * Should this value be exported.  Export strips fields that a user can not specify.
     * 
* * optional bool export = 1; */ public boolean getExport() { return export_; } public static final int EXACT_FIELD_NUMBER = 2; private boolean exact_; /** *
     * Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
     * 
* * optional bool exact = 2; */ public boolean hasExact() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     * Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
     * 
* * optional bool exact = 2; */ public boolean getExact() { return exact_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBool(1, export_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBool(2, exact_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, export_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, exact_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.kubernetes.client.proto.Meta.ExportOptions)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.ExportOptions other = (io.kubernetes.client.proto.Meta.ExportOptions) obj; boolean result = true; result = result && (hasExport() == other.hasExport()); if (hasExport()) { result = result && (getExport() == other.getExport()); } result = result && (hasExact() == other.hasExact()); if (hasExact()) { result = result && (getExact() == other.getExact()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasExport()) { hash = (37 * hash) + EXPORT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getExport()); } if (hasExact()) { hash = (37 * hash) + EXACT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getExact()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.ExportOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.ExportOptions parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.ExportOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.kubernetes.client.proto.Meta.ExportOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * ExportOptions is the query options to the standard REST get call.
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.ExportOptions} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.ExportOptions) io.kubernetes.client.proto.Meta.ExportOptionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ExportOptions_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ExportOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.ExportOptions.class, io.kubernetes.client.proto.Meta.ExportOptions.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.ExportOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); export_ = false; bitField0_ = (bitField0_ & ~0x00000001); exact_ = false; bitField0_ = (bitField0_ & ~0x00000002); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ExportOptions_descriptor; } public io.kubernetes.client.proto.Meta.ExportOptions getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.ExportOptions.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.ExportOptions build() { io.kubernetes.client.proto.Meta.ExportOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.kubernetes.client.proto.Meta.ExportOptions buildPartial() { io.kubernetes.client.proto.Meta.ExportOptions result = new io.kubernetes.client.proto.Meta.ExportOptions(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.export_ = export_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.exact_ = exact_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.ExportOptions) { return mergeFrom((io.kubernetes.client.proto.Meta.ExportOptions)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.ExportOptions other) { if (other == io.kubernetes.client.proto.Meta.ExportOptions.getDefaultInstance()) return this; if (other.hasExport()) { setExport(other.getExport()); } if (other.hasExact()) { setExact(other.getExact()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.ExportOptions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.ExportOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private boolean export_ ; /** *
       * Should this value be exported.  Export strips fields that a user can not specify.
       * 
* * optional bool export = 1; */ public boolean hasExport() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       * Should this value be exported.  Export strips fields that a user can not specify.
       * 
* * optional bool export = 1; */ public boolean getExport() { return export_; } /** *
       * Should this value be exported.  Export strips fields that a user can not specify.
       * 
* * optional bool export = 1; */ public Builder setExport(boolean value) { bitField0_ |= 0x00000001; export_ = value; onChanged(); return this; } /** *
       * Should this value be exported.  Export strips fields that a user can not specify.
       * 
* * optional bool export = 1; */ public Builder clearExport() { bitField0_ = (bitField0_ & ~0x00000001); export_ = false; onChanged(); return this; } private boolean exact_ ; /** *
       * Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
       * 
* * optional bool exact = 2; */ public boolean hasExact() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       * Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
       * 
* * optional bool exact = 2; */ public boolean getExact() { return exact_; } /** *
       * Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
       * 
* * optional bool exact = 2; */ public Builder setExact(boolean value) { bitField0_ |= 0x00000002; exact_ = value; onChanged(); return this; } /** *
       * Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
       * 
* * optional bool exact = 2; */ public Builder clearExact() { bitField0_ = (bitField0_ & ~0x00000002); exact_ = false; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.ExportOptions) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.ExportOptions) private static final io.kubernetes.client.proto.Meta.ExportOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.ExportOptions(); } public static io.kubernetes.client.proto.Meta.ExportOptions getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ExportOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ExportOptions(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public io.kubernetes.client.proto.Meta.ExportOptions 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 { /** *
     * When specified:
     * - if unset, then the result is returned from remote storage based on quorum-read flag;
     * - if it's 0, then we simply return what we currently have in cache, no guarantee;
     * - if set to non zero, then the result is at least as fresh as given rv.
     * 
* * optional string resourceVersion = 1; */ boolean hasResourceVersion(); /** *
     * When specified:
     * - if unset, then the result is returned from remote storage based on quorum-read flag;
     * - if it's 0, then we simply return what we currently have in cache, no guarantee;
     * - if set to non zero, then the result is at least as fresh as given rv.
     * 
* * optional string resourceVersion = 1; */ java.lang.String getResourceVersion(); /** *
     * When specified:
     * - if unset, then the result is returned from remote storage based on quorum-read flag;
     * - if it's 0, then we simply return what we currently have in cache, no guarantee;
     * - if set to non zero, then the result is at least as fresh as given rv.
     * 
* * optional string resourceVersion = 1; */ com.google.protobuf.ByteString getResourceVersionBytes(); /** *
     * If true, partially initialized resources are included in the response.
     * +optional
     * 
* * optional bool includeUninitialized = 2; */ boolean hasIncludeUninitialized(); /** *
     * If true, partially initialized resources are included in the response.
     * +optional
     * 
* * optional bool includeUninitialized = 2; */ boolean getIncludeUninitialized(); } /** *
   * 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_ = ""; includeUninitialized_ = false; } @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(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; resourceVersion_ = bs; break; } case 16: { bitField0_ |= 0x00000002; includeUninitialized_ = input.readBool(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { 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; } 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_; /** *
     * When specified:
     * - if unset, then the result is returned from remote storage based on quorum-read flag;
     * - if it's 0, then we simply return what we currently have in cache, no guarantee;
     * - if set to non zero, then the result is at least as fresh as given rv.
     * 
* * optional string resourceVersion = 1; */ public boolean hasResourceVersion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     * When specified:
     * - if unset, then the result is returned from remote storage based on quorum-read flag;
     * - if it's 0, then we simply return what we currently have in cache, no guarantee;
     * - if set to non zero, then the result is at least as fresh as given rv.
     * 
* * optional string resourceVersion = 1; */ public java.lang.String getResourceVersion() { java.lang.Object ref = resourceVersion_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { resourceVersion_ = s; } return s; } } /** *
     * When specified:
     * - if unset, then the result is returned from remote storage based on quorum-read flag;
     * - if it's 0, then we simply return what we currently have in cache, no guarantee;
     * - if set to non zero, then the result is at least as fresh as given rv.
     * 
* * optional string resourceVersion = 1; */ public com.google.protobuf.ByteString getResourceVersionBytes() { java.lang.Object ref = resourceVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int INCLUDEUNINITIALIZED_FIELD_NUMBER = 2; private boolean includeUninitialized_; /** *
     * If true, partially initialized resources are included in the response.
     * +optional
     * 
* * optional bool includeUninitialized = 2; */ public boolean hasIncludeUninitialized() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     * If true, partially initialized resources are included in the response.
     * +optional
     * 
* * optional bool includeUninitialized = 2; */ public boolean getIncludeUninitialized() { return includeUninitialized_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceVersion_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBool(2, includeUninitialized_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resourceVersion_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, includeUninitialized_); } 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 && (hasIncludeUninitialized() == other.hasIncludeUninitialized()); if (hasIncludeUninitialized()) { result = result && (getIncludeUninitialized() == other.getIncludeUninitialized()); } 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(); } if (hasIncludeUninitialized()) { hash = (37 * hash) + INCLUDEUNINITIALIZED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIncludeUninitialized()); } 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); } 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); } 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; } 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) { } } public Builder clear() { super.clear(); resourceVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000001); includeUninitialized_ = false; bitField0_ = (bitField0_ & ~0x00000002); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GetOptions_descriptor; } public io.kubernetes.client.proto.Meta.GetOptions getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.GetOptions.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.GetOptions build() { io.kubernetes.client.proto.Meta.GetOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.kubernetes.client.proto.Meta.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_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.includeUninitialized_ = includeUninitialized_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } 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(); } if (other.hasIncludeUninitialized()) { setIncludeUninitialized(other.getIncludeUninitialized()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } 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_ = ""; /** *
       * When specified:
       * - if unset, then the result is returned from remote storage based on quorum-read flag;
       * - if it's 0, then we simply return what we currently have in cache, no guarantee;
       * - if set to non zero, then the result is at least as fresh as given rv.
       * 
* * optional string resourceVersion = 1; */ public boolean hasResourceVersion() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       * When specified:
       * - if unset, then the result is returned from remote storage based on quorum-read flag;
       * - if it's 0, then we simply return what we currently have in cache, no guarantee;
       * - if set to non zero, then the result is at least as fresh as given rv.
       * 
* * optional string resourceVersion = 1; */ public java.lang.String getResourceVersion() { java.lang.Object ref = resourceVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { resourceVersion_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * When specified:
       * - if unset, then the result is returned from remote storage based on quorum-read flag;
       * - if it's 0, then we simply return what we currently have in cache, no guarantee;
       * - if set to non zero, then the result is at least as fresh as given rv.
       * 
* * optional string resourceVersion = 1; */ public com.google.protobuf.ByteString getResourceVersionBytes() { java.lang.Object ref = resourceVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * When specified:
       * - if unset, then the result is returned from remote storage based on quorum-read flag;
       * - if it's 0, then we simply return what we currently have in cache, no guarantee;
       * - if set to non zero, then the result is at least as fresh as given rv.
       * 
* * optional string resourceVersion = 1; */ public Builder setResourceVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; resourceVersion_ = value; onChanged(); return this; } /** *
       * When specified:
       * - if unset, then the result is returned from remote storage based on quorum-read flag;
       * - if it's 0, then we simply return what we currently have in cache, no guarantee;
       * - if set to non zero, then the result is at least as fresh as given rv.
       * 
* * optional string resourceVersion = 1; */ public Builder clearResourceVersion() { bitField0_ = (bitField0_ & ~0x00000001); resourceVersion_ = getDefaultInstance().getResourceVersion(); onChanged(); return this; } /** *
       * When specified:
       * - if unset, then the result is returned from remote storage based on quorum-read flag;
       * - if it's 0, then we simply return what we currently have in cache, no guarantee;
       * - if set to non zero, then the result is at least as fresh as given rv.
       * 
* * optional string resourceVersion = 1; */ public Builder setResourceVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; resourceVersion_ = value; onChanged(); return this; } private boolean includeUninitialized_ ; /** *
       * If true, partially initialized resources are included in the response.
       * +optional
       * 
* * optional bool includeUninitialized = 2; */ public boolean hasIncludeUninitialized() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       * If true, partially initialized resources are included in the response.
       * +optional
       * 
* * optional bool includeUninitialized = 2; */ public boolean getIncludeUninitialized() { return includeUninitialized_; } /** *
       * If true, partially initialized resources are included in the response.
       * +optional
       * 
* * optional bool includeUninitialized = 2; */ public Builder setIncludeUninitialized(boolean value) { bitField0_ |= 0x00000002; includeUninitialized_ = value; onChanged(); return this; } /** *
       * If true, partially initialized resources are included in the response.
       * +optional
       * 
* * optional bool includeUninitialized = 2; */ public Builder clearIncludeUninitialized() { bitField0_ = (bitField0_ & ~0x00000002); includeUninitialized_ = false; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@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() { 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; } 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(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; group_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; kind_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { 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; } 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; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, kind_); } unknownFields.writeTo(output); } 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); } 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); } 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; } 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) { } } public Builder clear() { super.clear(); group_ = ""; bitField0_ = (bitField0_ & ~0x00000001); kind_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupKind_descriptor; } public io.kubernetes.client.proto.Meta.GroupKind getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.GroupKind.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.GroupKind build() { io.kubernetes.client.proto.Meta.GroupKind result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.kubernetes.client.proto.Meta.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; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } 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; } public final boolean isInitialized() { return true; } 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; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.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() { 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; } 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(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 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; } } } } 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; } 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; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resource_); } unknownFields.writeTo(output); } 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); } 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); } 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; } 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) { } } public Builder clear() { super.clear(); group_ = ""; bitField0_ = (bitField0_ & ~0x00000001); resource_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupResource_descriptor; } public io.kubernetes.client.proto.Meta.GroupResource getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.GroupResource.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.GroupResource build() { io.kubernetes.client.proto.Meta.GroupResource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.kubernetes.client.proto.Meta.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; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } 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; } public final boolean isInitialized() { return true; } 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; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.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() { 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; } 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(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 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; } } } } 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; } 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; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_); } unknownFields.writeTo(output); } 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); } 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); } 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; } 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) { } } public Builder clear() { super.clear(); group_ = ""; bitField0_ = (bitField0_ & ~0x00000001); version_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersion_descriptor; } public io.kubernetes.client.proto.Meta.GroupVersion getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.GroupVersion.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.GroupVersion build() { io.kubernetes.client.proto.Meta.GroupVersion result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.kubernetes.client.proto.Meta.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; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } 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; } public final boolean isInitialized() { return true; } 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; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.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() { 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; } 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(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 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; } } } } 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; } 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; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, groupVersion_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_); } unknownFields.writeTo(output); } 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); } 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); } 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; } 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) { } } public Builder clear() { super.clear(); groupVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000001); version_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionForDiscovery_descriptor; } public io.kubernetes.client.proto.Meta.GroupVersionForDiscovery getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.GroupVersionForDiscovery.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.GroupVersionForDiscovery build() { io.kubernetes.client.proto.Meta.GroupVersionForDiscovery result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.kubernetes.client.proto.Meta.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; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } 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; } public final boolean isInitialized() { return true; } 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; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.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() { 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; } 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 coersion.  It doesn't use a GroupVersion to avoid custom marshalling
   * 
   * +protobuf.options.(gogoproto.goproto_stringer)=false
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.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(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 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; } } } } 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; } 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; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { 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); } 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); } 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); } 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 coersion.  It doesn't use a GroupVersion to avoid custom marshalling
     * 
     * +protobuf.options.(gogoproto.goproto_stringer)=false
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.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; } 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) { } } public Builder clear() { super.clear(); group_ = ""; bitField0_ = (bitField0_ & ~0x00000001); version_ = ""; bitField0_ = (bitField0_ & ~0x00000002); kind_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionKind_descriptor; } public io.kubernetes.client.proto.Meta.GroupVersionKind getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.GroupVersionKind.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.GroupVersionKind build() { io.kubernetes.client.proto.Meta.GroupVersionKind result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.kubernetes.client.proto.Meta.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; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } 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; } public final boolean isInitialized() { return true; } 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; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.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() { 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; } 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 coersion.  It doesn't use a GroupVersion to avoid custom marshalling
   * 
   * +protobuf.options.(gogoproto.goproto_stringer)=false
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.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(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 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; } } } } 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; } 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; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { 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); } 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); } 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); } 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 coersion.  It doesn't use a GroupVersion to avoid custom marshalling
     * 
     * +protobuf.options.(gogoproto.goproto_stringer)=false
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.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; } 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) { } } public Builder clear() { super.clear(); group_ = ""; bitField0_ = (bitField0_ & ~0x00000001); version_ = ""; bitField0_ = (bitField0_ & ~0x00000002); resource_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_GroupVersionResource_descriptor; } public io.kubernetes.client.proto.Meta.GroupVersionResource getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.GroupVersionResource.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.GroupVersionResource build() { io.kubernetes.client.proto.Meta.GroupVersionResource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.kubernetes.client.proto.Meta.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; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } 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; } public final boolean isInitialized() { return true; } 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; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.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() { 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; } public io.kubernetes.client.proto.Meta.GroupVersionResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface InitializerOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.Initializer) com.google.protobuf.MessageOrBuilder { /** *
     * name of the process that is responsible for initializing this object.
     * 
* * optional string name = 1; */ boolean hasName(); /** *
     * name of the process that is responsible for initializing this object.
     * 
* * optional string name = 1; */ java.lang.String getName(); /** *
     * name of the process that is responsible for initializing this object.
     * 
* * optional string name = 1; */ com.google.protobuf.ByteString getNameBytes(); } /** *
   * Initializer is information about an initializer that has not yet completed.
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Initializer} */ public static final class Initializer extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Initializer) InitializerOrBuilder { private static final long serialVersionUID = 0L; // Use Initializer.newBuilder() to construct. private Initializer(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Initializer() { name_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Initializer( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; name_ = bs; 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_Initializer_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Initializer_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.Initializer.class, io.kubernetes.client.proto.Meta.Initializer.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** *
     * name of the process that is responsible for initializing this object.
     * 
* * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     * name of the process that is responsible for initializing this object.
     * 
* * 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 of the process that is responsible for initializing this object.
     * 
* * 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; } } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } size += 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.Initializer)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.Initializer other = (io.kubernetes.client.proto.Meta.Initializer) obj; boolean result = true; result = result && (hasName() == other.hasName()); if (hasName()) { result = result && getName() .equals(other.getName()); } 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(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.Initializer parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.Initializer parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.Initializer parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.Initializer parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.Initializer parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.Initializer parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.Initializer parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.Initializer parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.Initializer parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.Initializer parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.Initializer parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.Initializer parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.kubernetes.client.proto.Meta.Initializer prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * Initializer is information about an initializer that has not yet completed.
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Initializer} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Initializer) io.kubernetes.client.proto.Meta.InitializerOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Initializer_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Initializer_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.Initializer.class, io.kubernetes.client.proto.Meta.Initializer.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.Initializer.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Initializer_descriptor; } public io.kubernetes.client.proto.Meta.Initializer getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.Initializer.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.Initializer build() { io.kubernetes.client.proto.Meta.Initializer result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.kubernetes.client.proto.Meta.Initializer buildPartial() { io.kubernetes.client.proto.Meta.Initializer result = new io.kubernetes.client.proto.Meta.Initializer(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.Initializer) { return mergeFrom((io.kubernetes.client.proto.Meta.Initializer)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.Initializer other) { if (other == io.kubernetes.client.proto.Meta.Initializer.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.Initializer parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.Initializer) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** *
       * name of the process that is responsible for initializing this object.
       * 
* * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       * name of the process that is responsible for initializing this object.
       * 
* * 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 of the process that is responsible for initializing this object.
       * 
* * 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 of the process that is responsible for initializing this object.
       * 
* * 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 of the process that is responsible for initializing this object.
       * 
* * optional string name = 1; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * name of the process that is responsible for initializing this object.
       * 
* * 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; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Initializer) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Initializer) private static final io.kubernetes.client.proto.Meta.Initializer DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.Initializer(); } public static io.kubernetes.client.proto.Meta.Initializer getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Initializer parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Initializer(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public io.kubernetes.client.proto.Meta.Initializer getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface InitializersOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.Initializers) com.google.protobuf.MessageOrBuilder { /** *
     * Pending is a list of initializers that must execute in order before this object is visible.
     * When the last pending initializer is removed, and no failing result is set, the initializers
     * struct will be set to nil and the object is considered as initialized and visible to all
     * clients.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ java.util.List getPendingList(); /** *
     * Pending is a list of initializers that must execute in order before this object is visible.
     * When the last pending initializer is removed, and no failing result is set, the initializers
     * struct will be set to nil and the object is considered as initialized and visible to all
     * clients.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ io.kubernetes.client.proto.Meta.Initializer getPending(int index); /** *
     * Pending is a list of initializers that must execute in order before this object is visible.
     * When the last pending initializer is removed, and no failing result is set, the initializers
     * struct will be set to nil and the object is considered as initialized and visible to all
     * clients.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ int getPendingCount(); /** *
     * Pending is a list of initializers that must execute in order before this object is visible.
     * When the last pending initializer is removed, and no failing result is set, the initializers
     * struct will be set to nil and the object is considered as initialized and visible to all
     * clients.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ java.util.List getPendingOrBuilderList(); /** *
     * Pending is a list of initializers that must execute in order before this object is visible.
     * When the last pending initializer is removed, and no failing result is set, the initializers
     * struct will be set to nil and the object is considered as initialized and visible to all
     * clients.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ io.kubernetes.client.proto.Meta.InitializerOrBuilder getPendingOrBuilder( int index); /** *
     * If result is set with the Failure field, the object will be persisted to storage and then deleted,
     * ensuring that other clients can observe the deletion.
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; */ boolean hasResult(); /** *
     * If result is set with the Failure field, the object will be persisted to storage and then deleted,
     * ensuring that other clients can observe the deletion.
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; */ io.kubernetes.client.proto.Meta.Status getResult(); /** *
     * If result is set with the Failure field, the object will be persisted to storage and then deleted,
     * ensuring that other clients can observe the deletion.
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; */ io.kubernetes.client.proto.Meta.StatusOrBuilder getResultOrBuilder(); } /** *
   * Initializers tracks the progress of initialization.
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Initializers} */ public static final class Initializers extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Initializers) InitializersOrBuilder { private static final long serialVersionUID = 0L; // Use Initializers.newBuilder() to construct. private Initializers(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Initializers() { pending_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Initializers( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { pending_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } pending_.add( input.readMessage(io.kubernetes.client.proto.Meta.Initializer.PARSER, extensionRegistry)); break; } case 18: { io.kubernetes.client.proto.Meta.Status.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = result_.toBuilder(); } result_ = input.readMessage(io.kubernetes.client.proto.Meta.Status.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(result_); result_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; 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)) { pending_ = java.util.Collections.unmodifiableList(pending_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Initializers_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Initializers_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.Initializers.class, io.kubernetes.client.proto.Meta.Initializers.Builder.class); } private int bitField0_; public static final int PENDING_FIELD_NUMBER = 1; private java.util.List pending_; /** *
     * Pending is a list of initializers that must execute in order before this object is visible.
     * When the last pending initializer is removed, and no failing result is set, the initializers
     * struct will be set to nil and the object is considered as initialized and visible to all
     * clients.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ public java.util.List getPendingList() { return pending_; } /** *
     * Pending is a list of initializers that must execute in order before this object is visible.
     * When the last pending initializer is removed, and no failing result is set, the initializers
     * struct will be set to nil and the object is considered as initialized and visible to all
     * clients.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ public java.util.List getPendingOrBuilderList() { return pending_; } /** *
     * Pending is a list of initializers that must execute in order before this object is visible.
     * When the last pending initializer is removed, and no failing result is set, the initializers
     * struct will be set to nil and the object is considered as initialized and visible to all
     * clients.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ public int getPendingCount() { return pending_.size(); } /** *
     * Pending is a list of initializers that must execute in order before this object is visible.
     * When the last pending initializer is removed, and no failing result is set, the initializers
     * struct will be set to nil and the object is considered as initialized and visible to all
     * clients.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ public io.kubernetes.client.proto.Meta.Initializer getPending(int index) { return pending_.get(index); } /** *
     * Pending is a list of initializers that must execute in order before this object is visible.
     * When the last pending initializer is removed, and no failing result is set, the initializers
     * struct will be set to nil and the object is considered as initialized and visible to all
     * clients.
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ public io.kubernetes.client.proto.Meta.InitializerOrBuilder getPendingOrBuilder( int index) { return pending_.get(index); } public static final int RESULT_FIELD_NUMBER = 2; private io.kubernetes.client.proto.Meta.Status result_; /** *
     * If result is set with the Failure field, the object will be persisted to storage and then deleted,
     * ensuring that other clients can observe the deletion.
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; */ public boolean hasResult() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     * If result is set with the Failure field, the object will be persisted to storage and then deleted,
     * ensuring that other clients can observe the deletion.
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; */ public io.kubernetes.client.proto.Meta.Status getResult() { return result_ == null ? io.kubernetes.client.proto.Meta.Status.getDefaultInstance() : result_; } /** *
     * If result is set with the Failure field, the object will be persisted to storage and then deleted,
     * ensuring that other clients can observe the deletion.
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; */ public io.kubernetes.client.proto.Meta.StatusOrBuilder getResultOrBuilder() { return result_ == null ? io.kubernetes.client.proto.Meta.Status.getDefaultInstance() : result_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < pending_.size(); i++) { output.writeMessage(1, pending_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(2, getResult()); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < pending_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, pending_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getResult()); } size += 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.Initializers)) { return super.equals(obj); } io.kubernetes.client.proto.Meta.Initializers other = (io.kubernetes.client.proto.Meta.Initializers) obj; boolean result = true; result = result && getPendingList() .equals(other.getPendingList()); result = result && (hasResult() == other.hasResult()); if (hasResult()) { result = result && getResult() .equals(other.getResult()); } result = result && 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 (getPendingCount() > 0) { hash = (37 * hash) + PENDING_FIELD_NUMBER; hash = (53 * hash) + getPendingList().hashCode(); } if (hasResult()) { hash = (37 * hash) + RESULT_FIELD_NUMBER; hash = (53 * hash) + getResult().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.kubernetes.client.proto.Meta.Initializers parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.Initializers parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.Initializers parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.Initializers parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.Initializers parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.kubernetes.client.proto.Meta.Initializers parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.kubernetes.client.proto.Meta.Initializers parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.Initializers parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.Initializers parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.Initializers parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.kubernetes.client.proto.Meta.Initializers parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.kubernetes.client.proto.Meta.Initializers parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.kubernetes.client.proto.Meta.Initializers prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * Initializers tracks the progress of initialization.
     * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Initializers} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Initializers) io.kubernetes.client.proto.Meta.InitializersOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Initializers_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Initializers_fieldAccessorTable .ensureFieldAccessorsInitialized( io.kubernetes.client.proto.Meta.Initializers.class, io.kubernetes.client.proto.Meta.Initializers.Builder.class); } // Construct using io.kubernetes.client.proto.Meta.Initializers.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getPendingFieldBuilder(); getResultFieldBuilder(); } } public Builder clear() { super.clear(); if (pendingBuilder_ == null) { pending_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { pendingBuilder_.clear(); } if (resultBuilder_ == null) { result_ = null; } else { resultBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Initializers_descriptor; } public io.kubernetes.client.proto.Meta.Initializers getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.Initializers.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.Initializers build() { io.kubernetes.client.proto.Meta.Initializers result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.kubernetes.client.proto.Meta.Initializers buildPartial() { io.kubernetes.client.proto.Meta.Initializers result = new io.kubernetes.client.proto.Meta.Initializers(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (pendingBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { pending_ = java.util.Collections.unmodifiableList(pending_); bitField0_ = (bitField0_ & ~0x00000001); } result.pending_ = pending_; } else { result.pending_ = pendingBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000001; } if (resultBuilder_ == null) { result.result_ = result_; } else { result.result_ = resultBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.kubernetes.client.proto.Meta.Initializers) { return mergeFrom((io.kubernetes.client.proto.Meta.Initializers)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.kubernetes.client.proto.Meta.Initializers other) { if (other == io.kubernetes.client.proto.Meta.Initializers.getDefaultInstance()) return this; if (pendingBuilder_ == null) { if (!other.pending_.isEmpty()) { if (pending_.isEmpty()) { pending_ = other.pending_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePendingIsMutable(); pending_.addAll(other.pending_); } onChanged(); } } else { if (!other.pending_.isEmpty()) { if (pendingBuilder_.isEmpty()) { pendingBuilder_.dispose(); pendingBuilder_ = null; pending_ = other.pending_; bitField0_ = (bitField0_ & ~0x00000001); pendingBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPendingFieldBuilder() : null; } else { pendingBuilder_.addAllMessages(other.pending_); } } } if (other.hasResult()) { mergeResult(other.getResult()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.Initializers parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.Initializers) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List pending_ = java.util.Collections.emptyList(); private void ensurePendingIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { pending_ = new java.util.ArrayList(pending_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.Initializer, io.kubernetes.client.proto.Meta.Initializer.Builder, io.kubernetes.client.proto.Meta.InitializerOrBuilder> pendingBuilder_; /** *
       * Pending is a list of initializers that must execute in order before this object is visible.
       * When the last pending initializer is removed, and no failing result is set, the initializers
       * struct will be set to nil and the object is considered as initialized and visible to all
       * clients.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ public java.util.List getPendingList() { if (pendingBuilder_ == null) { return java.util.Collections.unmodifiableList(pending_); } else { return pendingBuilder_.getMessageList(); } } /** *
       * Pending is a list of initializers that must execute in order before this object is visible.
       * When the last pending initializer is removed, and no failing result is set, the initializers
       * struct will be set to nil and the object is considered as initialized and visible to all
       * clients.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ public int getPendingCount() { if (pendingBuilder_ == null) { return pending_.size(); } else { return pendingBuilder_.getCount(); } } /** *
       * Pending is a list of initializers that must execute in order before this object is visible.
       * When the last pending initializer is removed, and no failing result is set, the initializers
       * struct will be set to nil and the object is considered as initialized and visible to all
       * clients.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ public io.kubernetes.client.proto.Meta.Initializer getPending(int index) { if (pendingBuilder_ == null) { return pending_.get(index); } else { return pendingBuilder_.getMessage(index); } } /** *
       * Pending is a list of initializers that must execute in order before this object is visible.
       * When the last pending initializer is removed, and no failing result is set, the initializers
       * struct will be set to nil and the object is considered as initialized and visible to all
       * clients.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ public Builder setPending( int index, io.kubernetes.client.proto.Meta.Initializer value) { if (pendingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePendingIsMutable(); pending_.set(index, value); onChanged(); } else { pendingBuilder_.setMessage(index, value); } return this; } /** *
       * Pending is a list of initializers that must execute in order before this object is visible.
       * When the last pending initializer is removed, and no failing result is set, the initializers
       * struct will be set to nil and the object is considered as initialized and visible to all
       * clients.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ public Builder setPending( int index, io.kubernetes.client.proto.Meta.Initializer.Builder builderForValue) { if (pendingBuilder_ == null) { ensurePendingIsMutable(); pending_.set(index, builderForValue.build()); onChanged(); } else { pendingBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Pending is a list of initializers that must execute in order before this object is visible.
       * When the last pending initializer is removed, and no failing result is set, the initializers
       * struct will be set to nil and the object is considered as initialized and visible to all
       * clients.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ public Builder addPending(io.kubernetes.client.proto.Meta.Initializer value) { if (pendingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePendingIsMutable(); pending_.add(value); onChanged(); } else { pendingBuilder_.addMessage(value); } return this; } /** *
       * Pending is a list of initializers that must execute in order before this object is visible.
       * When the last pending initializer is removed, and no failing result is set, the initializers
       * struct will be set to nil and the object is considered as initialized and visible to all
       * clients.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ public Builder addPending( int index, io.kubernetes.client.proto.Meta.Initializer value) { if (pendingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePendingIsMutable(); pending_.add(index, value); onChanged(); } else { pendingBuilder_.addMessage(index, value); } return this; } /** *
       * Pending is a list of initializers that must execute in order before this object is visible.
       * When the last pending initializer is removed, and no failing result is set, the initializers
       * struct will be set to nil and the object is considered as initialized and visible to all
       * clients.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ public Builder addPending( io.kubernetes.client.proto.Meta.Initializer.Builder builderForValue) { if (pendingBuilder_ == null) { ensurePendingIsMutable(); pending_.add(builderForValue.build()); onChanged(); } else { pendingBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Pending is a list of initializers that must execute in order before this object is visible.
       * When the last pending initializer is removed, and no failing result is set, the initializers
       * struct will be set to nil and the object is considered as initialized and visible to all
       * clients.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ public Builder addPending( int index, io.kubernetes.client.proto.Meta.Initializer.Builder builderForValue) { if (pendingBuilder_ == null) { ensurePendingIsMutable(); pending_.add(index, builderForValue.build()); onChanged(); } else { pendingBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Pending is a list of initializers that must execute in order before this object is visible.
       * When the last pending initializer is removed, and no failing result is set, the initializers
       * struct will be set to nil and the object is considered as initialized and visible to all
       * clients.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ public Builder addAllPending( java.lang.Iterable values) { if (pendingBuilder_ == null) { ensurePendingIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, pending_); onChanged(); } else { pendingBuilder_.addAllMessages(values); } return this; } /** *
       * Pending is a list of initializers that must execute in order before this object is visible.
       * When the last pending initializer is removed, and no failing result is set, the initializers
       * struct will be set to nil and the object is considered as initialized and visible to all
       * clients.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ public Builder clearPending() { if (pendingBuilder_ == null) { pending_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { pendingBuilder_.clear(); } return this; } /** *
       * Pending is a list of initializers that must execute in order before this object is visible.
       * When the last pending initializer is removed, and no failing result is set, the initializers
       * struct will be set to nil and the object is considered as initialized and visible to all
       * clients.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ public Builder removePending(int index) { if (pendingBuilder_ == null) { ensurePendingIsMutable(); pending_.remove(index); onChanged(); } else { pendingBuilder_.remove(index); } return this; } /** *
       * Pending is a list of initializers that must execute in order before this object is visible.
       * When the last pending initializer is removed, and no failing result is set, the initializers
       * struct will be set to nil and the object is considered as initialized and visible to all
       * clients.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ public io.kubernetes.client.proto.Meta.Initializer.Builder getPendingBuilder( int index) { return getPendingFieldBuilder().getBuilder(index); } /** *
       * Pending is a list of initializers that must execute in order before this object is visible.
       * When the last pending initializer is removed, and no failing result is set, the initializers
       * struct will be set to nil and the object is considered as initialized and visible to all
       * clients.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ public io.kubernetes.client.proto.Meta.InitializerOrBuilder getPendingOrBuilder( int index) { if (pendingBuilder_ == null) { return pending_.get(index); } else { return pendingBuilder_.getMessageOrBuilder(index); } } /** *
       * Pending is a list of initializers that must execute in order before this object is visible.
       * When the last pending initializer is removed, and no failing result is set, the initializers
       * struct will be set to nil and the object is considered as initialized and visible to all
       * clients.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ public java.util.List getPendingOrBuilderList() { if (pendingBuilder_ != null) { return pendingBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(pending_); } } /** *
       * Pending is a list of initializers that must execute in order before this object is visible.
       * When the last pending initializer is removed, and no failing result is set, the initializers
       * struct will be set to nil and the object is considered as initialized and visible to all
       * clients.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ public io.kubernetes.client.proto.Meta.Initializer.Builder addPendingBuilder() { return getPendingFieldBuilder().addBuilder( io.kubernetes.client.proto.Meta.Initializer.getDefaultInstance()); } /** *
       * Pending is a list of initializers that must execute in order before this object is visible.
       * When the last pending initializer is removed, and no failing result is set, the initializers
       * struct will be set to nil and the object is considered as initialized and visible to all
       * clients.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ public io.kubernetes.client.proto.Meta.Initializer.Builder addPendingBuilder( int index) { return getPendingFieldBuilder().addBuilder( index, io.kubernetes.client.proto.Meta.Initializer.getDefaultInstance()); } /** *
       * Pending is a list of initializers that must execute in order before this object is visible.
       * When the last pending initializer is removed, and no failing result is set, the initializers
       * struct will be set to nil and the object is considered as initialized and visible to all
       * clients.
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Initializer pending = 1; */ public java.util.List getPendingBuilderList() { return getPendingFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.Initializer, io.kubernetes.client.proto.Meta.Initializer.Builder, io.kubernetes.client.proto.Meta.InitializerOrBuilder> getPendingFieldBuilder() { if (pendingBuilder_ == null) { pendingBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.Initializer, io.kubernetes.client.proto.Meta.Initializer.Builder, io.kubernetes.client.proto.Meta.InitializerOrBuilder>( pending_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); pending_ = null; } return pendingBuilder_; } private io.kubernetes.client.proto.Meta.Status result_ = null; private com.google.protobuf.SingleFieldBuilderV3< io.kubernetes.client.proto.Meta.Status, io.kubernetes.client.proto.Meta.Status.Builder, io.kubernetes.client.proto.Meta.StatusOrBuilder> resultBuilder_; /** *
       * If result is set with the Failure field, the object will be persisted to storage and then deleted,
       * ensuring that other clients can observe the deletion.
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; */ public boolean hasResult() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       * If result is set with the Failure field, the object will be persisted to storage and then deleted,
       * ensuring that other clients can observe the deletion.
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; */ public io.kubernetes.client.proto.Meta.Status getResult() { if (resultBuilder_ == null) { return result_ == null ? io.kubernetes.client.proto.Meta.Status.getDefaultInstance() : result_; } else { return resultBuilder_.getMessage(); } } /** *
       * If result is set with the Failure field, the object will be persisted to storage and then deleted,
       * ensuring that other clients can observe the deletion.
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; */ public Builder setResult(io.kubernetes.client.proto.Meta.Status value) { if (resultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } result_ = value; onChanged(); } else { resultBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** *
       * If result is set with the Failure field, the object will be persisted to storage and then deleted,
       * ensuring that other clients can observe the deletion.
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; */ public Builder setResult( io.kubernetes.client.proto.Meta.Status.Builder builderForValue) { if (resultBuilder_ == null) { result_ = builderForValue.build(); onChanged(); } else { resultBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** *
       * If result is set with the Failure field, the object will be persisted to storage and then deleted,
       * ensuring that other clients can observe the deletion.
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; */ public Builder mergeResult(io.kubernetes.client.proto.Meta.Status value) { if (resultBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && result_ != null && result_ != io.kubernetes.client.proto.Meta.Status.getDefaultInstance()) { result_ = io.kubernetes.client.proto.Meta.Status.newBuilder(result_).mergeFrom(value).buildPartial(); } else { result_ = value; } onChanged(); } else { resultBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** *
       * If result is set with the Failure field, the object will be persisted to storage and then deleted,
       * ensuring that other clients can observe the deletion.
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; */ public Builder clearResult() { if (resultBuilder_ == null) { result_ = null; onChanged(); } else { resultBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** *
       * If result is set with the Failure field, the object will be persisted to storage and then deleted,
       * ensuring that other clients can observe the deletion.
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; */ public io.kubernetes.client.proto.Meta.Status.Builder getResultBuilder() { bitField0_ |= 0x00000002; onChanged(); return getResultFieldBuilder().getBuilder(); } /** *
       * If result is set with the Failure field, the object will be persisted to storage and then deleted,
       * ensuring that other clients can observe the deletion.
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; */ public io.kubernetes.client.proto.Meta.StatusOrBuilder getResultOrBuilder() { if (resultBuilder_ != null) { return resultBuilder_.getMessageOrBuilder(); } else { return result_ == null ? io.kubernetes.client.proto.Meta.Status.getDefaultInstance() : result_; } } /** *
       * If result is set with the Failure field, the object will be persisted to storage and then deleted,
       * ensuring that other clients can observe the deletion.
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status result = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.kubernetes.client.proto.Meta.Status, io.kubernetes.client.proto.Meta.Status.Builder, io.kubernetes.client.proto.Meta.StatusOrBuilder> getResultFieldBuilder() { if (resultBuilder_ == null) { resultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.kubernetes.client.proto.Meta.Status, io.kubernetes.client.proto.Meta.Status.Builder, io.kubernetes.client.proto.Meta.StatusOrBuilder>( getResult(), getParentForChildren(), isClean()); result_ = null; } return resultBuilder_; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Initializers) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.Initializers) private static final io.kubernetes.client.proto.Meta.Initializers DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.Initializers(); } public static io.kubernetes.client.proto.Meta.Initializers getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Initializers parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Initializers(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public io.kubernetes.client.proto.Meta.Initializers 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.
   * 
* * 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(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { matchLabels_ = com.google.protobuf.MapField.newMapField( MatchLabelsDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry matchLabels__ = input.readMessage( MatchLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); matchLabels_.getMutableMap().put( matchLabels__.getKey(), matchLabels__.getValue()); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { matchExpressions_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } matchExpressions_.add( input.readMessage(io.kubernetes.client.proto.Meta.LabelSelectorRequirement.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { 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"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMatchLabels(); default: throw new RuntimeException( "Invalid map field number: " + number); } } 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< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelector_MatchLabelsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> matchLabels_; private com.google.protobuf.MapField internalGetMatchLabels() { if (matchLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( MatchLabelsDefaultEntryHolder.defaultEntry); } return matchLabels_; } public int getMatchLabelsCount() { return internalGetMatchLabels().getMap().size(); } /** *
     * 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 getMatchExpressionsOrBuilderList() { return matchExpressions_; } /** *
     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
     * +optional
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; */ public int getMatchExpressionsCount() { return matchExpressions_.size(); } /** *
     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
     * +optional
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; */ public io.kubernetes.client.proto.Meta.LabelSelectorRequirement getMatchExpressions(int index) { return matchExpressions_.get(index); } /** *
     * matchExpressions is a list of label selector requirements. The requirements are ANDed.
     * +optional
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; */ public io.kubernetes.client.proto.Meta.LabelSelectorRequirementOrBuilder getMatchExpressionsOrBuilder( int index) { return matchExpressions_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMatchLabels(), MatchLabelsDefaultEntryHolder.defaultEntry, 1); for (int i = 0; i < matchExpressions_.size(); i++) { output.writeMessage(2, matchExpressions_.get(i)); } unknownFields.writeTo(output); } 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); } 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); } 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.
     * 
* * 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); } } 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(); } } public Builder clear() { super.clear(); internalGetMutableMatchLabels().clear(); if (matchExpressionsBuilder_ == null) { matchExpressions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { matchExpressionsBuilder_.clear(); } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelector_descriptor; } public io.kubernetes.client.proto.Meta.LabelSelector getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.LabelSelector.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.LabelSelector build() { io.kubernetes.client.proto.Meta.LabelSelector result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.kubernetes.client.proto.Meta.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; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } 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; } public final boolean isInitialized() { return true; } 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< java.lang.String, java.lang.String> matchLabels_; private com.google.protobuf.MapField internalGetMatchLabels() { if (matchLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( MatchLabelsDefaultEntryHolder.defaultEntry); } return matchLabels_; } private com.google.protobuf.MapField internalGetMutableMatchLabels() { onChanged();; if (matchLabels_ == null) { matchLabels_ = com.google.protobuf.MapField.newMapField( MatchLabelsDefaultEntryHolder.defaultEntry); } if (!matchLabels_.isMutable()) { matchLabels_ = matchLabels_.copy(); } return matchLabels_; } public int getMatchLabelsCount() { return internalGetMatchLabels().getMap().size(); } /** *
       * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
       * map is equivalent to an element of matchExpressions, whose key field is "key", the
       * operator is "In", and the values array contains only "value". The requirements are ANDed.
       * +optional
       * 
* * map<string, string> matchLabels = 1; */ public boolean containsMatchLabels( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetMatchLabels().getMap().containsKey(key); } /** * Use {@link #getMatchLabelsMap()} instead. */ @java.lang.Deprecated public java.util.Map getMatchLabels() { return getMatchLabelsMap(); } /** *
       * 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 getMatchExpressionsOrBuilderList() { if (matchExpressionsBuilder_ != null) { return matchExpressionsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(matchExpressions_); } } /** *
       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
       * +optional
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; */ public io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder addMatchExpressionsBuilder() { return getMatchExpressionsFieldBuilder().addBuilder( io.kubernetes.client.proto.Meta.LabelSelectorRequirement.getDefaultInstance()); } /** *
       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
       * +optional
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; */ public io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder addMatchExpressionsBuilder( int index) { return getMatchExpressionsFieldBuilder().addBuilder( index, io.kubernetes.client.proto.Meta.LabelSelectorRequirement.getDefaultInstance()); } /** *
       * matchExpressions is a list of label selector requirements. The requirements are ANDed.
       * +optional
       * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement matchExpressions = 2; */ public java.util.List getMatchExpressionsBuilderList() { return getMatchExpressionsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.LabelSelectorRequirement, io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder, io.kubernetes.client.proto.Meta.LabelSelectorRequirementOrBuilder> getMatchExpressionsFieldBuilder() { if (matchExpressionsBuilder_ == null) { matchExpressionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.kubernetes.client.proto.Meta.LabelSelectorRequirement, io.kubernetes.client.proto.Meta.LabelSelectorRequirement.Builder, io.kubernetes.client.proto.Meta.LabelSelectorRequirementOrBuilder>( matchExpressions_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); matchExpressions_ = null; } return matchExpressionsBuilder_; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector) private static final io.kubernetes.client.proto.Meta.LabelSelector DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.LabelSelector(); } public static io.kubernetes.client.proto.Meta.LabelSelector getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public LabelSelector parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new LabelSelector(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public io.kubernetes.client.proto.Meta.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 ard In, NotIn, Exists and DoesNotExist.
     * 
* * optional string operator = 2; */ boolean hasOperator(); /** *
     * operator represents a key's relationship to a set of values.
     * Valid operators ard 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 ard 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(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 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; } } } } 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; } 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 ard 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 ard 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 ard 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; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { 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); } 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); } 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); } 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; } 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) { } } public Builder clear() { super.clear(); key_ = ""; bitField0_ = (bitField0_ & ~0x00000001); operator_ = ""; bitField0_ = (bitField0_ & ~0x00000002); values_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement_descriptor; } public io.kubernetes.client.proto.Meta.LabelSelectorRequirement getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.LabelSelectorRequirement.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.LabelSelectorRequirement build() { io.kubernetes.client.proto.Meta.LabelSelectorRequirement result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.kubernetes.client.proto.Meta.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; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } 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; } public final boolean isInitialized() { return true; } 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 ard 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 ard 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 ard 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 ard 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 ard 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 ard 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; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.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() { 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; } public io.kubernetes.client.proto.Meta.LabelSelectorRequirement 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.
     * +optional
     * 
* * optional string selfLink = 1; */ boolean hasSelfLink(); /** *
     * SelfLink is a URL representing this object.
     * Populated by the system.
     * Read-only.
     * +optional
     * 
* * optional string selfLink = 1; */ java.lang.String getSelfLink(); /** *
     * SelfLink is a URL representing this object.
     * Populated by the system.
     * Read-only.
     * +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/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/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/api-conventions.md#concurrency-control-and-consistency
     * +optional
     * 
* * optional string resourceVersion = 2; */ com.google.protobuf.ByteString getResourceVersionBytes(); } /** *
   * 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_ = ""; } @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(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 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; } } } } 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; } 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.
     * +optional
     * 
* * optional string selfLink = 1; */ public boolean hasSelfLink() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     * SelfLink is a URL representing this object.
     * Populated by the system.
     * Read-only.
     * +optional
     * 
* * optional string selfLink = 1; */ public java.lang.String getSelfLink() { java.lang.Object ref = selfLink_; if (ref instanceof java.lang.String) { 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.
     * +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/api-conventions.md#concurrency-control-and-consistency
     * +optional
     * 
* * optional string resourceVersion = 2; */ public boolean hasResourceVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     * String that identifies the server's internal version of this object that
     * can be used by clients to determine when objects have changed.
     * Value must be treated as opaque by clients and passed unmodified back to the server.
     * Populated by the system.
     * Read-only.
     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
     * +optional
     * 
* * optional string resourceVersion = 2; */ public java.lang.String getResourceVersion() { java.lang.Object ref = resourceVersion_; if (ref instanceof java.lang.String) { 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/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; } } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, selfLink_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resourceVersion_); } unknownFields.writeTo(output); } 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_); } 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 && 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(); } 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); } 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); } 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; } 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) { } } public Builder clear() { super.clear(); selfLink_ = ""; bitField0_ = (bitField0_ & ~0x00000001); resourceVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta_descriptor; } public io.kubernetes.client.proto.Meta.ListMeta getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.ListMeta.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.ListMeta build() { io.kubernetes.client.proto.Meta.ListMeta result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.kubernetes.client.proto.Meta.ListMeta buildPartial() { io.kubernetes.client.proto.Meta.ListMeta result = new io.kubernetes.client.proto.Meta.ListMeta(this); 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_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } 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(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.kubernetes.client.proto.Meta.ListMeta parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.kubernetes.client.proto.Meta.ListMeta) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object selfLink_ = ""; /** *
       * SelfLink is a URL representing this object.
       * Populated by the system.
       * Read-only.
       * +optional
       * 
* * optional string selfLink = 1; */ public boolean hasSelfLink() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       * SelfLink is a URL representing this object.
       * Populated by the system.
       * Read-only.
       * +optional
       * 
* * optional string selfLink = 1; */ public java.lang.String getSelfLink() { java.lang.Object ref = selfLink_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { selfLink_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * SelfLink is a URL representing this object.
       * Populated by the system.
       * Read-only.
       * +optional
       * 
* * optional string selfLink = 1; */ public com.google.protobuf.ByteString getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); selfLink_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * SelfLink is a URL representing this object.
       * Populated by the system.
       * Read-only.
       * +optional
       * 
* * optional string selfLink = 1; */ public Builder setSelfLink( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; selfLink_ = value; onChanged(); return this; } /** *
       * SelfLink is a URL representing this object.
       * Populated by the system.
       * Read-only.
       * +optional
       * 
* * optional string selfLink = 1; */ public Builder clearSelfLink() { bitField0_ = (bitField0_ & ~0x00000001); selfLink_ = getDefaultInstance().getSelfLink(); onChanged(); return this; } /** *
       * SelfLink is a URL representing this object.
       * Populated by the system.
       * Read-only.
       * +optional
       * 
* * optional string selfLink = 1; */ public Builder setSelfLinkBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; selfLink_ = value; onChanged(); return this; } private java.lang.Object resourceVersion_ = ""; /** *
       * String that identifies the server's internal version of this object that
       * can be used by clients to determine when objects have changed.
       * Value must be treated as opaque by clients and passed unmodified back to the server.
       * Populated by the system.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
       * +optional
       * 
* * optional string resourceVersion = 2; */ public boolean hasResourceVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       * String that identifies the server's internal version of this object that
       * can be used by clients to determine when objects have changed.
       * Value must be treated as opaque by clients and passed unmodified back to the server.
       * Populated by the system.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
       * +optional
       * 
* * optional string resourceVersion = 2; */ public java.lang.String getResourceVersion() { java.lang.Object ref = resourceVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { resourceVersion_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * String that identifies the server's internal version of this object that
       * can be used by clients to determine when objects have changed.
       * Value must be treated as opaque by clients and passed unmodified back to the server.
       * Populated by the system.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
       * +optional
       * 
* * optional string resourceVersion = 2; */ public com.google.protobuf.ByteString getResourceVersionBytes() { java.lang.Object ref = resourceVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * String that identifies the server's internal version of this object that
       * can be used by clients to determine when objects have changed.
       * Value must be treated as opaque by clients and passed unmodified back to the server.
       * Populated by the system.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
       * +optional
       * 
* * optional string resourceVersion = 2; */ public Builder setResourceVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; resourceVersion_ = value; onChanged(); return this; } /** *
       * String that identifies the server's internal version of this object that
       * can be used by clients to determine when objects have changed.
       * Value must be treated as opaque by clients and passed unmodified back to the server.
       * Populated by the system.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
       * +optional
       * 
* * optional string resourceVersion = 2; */ public Builder clearResourceVersion() { bitField0_ = (bitField0_ & ~0x00000002); resourceVersion_ = getDefaultInstance().getResourceVersion(); onChanged(); return this; } /** *
       * String that identifies the server's internal version of this object that
       * can be used by clients to determine when objects have changed.
       * Value must be treated as opaque by clients and passed unmodified back to the server.
       * Populated by the system.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
       * +optional
       * 
* * optional string resourceVersion = 2; */ public Builder setResourceVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; resourceVersion_ = value; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta) private static final io.kubernetes.client.proto.Meta.ListMeta DEFAULT_INSTANCE; 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() { 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; } 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(); /** *
     * If true, partially initialized resources are included in the response.
     * +optional
     * 
* * optional bool includeUninitialized = 6; */ boolean hasIncludeUninitialized(); /** *
     * If true, partially initialized resources are included in the response.
     * +optional
     * 
* * optional bool includeUninitialized = 6; */ boolean getIncludeUninitialized(); /** *
     * Watch for changes to the described resources and return them as a stream of
     * add, update, and remove notifications. Specify resourceVersion.
     * +optional
     * 
* * optional bool watch = 3; */ boolean hasWatch(); /** *
     * Watch for changes to the described resources and return them as a stream of
     * add, update, and remove notifications. Specify resourceVersion.
     * +optional
     * 
* * optional bool watch = 3; */ boolean getWatch(); /** *
     * When specified with a watch call, shows changes that occur after that particular version of a resource.
     * Defaults to changes from the beginning of history.
     * When specified for list:
     * - if unset, then the result is returned from remote storage based on quorum-read flag;
     * - if it's 0, then we simply return what we currently have in cache, no guarantee;
     * - if set to non zero, then the result is at least as fresh as given rv.
     * +optional
     * 
* * optional string resourceVersion = 4; */ boolean hasResourceVersion(); /** *
     * When specified with a watch call, shows changes that occur after that particular version of a resource.
     * Defaults to changes from the beginning of history.
     * When specified for list:
     * - if unset, then the result is returned from remote storage based on quorum-read flag;
     * - if it's 0, then we simply return what we currently have in cache, no guarantee;
     * - if set to non zero, then the result is at least as fresh as given rv.
     * +optional
     * 
* * optional string resourceVersion = 4; */ java.lang.String getResourceVersion(); /** *
     * When specified with a watch call, shows changes that occur after that particular version of a resource.
     * Defaults to changes from the beginning of history.
     * When specified for list:
     * - if unset, then the result is returned from remote storage based on quorum-read flag;
     * - if it's 0, then we simply return what we currently have in cache, no guarantee;
     * - if set to non zero, then the result is at least as fresh as given rv.
     * +optional
     * 
* * optional string resourceVersion = 4; */ com.google.protobuf.ByteString getResourceVersionBytes(); /** *
     * Timeout for the list/watch call.
     * +optional
     * 
* * optional int64 timeoutSeconds = 5; */ boolean hasTimeoutSeconds(); /** *
     * Timeout for the list/watch call.
     * +optional
     * 
* * optional int64 timeoutSeconds = 5; */ long getTimeoutSeconds(); } /** *
   * 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_ = ""; includeUninitialized_ = false; watch_ = false; resourceVersion_ = ""; timeoutSeconds_ = 0L; } @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(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 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_ |= 0x00000008; watch_ = input.readBool(); break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; resourceVersion_ = bs; break; } case 40: { bitField0_ |= 0x00000020; timeoutSeconds_ = input.readInt64(); break; } case 48: { bitField0_ |= 0x00000004; includeUninitialized_ = input.readBool(); 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; } 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 INCLUDEUNINITIALIZED_FIELD_NUMBER = 6; private boolean includeUninitialized_; /** *
     * If true, partially initialized resources are included in the response.
     * +optional
     * 
* * optional bool includeUninitialized = 6; */ public boolean hasIncludeUninitialized() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
     * If true, partially initialized resources are included in the response.
     * +optional
     * 
* * optional bool includeUninitialized = 6; */ public boolean getIncludeUninitialized() { return includeUninitialized_; } public static final int WATCH_FIELD_NUMBER = 3; private boolean watch_; /** *
     * Watch for changes to the described resources and return them as a stream of
     * add, update, and remove notifications. Specify resourceVersion.
     * +optional
     * 
* * optional bool watch = 3; */ public boolean hasWatch() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
     * Watch for changes to the described resources and return them as a stream of
     * add, update, and remove notifications. Specify resourceVersion.
     * +optional
     * 
* * optional bool watch = 3; */ public boolean getWatch() { return watch_; } public static final int RESOURCEVERSION_FIELD_NUMBER = 4; private volatile java.lang.Object resourceVersion_; /** *
     * When specified with a watch call, shows changes that occur after that particular version of a resource.
     * Defaults to changes from the beginning of history.
     * When specified for list:
     * - if unset, then the result is returned from remote storage based on quorum-read flag;
     * - if it's 0, then we simply return what we currently have in cache, no guarantee;
     * - if set to non zero, then the result is at least as fresh as given rv.
     * +optional
     * 
* * optional string resourceVersion = 4; */ public boolean hasResourceVersion() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
     * When specified with a watch call, shows changes that occur after that particular version of a resource.
     * Defaults to changes from the beginning of history.
     * When specified for list:
     * - if unset, then the result is returned from remote storage based on quorum-read flag;
     * - if it's 0, then we simply return what we currently have in cache, no guarantee;
     * - if set to non zero, then the result is at least as fresh as given rv.
     * +optional
     * 
* * optional string resourceVersion = 4; */ public java.lang.String getResourceVersion() { java.lang.Object ref = resourceVersion_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { resourceVersion_ = s; } return s; } } /** *
     * When specified with a watch call, shows changes that occur after that particular version of a resource.
     * Defaults to changes from the beginning of history.
     * When specified for list:
     * - if unset, then the result is returned from remote storage based on quorum-read flag;
     * - if it's 0, then we simply return what we currently have in cache, no guarantee;
     * - if set to non zero, then the result is at least as fresh as given rv.
     * +optional
     * 
* * optional string resourceVersion = 4; */ public com.google.protobuf.ByteString getResourceVersionBytes() { java.lang.Object ref = resourceVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TIMEOUTSECONDS_FIELD_NUMBER = 5; private long timeoutSeconds_; /** *
     * Timeout for the list/watch call.
     * +optional
     * 
* * optional int64 timeoutSeconds = 5; */ public boolean hasTimeoutSeconds() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
     * Timeout for the list/watch call.
     * +optional
     * 
* * optional int64 timeoutSeconds = 5; */ public long getTimeoutSeconds() { return timeoutSeconds_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, labelSelector_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fieldSelector_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBool(3, watch_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, resourceVersion_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeInt64(5, timeoutSeconds_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(6, includeUninitialized_); } unknownFields.writeTo(output); } 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_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, watch_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, resourceVersion_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, timeoutSeconds_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(6, includeUninitialized_); } 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 && (hasIncludeUninitialized() == other.hasIncludeUninitialized()); if (hasIncludeUninitialized()) { result = result && (getIncludeUninitialized() == other.getIncludeUninitialized()); } result = result && (hasWatch() == other.hasWatch()); if (hasWatch()) { result = result && (getWatch() == other.getWatch()); } result = result && (hasResourceVersion() == other.hasResourceVersion()); if (hasResourceVersion()) { result = result && getResourceVersion() .equals(other.getResourceVersion()); } result = result && (hasTimeoutSeconds() == other.hasTimeoutSeconds()); if (hasTimeoutSeconds()) { result = result && (getTimeoutSeconds() == other.getTimeoutSeconds()); } 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 (hasIncludeUninitialized()) { hash = (37 * hash) + INCLUDEUNINITIALIZED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIncludeUninitialized()); } if (hasWatch()) { hash = (37 * hash) + WATCH_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getWatch()); } if (hasResourceVersion()) { hash = (37 * hash) + RESOURCEVERSION_FIELD_NUMBER; hash = (53 * hash) + getResourceVersion().hashCode(); } if (hasTimeoutSeconds()) { hash = (37 * hash) + TIMEOUTSECONDS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTimeoutSeconds()); } 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); } 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); } 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; } 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) { } } public Builder clear() { super.clear(); labelSelector_ = ""; bitField0_ = (bitField0_ & ~0x00000001); fieldSelector_ = ""; bitField0_ = (bitField0_ & ~0x00000002); includeUninitialized_ = false; bitField0_ = (bitField0_ & ~0x00000004); watch_ = false; bitField0_ = (bitField0_ & ~0x00000008); resourceVersion_ = ""; bitField0_ = (bitField0_ & ~0x00000010); timeoutSeconds_ = 0L; bitField0_ = (bitField0_ & ~0x00000020); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ListOptions_descriptor; } public io.kubernetes.client.proto.Meta.ListOptions getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.ListOptions.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.ListOptions build() { io.kubernetes.client.proto.Meta.ListOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.kubernetes.client.proto.Meta.ListOptions buildPartial() { io.kubernetes.client.proto.Meta.ListOptions result = new io.kubernetes.client.proto.Meta.ListOptions(this); 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.includeUninitialized_ = includeUninitialized_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.watch_ = watch_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.resourceVersion_ = resourceVersion_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.timeoutSeconds_ = timeoutSeconds_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } 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.hasIncludeUninitialized()) { setIncludeUninitialized(other.getIncludeUninitialized()); } if (other.hasWatch()) { setWatch(other.getWatch()); } if (other.hasResourceVersion()) { bitField0_ |= 0x00000010; resourceVersion_ = other.resourceVersion_; onChanged(); } if (other.hasTimeoutSeconds()) { setTimeoutSeconds(other.getTimeoutSeconds()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } 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 includeUninitialized_ ; /** *
       * If true, partially initialized resources are included in the response.
       * +optional
       * 
* * optional bool includeUninitialized = 6; */ public boolean hasIncludeUninitialized() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       * If true, partially initialized resources are included in the response.
       * +optional
       * 
* * optional bool includeUninitialized = 6; */ public boolean getIncludeUninitialized() { return includeUninitialized_; } /** *
       * If true, partially initialized resources are included in the response.
       * +optional
       * 
* * optional bool includeUninitialized = 6; */ public Builder setIncludeUninitialized(boolean value) { bitField0_ |= 0x00000004; includeUninitialized_ = value; onChanged(); return this; } /** *
       * If true, partially initialized resources are included in the response.
       * +optional
       * 
* * optional bool includeUninitialized = 6; */ public Builder clearIncludeUninitialized() { bitField0_ = (bitField0_ & ~0x00000004); includeUninitialized_ = false; onChanged(); return this; } private boolean watch_ ; /** *
       * Watch for changes to the described resources and return them as a stream of
       * add, update, and remove notifications. Specify resourceVersion.
       * +optional
       * 
* * optional bool watch = 3; */ public boolean hasWatch() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
       * Watch for changes to the described resources and return them as a stream of
       * add, update, and remove notifications. Specify resourceVersion.
       * +optional
       * 
* * optional bool watch = 3; */ public boolean getWatch() { return watch_; } /** *
       * Watch for changes to the described resources and return them as a stream of
       * add, update, and remove notifications. Specify resourceVersion.
       * +optional
       * 
* * optional bool watch = 3; */ public Builder setWatch(boolean value) { bitField0_ |= 0x00000008; watch_ = value; onChanged(); return this; } /** *
       * 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_ & ~0x00000008); watch_ = false; onChanged(); return this; } private java.lang.Object resourceVersion_ = ""; /** *
       * When specified with a watch call, shows changes that occur after that particular version of a resource.
       * Defaults to changes from the beginning of history.
       * When specified for list:
       * - if unset, then the result is returned from remote storage based on quorum-read flag;
       * - if it's 0, then we simply return what we currently have in cache, no guarantee;
       * - if set to non zero, then the result is at least as fresh as given rv.
       * +optional
       * 
* * optional string resourceVersion = 4; */ public boolean hasResourceVersion() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
       * When specified with a watch call, shows changes that occur after that particular version of a resource.
       * Defaults to changes from the beginning of history.
       * When specified for list:
       * - if unset, then the result is returned from remote storage based on quorum-read flag;
       * - if it's 0, then we simply return what we currently have in cache, no guarantee;
       * - if set to non zero, then the result is at least as fresh as given rv.
       * +optional
       * 
* * optional string resourceVersion = 4; */ public java.lang.String getResourceVersion() { java.lang.Object ref = resourceVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { resourceVersion_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * When specified with a watch call, shows changes that occur after that particular version of a resource.
       * Defaults to changes from the beginning of history.
       * When specified for list:
       * - if unset, then the result is returned from remote storage based on quorum-read flag;
       * - if it's 0, then we simply return what we currently have in cache, no guarantee;
       * - if set to non zero, then the result is at least as fresh as given rv.
       * +optional
       * 
* * optional string resourceVersion = 4; */ public com.google.protobuf.ByteString getResourceVersionBytes() { java.lang.Object ref = resourceVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * When specified with a watch call, shows changes that occur after that particular version of a resource.
       * Defaults to changes from the beginning of history.
       * When specified for list:
       * - if unset, then the result is returned from remote storage based on quorum-read flag;
       * - if it's 0, then we simply return what we currently have in cache, no guarantee;
       * - if set to non zero, then the result is at least as fresh as given rv.
       * +optional
       * 
* * optional string resourceVersion = 4; */ public Builder setResourceVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; resourceVersion_ = value; onChanged(); return this; } /** *
       * When specified with a watch call, shows changes that occur after that particular version of a resource.
       * Defaults to changes from the beginning of history.
       * When specified for list:
       * - if unset, then the result is returned from remote storage based on quorum-read flag;
       * - if it's 0, then we simply return what we currently have in cache, no guarantee;
       * - if set to non zero, then the result is at least as fresh as given rv.
       * +optional
       * 
* * optional string resourceVersion = 4; */ public Builder clearResourceVersion() { bitField0_ = (bitField0_ & ~0x00000010); resourceVersion_ = getDefaultInstance().getResourceVersion(); onChanged(); return this; } /** *
       * When specified with a watch call, shows changes that occur after that particular version of a resource.
       * Defaults to changes from the beginning of history.
       * When specified for list:
       * - if unset, then the result is returned from remote storage based on quorum-read flag;
       * - if it's 0, then we simply return what we currently have in cache, no guarantee;
       * - if set to non zero, then the result is at least as fresh as given rv.
       * +optional
       * 
* * optional string resourceVersion = 4; */ public Builder setResourceVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; resourceVersion_ = value; onChanged(); return this; } private long timeoutSeconds_ ; /** *
       * Timeout for the list/watch call.
       * +optional
       * 
* * optional int64 timeoutSeconds = 5; */ public boolean hasTimeoutSeconds() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
       * Timeout for the list/watch call.
       * +optional
       * 
* * optional int64 timeoutSeconds = 5; */ public long getTimeoutSeconds() { return timeoutSeconds_; } /** *
       * Timeout for the list/watch call.
       * +optional
       * 
* * optional int64 timeoutSeconds = 5; */ public Builder setTimeoutSeconds(long value) { bitField0_ |= 0x00000020; timeoutSeconds_ = value; onChanged(); return this; } /** *
       * Timeout for the list/watch call.
       * +optional
       * 
* * optional int64 timeoutSeconds = 5; */ public Builder clearTimeoutSeconds() { bitField0_ = (bitField0_ & ~0x00000020); timeoutSeconds_ = 0L; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@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() { 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; } public io.kubernetes.client.proto.Meta.ListOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MicroTimeOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime) com.google.protobuf.MessageOrBuilder { /** *
     * Represents seconds of UTC time since Unix epoch
     * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
     * 9999-12-31T23:59:59Z inclusive.
     * 
* * optional int64 seconds = 1; */ boolean hasSeconds(); /** *
     * Represents seconds of UTC time since Unix epoch
     * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
     * 9999-12-31T23:59:59Z inclusive.
     * 
* * optional int64 seconds = 1; */ long getSeconds(); /** *
     * Non-negative fractions of a second at nanosecond resolution. Negative
     * second values with fractions must still have non-negative nanos values
     * that count forward in time. Must be from 0 to 999,999,999
     * inclusive. This field may be limited in precision depending on context.
     * 
* * optional int32 nanos = 2; */ boolean hasNanos(); /** *
     * Non-negative fractions of a second at nanosecond resolution. Negative
     * second values with fractions must still have non-negative nanos values
     * that count forward in time. Must be from 0 to 999,999,999
     * inclusive. This field may be limited in precision depending on context.
     * 
* * optional int32 nanos = 2; */ int getNanos(); } /** *
   * MicroTime is version of Time with microsecond level precision.
   * 
   * +protobuf.options.marshal=false
   * +protobuf.as=Timestamp
   * +protobuf.options.(gogoproto.goproto_stringer)=false
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime} */ public static final class MicroTime extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime) MicroTimeOrBuilder { private static final long serialVersionUID = 0L; // Use MicroTime.newBuilder() to construct. private MicroTime(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MicroTime() { seconds_ = 0L; nanos_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MicroTime( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; seconds_ = input.readInt64(); break; } case 16: { bitField0_ |= 0x00000002; nanos_ = input.readInt32(); 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; } 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; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, seconds_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, nanos_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .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); } 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); } 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; } 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) { } } public Builder clear() { super.clear(); seconds_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); nanos_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_MicroTime_descriptor; } public io.kubernetes.client.proto.Meta.MicroTime getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.MicroTime.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.MicroTime build() { io.kubernetes.client.proto.Meta.MicroTime result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.kubernetes.client.proto.Meta.MicroTime buildPartial() { io.kubernetes.client.proto.Meta.MicroTime result = new io.kubernetes.client.proto.Meta.MicroTime(this); 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; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } 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; } public final boolean isInitialized() { return true; } 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; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime) } // @@protoc_insertion_point(class_scope:k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime) private static final io.kubernetes.client.proto.Meta.MicroTime DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.kubernetes.client.proto.Meta.MicroTime(); } public static io.kubernetes.client.proto.Meta.MicroTime getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public MicroTime parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MicroTime(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public io.kubernetes.client.proto.Meta.MicroTime getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ObjectMetaOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta) com.google.protobuf.MessageOrBuilder { /** *
     * Name must be unique within a namespace. Is required when creating resources, although
     * some resources may allow a client to request the generation of an appropriate name
     * automatically. Name is primarily intended for creation idempotence and configuration
     * definition.
     * Cannot be updated.
     * More info: http://kubernetes.io/docs/user-guide/identifiers#names
     * +optional
     * 
* * optional string name = 1; */ boolean hasName(); /** *
     * Name must be unique within a namespace. Is required when creating resources, although
     * some resources may allow a client to request the generation of an appropriate name
     * automatically. Name is primarily intended for creation idempotence and configuration
     * definition.
     * Cannot be updated.
     * More info: http://kubernetes.io/docs/user-guide/identifiers#names
     * +optional
     * 
* * optional string name = 1; */ java.lang.String getName(); /** *
     * Name must be unique within a namespace. Is required when creating resources, although
     * some resources may allow a client to request the generation of an appropriate name
     * automatically. Name is primarily intended for creation idempotence and configuration
     * definition.
     * Cannot be updated.
     * More info: http://kubernetes.io/docs/user-guide/identifiers#names
     * +optional
     * 
* * optional string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** *
     * GenerateName is an optional prefix, used by the server, to generate a unique
     * name ONLY IF the Name field has not been provided.
     * If this field is used, the name returned to the client will be different
     * than the name passed. This value will also be combined with a unique suffix.
     * The provided value has the same validation rules as the Name field,
     * and may be truncated by the length of the suffix required to make the value
     * unique on the server.
     * 
     * If this field is specified and the generated name exists, the server will
     * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
     * ServerTimeout indicating a unique name could not be found in the time allotted, and the client
     * should retry (optionally after the time indicated in the Retry-After header).
     * 
     * Applied only if Name is not specified.
     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
     * +optional
     * 
* * optional string generateName = 2; */ boolean hasGenerateName(); /** *
     * GenerateName is an optional prefix, used by the server, to generate a unique
     * name ONLY IF the Name field has not been provided.
     * If this field is used, the name returned to the client will be different
     * than the name passed. This value will also be combined with a unique suffix.
     * The provided value has the same validation rules as the Name field,
     * and may be truncated by the length of the suffix required to make the value
     * unique on the server.
     * 
     * If this field is specified and the generated name exists, the server will
     * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
     * ServerTimeout indicating a unique name could not be found in the time allotted, and the client
     * should retry (optionally after the time indicated in the Retry-After header).
     * 
     * Applied only if Name is not specified.
     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
     * +optional
     * 
* * optional string generateName = 2; */ java.lang.String getGenerateName(); /** *
     * GenerateName is an optional prefix, used by the server, to generate a unique
     * name ONLY IF the Name field has not been provided.
     * If this field is used, the name returned to the client will be different
     * than the name passed. This value will also be combined with a unique suffix.
     * The provided value has the same validation rules as the Name field,
     * and may be truncated by the length of the suffix required to make the value
     * unique on the server.
     * 
     * If this field is specified and the generated name exists, the server will
     * NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
     * ServerTimeout indicating a unique name could not be found in the time allotted, and the client
     * should retry (optionally after the time indicated in the Retry-After header).
     * 
     * Applied only if Name is not specified.
     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
     * +optional
     * 
* * optional string generateName = 2; */ com.google.protobuf.ByteString getGenerateNameBytes(); /** *
     * Namespace defines the space within each name must be unique. An empty namespace is
     * equivalent to the "default" namespace, but "default" is the canonical representation.
     * Not all objects are required to be scoped to a namespace - the value of this field for
     * those objects will be empty.
     * 
     * Must be a DNS_LABEL.
     * Cannot be updated.
     * More info: http://kubernetes.io/docs/user-guide/namespaces
     * +optional
     * 
* * optional string namespace = 3; */ boolean hasNamespace(); /** *
     * Namespace defines the space within each name must be unique. An empty namespace is
     * equivalent to the "default" namespace, but "default" is the canonical representation.
     * Not all objects are required to be scoped to a namespace - the value of this field for
     * those objects will be empty.
     * 
     * Must be a DNS_LABEL.
     * Cannot be updated.
     * More info: http://kubernetes.io/docs/user-guide/namespaces
     * +optional
     * 
* * optional string namespace = 3; */ java.lang.String getNamespace(); /** *
     * Namespace defines the space within each name must be unique. An empty namespace is
     * equivalent to the "default" namespace, but "default" is the canonical representation.
     * Not all objects are required to be scoped to a namespace - the value of this field for
     * those objects will be empty.
     * 
     * Must be a DNS_LABEL.
     * Cannot be updated.
     * More info: http://kubernetes.io/docs/user-guide/namespaces
     * +optional
     * 
* * optional string namespace = 3; */ com.google.protobuf.ByteString getNamespaceBytes(); /** *
     * SelfLink is a URL representing this object.
     * Populated by the system.
     * Read-only.
     * +optional
     * 
* * optional string selfLink = 4; */ boolean hasSelfLink(); /** *
     * SelfLink is a URL representing this object.
     * Populated by the system.
     * Read-only.
     * +optional
     * 
* * optional string selfLink = 4; */ java.lang.String getSelfLink(); /** *
     * SelfLink is a URL representing this object.
     * Populated by the system.
     * Read-only.
     * +optional
     * 
* * optional string selfLink = 4; */ com.google.protobuf.ByteString getSelfLinkBytes(); /** *
     * UID is the unique in time and space value for this object. It is typically generated by
     * the server on successful creation of a resource and is not allowed to change on PUT
     * operations.
     * 
     * Populated by the system.
     * Read-only.
     * More info: http://kubernetes.io/docs/user-guide/identifiers#uids
     * +optional
     * 
* * optional string uid = 5; */ boolean hasUid(); /** *
     * UID is the unique in time and space value for this object. It is typically generated by
     * the server on successful creation of a resource and is not allowed to change on PUT
     * operations.
     * 
     * Populated by the system.
     * Read-only.
     * More info: http://kubernetes.io/docs/user-guide/identifiers#uids
     * +optional
     * 
* * optional string uid = 5; */ java.lang.String getUid(); /** *
     * UID is the unique in time and space value for this object. It is typically generated by
     * the server on successful creation of a resource and is not allowed to change on PUT
     * operations.
     * 
     * Populated by the system.
     * Read-only.
     * More info: http://kubernetes.io/docs/user-guide/identifiers#uids
     * +optional
     * 
* * optional string uid = 5; */ com.google.protobuf.ByteString getUidBytes(); /** *
     * An opaque value that represents the internal version of this object that can
     * be used by clients to determine when objects have changed. May be used for optimistic
     * concurrency, change detection, and the watch operation on a resource or set of resources.
     * Clients must treat these values as opaque and passed unmodified back to the server.
     * They may only be valid for a particular resource or set of resources.
     * 
     * Populated by the system.
     * Read-only.
     * Value must be treated as opaque by clients and .
     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
     * +optional
     * 
* * optional string resourceVersion = 6; */ boolean hasResourceVersion(); /** *
     * An opaque value that represents the internal version of this object that can
     * be used by clients to determine when objects have changed. May be used for optimistic
     * concurrency, change detection, and the watch operation on a resource or set of resources.
     * Clients must treat these values as opaque and passed unmodified back to the server.
     * They may only be valid for a particular resource or set of resources.
     * 
     * Populated by the system.
     * Read-only.
     * Value must be treated as opaque by clients and .
     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
     * +optional
     * 
* * optional string resourceVersion = 6; */ java.lang.String getResourceVersion(); /** *
     * An opaque value that represents the internal version of this object that can
     * be used by clients to determine when objects have changed. May be used for optimistic
     * concurrency, change detection, and the watch operation on a resource or set of resources.
     * Clients must treat these values as opaque and passed unmodified back to the server.
     * They may only be valid for a particular resource or set of resources.
     * 
     * Populated by the system.
     * Read-only.
     * Value must be treated as opaque by clients and .
     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
     * +optional
     * 
* * optional string resourceVersion = 6; */ com.google.protobuf.ByteString getResourceVersionBytes(); /** *
     * A sequence number representing a specific generation of the desired state.
     * Populated by the system. Read-only.
     * +optional
     * 
* * optional int64 generation = 7; */ boolean hasGeneration(); /** *
     * A sequence number representing a specific generation of the desired state.
     * Populated by the system. Read-only.
     * +optional
     * 
* * optional int64 generation = 7; */ long getGeneration(); /** *
     * CreationTimestamp is a timestamp representing the server time when this object was
     * created. It is not guaranteed to be set in happens-before order across separate operations.
     * Clients may not set this value. It is represented in RFC3339 form and is in UTC.
     * 
     * Populated by the system.
     * Read-only.
     * Null for lists.
     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8; */ boolean hasCreationTimestamp(); /** *
     * CreationTimestamp is a timestamp representing the server time when this object was
     * created. It is not guaranteed to be set in happens-before order across separate operations.
     * Clients may not set this value. It is represented in RFC3339 form and is in UTC.
     * 
     * Populated by the system.
     * Read-only.
     * Null for lists.
     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8; */ io.kubernetes.client.proto.Meta.Time getCreationTimestamp(); /** *
     * CreationTimestamp is a timestamp representing the server time when this object was
     * created. It is not guaranteed to be set in happens-before order across separate operations.
     * Clients may not set this value. It is represented in RFC3339 form and is in UTC.
     * 
     * Populated by the system.
     * Read-only.
     * Null for lists.
     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8; */ io.kubernetes.client.proto.Meta.TimeOrBuilder getCreationTimestampOrBuilder(); /** *
     * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
     * field is set by the server when a graceful deletion is requested by the user, and is not
     * directly settable by a client. The resource is expected to be deleted (no longer visible
     * from resource lists, and not reachable by name) after the time in this field. Once set,
     * this value may not be unset or be set further into the future, although it may be shortened
     * or the resource may be deleted prior to this time. For example, a user may request that
     * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination
     * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard
     * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the
     * API. In the presence of network partitions, this object may still exist after this
     * timestamp, until an administrator or automated process can determine the resource is
     * fully terminated.
     * If not set, graceful deletion of the object has not been requested.
     * 
     * Populated by the system when a graceful deletion is requested.
     * Read-only.
     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ boolean hasDeletionTimestamp(); /** *
     * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
     * field is set by the server when a graceful deletion is requested by the user, and is not
     * directly settable by a client. The resource is expected to be deleted (no longer visible
     * from resource lists, and not reachable by name) after the time in this field. Once set,
     * this value may not be unset or be set further into the future, although it may be shortened
     * or the resource may be deleted prior to this time. For example, a user may request that
     * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination
     * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard
     * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the
     * API. In the presence of network partitions, this object may still exist after this
     * timestamp, until an administrator or automated process can determine the resource is
     * fully terminated.
     * If not set, graceful deletion of the object has not been requested.
     * 
     * Populated by the system when a graceful deletion is requested.
     * Read-only.
     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ io.kubernetes.client.proto.Meta.Time getDeletionTimestamp(); /** *
     * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
     * field is set by the server when a graceful deletion is requested by the user, and is not
     * directly settable by a client. The resource is expected to be deleted (no longer visible
     * from resource lists, and not reachable by name) after the time in this field. Once set,
     * this value may not be unset or be set further into the future, although it may be shortened
     * or the resource may be deleted prior to this time. For example, a user may request that
     * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination
     * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard
     * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the
     * API. In the presence of network partitions, this object may still exist after this
     * timestamp, until an administrator or automated process can determine the resource is
     * fully terminated.
     * If not set, graceful deletion of the object has not been requested.
     * 
     * Populated by the system when a graceful deletion is requested.
     * Read-only.
     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ io.kubernetes.client.proto.Meta.TimeOrBuilder getDeletionTimestampOrBuilder(); /** *
     * Number of seconds allowed for this object to gracefully terminate before
     * it will be removed from the system. Only set when deletionTimestamp is also set.
     * May only be shortened.
     * Read-only.
     * +optional
     * 
* * optional int64 deletionGracePeriodSeconds = 10; */ boolean hasDeletionGracePeriodSeconds(); /** *
     * Number of seconds allowed for this object to gracefully terminate before
     * it will be removed from the system. Only set when deletionTimestamp is also set.
     * May only be shortened.
     * Read-only.
     * +optional
     * 
* * optional int64 deletionGracePeriodSeconds = 10; */ long getDeletionGracePeriodSeconds(); /** *
     * Map of string keys and values that can be used to organize and categorize
     * (scope and select) objects. May match selectors of replication controllers
     * and services.
     * More info: http://kubernetes.io/docs/user-guide/labels
     * +optional
     * 
* * map<string, string> labels = 11; */ int getLabelsCount(); /** *
     * Map of string keys and values that can be used to organize and categorize
     * (scope and select) objects. May match selectors of replication controllers
     * and services.
     * More info: http://kubernetes.io/docs/user-guide/labels
     * +optional
     * 
* * map<string, string> labels = 11; */ boolean containsLabels( java.lang.String key); /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getLabels(); /** *
     * Map of string keys and values that can be used to organize and categorize
     * (scope and select) objects. May match selectors of replication controllers
     * and services.
     * More info: http://kubernetes.io/docs/user-guide/labels
     * +optional
     * 
* * map<string, string> labels = 11; */ java.util.Map getLabelsMap(); /** *
     * Map of string keys and values that can be used to organize and categorize
     * (scope and select) objects. May match selectors of replication controllers
     * and services.
     * More info: http://kubernetes.io/docs/user-guide/labels
     * +optional
     * 
* * map<string, string> labels = 11; */ java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue); /** *
     * Map of string keys and values that can be used to organize and categorize
     * (scope and select) objects. May match selectors of replication controllers
     * and services.
     * More info: http://kubernetes.io/docs/user-guide/labels
     * +optional
     * 
* * map<string, string> labels = 11; */ java.lang.String getLabelsOrThrow( java.lang.String key); /** *
     * Annotations is an unstructured key value map stored with a resource that may be
     * set by external tools to store and retrieve arbitrary metadata. They are not
     * queryable and should be preserved when modifying objects.
     * More info: http://kubernetes.io/docs/user-guide/annotations
     * +optional
     * 
* * map<string, string> annotations = 12; */ int getAnnotationsCount(); /** *
     * Annotations is an unstructured key value map stored with a resource that may be
     * set by external tools to store and retrieve arbitrary metadata. They are not
     * queryable and should be preserved when modifying objects.
     * More info: http://kubernetes.io/docs/user-guide/annotations
     * +optional
     * 
* * map<string, string> annotations = 12; */ boolean containsAnnotations( java.lang.String key); /** * Use {@link #getAnnotationsMap()} instead. */ @java.lang.Deprecated java.util.Map getAnnotations(); /** *
     * Annotations is an unstructured key value map stored with a resource that may be
     * set by external tools to store and retrieve arbitrary metadata. They are not
     * queryable and should be preserved when modifying objects.
     * More info: http://kubernetes.io/docs/user-guide/annotations
     * +optional
     * 
* * map<string, string> annotations = 12; */ java.util.Map getAnnotationsMap(); /** *
     * Annotations is an unstructured key value map stored with a resource that may be
     * set by external tools to store and retrieve arbitrary metadata. They are not
     * queryable and should be preserved when modifying objects.
     * More info: http://kubernetes.io/docs/user-guide/annotations
     * +optional
     * 
* * map<string, string> annotations = 12; */ java.lang.String getAnnotationsOrDefault( java.lang.String key, java.lang.String defaultValue); /** *
     * Annotations is an unstructured key value map stored with a resource that may be
     * set by external tools to store and retrieve arbitrary metadata. They are not
     * queryable and should be preserved when modifying objects.
     * More info: http://kubernetes.io/docs/user-guide/annotations
     * +optional
     * 
* * map<string, string> annotations = 12; */ java.lang.String getAnnotationsOrThrow( java.lang.String key); /** *
     * List of objects depended by this object. If ALL objects in the list have
     * been deleted, this object will be garbage collected. If this object is managed by a controller,
     * then an entry in this list will point to this controller, with the controller field set to true.
     * There cannot be more than one managing controller.
     * +optional
     * +patchMergeKey=uid
     * +patchStrategy=merge
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; */ java.util.List getOwnerReferencesList(); /** *
     * List of objects depended by this object. If ALL objects in the list have
     * been deleted, this object will be garbage collected. If this object is managed by a controller,
     * then an entry in this list will point to this controller, with the controller field set to true.
     * There cannot be more than one managing controller.
     * +optional
     * +patchMergeKey=uid
     * +patchStrategy=merge
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; */ io.kubernetes.client.proto.Meta.OwnerReference getOwnerReferences(int index); /** *
     * List of objects depended by this object. If ALL objects in the list have
     * been deleted, this object will be garbage collected. If this object is managed by a controller,
     * then an entry in this list will point to this controller, with the controller field set to true.
     * There cannot be more than one managing controller.
     * +optional
     * +patchMergeKey=uid
     * +patchStrategy=merge
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; */ int getOwnerReferencesCount(); /** *
     * List of objects depended by this object. If ALL objects in the list have
     * been deleted, this object will be garbage collected. If this object is managed by a controller,
     * then an entry in this list will point to this controller, with the controller field set to true.
     * There cannot be more than one managing controller.
     * +optional
     * +patchMergeKey=uid
     * +patchStrategy=merge
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; */ java.util.List getOwnerReferencesOrBuilderList(); /** *
     * List of objects depended by this object. If ALL objects in the list have
     * been deleted, this object will be garbage collected. If this object is managed by a controller,
     * then an entry in this list will point to this controller, with the controller field set to true.
     * There cannot be more than one managing controller.
     * +optional
     * +patchMergeKey=uid
     * +patchStrategy=merge
     * 
* * repeated .k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; */ io.kubernetes.client.proto.Meta.OwnerReferenceOrBuilder getOwnerReferencesOrBuilder( int index); /** *
     * An initializer is a controller which enforces some system invariant at object creation time.
     * This field is a list of initializers that have not yet acted on this object. If nil or empty,
     * this object has been completely initialized. Otherwise, the object is considered uninitialized
     * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to
     * observe uninitialized objects.
     * 
     * When an object is created, the system will populate this list with the current set of initializers.
     * Only privileged users may set or modify this list. Once it is empty, it may not be modified further
     * by any user.
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; */ boolean hasInitializers(); /** *
     * An initializer is a controller which enforces some system invariant at object creation time.
     * This field is a list of initializers that have not yet acted on this object. If nil or empty,
     * this object has been completely initialized. Otherwise, the object is considered uninitialized
     * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to
     * observe uninitialized objects.
     * 
     * When an object is created, the system will populate this list with the current set of initializers.
     * Only privileged users may set or modify this list. Once it is empty, it may not be modified further
     * by any user.
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; */ io.kubernetes.client.proto.Meta.Initializers getInitializers(); /** *
     * An initializer is a controller which enforces some system invariant at object creation time.
     * This field is a list of initializers that have not yet acted on this object. If nil or empty,
     * this object has been completely initialized. Otherwise, the object is considered uninitialized
     * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to
     * observe uninitialized objects.
     * 
     * When an object is created, the system will populate this list with the current set of initializers.
     * Only privileged users may set or modify this list. Once it is empty, it may not be modified further
     * by any user.
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; */ io.kubernetes.client.proto.Meta.InitializersOrBuilder getInitializersOrBuilder(); /** *
     * 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.
     * +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.
     * +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.
     * +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.
     * +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(); } /** *
   * 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_ = ""; } @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(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 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_ & 0x00004000) == 0x00004000)) { finalizers_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00004000; } finalizers_.add(bs); break; } case 122: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000800; clusterName_ = bs; break; } case 130: { io.kubernetes.client.proto.Meta.Initializers.Builder subBuilder = null; if (((bitField0_ & 0x00000400) == 0x00000400)) { subBuilder = initializers_.toBuilder(); } initializers_ = input.readMessage(io.kubernetes.client.proto.Meta.Initializers.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(initializers_); initializers_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000400; 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_ & 0x00004000) == 0x00004000)) { finalizers_ = finalizers_.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_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); } } 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: http://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: http://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: http://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/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/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/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 each name must be unique. An empty namespace is
     * equivalent to the "default" namespace, but "default" is the canonical representation.
     * Not all objects are required to be scoped to a namespace - the value of this field for
     * those objects will be empty.
     * 
     * Must be a DNS_LABEL.
     * Cannot be updated.
     * More info: http://kubernetes.io/docs/user-guide/namespaces
     * +optional
     * 
* * optional string namespace = 3; */ public boolean hasNamespace() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
     * Namespace defines the space within each name must be unique. An empty namespace is
     * equivalent to the "default" namespace, but "default" is the canonical representation.
     * Not all objects are required to be scoped to a namespace - the value of this field for
     * those objects will be empty.
     * 
     * Must be a DNS_LABEL.
     * Cannot be updated.
     * More info: http://kubernetes.io/docs/user-guide/namespaces
     * +optional
     * 
* * optional string namespace = 3; */ 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 each name must be unique. An empty namespace is
     * equivalent to the "default" namespace, but "default" is the canonical representation.
     * Not all objects are required to be scoped to a namespace - the value of this field for
     * those objects will be empty.
     * 
     * Must be a DNS_LABEL.
     * Cannot be updated.
     * More info: http://kubernetes.io/docs/user-guide/namespaces
     * +optional
     * 
* * optional string namespace = 3; */ 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.
     * +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.
     * +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.
     * +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: http://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: http://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: http://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/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/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/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/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/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/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 set,
     * this value may not be unset or be set further into the future, although it may be shortened
     * or the resource may be deleted prior to this time. For example, a user may request that
     * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination
     * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard
     * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the
     * API. In the presence of network partitions, this object may still exist after this
     * timestamp, until an administrator or automated process can determine the resource is
     * fully terminated.
     * If not set, graceful deletion of the object has not been requested.
     * 
     * Populated by the system when a graceful deletion is requested.
     * Read-only.
     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ 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 set,
     * this value may not be unset or be set further into the future, although it may be shortened
     * or the resource may be deleted prior to this time. For example, a user may request that
     * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination
     * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard
     * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the
     * API. In the presence of network partitions, this object may still exist after this
     * timestamp, until an administrator or automated process can determine the resource is
     * fully terminated.
     * If not set, graceful deletion of the object has not been requested.
     * 
     * Populated by the system when a graceful deletion is requested.
     * Read-only.
     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ 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 set,
     * this value may not be unset or be set further into the future, although it may be shortened
     * or the resource may be deleted prior to this time. For example, a user may request that
     * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination
     * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard
     * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the
     * API. In the presence of network partitions, this object may still exist after this
     * timestamp, until an administrator or automated process can determine the resource is
     * fully terminated.
     * If not set, graceful deletion of the object has not been requested.
     * 
     * Populated by the system when a graceful deletion is requested.
     * Read-only.
     * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
     * +optional
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ 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< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta_LabelsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> 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: http://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: http://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: http://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: http://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< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta_AnnotationsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> 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: http://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: http://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: http://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: http://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 INITIALIZERS_FIELD_NUMBER = 16; private io.kubernetes.client.proto.Meta.Initializers initializers_; /** *
     * An initializer is a controller which enforces some system invariant at object creation time.
     * This field is a list of initializers that have not yet acted on this object. If nil or empty,
     * this object has been completely initialized. Otherwise, the object is considered uninitialized
     * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to
     * observe uninitialized objects.
     * 
     * When an object is created, the system will populate this list with the current set of initializers.
     * Only privileged users may set or modify this list. Once it is empty, it may not be modified further
     * by any user.
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; */ public boolean hasInitializers() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** *
     * An initializer is a controller which enforces some system invariant at object creation time.
     * This field is a list of initializers that have not yet acted on this object. If nil or empty,
     * this object has been completely initialized. Otherwise, the object is considered uninitialized
     * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to
     * observe uninitialized objects.
     * 
     * When an object is created, the system will populate this list with the current set of initializers.
     * Only privileged users may set or modify this list. Once it is empty, it may not be modified further
     * by any user.
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; */ public io.kubernetes.client.proto.Meta.Initializers getInitializers() { return initializers_ == null ? io.kubernetes.client.proto.Meta.Initializers.getDefaultInstance() : initializers_; } /** *
     * An initializer is a controller which enforces some system invariant at object creation time.
     * This field is a list of initializers that have not yet acted on this object. If nil or empty,
     * this object has been completely initialized. Otherwise, the object is considered uninitialized
     * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to
     * observe uninitialized objects.
     * 
     * When an object is created, the system will populate this list with the current set of initializers.
     * Only privileged users may set or modify this list. Once it is empty, it may not be modified further
     * by any user.
     * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; */ public io.kubernetes.client.proto.Meta.InitializersOrBuilder getInitializersOrBuilder() { return initializers_ == null ? io.kubernetes.client.proto.Meta.Initializers.getDefaultInstance() : initializers_; } 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.
     * +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.
     * +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.
     * +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.
     * +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_ & 0x00000800) == 0x00000800); } /** *
     * 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; } } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { 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_ & 0x00000800) == 0x00000800)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 15, clusterName_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { output.writeMessage(16, getInitializers()); } unknownFields.writeTo(output); } 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_ & 0x00000800) == 0x00000800)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, clusterName_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, getInitializers()); } 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 && (hasInitializers() == other.hasInitializers()); if (hasInitializers()) { result = result && getInitializers() .equals(other.getInitializers()); } result = result && getFinalizersList() .equals(other.getFinalizersList()); result = result && (hasClusterName() == other.hasClusterName()); if (hasClusterName()) { result = result && getClusterName() .equals(other.getClusterName()); } 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 (hasInitializers()) { hash = (37 * hash) + INITIALIZERS_FIELD_NUMBER; hash = (53 * hash) + getInitializers().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(); } 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); } 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); } 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); } } 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(); getInitializersFieldBuilder(); } } 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(); } if (initializersBuilder_ == null) { initializers_ = null; } else { initializersBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00002000); finalizers_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00004000); clusterName_ = ""; bitField0_ = (bitField0_ & ~0x00008000); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta_descriptor; } public io.kubernetes.client.proto.Meta.ObjectMeta getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.ObjectMeta.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.ObjectMeta build() { io.kubernetes.client.proto.Meta.ObjectMeta result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } 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 (((from_bitField0_ & 0x00002000) == 0x00002000)) { to_bitField0_ |= 0x00000400; } if (initializersBuilder_ == null) { result.initializers_ = initializers_; } else { result.initializers_ = initializersBuilder_.build(); } if (((bitField0_ & 0x00004000) == 0x00004000)) { finalizers_ = finalizers_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00004000); } result.finalizers_ = finalizers_; if (((from_bitField0_ & 0x00008000) == 0x00008000)) { to_bitField0_ |= 0x00000800; } result.clusterName_ = clusterName_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } 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.hasInitializers()) { mergeInitializers(other.getInitializers()); } if (!other.finalizers_.isEmpty()) { if (finalizers_.isEmpty()) { finalizers_ = other.finalizers_; bitField0_ = (bitField0_ & ~0x00004000); } else { ensureFinalizersIsMutable(); finalizers_.addAll(other.finalizers_); } onChanged(); } if (other.hasClusterName()) { bitField0_ |= 0x00008000; clusterName_ = other.clusterName_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } 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: http://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: http://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: http://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: http://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: http://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: http://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/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/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/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/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/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/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 each name must be unique. An empty namespace is
       * equivalent to the "default" namespace, but "default" is the canonical representation.
       * Not all objects are required to be scoped to a namespace - the value of this field for
       * those objects will be empty.
       * 
       * Must be a DNS_LABEL.
       * Cannot be updated.
       * More info: http://kubernetes.io/docs/user-guide/namespaces
       * +optional
       * 
* * optional string namespace = 3; */ public boolean hasNamespace() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       * Namespace defines the space within each name must be unique. An empty namespace is
       * equivalent to the "default" namespace, but "default" is the canonical representation.
       * Not all objects are required to be scoped to a namespace - the value of this field for
       * those objects will be empty.
       * 
       * Must be a DNS_LABEL.
       * Cannot be updated.
       * More info: http://kubernetes.io/docs/user-guide/namespaces
       * +optional
       * 
* * optional string namespace = 3; */ 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 each name must be unique. An empty namespace is
       * equivalent to the "default" namespace, but "default" is the canonical representation.
       * Not all objects are required to be scoped to a namespace - the value of this field for
       * those objects will be empty.
       * 
       * Must be a DNS_LABEL.
       * Cannot be updated.
       * More info: http://kubernetes.io/docs/user-guide/namespaces
       * +optional
       * 
* * optional string namespace = 3; */ 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 each name must be unique. An empty namespace is
       * equivalent to the "default" namespace, but "default" is the canonical representation.
       * Not all objects are required to be scoped to a namespace - the value of this field for
       * those objects will be empty.
       * 
       * Must be a DNS_LABEL.
       * Cannot be updated.
       * More info: http://kubernetes.io/docs/user-guide/namespaces
       * +optional
       * 
* * optional string namespace = 3; */ 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 each name must be unique. An empty namespace is
       * equivalent to the "default" namespace, but "default" is the canonical representation.
       * Not all objects are required to be scoped to a namespace - the value of this field for
       * those objects will be empty.
       * 
       * Must be a DNS_LABEL.
       * Cannot be updated.
       * More info: http://kubernetes.io/docs/user-guide/namespaces
       * +optional
       * 
* * optional string namespace = 3; */ public Builder clearNamespace() { bitField0_ = (bitField0_ & ~0x00000004); namespace_ = getDefaultInstance().getNamespace(); onChanged(); return this; } /** *
       * Namespace defines the space within each name must be unique. An empty namespace is
       * equivalent to the "default" namespace, but "default" is the canonical representation.
       * Not all objects are required to be scoped to a namespace - the value of this field for
       * those objects will be empty.
       * 
       * Must be a DNS_LABEL.
       * Cannot be updated.
       * More info: http://kubernetes.io/docs/user-guide/namespaces
       * +optional
       * 
* * optional string namespace = 3; */ 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.
       * +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.
       * +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.
       * +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.
       * +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.
       * +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.
       * +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: http://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: http://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: http://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: http://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: http://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: http://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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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 set,
       * this value may not be unset or be set further into the future, although it may be shortened
       * or the resource may be deleted prior to this time. For example, a user may request that
       * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination
       * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard
       * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the
       * API. In the presence of network partitions, this object may still exist after this
       * timestamp, until an administrator or automated process can determine the resource is
       * fully terminated.
       * If not set, graceful deletion of the object has not been requested.
       * 
       * Populated by the system when a graceful deletion is requested.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ 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 set,
       * this value may not be unset or be set further into the future, although it may be shortened
       * or the resource may be deleted prior to this time. For example, a user may request that
       * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination
       * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard
       * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the
       * API. In the presence of network partitions, this object may still exist after this
       * timestamp, until an administrator or automated process can determine the resource is
       * fully terminated.
       * If not set, graceful deletion of the object has not been requested.
       * 
       * Populated by the system when a graceful deletion is requested.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ 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 set,
       * this value may not be unset or be set further into the future, although it may be shortened
       * or the resource may be deleted prior to this time. For example, a user may request that
       * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination
       * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard
       * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the
       * API. In the presence of network partitions, this object may still exist after this
       * timestamp, until an administrator or automated process can determine the resource is
       * fully terminated.
       * If not set, graceful deletion of the object has not been requested.
       * 
       * Populated by the system when a graceful deletion is requested.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ 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 set,
       * this value may not be unset or be set further into the future, although it may be shortened
       * or the resource may be deleted prior to this time. For example, a user may request that
       * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination
       * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard
       * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the
       * API. In the presence of network partitions, this object may still exist after this
       * timestamp, until an administrator or automated process can determine the resource is
       * fully terminated.
       * If not set, graceful deletion of the object has not been requested.
       * 
       * Populated by the system when a graceful deletion is requested.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ 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 set,
       * this value may not be unset or be set further into the future, although it may be shortened
       * or the resource may be deleted prior to this time. For example, a user may request that
       * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination
       * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard
       * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the
       * API. In the presence of network partitions, this object may still exist after this
       * timestamp, until an administrator or automated process can determine the resource is
       * fully terminated.
       * If not set, graceful deletion of the object has not been requested.
       * 
       * Populated by the system when a graceful deletion is requested.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ 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 set,
       * this value may not be unset or be set further into the future, although it may be shortened
       * or the resource may be deleted prior to this time. For example, a user may request that
       * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination
       * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard
       * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the
       * API. In the presence of network partitions, this object may still exist after this
       * timestamp, until an administrator or automated process can determine the resource is
       * fully terminated.
       * If not set, graceful deletion of the object has not been requested.
       * 
       * Populated by the system when a graceful deletion is requested.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ 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 set,
       * this value may not be unset or be set further into the future, although it may be shortened
       * or the resource may be deleted prior to this time. For example, a user may request that
       * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination
       * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard
       * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the
       * API. In the presence of network partitions, this object may still exist after this
       * timestamp, until an administrator or automated process can determine the resource is
       * fully terminated.
       * If not set, graceful deletion of the object has not been requested.
       * 
       * Populated by the system when a graceful deletion is requested.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ 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 set,
       * this value may not be unset or be set further into the future, although it may be shortened
       * or the resource may be deleted prior to this time. For example, a user may request that
       * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination
       * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard
       * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the
       * API. In the presence of network partitions, this object may still exist after this
       * timestamp, until an administrator or automated process can determine the resource is
       * fully terminated.
       * If not set, graceful deletion of the object has not been requested.
       * 
       * Populated by the system when a graceful deletion is requested.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ 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 set,
       * this value may not be unset or be set further into the future, although it may be shortened
       * or the resource may be deleted prior to this time. For example, a user may request that
       * a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination
       * signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard
       * termination signal (SIGKILL) to the container and after cleanup, remove the pod from the
       * API. In the presence of network partitions, this object may still exist after this
       * timestamp, until an administrator or automated process can determine the resource is
       * fully terminated.
       * If not set, graceful deletion of the object has not been requested.
       * 
       * Populated by the system when a graceful deletion is requested.
       * Read-only.
       * More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
       * +optional
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; */ 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< java.lang.String, java.lang.String> 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: http://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: http://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: http://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: http://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: http://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: http://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: http://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< java.lang.String, java.lang.String> 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: http://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: http://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: http://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: http://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: http://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: http://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: http://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 io.kubernetes.client.proto.Meta.Initializers initializers_ = null; private com.google.protobuf.SingleFieldBuilderV3< io.kubernetes.client.proto.Meta.Initializers, io.kubernetes.client.proto.Meta.Initializers.Builder, io.kubernetes.client.proto.Meta.InitializersOrBuilder> initializersBuilder_; /** *
       * An initializer is a controller which enforces some system invariant at object creation time.
       * This field is a list of initializers that have not yet acted on this object. If nil or empty,
       * this object has been completely initialized. Otherwise, the object is considered uninitialized
       * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to
       * observe uninitialized objects.
       * 
       * When an object is created, the system will populate this list with the current set of initializers.
       * Only privileged users may set or modify this list. Once it is empty, it may not be modified further
       * by any user.
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; */ public boolean hasInitializers() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** *
       * An initializer is a controller which enforces some system invariant at object creation time.
       * This field is a list of initializers that have not yet acted on this object. If nil or empty,
       * this object has been completely initialized. Otherwise, the object is considered uninitialized
       * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to
       * observe uninitialized objects.
       * 
       * When an object is created, the system will populate this list with the current set of initializers.
       * Only privileged users may set or modify this list. Once it is empty, it may not be modified further
       * by any user.
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; */ public io.kubernetes.client.proto.Meta.Initializers getInitializers() { if (initializersBuilder_ == null) { return initializers_ == null ? io.kubernetes.client.proto.Meta.Initializers.getDefaultInstance() : initializers_; } else { return initializersBuilder_.getMessage(); } } /** *
       * An initializer is a controller which enforces some system invariant at object creation time.
       * This field is a list of initializers that have not yet acted on this object. If nil or empty,
       * this object has been completely initialized. Otherwise, the object is considered uninitialized
       * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to
       * observe uninitialized objects.
       * 
       * When an object is created, the system will populate this list with the current set of initializers.
       * Only privileged users may set or modify this list. Once it is empty, it may not be modified further
       * by any user.
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; */ public Builder setInitializers(io.kubernetes.client.proto.Meta.Initializers value) { if (initializersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } initializers_ = value; onChanged(); } else { initializersBuilder_.setMessage(value); } bitField0_ |= 0x00002000; return this; } /** *
       * An initializer is a controller which enforces some system invariant at object creation time.
       * This field is a list of initializers that have not yet acted on this object. If nil or empty,
       * this object has been completely initialized. Otherwise, the object is considered uninitialized
       * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to
       * observe uninitialized objects.
       * 
       * When an object is created, the system will populate this list with the current set of initializers.
       * Only privileged users may set or modify this list. Once it is empty, it may not be modified further
       * by any user.
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; */ public Builder setInitializers( io.kubernetes.client.proto.Meta.Initializers.Builder builderForValue) { if (initializersBuilder_ == null) { initializers_ = builderForValue.build(); onChanged(); } else { initializersBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00002000; return this; } /** *
       * An initializer is a controller which enforces some system invariant at object creation time.
       * This field is a list of initializers that have not yet acted on this object. If nil or empty,
       * this object has been completely initialized. Otherwise, the object is considered uninitialized
       * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to
       * observe uninitialized objects.
       * 
       * When an object is created, the system will populate this list with the current set of initializers.
       * Only privileged users may set or modify this list. Once it is empty, it may not be modified further
       * by any user.
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; */ public Builder mergeInitializers(io.kubernetes.client.proto.Meta.Initializers value) { if (initializersBuilder_ == null) { if (((bitField0_ & 0x00002000) == 0x00002000) && initializers_ != null && initializers_ != io.kubernetes.client.proto.Meta.Initializers.getDefaultInstance()) { initializers_ = io.kubernetes.client.proto.Meta.Initializers.newBuilder(initializers_).mergeFrom(value).buildPartial(); } else { initializers_ = value; } onChanged(); } else { initializersBuilder_.mergeFrom(value); } bitField0_ |= 0x00002000; return this; } /** *
       * An initializer is a controller which enforces some system invariant at object creation time.
       * This field is a list of initializers that have not yet acted on this object. If nil or empty,
       * this object has been completely initialized. Otherwise, the object is considered uninitialized
       * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to
       * observe uninitialized objects.
       * 
       * When an object is created, the system will populate this list with the current set of initializers.
       * Only privileged users may set or modify this list. Once it is empty, it may not be modified further
       * by any user.
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; */ public Builder clearInitializers() { if (initializersBuilder_ == null) { initializers_ = null; onChanged(); } else { initializersBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00002000); return this; } /** *
       * An initializer is a controller which enforces some system invariant at object creation time.
       * This field is a list of initializers that have not yet acted on this object. If nil or empty,
       * this object has been completely initialized. Otherwise, the object is considered uninitialized
       * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to
       * observe uninitialized objects.
       * 
       * When an object is created, the system will populate this list with the current set of initializers.
       * Only privileged users may set or modify this list. Once it is empty, it may not be modified further
       * by any user.
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; */ public io.kubernetes.client.proto.Meta.Initializers.Builder getInitializersBuilder() { bitField0_ |= 0x00002000; onChanged(); return getInitializersFieldBuilder().getBuilder(); } /** *
       * An initializer is a controller which enforces some system invariant at object creation time.
       * This field is a list of initializers that have not yet acted on this object. If nil or empty,
       * this object has been completely initialized. Otherwise, the object is considered uninitialized
       * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to
       * observe uninitialized objects.
       * 
       * When an object is created, the system will populate this list with the current set of initializers.
       * Only privileged users may set or modify this list. Once it is empty, it may not be modified further
       * by any user.
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; */ public io.kubernetes.client.proto.Meta.InitializersOrBuilder getInitializersOrBuilder() { if (initializersBuilder_ != null) { return initializersBuilder_.getMessageOrBuilder(); } else { return initializers_ == null ? io.kubernetes.client.proto.Meta.Initializers.getDefaultInstance() : initializers_; } } /** *
       * An initializer is a controller which enforces some system invariant at object creation time.
       * This field is a list of initializers that have not yet acted on this object. If nil or empty,
       * this object has been completely initialized. Otherwise, the object is considered uninitialized
       * and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to
       * observe uninitialized objects.
       * 
       * When an object is created, the system will populate this list with the current set of initializers.
       * Only privileged users may set or modify this list. Once it is empty, it may not be modified further
       * by any user.
       * 
* * optional .k8s.io.apimachinery.pkg.apis.meta.v1.Initializers initializers = 16; */ private com.google.protobuf.SingleFieldBuilderV3< io.kubernetes.client.proto.Meta.Initializers, io.kubernetes.client.proto.Meta.Initializers.Builder, io.kubernetes.client.proto.Meta.InitializersOrBuilder> getInitializersFieldBuilder() { if (initializersBuilder_ == null) { initializersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.kubernetes.client.proto.Meta.Initializers, io.kubernetes.client.proto.Meta.Initializers.Builder, io.kubernetes.client.proto.Meta.InitializersOrBuilder>( getInitializers(), getParentForChildren(), isClean()); initializers_ = null; } return initializersBuilder_; } private com.google.protobuf.LazyStringList finalizers_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureFinalizersIsMutable() { if (!((bitField0_ & 0x00004000) == 0x00004000)) { finalizers_ = new com.google.protobuf.LazyStringArrayList(finalizers_); bitField0_ |= 0x00004000; } } /** *
       * 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.
       * +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.
       * +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.
       * +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.
       * +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.
       * +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.
       * +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.
       * +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.
       * +optional
       * +patchStrategy=merge
       * 
* * repeated string finalizers = 14; */ public Builder clearFinalizers() { finalizers_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00004000); 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.
       * +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_ & 0x00008000) == 0x00008000); } /** *
       * 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_ |= 0x00008000; 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_ & ~0x00008000); 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_ |= 0x00008000; clusterName_ = value; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@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() { 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; } 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/api-conventions.md#types-kinds
     * 
* * optional string kind = 1; */ boolean hasKind(); /** *
     * Kind of the referent.
     * More info: https://git.k8s.io/community/contributors/devel/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/api-conventions.md#types-kinds
     * 
* * optional string kind = 1; */ com.google.protobuf.ByteString getKindBytes(); /** *
     * Name of the referent.
     * More info: http://kubernetes.io/docs/user-guide/identifiers#names
     * 
* * optional string name = 3; */ boolean hasName(); /** *
     * Name of the referent.
     * More info: http://kubernetes.io/docs/user-guide/identifiers#names
     * 
* * optional string name = 3; */ java.lang.String getName(); /** *
     * Name of the referent.
     * More info: http://kubernetes.io/docs/user-guide/identifiers#names
     * 
* * optional string name = 3; */ com.google.protobuf.ByteString getNameBytes(); /** *
     * UID of the referent.
     * More info: http://kubernetes.io/docs/user-guide/identifiers#uids
     * 
* * optional string uid = 4; */ boolean hasUid(); /** *
     * UID of the referent.
     * More info: http://kubernetes.io/docs/user-guide/identifiers#uids
     * 
* * optional string uid = 4; */ java.lang.String getUid(); /** *
     * UID of the referent.
     * More info: http://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. Currently, an owning object must be in the same namespace, so there
   * is no namespace field.
   * 
* * 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(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 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; } } } } 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; } 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/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/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/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: http://kubernetes.io/docs/user-guide/identifiers#names
     * 
* * optional string name = 3; */ public boolean hasName() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
     * Name of the referent.
     * More info: http://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: http://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: http://kubernetes.io/docs/user-guide/identifiers#uids
     * 
* * optional string uid = 4; */ public boolean hasUid() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
     * UID of the referent.
     * More info: http://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: http://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; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 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); } 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); } 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); } 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. Currently, an owning object must be in the same namespace, so there
     * is no namespace field.
     * 
* * 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; } 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) { } } 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; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_OwnerReference_descriptor; } public io.kubernetes.client.proto.Meta.OwnerReference getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.OwnerReference.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.OwnerReference build() { io.kubernetes.client.proto.Meta.OwnerReference result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } 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; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } 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; } public final boolean isInitialized() { return true; } 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/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/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/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/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/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/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: http://kubernetes.io/docs/user-guide/identifiers#names
       * 
* * optional string name = 3; */ public boolean hasName() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       * Name of the referent.
       * More info: http://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: http://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: http://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: http://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: http://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: http://kubernetes.io/docs/user-guide/identifiers#uids
       * 
* * optional string uid = 4; */ public boolean hasUid() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
       * UID of the referent.
       * More info: http://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: http://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: http://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: http://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: http://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; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.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() { 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; } public io.kubernetes.client.proto.Meta.OwnerReference 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(); } /** *
   * 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_ = ""; } @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(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; uid_ = bs; 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; } 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; } } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uid_); } unknownFields.writeTo(output); } 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_); } 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 && 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(); } 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); } 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); } 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; } 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) { } } public Builder clear() { super.clear(); uid_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Preconditions_descriptor; } public io.kubernetes.client.proto.Meta.Preconditions getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.Preconditions.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.Preconditions build() { io.kubernetes.client.proto.Meta.Preconditions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } 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_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } 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(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } 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; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.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() { 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; } 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(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 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; } } } } 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; } 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; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < paths_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, paths_.getRaw(i)); } unknownFields.writeTo(output); } 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); } 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); } 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; } 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) { } } public Builder clear() { super.clear(); paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_RootPaths_descriptor; } public io.kubernetes.client.proto.Meta.RootPaths getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.RootPaths.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.RootPaths build() { io.kubernetes.client.proto.Meta.RootPaths result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } 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; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } 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; } public final boolean isInitialized() { return true; } 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; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.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() { 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; } 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(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 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; } } } } 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; } 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; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, clientCIDR_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, serverAddress_); } unknownFields.writeTo(output); } 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); } 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); } 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; } 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) { } } public Builder clear() { super.clear(); clientCIDR_ = ""; bitField0_ = (bitField0_ & ~0x00000001); serverAddress_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_ServerAddressByClientCIDR_descriptor; } public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR build() { io.kubernetes.client.proto.Meta.ServerAddressByClientCIDR result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } 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; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } 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; } public final boolean isInitialized() { return true; } 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; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.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() { 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; } 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/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/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/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/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/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/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(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 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; } } } } 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; } 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/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/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/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/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/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/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; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.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); } 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); } 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); } 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; } 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(); } } 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; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Status_descriptor; } public io.kubernetes.client.proto.Meta.Status getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.Status.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.Status build() { io.kubernetes.client.proto.Meta.Status result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } 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; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } 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; } public final boolean isInitialized() { return true; } 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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.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() { 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; } 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(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 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; } } } } 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; } 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; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { 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); } 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); } 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); } 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; } 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) { } } public Builder clear() { super.clear(); reason_ = ""; bitField0_ = (bitField0_ & ~0x00000001); message_ = ""; bitField0_ = (bitField0_ & ~0x00000002); field_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_StatusCause_descriptor; } public io.kubernetes.client.proto.Meta.StatusCause getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.StatusCause.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.StatusCause build() { io.kubernetes.client.proto.Meta.StatusCause result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } 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; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } 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; } public final boolean isInitialized() { return true; } 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; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.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() { 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; } 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/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/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/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: http://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: http://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: http://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.
     * +optional
     * 
* * optional int32 retryAfterSeconds = 5; */ boolean hasRetryAfterSeconds(); /** *
     * If specified, the time in seconds before the operation should be retried.
     * +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(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 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; } } } } 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; } 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/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/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/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: http://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: http://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: http://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.
     * +optional
     * 
* * optional int32 retryAfterSeconds = 5; */ public boolean hasRetryAfterSeconds() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
     * If specified, the time in seconds before the operation should be retried.
     * +optional
     * 
* * optional int32 retryAfterSeconds = 5; */ public int getRetryAfterSeconds() { return retryAfterSeconds_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { 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); } 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); } 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); } 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; } 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(); } } 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; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_StatusDetails_descriptor; } public io.kubernetes.client.proto.Meta.StatusDetails getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.StatusDetails.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.StatusDetails build() { io.kubernetes.client.proto.Meta.StatusDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } 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; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } 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; } public final boolean isInitialized() { return true; } 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/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/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/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/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/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/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: http://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: http://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: http://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: http://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: http://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: http://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.
       * +optional
       * 
* * optional int32 retryAfterSeconds = 5; */ public boolean hasRetryAfterSeconds() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
       * If specified, the time in seconds before the operation should be retried.
       * +optional
       * 
* * optional int32 retryAfterSeconds = 5; */ public int getRetryAfterSeconds() { return retryAfterSeconds_; } /** *
       * If specified, the time in seconds before the operation should be retried.
       * +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.
       * +optional
       * 
* * optional int32 retryAfterSeconds = 5; */ public Builder clearRetryAfterSeconds() { bitField0_ = (bitField0_ & ~0x00000020); retryAfterSeconds_ = 0; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@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() { 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; } public io.kubernetes.client.proto.Meta.StatusDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TimeOrBuilder extends // @@protoc_insertion_point(interface_extends:k8s.io.apimachinery.pkg.apis.meta.v1.Time) com.google.protobuf.MessageOrBuilder { /** *
     * Represents seconds of UTC time since Unix epoch
     * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
     * 9999-12-31T23:59:59Z inclusive.
     * 
* * optional int64 seconds = 1; */ boolean hasSeconds(); /** *
     * Represents seconds of UTC time since Unix epoch
     * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
     * 9999-12-31T23:59:59Z inclusive.
     * 
* * optional int64 seconds = 1; */ long getSeconds(); /** *
     * Non-negative fractions of a second at nanosecond resolution. Negative
     * second values with fractions must still have non-negative nanos values
     * that count forward in time. Must be from 0 to 999,999,999
     * inclusive. This field may be limited in precision depending on context.
     * 
* * optional int32 nanos = 2; */ boolean hasNanos(); /** *
     * Non-negative fractions of a second at nanosecond resolution. Negative
     * second values with fractions must still have non-negative nanos values
     * that count forward in time. Must be from 0 to 999,999,999
     * inclusive. This field may be limited in precision depending on context.
     * 
* * optional int32 nanos = 2; */ int getNanos(); } /** *
   * Time is a wrapper around time.Time which supports correct
   * marshaling to YAML and JSON.  Wrappers are provided for many
   * of the factory methods that the time package offers.
   * 
   * +protobuf.options.marshal=false
   * +protobuf.as=Timestamp
   * +protobuf.options.(gogoproto.goproto_stringer)=false
   * 
* * Protobuf type {@code k8s.io.apimachinery.pkg.apis.meta.v1.Time} */ public static final class Time extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:k8s.io.apimachinery.pkg.apis.meta.v1.Time) TimeOrBuilder { private static final long serialVersionUID = 0L; // Use Time.newBuilder() to construct. private Time(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Time() { seconds_ = 0L; nanos_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Time( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; seconds_ = input.readInt64(); break; } case 16: { bitField0_ |= 0x00000002; nanos_ = input.readInt32(); 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; } 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; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, seconds_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, nanos_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .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); } 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); } 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; } 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) { } } public Builder clear() { super.clear(); seconds_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); nanos_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.kubernetes.client.proto.Meta.internal_static_k8s_io_apimachinery_pkg_apis_meta_v1_Time_descriptor; } public io.kubernetes.client.proto.Meta.Time getDefaultInstanceForType() { return io.kubernetes.client.proto.Meta.Time.getDefaultInstance(); } public io.kubernetes.client.proto.Meta.Time build() { io.kubernetes.client.proto.Meta.Time result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } 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; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } 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; } public final boolean isInitialized() { return true; } 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; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:k8s.io.apimachinery.pkg.apis.meta.v1.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