Package io.kubernetes.client.proto
Class V1alpha1Imagepolicy.ImageReviewStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
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()
boolean
AuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'.boolean
Allowed indicates that all images were allowed to be run.Deprecated.int
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'.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.Descriptor
com.google.protobuf.Descriptors.Descriptor
Deprecated.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
Reason should be empty unless Allowed is false in which case it may contain a short description of what is wrong.boolean
Allowed indicates that all images were allowed to be run.boolean
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
protected com.google.protobuf.MapField
internalGetMapField
(int number) protected com.google.protobuf.MapField
internalGetMutableMapField
(int number) final boolean
mergeFrom
(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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>
-
setField
public V1alpha1Imagepolicy.ImageReviewStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>
-
clearField
public V1alpha1Imagepolicy.ImageReviewStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>
-
clearOneof
public V1alpha1Imagepolicy.ImageReviewStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>
-
addRepeatedField
public V1alpha1Imagepolicy.ImageReviewStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>
-
mergeFrom
public V1alpha1Imagepolicy.ImageReviewStatus.Builder mergeFrom(V1alpha1Imagepolicy.ImageReviewStatus other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasAllowed
in interfaceV1alpha1Imagepolicy.ImageReviewStatusOrBuilder
-
getAllowed
public boolean getAllowed()Allowed indicates that all images were allowed to be run.
optional bool allowed = 1;
- Specified by:
getAllowed
in 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:
hasReason
in 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:
getReason
in 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:
getReasonBytes
in 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.ImageReviewStatusOrBuilder
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:
getAuditAnnotationsCount
in 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:
containsAuditAnnotations
in interfaceV1alpha1Imagepolicy.ImageReviewStatusOrBuilder
-
getAuditAnnotations
Deprecated.UsegetAuditAnnotationsMap()
instead.- Specified by:
getAuditAnnotations
in 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:
getAuditAnnotationsMap
in 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:
getAuditAnnotationsOrDefault
in 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:
getAuditAnnotationsOrThrow
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>
-
mergeUnknownFields
public final V1alpha1Imagepolicy.ImageReviewStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewStatus.Builder>
-