Package io.kubernetes.client.proto
Class V1alpha1Imagepolicy.ImageReviewStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>
io.kubernetes.client.proto.V1alpha1Imagepolicy.ImageReviewStatus.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1alpha1Imagepolicy.ImageReviewStatusOrBuilder,Cloneable
- Enclosing class:
- V1alpha1Imagepolicy.ImageReviewStatus
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-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Allowed indicates that all images were allowed to be run.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Reason should be empty unless Allowed is false in which case it may contain a short description of what is wrong.clone()booleanAuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'.booleanAllowed indicates that all images were allowed to be run.Deprecated.intAuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'.AuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'.getAuditAnnotationsOrDefault(String key, String defaultValue) AuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'.AuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.Reason should be empty unless Allowed is false in which case it may contain a short description of what is wrong.com.google.protobuf.ByteStringReason should be empty unless Allowed is false in which case it may contain a short description of what is wrong.booleanAllowed indicates that all images were allowed to be run.booleanReason 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.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllAuditAnnotations(Map<String, String> values) AuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'.putAuditAnnotations(String key, String value) AuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'.AuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'.setAllowed(boolean value) Allowed indicates that all images were allowed to be run.Reason should be empty unless Allowed is false in which case it may contain a short description of what is wrong.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.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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, 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() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.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<V1alpha1Imagepolicy.ImageReviewStatus.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<V1alpha1Imagepolicy.ImageReviewStatus.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<V1alpha1Imagepolicy.ImageReviewStatus.Builder>
-
setField
public V1alpha1Imagepolicy.ImageReviewStatus.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<V1alpha1Imagepolicy.ImageReviewStatus.Builder>
-
clearField
public V1alpha1Imagepolicy.ImageReviewStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>
-
clearOneof
public V1alpha1Imagepolicy.ImageReviewStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>
-
setRepeatedField
public V1alpha1Imagepolicy.ImageReviewStatus.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<V1alpha1Imagepolicy.ImageReviewStatus.Builder>
-
addRepeatedField
public V1alpha1Imagepolicy.ImageReviewStatus.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<V1alpha1Imagepolicy.ImageReviewStatus.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>
-
mergeFrom
public V1alpha1Imagepolicy.ImageReviewStatus.Builder mergeFrom(V1alpha1Imagepolicy.ImageReviewStatus other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>
-
mergeFrom
public V1alpha1Imagepolicy.ImageReviewStatus.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<V1alpha1Imagepolicy.ImageReviewStatus.Builder>- Throws:
IOException
-
hasAllowed
public boolean hasAllowed()Allowed indicates that all images were allowed to be run.
optional bool allowed = 1;- Specified by:
hasAllowedin interfaceV1alpha1Imagepolicy.ImageReviewStatusOrBuilder
-
getAllowed
public boolean getAllowed()Allowed indicates that all images were allowed to be run.
optional bool allowed = 1;- Specified by:
getAllowedin interfaceV1alpha1Imagepolicy.ImageReviewStatusOrBuilder
-
setAllowed
Allowed indicates that all images were allowed to be run.
optional bool allowed = 1; -
clearAllowed
Allowed indicates that all images were allowed to be run.
optional bool allowed = 1; -
hasReason
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;- Specified by:
hasReasonin interfaceV1alpha1Imagepolicy.ImageReviewStatusOrBuilder
-
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;- Specified by:
getReasonin interfaceV1alpha1Imagepolicy.ImageReviewStatusOrBuilder
-
getReasonBytes
public 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;- Specified by:
getReasonBytesin interfaceV1alpha1Imagepolicy.ImageReviewStatusOrBuilder
-
setReason
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; -
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; -
setReasonBytes
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; -
getAuditAnnotationsCount
public int getAuditAnnotationsCount()Description copied from interface: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;- Specified by:
getAuditAnnotationsCountin interfaceV1alpha1Imagepolicy.ImageReviewStatusOrBuilder
-
containsAuditAnnotations
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;- Specified by:
containsAuditAnnotationsin interfaceV1alpha1Imagepolicy.ImageReviewStatusOrBuilder
-
getAuditAnnotations
Deprecated.UsegetAuditAnnotationsMap()instead.- Specified by:
getAuditAnnotationsin interfaceV1alpha1Imagepolicy.ImageReviewStatusOrBuilder
-
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;- Specified by:
getAuditAnnotationsMapin interfaceV1alpha1Imagepolicy.ImageReviewStatusOrBuilder
-
getAuditAnnotationsOrDefault
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;- Specified by:
getAuditAnnotationsOrDefaultin interfaceV1alpha1Imagepolicy.ImageReviewStatusOrBuilder
-
getAuditAnnotationsOrThrow
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;- Specified by:
getAuditAnnotationsOrThrowin interfaceV1alpha1Imagepolicy.ImageReviewStatusOrBuilder
-
clearAuditAnnotations
-
removeAuditAnnotations
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; -
getMutableAuditAnnotations
Deprecated.Use alternate mutation accessors instead. -
putAuditAnnotations
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; -
putAllAuditAnnotations
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; -
setUnknownFields
public final V1alpha1Imagepolicy.ImageReviewStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>
-
mergeUnknownFields
public final V1alpha1Imagepolicy.ImageReviewStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>
-