Package io.kubernetes.client.proto
Class V1alpha1Imagepolicy.ImageReviewSpec.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewSpec.Builder>
io.kubernetes.client.proto.V1alpha1Imagepolicy.ImageReviewSpec.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1alpha1Imagepolicy.ImageReviewSpecOrBuilder,Cloneable
- Enclosing class:
- V1alpha1Imagepolicy.ImageReviewSpec
public static final class V1alpha1Imagepolicy.ImageReviewSpec.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewSpec.Builder>
implements V1alpha1Imagepolicy.ImageReviewSpecOrBuilder
ImageReviewSpec is a description of the pod creation request.Protobuf type
k8s.io.api.imagepolicy.v1alpha1.ImageReviewSpec-
Method Summary
Modifier and TypeMethodDescriptionaddAllContainers(Iterable<? extends V1alpha1Imagepolicy.ImageReviewContainerSpec> values) Containers is a list of a subset of the information in each container of the Pod being created.addContainers(int index, V1alpha1Imagepolicy.ImageReviewContainerSpec value) Containers is a list of a subset of the information in each container of the Pod being created.addContainers(int index, V1alpha1Imagepolicy.ImageReviewContainerSpec.Builder builderForValue) Containers is a list of a subset of the information in each container of the Pod being created.Containers is a list of a subset of the information in each container of the Pod being created.addContainers(V1alpha1Imagepolicy.ImageReviewContainerSpec.Builder builderForValue) Containers is a list of a subset of the information in each container of the Pod being created.Containers is a list of a subset of the information in each container of the Pod being created.addContainersBuilder(int index) Containers is a list of a subset of the information in each container of the Pod being created.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Containers is a list of a subset of the information in each container of the Pod being created.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Namespace is the namespace the pod is being created in.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()booleanAnnotations is a list of key-value pairs extracted from the Pod's annotations.Deprecated.intAnnotations is a list of key-value pairs extracted from the Pod's annotations.Annotations is a list of key-value pairs extracted from the Pod's annotations.getAnnotationsOrDefault(String key, String defaultValue) Annotations is a list of key-value pairs extracted from the Pod's annotations.Annotations is a list of key-value pairs extracted from the Pod's annotations.getContainers(int index) Containers is a list of a subset of the information in each container of the Pod being created.getContainersBuilder(int index) Containers is a list of a subset of the information in each container of the Pod being created.Containers is a list of a subset of the information in each container of the Pod being created.intContainers is a list of a subset of the information in each container of the Pod being created.Containers is a list of a subset of the information in each container of the Pod being created.getContainersOrBuilder(int index) Containers is a list of a subset of the information in each container of the Pod being created.Containers is a list of a subset of the information in each container of the Pod being created.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.Namespace is the namespace the pod is being created in.com.google.protobuf.ByteStringNamespace is the namespace the pod is being created in.booleanNamespace is the namespace the pod is being created in.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) putAllAnnotations(Map<String, String> values) Annotations is a list of key-value pairs extracted from the Pod's annotations.putAnnotations(String key, String value) Annotations is a list of key-value pairs extracted from the Pod's annotations.removeAnnotations(String key) Annotations is a list of key-value pairs extracted from the Pod's annotations.removeContainers(int index) Containers is a list of a subset of the information in each container of the Pod being created.setContainers(int index, V1alpha1Imagepolicy.ImageReviewContainerSpec value) Containers is a list of a subset of the information in each container of the Pod being created.setContainers(int index, V1alpha1Imagepolicy.ImageReviewContainerSpec.Builder builderForValue) Containers is a list of a subset of the information in each container of the Pod being created.setNamespace(String value) Namespace is the namespace the pod is being created in.setNamespaceBytes(com.google.protobuf.ByteString value) Namespace is the namespace the pod is being created in.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.ImageReviewSpec.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewSpec.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewSpec.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.ImageReviewSpec.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.ImageReviewSpec.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.ImageReviewSpec.Builder>
-
setField
public V1alpha1Imagepolicy.ImageReviewSpec.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.ImageReviewSpec.Builder>
-
clearField
public V1alpha1Imagepolicy.ImageReviewSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewSpec.Builder>
-
clearOneof
public V1alpha1Imagepolicy.ImageReviewSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewSpec.Builder>
-
setRepeatedField
public V1alpha1Imagepolicy.ImageReviewSpec.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.ImageReviewSpec.Builder>
-
addRepeatedField
public V1alpha1Imagepolicy.ImageReviewSpec.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.ImageReviewSpec.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1alpha1Imagepolicy.ImageReviewSpec.Builder>
-
mergeFrom
public V1alpha1Imagepolicy.ImageReviewSpec.Builder mergeFrom(V1alpha1Imagepolicy.ImageReviewSpec other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewSpec.Builder>
-
mergeFrom
public V1alpha1Imagepolicy.ImageReviewSpec.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.ImageReviewSpec.Builder>- Throws:
IOException
-
getContainersList
Containers is a list of a subset of the information in each container of the Pod being created. +optional
repeated .k8s.io.api.imagepolicy.v1alpha1.ImageReviewContainerSpec containers = 1;- Specified by:
getContainersListin interfaceV1alpha1Imagepolicy.ImageReviewSpecOrBuilder
-
getContainersCount
public int getContainersCount()Containers is a list of a subset of the information in each container of the Pod being created. +optional
repeated .k8s.io.api.imagepolicy.v1alpha1.ImageReviewContainerSpec containers = 1;- Specified by:
getContainersCountin interfaceV1alpha1Imagepolicy.ImageReviewSpecOrBuilder
-
getContainers
Containers is a list of a subset of the information in each container of the Pod being created. +optional
repeated .k8s.io.api.imagepolicy.v1alpha1.ImageReviewContainerSpec containers = 1;- Specified by:
getContainersin interfaceV1alpha1Imagepolicy.ImageReviewSpecOrBuilder
-
setContainers
public V1alpha1Imagepolicy.ImageReviewSpec.Builder setContainers(int index, V1alpha1Imagepolicy.ImageReviewContainerSpec value) Containers is a list of a subset of the information in each container of the Pod being created. +optional
repeated .k8s.io.api.imagepolicy.v1alpha1.ImageReviewContainerSpec containers = 1; -
setContainers
public V1alpha1Imagepolicy.ImageReviewSpec.Builder setContainers(int index, V1alpha1Imagepolicy.ImageReviewContainerSpec.Builder builderForValue) Containers is a list of a subset of the information in each container of the Pod being created. +optional
repeated .k8s.io.api.imagepolicy.v1alpha1.ImageReviewContainerSpec containers = 1; -
addContainers
public V1alpha1Imagepolicy.ImageReviewSpec.Builder addContainers(V1alpha1Imagepolicy.ImageReviewContainerSpec value) Containers is a list of a subset of the information in each container of the Pod being created. +optional
repeated .k8s.io.api.imagepolicy.v1alpha1.ImageReviewContainerSpec containers = 1; -
addContainers
public V1alpha1Imagepolicy.ImageReviewSpec.Builder addContainers(int index, V1alpha1Imagepolicy.ImageReviewContainerSpec value) Containers is a list of a subset of the information in each container of the Pod being created. +optional
repeated .k8s.io.api.imagepolicy.v1alpha1.ImageReviewContainerSpec containers = 1; -
addContainers
public V1alpha1Imagepolicy.ImageReviewSpec.Builder addContainers(V1alpha1Imagepolicy.ImageReviewContainerSpec.Builder builderForValue) Containers is a list of a subset of the information in each container of the Pod being created. +optional
repeated .k8s.io.api.imagepolicy.v1alpha1.ImageReviewContainerSpec containers = 1; -
addContainers
public V1alpha1Imagepolicy.ImageReviewSpec.Builder addContainers(int index, V1alpha1Imagepolicy.ImageReviewContainerSpec.Builder builderForValue) Containers is a list of a subset of the information in each container of the Pod being created. +optional
repeated .k8s.io.api.imagepolicy.v1alpha1.ImageReviewContainerSpec containers = 1; -
addAllContainers
public V1alpha1Imagepolicy.ImageReviewSpec.Builder addAllContainers(Iterable<? extends V1alpha1Imagepolicy.ImageReviewContainerSpec> values) Containers is a list of a subset of the information in each container of the Pod being created. +optional
repeated .k8s.io.api.imagepolicy.v1alpha1.ImageReviewContainerSpec containers = 1; -
clearContainers
Containers is a list of a subset of the information in each container of the Pod being created. +optional
repeated .k8s.io.api.imagepolicy.v1alpha1.ImageReviewContainerSpec containers = 1; -
removeContainers
Containers is a list of a subset of the information in each container of the Pod being created. +optional
repeated .k8s.io.api.imagepolicy.v1alpha1.ImageReviewContainerSpec containers = 1; -
getContainersBuilder
Containers is a list of a subset of the information in each container of the Pod being created. +optional
repeated .k8s.io.api.imagepolicy.v1alpha1.ImageReviewContainerSpec containers = 1; -
getContainersOrBuilder
Containers is a list of a subset of the information in each container of the Pod being created. +optional
repeated .k8s.io.api.imagepolicy.v1alpha1.ImageReviewContainerSpec containers = 1;- Specified by:
getContainersOrBuilderin interfaceV1alpha1Imagepolicy.ImageReviewSpecOrBuilder
-
getContainersOrBuilderList
public List<? extends V1alpha1Imagepolicy.ImageReviewContainerSpecOrBuilder> getContainersOrBuilderList()Containers is a list of a subset of the information in each container of the Pod being created. +optional
repeated .k8s.io.api.imagepolicy.v1alpha1.ImageReviewContainerSpec containers = 1;- Specified by:
getContainersOrBuilderListin interfaceV1alpha1Imagepolicy.ImageReviewSpecOrBuilder
-
addContainersBuilder
Containers is a list of a subset of the information in each container of the Pod being created. +optional
repeated .k8s.io.api.imagepolicy.v1alpha1.ImageReviewContainerSpec containers = 1; -
addContainersBuilder
Containers is a list of a subset of the information in each container of the Pod being created. +optional
repeated .k8s.io.api.imagepolicy.v1alpha1.ImageReviewContainerSpec containers = 1; -
getContainersBuilderList
Containers is a list of a subset of the information in each container of the Pod being created. +optional
repeated .k8s.io.api.imagepolicy.v1alpha1.ImageReviewContainerSpec containers = 1; -
getAnnotationsCount
public int getAnnotationsCount()Description copied from interface:V1alpha1Imagepolicy.ImageReviewSpecOrBuilderAnnotations is a list of key-value pairs extracted from the Pod's annotations. It only includes keys which match the pattern `*.image-policy.k8s.io/*`. It is up to each webhook backend to determine how to interpret these annotations, if at all. +optional
map<string, string> annotations = 2;- Specified by:
getAnnotationsCountin interfaceV1alpha1Imagepolicy.ImageReviewSpecOrBuilder
-
containsAnnotations
Annotations is a list of key-value pairs extracted from the Pod's annotations. It only includes keys which match the pattern `*.image-policy.k8s.io/*`. It is up to each webhook backend to determine how to interpret these annotations, if at all. +optional
map<string, string> annotations = 2;- Specified by:
containsAnnotationsin interfaceV1alpha1Imagepolicy.ImageReviewSpecOrBuilder
-
getAnnotations
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceV1alpha1Imagepolicy.ImageReviewSpecOrBuilder
-
getAnnotationsMap
Annotations is a list of key-value pairs extracted from the Pod's annotations. It only includes keys which match the pattern `*.image-policy.k8s.io/*`. It is up to each webhook backend to determine how to interpret these annotations, if at all. +optional
map<string, string> annotations = 2;- Specified by:
getAnnotationsMapin interfaceV1alpha1Imagepolicy.ImageReviewSpecOrBuilder
-
getAnnotationsOrDefault
Annotations is a list of key-value pairs extracted from the Pod's annotations. It only includes keys which match the pattern `*.image-policy.k8s.io/*`. It is up to each webhook backend to determine how to interpret these annotations, if at all. +optional
map<string, string> annotations = 2;- Specified by:
getAnnotationsOrDefaultin interfaceV1alpha1Imagepolicy.ImageReviewSpecOrBuilder
-
getAnnotationsOrThrow
Annotations is a list of key-value pairs extracted from the Pod's annotations. It only includes keys which match the pattern `*.image-policy.k8s.io/*`. It is up to each webhook backend to determine how to interpret these annotations, if at all. +optional
map<string, string> annotations = 2;- Specified by:
getAnnotationsOrThrowin interfaceV1alpha1Imagepolicy.ImageReviewSpecOrBuilder
-
clearAnnotations
-
removeAnnotations
Annotations is a list of key-value pairs extracted from the Pod's annotations. It only includes keys which match the pattern `*.image-policy.k8s.io/*`. It is up to each webhook backend to determine how to interpret these annotations, if at all. +optional
map<string, string> annotations = 2; -
getMutableAnnotations
Deprecated.Use alternate mutation accessors instead. -
putAnnotations
Annotations is a list of key-value pairs extracted from the Pod's annotations. It only includes keys which match the pattern `*.image-policy.k8s.io/*`. It is up to each webhook backend to determine how to interpret these annotations, if at all. +optional
map<string, string> annotations = 2; -
putAllAnnotations
Annotations is a list of key-value pairs extracted from the Pod's annotations. It only includes keys which match the pattern `*.image-policy.k8s.io/*`. It is up to each webhook backend to determine how to interpret these annotations, if at all. +optional
map<string, string> annotations = 2; -
hasNamespace
public boolean hasNamespace()Namespace is the namespace the pod is being created in. +optional
optional string namespace = 3;- Specified by:
hasNamespacein interfaceV1alpha1Imagepolicy.ImageReviewSpecOrBuilder
-
getNamespace
Namespace is the namespace the pod is being created in. +optional
optional string namespace = 3;- Specified by:
getNamespacein interfaceV1alpha1Imagepolicy.ImageReviewSpecOrBuilder
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()Namespace is the namespace the pod is being created in. +optional
optional string namespace = 3;- Specified by:
getNamespaceBytesin interfaceV1alpha1Imagepolicy.ImageReviewSpecOrBuilder
-
setNamespace
Namespace is the namespace the pod is being created in. +optional
optional string namespace = 3; -
clearNamespace
Namespace is the namespace the pod is being created in. +optional
optional string namespace = 3; -
setNamespaceBytes
public V1alpha1Imagepolicy.ImageReviewSpec.Builder setNamespaceBytes(com.google.protobuf.ByteString value) Namespace is the namespace the pod is being created in. +optional
optional string namespace = 3; -
setUnknownFields
public final V1alpha1Imagepolicy.ImageReviewSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewSpec.Builder>
-
mergeUnknownFields
public final V1alpha1Imagepolicy.ImageReviewSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Imagepolicy.ImageReviewSpec.Builder>
-