public static final class V1beta1Admission.AdmissionResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admission.AdmissionResponse.Builder> implements V1beta1Admission.AdmissionResponseOrBuilder
AdmissionResponse describes an admission response.Protobuf type
k8s.io.api.admission.v1beta1.AdmissionResponse| Modifier and Type | Method and Description |
|---|---|
V1beta1Admission.AdmissionResponse.Builder |
addAllWarnings(Iterable<String> values)
warnings is a list of warning messages to return to the requesting API client.
|
V1beta1Admission.AdmissionResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Admission.AdmissionResponse.Builder |
addWarnings(String value)
warnings is a list of warning messages to return to the requesting API client.
|
V1beta1Admission.AdmissionResponse.Builder |
addWarningsBytes(com.google.protobuf.ByteString value)
warnings is a list of warning messages to return to the requesting API client.
|
V1beta1Admission.AdmissionResponse |
build() |
V1beta1Admission.AdmissionResponse |
buildPartial() |
V1beta1Admission.AdmissionResponse.Builder |
clear() |
V1beta1Admission.AdmissionResponse.Builder |
clearAllowed()
Allowed indicates whether or not the admission request was permitted.
|
V1beta1Admission.AdmissionResponse.Builder |
clearAuditAnnotations() |
V1beta1Admission.AdmissionResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1beta1Admission.AdmissionResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1beta1Admission.AdmissionResponse.Builder |
clearPatch()
The patch body.
|
V1beta1Admission.AdmissionResponse.Builder |
clearPatchType()
The type of Patch.
|
V1beta1Admission.AdmissionResponse.Builder |
clearStatus()
Result contains extra details into why an admission request was denied.
|
V1beta1Admission.AdmissionResponse.Builder |
clearUid()
UID is an identifier for the individual request/response.
|
V1beta1Admission.AdmissionResponse.Builder |
clearWarnings()
warnings is a list of warning messages to return to the requesting API client.
|
V1beta1Admission.AdmissionResponse.Builder |
clone() |
boolean |
containsAuditAnnotations(String key)
AuditAnnotations is an unstructured key value map set by remote admission controller (e.g.
|
boolean |
getAllowed()
Allowed indicates whether or not the admission request was permitted.
|
Map<String,String> |
getAuditAnnotations()
Deprecated.
|
int |
getAuditAnnotationsCount()
AuditAnnotations is an unstructured key value map set by remote admission controller (e.g.
|
Map<String,String> |
getAuditAnnotationsMap()
AuditAnnotations is an unstructured key value map set by remote admission controller (e.g.
|
String |
getAuditAnnotationsOrDefault(String key,
String defaultValue)
AuditAnnotations is an unstructured key value map set by remote admission controller (e.g.
|
String |
getAuditAnnotationsOrThrow(String key)
AuditAnnotations is an unstructured key value map set by remote admission controller (e.g.
|
V1beta1Admission.AdmissionResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,String> |
getMutableAuditAnnotations()
Deprecated.
|
com.google.protobuf.ByteString |
getPatch()
The patch body.
|
String |
getPatchType()
The type of Patch.
|
com.google.protobuf.ByteString |
getPatchTypeBytes()
The type of Patch.
|
Meta.Status |
getStatus()
Result contains extra details into why an admission request was denied.
|
Meta.Status.Builder |
getStatusBuilder()
Result contains extra details into why an admission request was denied.
|
Meta.StatusOrBuilder |
getStatusOrBuilder()
Result contains extra details into why an admission request was denied.
|
String |
getUid()
UID is an identifier for the individual request/response.
|
com.google.protobuf.ByteString |
getUidBytes()
UID is an identifier for the individual request/response.
|
String |
getWarnings(int index)
warnings is a list of warning messages to return to the requesting API client.
|
com.google.protobuf.ByteString |
getWarningsBytes(int index)
warnings is a list of warning messages to return to the requesting API client.
|
int |
getWarningsCount()
warnings is a list of warning messages to return to the requesting API client.
|
com.google.protobuf.ProtocolStringList |
getWarningsList()
warnings is a list of warning messages to return to the requesting API client.
|
boolean |
hasAllowed()
Allowed indicates whether or not the admission request was permitted.
|
boolean |
hasPatch()
The patch body.
|
boolean |
hasPatchType()
The type of Patch.
|
boolean |
hasStatus()
Result contains extra details into why an admission request was denied.
|
boolean |
hasUid()
UID is an identifier for the individual request/response.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
V1beta1Admission.AdmissionResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1beta1Admission.AdmissionResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1beta1Admission.AdmissionResponse.Builder |
mergeFrom(V1beta1Admission.AdmissionResponse other) |
V1beta1Admission.AdmissionResponse.Builder |
mergeStatus(Meta.Status value)
Result contains extra details into why an admission request was denied.
|
V1beta1Admission.AdmissionResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Admission.AdmissionResponse.Builder |
putAllAuditAnnotations(Map<String,String> values)
AuditAnnotations is an unstructured key value map set by remote admission controller (e.g.
|
V1beta1Admission.AdmissionResponse.Builder |
putAuditAnnotations(String key,
String value)
AuditAnnotations is an unstructured key value map set by remote admission controller (e.g.
|
V1beta1Admission.AdmissionResponse.Builder |
removeAuditAnnotations(String key)
AuditAnnotations is an unstructured key value map set by remote admission controller (e.g.
|
V1beta1Admission.AdmissionResponse.Builder |
setAllowed(boolean value)
Allowed indicates whether or not the admission request was permitted.
|
V1beta1Admission.AdmissionResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Admission.AdmissionResponse.Builder |
setPatch(com.google.protobuf.ByteString value)
The patch body.
|
V1beta1Admission.AdmissionResponse.Builder |
setPatchType(String value)
The type of Patch.
|
V1beta1Admission.AdmissionResponse.Builder |
setPatchTypeBytes(com.google.protobuf.ByteString value)
The type of Patch.
|
V1beta1Admission.AdmissionResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1beta1Admission.AdmissionResponse.Builder |
setStatus(Meta.Status.Builder builderForValue)
Result contains extra details into why an admission request was denied.
|
V1beta1Admission.AdmissionResponse.Builder |
setStatus(Meta.Status value)
Result contains extra details into why an admission request was denied.
|
V1beta1Admission.AdmissionResponse.Builder |
setUid(String value)
UID is an identifier for the individual request/response.
|
V1beta1Admission.AdmissionResponse.Builder |
setUidBytes(com.google.protobuf.ByteString value)
UID is an identifier for the individual request/response.
|
V1beta1Admission.AdmissionResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Admission.AdmissionResponse.Builder |
setWarnings(int index,
String value)
warnings is a list of warning messages to return to the requesting API client.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admission.AdmissionResponse.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admission.AdmissionResponse.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admission.AdmissionResponse.Builder>public V1beta1Admission.AdmissionResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admission.AdmissionResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admission.AdmissionResponse.Builder>public V1beta1Admission.AdmissionResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta1Admission.AdmissionResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Admission.AdmissionResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Admission.AdmissionResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admission.AdmissionResponse.Builder>public V1beta1Admission.AdmissionResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admission.AdmissionResponse.Builder>public V1beta1Admission.AdmissionResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admission.AdmissionResponse.Builder>public V1beta1Admission.AdmissionResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admission.AdmissionResponse.Builder>public V1beta1Admission.AdmissionResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admission.AdmissionResponse.Builder>public V1beta1Admission.AdmissionResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admission.AdmissionResponse.Builder>public V1beta1Admission.AdmissionResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Admission.AdmissionResponse.Builder>public V1beta1Admission.AdmissionResponse.Builder mergeFrom(V1beta1Admission.AdmissionResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admission.AdmissionResponse.Builder>public V1beta1Admission.AdmissionResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Admission.AdmissionResponse.Builder>IOExceptionpublic boolean hasUid()
UID is an identifier for the individual request/response. This should be copied over from the corresponding AdmissionRequest.
optional string uid = 1;hasUid in interface V1beta1Admission.AdmissionResponseOrBuilderpublic String getUid()
UID is an identifier for the individual request/response. This should be copied over from the corresponding AdmissionRequest.
optional string uid = 1;getUid in interface V1beta1Admission.AdmissionResponseOrBuilderpublic com.google.protobuf.ByteString getUidBytes()
UID is an identifier for the individual request/response. This should be copied over from the corresponding AdmissionRequest.
optional string uid = 1;getUidBytes in interface V1beta1Admission.AdmissionResponseOrBuilderpublic V1beta1Admission.AdmissionResponse.Builder setUid(String value)
UID is an identifier for the individual request/response. This should be copied over from the corresponding AdmissionRequest.
optional string uid = 1;public V1beta1Admission.AdmissionResponse.Builder clearUid()
UID is an identifier for the individual request/response. This should be copied over from the corresponding AdmissionRequest.
optional string uid = 1;public V1beta1Admission.AdmissionResponse.Builder setUidBytes(com.google.protobuf.ByteString value)
UID is an identifier for the individual request/response. This should be copied over from the corresponding AdmissionRequest.
optional string uid = 1;public boolean hasAllowed()
Allowed indicates whether or not the admission request was permitted.
optional bool allowed = 2;hasAllowed in interface V1beta1Admission.AdmissionResponseOrBuilderpublic boolean getAllowed()
Allowed indicates whether or not the admission request was permitted.
optional bool allowed = 2;getAllowed in interface V1beta1Admission.AdmissionResponseOrBuilderpublic V1beta1Admission.AdmissionResponse.Builder setAllowed(boolean value)
Allowed indicates whether or not the admission request was permitted.
optional bool allowed = 2;public V1beta1Admission.AdmissionResponse.Builder clearAllowed()
Allowed indicates whether or not the admission request was permitted.
optional bool allowed = 2;public boolean hasStatus()
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 = 3;hasStatus in interface V1beta1Admission.AdmissionResponseOrBuilderpublic Meta.Status getStatus()
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 = 3;getStatus in interface V1beta1Admission.AdmissionResponseOrBuilderpublic V1beta1Admission.AdmissionResponse.Builder setStatus(Meta.Status value)
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 = 3;public V1beta1Admission.AdmissionResponse.Builder setStatus(Meta.Status.Builder builderForValue)
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 = 3;public V1beta1Admission.AdmissionResponse.Builder mergeStatus(Meta.Status value)
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 = 3;public V1beta1Admission.AdmissionResponse.Builder clearStatus()
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 = 3;public Meta.Status.Builder getStatusBuilder()
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 = 3;public Meta.StatusOrBuilder getStatusOrBuilder()
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 = 3;getStatusOrBuilder in interface V1beta1Admission.AdmissionResponseOrBuilderpublic boolean hasPatch()
The patch body. Currently we only support "JSONPatch" which implements RFC 6902. +optional
optional bytes patch = 4;hasPatch in interface V1beta1Admission.AdmissionResponseOrBuilderpublic com.google.protobuf.ByteString getPatch()
The patch body. Currently we only support "JSONPatch" which implements RFC 6902. +optional
optional bytes patch = 4;getPatch in interface V1beta1Admission.AdmissionResponseOrBuilderpublic V1beta1Admission.AdmissionResponse.Builder setPatch(com.google.protobuf.ByteString value)
The patch body. Currently we only support "JSONPatch" which implements RFC 6902. +optional
optional bytes patch = 4;public V1beta1Admission.AdmissionResponse.Builder clearPatch()
The patch body. Currently we only support "JSONPatch" which implements RFC 6902. +optional
optional bytes patch = 4;public boolean hasPatchType()
The type of Patch. Currently we only allow "JSONPatch". +optional
optional string patchType = 5;hasPatchType in interface V1beta1Admission.AdmissionResponseOrBuilderpublic String getPatchType()
The type of Patch. Currently we only allow "JSONPatch". +optional
optional string patchType = 5;getPatchType in interface V1beta1Admission.AdmissionResponseOrBuilderpublic com.google.protobuf.ByteString getPatchTypeBytes()
The type of Patch. Currently we only allow "JSONPatch". +optional
optional string patchType = 5;getPatchTypeBytes in interface V1beta1Admission.AdmissionResponseOrBuilderpublic V1beta1Admission.AdmissionResponse.Builder setPatchType(String value)
The type of Patch. Currently we only allow "JSONPatch". +optional
optional string patchType = 5;public V1beta1Admission.AdmissionResponse.Builder clearPatchType()
The type of Patch. Currently we only allow "JSONPatch". +optional
optional string patchType = 5;public V1beta1Admission.AdmissionResponse.Builder setPatchTypeBytes(com.google.protobuf.ByteString value)
The type of Patch. Currently we only allow "JSONPatch". +optional
optional string patchType = 5;public int getAuditAnnotationsCount()
V1beta1Admission.AdmissionResponseOrBuilderAuditAnnotations is an unstructured key value map set by remote admission controller (e.g. error=image-blacklisted). MutatingAdmissionWebhook and ValidatingAdmissionWebhook admission controller will prefix the keys with admission webhook name (e.g. imagepolicy.example.com/error=image-blacklisted). AuditAnnotations will be provided by the admission webhook to add additional context to the audit log for this request. +optional
map<string, string> auditAnnotations = 6;getAuditAnnotationsCount in interface V1beta1Admission.AdmissionResponseOrBuilderpublic boolean containsAuditAnnotations(String key)
AuditAnnotations is an unstructured key value map set by remote admission controller (e.g. error=image-blacklisted). MutatingAdmissionWebhook and ValidatingAdmissionWebhook admission controller will prefix the keys with admission webhook name (e.g. imagepolicy.example.com/error=image-blacklisted). AuditAnnotations will be provided by the admission webhook to add additional context to the audit log for this request. +optional
map<string, string> auditAnnotations = 6;containsAuditAnnotations in interface V1beta1Admission.AdmissionResponseOrBuilder@Deprecated public Map<String,String> getAuditAnnotations()
getAuditAnnotationsMap() instead.getAuditAnnotations in interface V1beta1Admission.AdmissionResponseOrBuilderpublic Map<String,String> getAuditAnnotationsMap()
AuditAnnotations is an unstructured key value map set by remote admission controller (e.g. error=image-blacklisted). MutatingAdmissionWebhook and ValidatingAdmissionWebhook admission controller will prefix the keys with admission webhook name (e.g. imagepolicy.example.com/error=image-blacklisted). AuditAnnotations will be provided by the admission webhook to add additional context to the audit log for this request. +optional
map<string, string> auditAnnotations = 6;getAuditAnnotationsMap in interface V1beta1Admission.AdmissionResponseOrBuilderpublic String getAuditAnnotationsOrDefault(String key, String defaultValue)
AuditAnnotations is an unstructured key value map set by remote admission controller (e.g. error=image-blacklisted). MutatingAdmissionWebhook and ValidatingAdmissionWebhook admission controller will prefix the keys with admission webhook name (e.g. imagepolicy.example.com/error=image-blacklisted). AuditAnnotations will be provided by the admission webhook to add additional context to the audit log for this request. +optional
map<string, string> auditAnnotations = 6;getAuditAnnotationsOrDefault in interface V1beta1Admission.AdmissionResponseOrBuilderpublic String getAuditAnnotationsOrThrow(String key)
AuditAnnotations is an unstructured key value map set by remote admission controller (e.g. error=image-blacklisted). MutatingAdmissionWebhook and ValidatingAdmissionWebhook admission controller will prefix the keys with admission webhook name (e.g. imagepolicy.example.com/error=image-blacklisted). AuditAnnotations will be provided by the admission webhook to add additional context to the audit log for this request. +optional
map<string, string> auditAnnotations = 6;getAuditAnnotationsOrThrow in interface V1beta1Admission.AdmissionResponseOrBuilderpublic V1beta1Admission.AdmissionResponse.Builder clearAuditAnnotations()
public V1beta1Admission.AdmissionResponse.Builder removeAuditAnnotations(String key)
AuditAnnotations is an unstructured key value map set by remote admission controller (e.g. error=image-blacklisted). MutatingAdmissionWebhook and ValidatingAdmissionWebhook admission controller will prefix the keys with admission webhook name (e.g. imagepolicy.example.com/error=image-blacklisted). AuditAnnotations will be provided by the admission webhook to add additional context to the audit log for this request. +optional
map<string, string> auditAnnotations = 6;@Deprecated public Map<String,String> getMutableAuditAnnotations()
public V1beta1Admission.AdmissionResponse.Builder putAuditAnnotations(String key, String value)
AuditAnnotations is an unstructured key value map set by remote admission controller (e.g. error=image-blacklisted). MutatingAdmissionWebhook and ValidatingAdmissionWebhook admission controller will prefix the keys with admission webhook name (e.g. imagepolicy.example.com/error=image-blacklisted). AuditAnnotations will be provided by the admission webhook to add additional context to the audit log for this request. +optional
map<string, string> auditAnnotations = 6;public V1beta1Admission.AdmissionResponse.Builder putAllAuditAnnotations(Map<String,String> values)
AuditAnnotations is an unstructured key value map set by remote admission controller (e.g. error=image-blacklisted). MutatingAdmissionWebhook and ValidatingAdmissionWebhook admission controller will prefix the keys with admission webhook name (e.g. imagepolicy.example.com/error=image-blacklisted). AuditAnnotations will be provided by the admission webhook to add additional context to the audit log for this request. +optional
map<string, string> auditAnnotations = 6;public com.google.protobuf.ProtocolStringList getWarningsList()
warnings is a list of warning messages to return to the requesting API client. Warning messages describe a problem the client making the API request should correct or be aware of. Limit warnings to 120 characters if possible. Warnings over 256 characters and large numbers of warnings may be truncated. +optional
repeated string warnings = 7;getWarningsList in interface V1beta1Admission.AdmissionResponseOrBuilderpublic int getWarningsCount()
warnings is a list of warning messages to return to the requesting API client. Warning messages describe a problem the client making the API request should correct or be aware of. Limit warnings to 120 characters if possible. Warnings over 256 characters and large numbers of warnings may be truncated. +optional
repeated string warnings = 7;getWarningsCount in interface V1beta1Admission.AdmissionResponseOrBuilderpublic String getWarnings(int index)
warnings is a list of warning messages to return to the requesting API client. Warning messages describe a problem the client making the API request should correct or be aware of. Limit warnings to 120 characters if possible. Warnings over 256 characters and large numbers of warnings may be truncated. +optional
repeated string warnings = 7;getWarnings in interface V1beta1Admission.AdmissionResponseOrBuilderpublic com.google.protobuf.ByteString getWarningsBytes(int index)
warnings is a list of warning messages to return to the requesting API client. Warning messages describe a problem the client making the API request should correct or be aware of. Limit warnings to 120 characters if possible. Warnings over 256 characters and large numbers of warnings may be truncated. +optional
repeated string warnings = 7;getWarningsBytes in interface V1beta1Admission.AdmissionResponseOrBuilderpublic V1beta1Admission.AdmissionResponse.Builder setWarnings(int index, String value)
warnings is a list of warning messages to return to the requesting API client. Warning messages describe a problem the client making the API request should correct or be aware of. Limit warnings to 120 characters if possible. Warnings over 256 characters and large numbers of warnings may be truncated. +optional
repeated string warnings = 7;public V1beta1Admission.AdmissionResponse.Builder addWarnings(String value)
warnings is a list of warning messages to return to the requesting API client. Warning messages describe a problem the client making the API request should correct or be aware of. Limit warnings to 120 characters if possible. Warnings over 256 characters and large numbers of warnings may be truncated. +optional
repeated string warnings = 7;public V1beta1Admission.AdmissionResponse.Builder addAllWarnings(Iterable<String> values)
warnings is a list of warning messages to return to the requesting API client. Warning messages describe a problem the client making the API request should correct or be aware of. Limit warnings to 120 characters if possible. Warnings over 256 characters and large numbers of warnings may be truncated. +optional
repeated string warnings = 7;public V1beta1Admission.AdmissionResponse.Builder clearWarnings()
warnings is a list of warning messages to return to the requesting API client. Warning messages describe a problem the client making the API request should correct or be aware of. Limit warnings to 120 characters if possible. Warnings over 256 characters and large numbers of warnings may be truncated. +optional
repeated string warnings = 7;public V1beta1Admission.AdmissionResponse.Builder addWarningsBytes(com.google.protobuf.ByteString value)
warnings is a list of warning messages to return to the requesting API client. Warning messages describe a problem the client making the API request should correct or be aware of. Limit warnings to 120 characters if possible. Warnings over 256 characters and large numbers of warnings may be truncated. +optional
repeated string warnings = 7;public final V1beta1Admission.AdmissionResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admission.AdmissionResponse.Builder>public final V1beta1Admission.AdmissionResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admission.AdmissionResponse.Builder>Copyright © 2023. All rights reserved.