public static final class V1alpha1Imagepolicy.ImageReviewStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder> implements V1alpha1Imagepolicy.ImageReviewStatusOrBuilder
ImageReviewStatus is the result of the review for the pod creation request.Protobuf type
k8s.io.api.imagepolicy.v1alpha1.ImageReviewStatus| Modifier and Type | Method and Description |
|---|---|
V1alpha1Imagepolicy.ImageReviewStatus.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1alpha1Imagepolicy.ImageReviewStatus |
build() |
V1alpha1Imagepolicy.ImageReviewStatus |
buildPartial() |
V1alpha1Imagepolicy.ImageReviewStatus.Builder |
clear() |
V1alpha1Imagepolicy.ImageReviewStatus.Builder |
clearAllowed()
Allowed indicates that all images were allowed to be run.
|
V1alpha1Imagepolicy.ImageReviewStatus.Builder |
clearAuditAnnotations() |
V1alpha1Imagepolicy.ImageReviewStatus.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1alpha1Imagepolicy.ImageReviewStatus.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1alpha1Imagepolicy.ImageReviewStatus.Builder |
clearReason()
Reason should be empty unless Allowed is false in which case it
may contain a short description of what is wrong.
|
V1alpha1Imagepolicy.ImageReviewStatus.Builder |
clone() |
boolean |
containsAuditAnnotations(String key)
AuditAnnotations will be added to the attributes object of the
admission controller request using 'AddAnnotation'.
|
boolean |
getAllowed()
Allowed indicates that all images were allowed to be run.
|
Map<String,String> |
getAuditAnnotations()
Deprecated.
|
int |
getAuditAnnotationsCount()
AuditAnnotations will be added to the attributes object of the
admission controller request using 'AddAnnotation'.
|
Map<String,String> |
getAuditAnnotationsMap()
AuditAnnotations will be added to the attributes object of the
admission controller request using 'AddAnnotation'.
|
String |
getAuditAnnotationsOrDefault(String key,
String defaultValue)
AuditAnnotations will be added to the attributes object of the
admission controller request using 'AddAnnotation'.
|
String |
getAuditAnnotationsOrThrow(String key)
AuditAnnotations will be added to the attributes object of the
admission controller request using 'AddAnnotation'.
|
V1alpha1Imagepolicy.ImageReviewStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,String> |
getMutableAuditAnnotations()
Deprecated.
|
String |
getReason()
Reason should be empty unless Allowed is false in which case it
may contain a short description of what is wrong.
|
com.google.protobuf.ByteString |
getReasonBytes()
Reason should be empty unless Allowed is false in which case it
may contain a short description of what is wrong.
|
boolean |
hasAllowed()
Allowed indicates that all images were allowed to be run.
|
boolean |
hasReason()
Reason should be empty unless Allowed is false in which case it
may contain a short description of what is wrong.
|
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() |
V1alpha1Imagepolicy.ImageReviewStatus.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1alpha1Imagepolicy.ImageReviewStatus.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1alpha1Imagepolicy.ImageReviewStatus.Builder |
mergeFrom(V1alpha1Imagepolicy.ImageReviewStatus other) |
V1alpha1Imagepolicy.ImageReviewStatus.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1alpha1Imagepolicy.ImageReviewStatus.Builder |
putAllAuditAnnotations(Map<String,String> values)
AuditAnnotations will be added to the attributes object of the
admission controller request using 'AddAnnotation'.
|
V1alpha1Imagepolicy.ImageReviewStatus.Builder |
putAuditAnnotations(String key,
String value)
AuditAnnotations will be added to the attributes object of the
admission controller request using 'AddAnnotation'.
|
V1alpha1Imagepolicy.ImageReviewStatus.Builder |
removeAuditAnnotations(String key)
AuditAnnotations will be added to the attributes object of the
admission controller request using 'AddAnnotation'.
|
V1alpha1Imagepolicy.ImageReviewStatus.Builder |
setAllowed(boolean value)
Allowed indicates that all images were allowed to be run.
|
V1alpha1Imagepolicy.ImageReviewStatus.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1alpha1Imagepolicy.ImageReviewStatus.Builder |
setReason(String value)
Reason should be empty unless Allowed is false in which case it
may contain a short description of what is wrong.
|
V1alpha1Imagepolicy.ImageReviewStatus.Builder |
setReasonBytes(com.google.protobuf.ByteString value)
Reason should be empty unless Allowed is false in which case it
may contain a short description of what is wrong.
|
V1alpha1Imagepolicy.ImageReviewStatus.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1alpha1Imagepolicy.ImageReviewStatus.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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<V1alpha1Imagepolicy.ImageReviewStatus.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>public V1alpha1Imagepolicy.ImageReviewStatus.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.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<V1alpha1Imagepolicy.ImageReviewStatus.Builder>public V1alpha1Imagepolicy.ImageReviewStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1alpha1Imagepolicy.ImageReviewStatus build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1alpha1Imagepolicy.ImageReviewStatus buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1alpha1Imagepolicy.ImageReviewStatus.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>public V1alpha1Imagepolicy.ImageReviewStatus.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<V1alpha1Imagepolicy.ImageReviewStatus.Builder>public V1alpha1Imagepolicy.ImageReviewStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>public V1alpha1Imagepolicy.ImageReviewStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>public V1alpha1Imagepolicy.ImageReviewStatus.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<V1alpha1Imagepolicy.ImageReviewStatus.Builder>public V1alpha1Imagepolicy.ImageReviewStatus.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<V1alpha1Imagepolicy.ImageReviewStatus.Builder>public V1alpha1Imagepolicy.ImageReviewStatus.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>public V1alpha1Imagepolicy.ImageReviewStatus.Builder mergeFrom(V1alpha1Imagepolicy.ImageReviewStatus other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>public V1alpha1Imagepolicy.ImageReviewStatus.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<V1alpha1Imagepolicy.ImageReviewStatus.Builder>IOExceptionpublic boolean hasAllowed()
Allowed indicates that all images were allowed to be run.
optional bool allowed = 1;hasAllowed in interface V1alpha1Imagepolicy.ImageReviewStatusOrBuilderpublic boolean getAllowed()
Allowed indicates that all images were allowed to be run.
optional bool allowed = 1;getAllowed in interface V1alpha1Imagepolicy.ImageReviewStatusOrBuilderpublic V1alpha1Imagepolicy.ImageReviewStatus.Builder setAllowed(boolean value)
Allowed indicates that all images were allowed to be run.
optional bool allowed = 1;public V1alpha1Imagepolicy.ImageReviewStatus.Builder clearAllowed()
Allowed indicates that all images were allowed to be run.
optional bool allowed = 1;public boolean hasReason()
Reason should be empty unless Allowed is false in which case it may contain a short description of what is wrong. Kubernetes may truncate excessively long errors when displaying to the user. +optional
optional string reason = 2;hasReason in interface V1alpha1Imagepolicy.ImageReviewStatusOrBuilderpublic String getReason()
Reason should be empty unless Allowed is false in which case it may contain a short description of what is wrong. Kubernetes may truncate excessively long errors when displaying to the user. +optional
optional string reason = 2;getReason in interface V1alpha1Imagepolicy.ImageReviewStatusOrBuilderpublic com.google.protobuf.ByteString getReasonBytes()
Reason should be empty unless Allowed is false in which case it may contain a short description of what is wrong. Kubernetes may truncate excessively long errors when displaying to the user. +optional
optional string reason = 2;getReasonBytes in interface V1alpha1Imagepolicy.ImageReviewStatusOrBuilderpublic V1alpha1Imagepolicy.ImageReviewStatus.Builder setReason(String value)
Reason should be empty unless Allowed is false in which case it may contain a short description of what is wrong. Kubernetes may truncate excessively long errors when displaying to the user. +optional
optional string reason = 2;public V1alpha1Imagepolicy.ImageReviewStatus.Builder clearReason()
Reason should be empty unless Allowed is false in which case it may contain a short description of what is wrong. Kubernetes may truncate excessively long errors when displaying to the user. +optional
optional string reason = 2;public V1alpha1Imagepolicy.ImageReviewStatus.Builder setReasonBytes(com.google.protobuf.ByteString value)
Reason should be empty unless Allowed is false in which case it may contain a short description of what is wrong. Kubernetes may truncate excessively long errors when displaying to the user. +optional
optional string reason = 2;public int getAuditAnnotationsCount()
V1alpha1Imagepolicy.ImageReviewStatusOrBuilderAuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'. The keys should be prefix-less (i.e., the admission controller will add an appropriate prefix). +optional
map<string, string> auditAnnotations = 3;getAuditAnnotationsCount in interface V1alpha1Imagepolicy.ImageReviewStatusOrBuilderpublic boolean containsAuditAnnotations(String key)
AuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'. The keys should be prefix-less (i.e., the admission controller will add an appropriate prefix). +optional
map<string, string> auditAnnotations = 3;containsAuditAnnotations in interface V1alpha1Imagepolicy.ImageReviewStatusOrBuilder@Deprecated public Map<String,String> getAuditAnnotations()
getAuditAnnotationsMap() instead.getAuditAnnotations in interface V1alpha1Imagepolicy.ImageReviewStatusOrBuilderpublic Map<String,String> getAuditAnnotationsMap()
AuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'. The keys should be prefix-less (i.e., the admission controller will add an appropriate prefix). +optional
map<string, string> auditAnnotations = 3;getAuditAnnotationsMap in interface V1alpha1Imagepolicy.ImageReviewStatusOrBuilderpublic String getAuditAnnotationsOrDefault(String key, String defaultValue)
AuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'. The keys should be prefix-less (i.e., the admission controller will add an appropriate prefix). +optional
map<string, string> auditAnnotations = 3;getAuditAnnotationsOrDefault in interface V1alpha1Imagepolicy.ImageReviewStatusOrBuilderpublic String getAuditAnnotationsOrThrow(String key)
AuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'. The keys should be prefix-less (i.e., the admission controller will add an appropriate prefix). +optional
map<string, string> auditAnnotations = 3;getAuditAnnotationsOrThrow in interface V1alpha1Imagepolicy.ImageReviewStatusOrBuilderpublic V1alpha1Imagepolicy.ImageReviewStatus.Builder clearAuditAnnotations()
public V1alpha1Imagepolicy.ImageReviewStatus.Builder removeAuditAnnotations(String key)
AuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'. The keys should be prefix-less (i.e., the admission controller will add an appropriate prefix). +optional
map<string, string> auditAnnotations = 3;@Deprecated public Map<String,String> getMutableAuditAnnotations()
public V1alpha1Imagepolicy.ImageReviewStatus.Builder putAuditAnnotations(String key, String value)
AuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'. The keys should be prefix-less (i.e., the admission controller will add an appropriate prefix). +optional
map<string, string> auditAnnotations = 3;public V1alpha1Imagepolicy.ImageReviewStatus.Builder putAllAuditAnnotations(Map<String,String> values)
AuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'. The keys should be prefix-less (i.e., the admission controller will add an appropriate prefix). +optional
map<string, string> auditAnnotations = 3;public final V1alpha1Imagepolicy.ImageReviewStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>public final V1alpha1Imagepolicy.ImageReviewStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>Copyright © 2023. All rights reserved.