Package io.kubernetes.client.proto
Class V1alpha1Admission.AdmissionReview.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admission.AdmissionReview.Builder>
io.kubernetes.client.proto.V1alpha1Admission.AdmissionReview.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1alpha1Admission.AdmissionReviewOrBuilder,Cloneable
- Enclosing class:
- V1alpha1Admission.AdmissionReview
public static final class V1alpha1Admission.AdmissionReview.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admission.AdmissionReview.Builder>
implements V1alpha1Admission.AdmissionReviewOrBuilder
AdmissionReview describes an admission request.Protobuf type
k8s.io.api.admission.v1alpha1.AdmissionReview-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Spec describes the attributes for the admission request.Status is filled in by the webhook and indicates whether the admission request should be permitted.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetSpec()Spec describes the attributes for the admission request.Spec describes the attributes for the admission request.Spec describes the attributes for the admission request.Status is filled in by the webhook and indicates whether the admission request should be permitted.Status is filled in by the webhook and indicates whether the admission request should be permitted.Status is filled in by the webhook and indicates whether the admission request should be permitted.booleanhasSpec()Spec describes the attributes for the admission request.booleanStatus is filled in by the webhook and indicates whether the admission request should be permitted.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Spec describes the attributes for the admission request.Status is filled in by the webhook and indicates whether the admission request should be permitted.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Spec describes the attributes for the admission request.setSpec(V1alpha1Admission.AdmissionReviewSpec.Builder builderForValue) Spec describes the attributes for the admission request.Status is filled in by the webhook and indicates whether the admission request should be permitted.setStatus(V1alpha1Admission.AdmissionReviewStatus.Builder builderForValue) Status is filled in by the webhook and indicates whether the admission request should be permitted.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admission.AdmissionReview.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admission.AdmissionReview.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admission.AdmissionReview.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admission.AdmissionReview.Builder>
-
setField
public V1alpha1Admission.AdmissionReview.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admission.AdmissionReview.Builder>
-
clearField
public V1alpha1Admission.AdmissionReview.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admission.AdmissionReview.Builder>
-
clearOneof
public V1alpha1Admission.AdmissionReview.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admission.AdmissionReview.Builder>
-
setRepeatedField
public V1alpha1Admission.AdmissionReview.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admission.AdmissionReview.Builder>
-
addRepeatedField
public V1alpha1Admission.AdmissionReview.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admission.AdmissionReview.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1alpha1Admission.AdmissionReview.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admission.AdmissionReview.Builder>
-
mergeFrom
public V1alpha1Admission.AdmissionReview.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1alpha1Admission.AdmissionReview.Builder>- Throws:
IOException
-
hasSpec
public boolean hasSpec()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;- Specified by:
hasSpecin interfaceV1alpha1Admission.AdmissionReviewOrBuilder
-
getSpec
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;- Specified by:
getSpecin interfaceV1alpha1Admission.AdmissionReviewOrBuilder
-
setSpec
public V1alpha1Admission.AdmissionReview.Builder setSpec(V1alpha1Admission.AdmissionReviewSpec value) 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; -
setSpec
public V1alpha1Admission.AdmissionReview.Builder setSpec(V1alpha1Admission.AdmissionReviewSpec.Builder builderForValue) 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; -
mergeSpec
public V1alpha1Admission.AdmissionReview.Builder mergeSpec(V1alpha1Admission.AdmissionReviewSpec value) 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; -
clearSpec
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; -
getSpecBuilder
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; -
getSpecOrBuilder
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;- Specified by:
getSpecOrBuilderin interfaceV1alpha1Admission.AdmissionReviewOrBuilder
-
hasStatus
public boolean hasStatus()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;- Specified by:
hasStatusin interfaceV1alpha1Admission.AdmissionReviewOrBuilder
-
getStatus
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;- Specified by:
getStatusin interfaceV1alpha1Admission.AdmissionReviewOrBuilder
-
setStatus
public V1alpha1Admission.AdmissionReview.Builder setStatus(V1alpha1Admission.AdmissionReviewStatus value) 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; -
setStatus
public V1alpha1Admission.AdmissionReview.Builder setStatus(V1alpha1Admission.AdmissionReviewStatus.Builder builderForValue) 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; -
mergeStatus
public V1alpha1Admission.AdmissionReview.Builder mergeStatus(V1alpha1Admission.AdmissionReviewStatus value) 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; -
clearStatus
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; -
getStatusBuilder
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; -
getStatusOrBuilder
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;- Specified by:
getStatusOrBuilderin interfaceV1alpha1Admission.AdmissionReviewOrBuilder
-
setUnknownFields
public final V1alpha1Admission.AdmissionReview.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admission.AdmissionReview.Builder>
-
mergeUnknownFields
public final V1alpha1Admission.AdmissionReview.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admission.AdmissionReview.Builder>
-