Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Generated by the protocol buffer compiler. DO NOT EDIT!// source: k8s.io/api/admission/v1alpha1/generated.protopackage io.kubernetes.client.proto;
public finalclassV1alpha1Admission{
privateV1alpha1Admission() {}
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 AdmissionReviewOrBuilderextends// @@protoc_insertion_point(interface_extends:k8s.io.api.admission.v1alpha1.AdmissionReview)
com.google.protobuf.MessageOrBuilder {
/**
*
* Spec describes the attributes for the admission request.
* Since this admission controller is non-mutating the webhook should avoid setting this in its response to avoid the
* cost of deserializing it.
* +optional
*
* Spec describes the attributes for the admission request.
* Since this admission controller is non-mutating the webhook should avoid setting this in its response to avoid the
* cost of deserializing it.
* +optional
*
* Spec describes the attributes for the admission request.
* Since this admission controller is non-mutating the webhook should avoid setting this in its response to avoid the
* cost of deserializing it.
* +optional
*
* AdmissionReview describes an admission request.
*
*
* Protobuf type {@code k8s.io.api.admission.v1alpha1.AdmissionReview}
*/
public static finalclassAdmissionReviewextends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.api.admission.v1alpha1.AdmissionReview)AdmissionReviewOrBuilder {
private static final long serialVersionUID = 0L;
// Use AdmissionReview.newBuilder() to construct.privateAdmissionReview(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
privateAdmissionReview() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
returnthis.unknownFields;
}
privateAdmissionReview(
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) {
case0:
done = true;
break;
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case10: {
io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewSpec.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = spec_.toBuilder();
}
spec_ = input.readMessage(io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewSpec.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(spec_);
spec_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case18: {
io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = status_.toBuilder();
}
status_ = input.readMessage(io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(status_);
status_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
thrownew 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.V1alpha1Admission.internal_static_k8s_io_api_admission_v1alpha1_AdmissionReview_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.V1alpha1Admission.internal_static_k8s_io_api_admission_v1alpha1_AdmissionReview_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview.class, io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview.Builder.class);
}
private int bitField0_;
public static final int SPEC_FIELD_NUMBER = 1;
private io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewSpec spec_;
/**
*
* Spec describes the attributes for the admission request.
* Since this admission controller is non-mutating the webhook should avoid setting this in its response to avoid the
* cost of deserializing it.
* +optional
*
* Spec describes the attributes for the admission request.
* Since this admission controller is non-mutating the webhook should avoid setting this in its response to avoid the
* cost of deserializing it.
* +optional
*
* Spec describes the attributes for the admission request.
* Since this admission controller is non-mutating the webhook should avoid setting this in its response to avoid the
* cost of deserializing it.
* +optional
*
*
* optional .k8s.io.api.admission.v1alpha1.AdmissionReviewSpec spec = 1;
*/
public io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewSpecOrBuilder getSpecOrBuilder() {
return spec_ == null ? io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewSpec.getDefaultInstance() : spec_;
}
public static final int STATUS_FIELD_NUMBER = 2;
private io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus status_;
/**
*
* Status is filled in by the webhook and indicates whether the admission request should be permitted.
* +optional
*
* Status is filled in by the webhook and indicates whether the admission request should be permitted.
* +optional
*
*
* optional .k8s.io.api.admission.v1alpha1.AdmissionReviewStatus status = 2;
*/
public io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus.getDefaultInstance() : status_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) returntrue;
if (isInitialized == 0) returnfalse;
memoizedIsInitialized = 1;
returntrue;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, getSpec());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, getStatus());
}
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, getSpec());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getStatus());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
returntrue;
}
if (!(obj instanceof io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview)) {
returnsuper.equals(obj);
}
io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview other = (io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview) obj;
boolean result = true;
result = result && (hasSpec() == other.hasSpec());
if (hasSpec()) {
result = result && getSpec()
.equals(other.getSpec());
}
result = result && (hasStatus() == other.hasStatus());
if (hasStatus()) {
result = result && getStatus()
.equals(other.getStatus());
}
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 (hasSpec()) {
hash = (37 * hash) + SPEC_FIELD_NUMBER;
hash = (53 * hash) + getSpec().hashCode();
}
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data);
}
public static io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data, extensionRegistry);
}
public static io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data);
}
public static io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data, extensionRegistry);
}
public static io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data);
}
public static io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data, extensionRegistry);
}
public static io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview 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.V1alpha1Admission.AdmissionReview parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview 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.V1alpha1Admission.AdmissionReview parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview 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() {
returnDEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview prototype) {
returnDEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
returnthis == DEFAULT_INSTANCE
? newBuilder() : newBuilder().mergeFrom(this);
}
@java.lang.OverrideprotectedBuilder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = newBuilder(parent);
return builder;
}
/**
*
* AdmissionReview describes an admission request.
*
*
* Protobuf type {@code k8s.io.api.admission.v1alpha1.AdmissionReview}
*/
public static finalclassBuilderextends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:k8s.io.api.admission.v1alpha1.AdmissionReview)
io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.kubernetes.client.proto.V1alpha1Admission.internal_static_k8s_io_api_admission_v1alpha1_AdmissionReview_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.V1alpha1Admission.internal_static_k8s_io_api_admission_v1alpha1_AdmissionReview_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview.class, io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview.Builder.class);
}
// Construct using io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview.newBuilder()privateBuilder() {
maybeForceBuilderInitialization();
}
privateBuilder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getSpecFieldBuilder();
getStatusFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (specBuilder_ == null) {
spec_ = null;
} else {
specBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (statusBuilder_ == null) {
status_ = null;
} else {
statusBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
returnthis;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.kubernetes.client.proto.V1alpha1Admission.internal_static_k8s_io_api_admission_v1alpha1_AdmissionReview_descriptor;
}
public io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview getDefaultInstanceForType() {
return io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview.getDefaultInstance();
}
public io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview build() {
io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview buildPartial() {
io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview result = new io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (specBuilder_ == null) {
result.spec_ = spec_;
} else {
result.spec_ = specBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
if (statusBuilder_ == null) {
result.status_ = status_;
} else {
result.status_ = statusBuilder_.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.V1alpha1Admission.AdmissionReview) {
return mergeFrom((io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview)other);
} else {
super.mergeFrom(other);
returnthis;
}
}
public Builder mergeFrom(io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview other) {
if (other == io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview.getDefaultInstance()) returnthis;
if (other.hasSpec()) {
mergeSpec(other.getSpec());
}
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
returnthis;
}
public final boolean isInitialized() {
returntrue;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
returnthis;
}
private int bitField0_;
private io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewSpec spec_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewSpec, io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewSpec.Builder, io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewSpecOrBuilder> specBuilder_;
/**
*
* Spec describes the attributes for the admission request.
* Since this admission controller is non-mutating the webhook should avoid setting this in its response to avoid the
* cost of deserializing it.
* +optional
*
* Spec describes the attributes for the admission request.
* Since this admission controller is non-mutating the webhook should avoid setting this in its response to avoid the
* cost of deserializing it.
* +optional
*
* Spec describes the attributes for the admission request.
* Since this admission controller is non-mutating the webhook should avoid setting this in its response to avoid the
* cost of deserializing it.
* +optional
*
* Spec describes the attributes for the admission request.
* Since this admission controller is non-mutating the webhook should avoid setting this in its response to avoid the
* cost of deserializing it.
* +optional
*
* Spec describes the attributes for the admission request.
* Since this admission controller is non-mutating the webhook should avoid setting this in its response to avoid the
* cost of deserializing it.
* +optional
*
* Spec describes the attributes for the admission request.
* Since this admission controller is non-mutating the webhook should avoid setting this in its response to avoid the
* cost of deserializing it.
* +optional
*
* Spec describes the attributes for the admission request.
* Since this admission controller is non-mutating the webhook should avoid setting this in its response to avoid the
* cost of deserializing it.
* +optional
*
* Spec describes the attributes for the admission request.
* Since this admission controller is non-mutating the webhook should avoid setting this in its response to avoid the
* cost of deserializing it.
* +optional
*
* Spec describes the attributes for the admission request.
* Since this admission controller is non-mutating the webhook should avoid setting this in its response to avoid the
* cost of deserializing it.
* +optional
*
* Name is the name of the object as presented in the request. On a CREATE operation, the client may omit name and
* rely on the server to generate the name. If that is the case, this method will return the empty string.
* +optional
*
* Name is the name of the object as presented in the request. On a CREATE operation, the client may omit name and
* rely on the server to generate the name. If that is the case, this method will return the empty string.
* +optional
*
* Name is the name of the object as presented in the request. On a CREATE operation, the client may omit name and
* rely on the server to generate the name. If that is the case, this method will return the empty string.
* +optional
*
* SubResource is the name of the subresource being requested. This is a different resource, scoped to the parent
* resource, but it may have a different kind. For instance, /pods has the resource "pods" and the kind "Pod", while
* /pods/foo/status has the resource "pods", the sub resource "status", and the kind "Pod" (because status operates on
* pods). The binding resource for a pod though may be /pods/foo/binding, which has resource "pods", subresource
* "binding", and kind "Binding".
* +optional
*
* SubResource is the name of the subresource being requested. This is a different resource, scoped to the parent
* resource, but it may have a different kind. For instance, /pods has the resource "pods" and the kind "Pod", while
* /pods/foo/status has the resource "pods", the sub resource "status", and the kind "Pod" (because status operates on
* pods). The binding resource for a pod though may be /pods/foo/binding, which has resource "pods", subresource
* "binding", and kind "Binding".
* +optional
*
* SubResource is the name of the subresource being requested. This is a different resource, scoped to the parent
* resource, but it may have a different kind. For instance, /pods has the resource "pods" and the kind "Pod", while
* /pods/foo/status has the resource "pods", the sub resource "status", and the kind "Pod" (because status operates on
* pods). The binding resource for a pod though may be /pods/foo/binding, which has resource "pods", subresource
* "binding", and kind "Binding".
* +optional
*
*
* optional string operation = 4;
*/
public com.google.protobuf.ByteString
getOperationBytes() {
java.lang.Object ref = operation_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
operation_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NAME_FIELD_NUMBER = 5;
private volatile java.lang.Object name_;
/**
*
* Name is the name of the object as presented in the request. On a CREATE operation, the client may omit name and
* rely on the server to generate the name. If that is the case, this method will return the empty string.
* +optional
*
* Name is the name of the object as presented in the request. On a CREATE operation, the client may omit name and
* rely on the server to generate the name. If that is the case, this method will return the empty string.
* +optional
*
*
* optional string name = 5;
*/
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 object as presented in the request. On a CREATE operation, the client may omit name and
* rely on the server to generate the name. If that is the case, this method will return the empty string.
* +optional
*
*
* optional string name = 5;
*/
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 NAMESPACE_FIELD_NUMBER = 6;
private volatile java.lang.Object namespace_;
/**
*
* Namespace is the namespace associated with the request (if any).
* +optional
*
* Resource is the name of the resource being requested. This is not the kind. For example: pods
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource resource = 7;
*/
public io.kubernetes.client.proto.Meta.GroupVersionResourceOrBuilder getResourceOrBuilder() {
return resource_ == null ? io.kubernetes.client.proto.Meta.GroupVersionResource.getDefaultInstance() : resource_;
}
public static final int SUBRESOURCE_FIELD_NUMBER = 8;
private volatile java.lang.Object subResource_;
/**
*
* SubResource is the name of the subresource being requested. This is a different resource, scoped to the parent
* resource, but it may have a different kind. For instance, /pods has the resource "pods" and the kind "Pod", while
* /pods/foo/status has the resource "pods", the sub resource "status", and the kind "Pod" (because status operates on
* pods). The binding resource for a pod though may be /pods/foo/binding, which has resource "pods", subresource
* "binding", and kind "Binding".
* +optional
*
* SubResource is the name of the subresource being requested. This is a different resource, scoped to the parent
* resource, but it may have a different kind. For instance, /pods has the resource "pods" and the kind "Pod", while
* /pods/foo/status has the resource "pods", the sub resource "status", and the kind "Pod" (because status operates on
* pods). The binding resource for a pod though may be /pods/foo/binding, which has resource "pods", subresource
* "binding", and kind "Binding".
* +optional
*
* SubResource is the name of the subresource being requested. This is a different resource, scoped to the parent
* resource, but it may have a different kind. For instance, /pods has the resource "pods" and the kind "Pod", while
* /pods/foo/status has the resource "pods", the sub resource "status", and the kind "Pod" (because status operates on
* pods). The binding resource for a pod though may be /pods/foo/binding, which has resource "pods", subresource
* "binding", and kind "Binding".
* +optional
*
*
* optional string subResource = 8;
*/
public com.google.protobuf.ByteString
getSubResourceBytes() {
java.lang.Object ref = subResource_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
subResource_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int USERINFO_FIELD_NUMBER = 9;
private io.kubernetes.client.proto.V1Authentication.UserInfo userInfo_;
/**
*
* UserInfo is information about the requesting user
*
* Name is the name of the object as presented in the request. On a CREATE operation, the client may omit name and
* rely on the server to generate the name. If that is the case, this method will return the empty string.
* +optional
*
* Name is the name of the object as presented in the request. On a CREATE operation, the client may omit name and
* rely on the server to generate the name. If that is the case, this method will return the empty string.
* +optional
*
*
* optional string name = 5;
*/
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 object as presented in the request. On a CREATE operation, the client may omit name and
* rely on the server to generate the name. If that is the case, this method will return the empty string.
* +optional
*
* Name is the name of the object as presented in the request. On a CREATE operation, the client may omit name and
* rely on the server to generate the name. If that is the case, this method will return the empty string.
* +optional
*
* Name is the name of the object as presented in the request. On a CREATE operation, the client may omit name and
* rely on the server to generate the name. If that is the case, this method will return the empty string.
* +optional
*
* Name is the name of the object as presented in the request. On a CREATE operation, the client may omit name and
* rely on the server to generate the name. If that is the case, this method will return the empty string.
* +optional
*
* SubResource is the name of the subresource being requested. This is a different resource, scoped to the parent
* resource, but it may have a different kind. For instance, /pods has the resource "pods" and the kind "Pod", while
* /pods/foo/status has the resource "pods", the sub resource "status", and the kind "Pod" (because status operates on
* pods). The binding resource for a pod though may be /pods/foo/binding, which has resource "pods", subresource
* "binding", and kind "Binding".
* +optional
*
* SubResource is the name of the subresource being requested. This is a different resource, scoped to the parent
* resource, but it may have a different kind. For instance, /pods has the resource "pods" and the kind "Pod", while
* /pods/foo/status has the resource "pods", the sub resource "status", and the kind "Pod" (because status operates on
* pods). The binding resource for a pod though may be /pods/foo/binding, which has resource "pods", subresource
* "binding", and kind "Binding".
* +optional
*
* SubResource is the name of the subresource being requested. This is a different resource, scoped to the parent
* resource, but it may have a different kind. For instance, /pods has the resource "pods" and the kind "Pod", while
* /pods/foo/status has the resource "pods", the sub resource "status", and the kind "Pod" (because status operates on
* pods). The binding resource for a pod though may be /pods/foo/binding, which has resource "pods", subresource
* "binding", and kind "Binding".
* +optional
*
* SubResource is the name of the subresource being requested. This is a different resource, scoped to the parent
* resource, but it may have a different kind. For instance, /pods has the resource "pods" and the kind "Pod", while
* /pods/foo/status has the resource "pods", the sub resource "status", and the kind "Pod" (because status operates on
* pods). The binding resource for a pod though may be /pods/foo/binding, which has resource "pods", subresource
* "binding", and kind "Binding".
* +optional
*
* SubResource is the name of the subresource being requested. This is a different resource, scoped to the parent
* resource, but it may have a different kind. For instance, /pods has the resource "pods" and the kind "Pod", while
* /pods/foo/status has the resource "pods", the sub resource "status", and the kind "Pod" (because status operates on
* pods). The binding resource for a pod though may be /pods/foo/binding, which has resource "pods", subresource
* "binding", and kind "Binding".
* +optional
*
* SubResource is the name of the subresource being requested. This is a different resource, scoped to the parent
* resource, but it may have a different kind. For instance, /pods has the resource "pods" and the kind "Pod", while
* /pods/foo/status has the resource "pods", the sub resource "status", and the kind "Pod" (because status operates on
* pods). The binding resource for a pod though may be /pods/foo/binding, which has resource "pods", subresource
* "binding", and kind "Binding".
* +optional
*
* Result contains extra details into why an admission request was denied.
* This field IS NOT consulted in any way if "Allowed" is "true".
* +optional
*
* Result contains extra details into why an admission request was denied.
* This field IS NOT consulted in any way if "Allowed" is "true".
* +optional
*
* Result contains extra details into why an admission request was denied.
* This field IS NOT consulted in any way if "Allowed" is "true".
* +optional
*
* Allowed indicates whether or not the admission request was permitted.
*
*
* optional bool allowed = 1;
*/
public boolean getAllowed() {
return allowed_;
}
public static final int STATUS_FIELD_NUMBER = 2;
private io.kubernetes.client.proto.Meta.Status status_;
/**
*
* Result contains extra details into why an admission request was denied.
* This field IS NOT consulted in any way if "Allowed" is "true".
* +optional
*
* Result contains extra details into why an admission request was denied.
* This field IS NOT consulted in any way if "Allowed" is "true".
* +optional
*
* Result contains extra details into why an admission request was denied.
* This field IS NOT consulted in any way if "Allowed" is "true".
* +optional
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status status = 2;
*/
public io.kubernetes.client.proto.Meta.StatusOrBuilder getStatusOrBuilder() {
return status_ == null ? io.kubernetes.client.proto.Meta.Status.getDefaultInstance() : status_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) returntrue;
if (isInitialized == 0) returnfalse;
memoizedIsInitialized = 1;
returntrue;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBool(1, allowed_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, getStatus());
}
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, allowed_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getStatus());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
returntrue;
}
if (!(obj instanceof io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus)) {
returnsuper.equals(obj);
}
io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus other = (io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus) obj;
boolean result = true;
result = result && (hasAllowed() == other.hasAllowed());
if (hasAllowed()) {
result = result && (getAllowed()
== other.getAllowed());
}
result = result && (hasStatus() == other.hasStatus());
if (hasStatus()) {
result = result && getStatus()
.equals(other.getStatus());
}
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 (hasAllowed()) {
hash = (37 * hash) + ALLOWED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getAllowed());
}
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data);
}
public static io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data, extensionRegistry);
}
public static io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data);
}
public static io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data, extensionRegistry);
}
public static io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data);
}
public static io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data, extensionRegistry);
}
public static io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus 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.V1alpha1Admission.AdmissionReviewStatus parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus 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.V1alpha1Admission.AdmissionReviewStatus parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus 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() {
returnDEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus prototype) {
returnDEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
returnthis == DEFAULT_INSTANCE
? newBuilder() : newBuilder().mergeFrom(this);
}
@java.lang.OverrideprotectedBuilder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = newBuilder(parent);
return builder;
}
/**
*
* AdmissionReviewStatus describes the status of the admission request.
*
*
* Protobuf type {@code k8s.io.api.admission.v1alpha1.AdmissionReviewStatus}
*/
public static finalclassBuilderextends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:k8s.io.api.admission.v1alpha1.AdmissionReviewStatus)
io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatusOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.kubernetes.client.proto.V1alpha1Admission.internal_static_k8s_io_api_admission_v1alpha1_AdmissionReviewStatus_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.V1alpha1Admission.internal_static_k8s_io_api_admission_v1alpha1_AdmissionReviewStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus.class, io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus.Builder.class);
}
// Construct using io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus.newBuilder()privateBuilder() {
maybeForceBuilderInitialization();
}
privateBuilder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
public Builder clear() {
super.clear();
allowed_ = false;
bitField0_ = (bitField0_ & ~0x00000001);
if (statusBuilder_ == null) {
status_ = null;
} else {
statusBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
returnthis;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.kubernetes.client.proto.V1alpha1Admission.internal_static_k8s_io_api_admission_v1alpha1_AdmissionReviewStatus_descriptor;
}
public io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus getDefaultInstanceForType() {
return io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus.getDefaultInstance();
}
public io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus build() {
io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus buildPartial() {
io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus result = new io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.allowed_ = allowed_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
if (statusBuilder_ == null) {
result.status_ = status_;
} else {
result.status_ = statusBuilder_.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.V1alpha1Admission.AdmissionReviewStatus) {
return mergeFrom((io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus)other);
} else {
super.mergeFrom(other);
returnthis;
}
}
public Builder mergeFrom(io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus other) {
if (other == io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus.getDefaultInstance()) returnthis;
if (other.hasAllowed()) {
setAllowed(other.getAllowed());
}
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
returnthis;
}
public final boolean isInitialized() {
returntrue;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
returnthis;
}
private int bitField0_;
private boolean allowed_ ;
/**
*
* Allowed indicates whether or not the admission request was permitted.
*
* Result contains extra details into why an admission request was denied.
* This field IS NOT consulted in any way if "Allowed" is "true".
* +optional
*
* Result contains extra details into why an admission request was denied.
* This field IS NOT consulted in any way if "Allowed" is "true".
* +optional
*
* Result contains extra details into why an admission request was denied.
* This field IS NOT consulted in any way if "Allowed" is "true".
* +optional
*
* Result contains extra details into why an admission request was denied.
* This field IS NOT consulted in any way if "Allowed" is "true".
* +optional
*
* Result contains extra details into why an admission request was denied.
* This field IS NOT consulted in any way if "Allowed" is "true".
* +optional
*
* Result contains extra details into why an admission request was denied.
* This field IS NOT consulted in any way if "Allowed" is "true".
* +optional
*
* Result contains extra details into why an admission request was denied.
* This field IS NOT consulted in any way if "Allowed" is "true".
* +optional
*
* Result contains extra details into why an admission request was denied.
* This field IS NOT consulted in any way if "Allowed" is "true".
* +optional
*
* Result contains extra details into why an admission request was denied.
* This field IS NOT consulted in any way if "Allowed" is "true".
* +optional
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status status = 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>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.Meta.Status, io.kubernetes.client.proto.Meta.Status.Builder, io.kubernetes.client.proto.Meta.StatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
public finalBuilder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
returnsuper.setUnknownFields(unknownFields);
}
public finalBuilder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
returnsuper.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:k8s.io.api.admission.v1alpha1.AdmissionReviewStatus)
}
// @@protoc_insertion_point(class_scope:k8s.io.api.admission.v1alpha1.AdmissionReviewStatus)private static final io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatusDEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus();
}
public static io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus getDefaultInstance() {
returnDEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.ParserPARSER = new com.google.protobuf.AbstractParser() {
public AdmissionReviewStatus parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
returnnewAdmissionReviewStatus(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
returnPARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
returnPARSER;
}
public io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewStatus getDefaultInstanceForType() {
returnDEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_k8s_io_api_admission_v1alpha1_AdmissionReview_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_k8s_io_api_admission_v1alpha1_AdmissionReview_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_k8s_io_api_admission_v1alpha1_AdmissionReviewSpec_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_k8s_io_api_admission_v1alpha1_AdmissionReviewSpec_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_k8s_io_api_admission_v1alpha1_AdmissionReviewStatus_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_k8s_io_api_admission_v1alpha1_AdmissionReviewStatus_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n-k8s.io/api/admission/v1alpha1/generate" +
"d.proto\022\035k8s.io.api.admission.v1alpha1\032," +
"k8s.io/api/authentication/v1/generated.p" +
"roto\0324k8s.io/apimachinery/pkg/apis/meta/" +
"v1/generated.proto\032/k8s.io/apimachinery/" +
"pkg/runtime/generated.proto\0326k8s.io/apim" +
"achinery/pkg/runtime/schema/generated.pr" +
"oto\0323k8s.io/apimachinery/pkg/util/intstr" +
"/generated.proto\"\231\001\n\017AdmissionReview\022@\n\004" +
"spec\030\001 \001(\01322.k8s.io.api.admission.v1alph",
"a1.AdmissionReviewSpec\022D\n\006status\030\002 \001(\01324" +
".k8s.io.api.admission.v1alpha1.Admission" +
"ReviewStatus\"\255\003\n\023AdmissionReviewSpec\022D\n\004" +
"kind\030\001 \001(\01326.k8s.io.apimachinery.pkg.api" +
"s.meta.v1.GroupVersionKind\022=\n\006object\030\002 \001" +
"(\0132-.k8s.io.apimachinery.pkg.runtime.Raw" +
"Extension\022@\n\toldObject\030\003 \001(\0132-.k8s.io.ap" +
"imachinery.pkg.runtime.RawExtension\022\021\n\to" +
"peration\030\004 \001(\t\022\014\n\004name\030\005 \001(\t\022\021\n\tnamespac" +
"e\030\006 \001(\t\022L\n\010resource\030\007 \001(\0132:.k8s.io.apima",
"chinery.pkg.apis.meta.v1.GroupVersionRes" +
"ource\022\023\n\013subResource\030\010 \001(\t\0228\n\010userInfo\030\t" +
" \001(\0132&.k8s.io.api.authentication.v1.User" +
"Info\"f\n\025AdmissionReviewStatus\022\017\n\007allowed" +
"\030\001 \001(\010\022<\n\006status\030\002 \001(\0132,.k8s.io.apimachi" +
"nery.pkg.apis.meta.v1.StatusB9\n\032io.kuber" +
"netes.client.protoB\021V1alpha1AdmissionZ\010v" +
"1alpha1"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
returnnull;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
io.kubernetes.client.proto.V1Authentication.getDescriptor(),
io.kubernetes.client.proto.Meta.getDescriptor(),
io.kubernetes.client.proto.Runtime.getDescriptor(),
io.kubernetes.client.proto.RuntimeSchema.getDescriptor(),
io.kubernetes.client.proto.IntStr.getDescriptor(),
}, assigner);
internal_static_k8s_io_api_admission_v1alpha1_AdmissionReview_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_k8s_io_api_admission_v1alpha1_AdmissionReview_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_k8s_io_api_admission_v1alpha1_AdmissionReview_descriptor,
new java.lang.String[] { "Spec", "Status", });
internal_static_k8s_io_api_admission_v1alpha1_AdmissionReviewSpec_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_k8s_io_api_admission_v1alpha1_AdmissionReviewSpec_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_k8s_io_api_admission_v1alpha1_AdmissionReviewSpec_descriptor,
new java.lang.String[] { "Kind", "Object", "OldObject", "Operation", "Name", "Namespace", "Resource", "SubResource", "UserInfo", });
internal_static_k8s_io_api_admission_v1alpha1_AdmissionReviewStatus_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_k8s_io_api_admission_v1alpha1_AdmissionReviewStatus_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_k8s_io_api_admission_v1alpha1_AdmissionReviewStatus_descriptor,
new java.lang.String[] { "Allowed", "Status", });
io.kubernetes.client.proto.V1Authentication.getDescriptor();
io.kubernetes.client.proto.Meta.getDescriptor();
io.kubernetes.client.proto.Runtime.getDescriptor();
io.kubernetes.client.proto.RuntimeSchema.getDescriptor();
io.kubernetes.client.proto.IntStr.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}