public static final class V1alpha1Imagepolicy.ImageReviewSpec extends com.google.protobuf.GeneratedMessageV3 implements V1alpha1Imagepolicy.ImageReviewSpecOrBuilder
ImageReviewSpec is a description of the pod creation request.Protobuf type
k8s.io.api.imagepolicy.v1alpha1.ImageReviewSpec| Modifier and Type | Class and Description |
|---|---|
static class |
V1alpha1Imagepolicy.ImageReviewSpec.Builder
ImageReviewSpec is a description of the pod creation request.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ANNOTATIONS_FIELD_NUMBER |
static int |
CONTAINERS_FIELD_NUMBER |
static int |
NAMESPACE_FIELD_NUMBER |
static com.google.protobuf.Parser<V1alpha1Imagepolicy.ImageReviewSpec> |
PARSER
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsAnnotations(String key)
Annotations is a list of key-value pairs extracted from the Pod's annotations.
|
boolean |
equals(Object obj) |
Map<String,String> |
getAnnotations()
Deprecated.
|
int |
getAnnotationsCount()
Annotations is a list of key-value pairs extracted from the Pod's annotations.
|
Map<String,String> |
getAnnotationsMap()
Annotations is a list of key-value pairs extracted from the Pod's annotations.
|
String |
getAnnotationsOrDefault(String key,
String defaultValue)
Annotations is a list of key-value pairs extracted from the Pod's annotations.
|
String |
getAnnotationsOrThrow(String key)
Annotations is a list of key-value pairs extracted from the Pod's annotations.
|
V1alpha1Imagepolicy.ImageReviewContainerSpec |
getContainers(int index)
Containers is a list of a subset of the information in each container of the Pod being created.
|
int |
getContainersCount()
Containers is a list of a subset of the information in each container of the Pod being created.
|
List<V1alpha1Imagepolicy.ImageReviewContainerSpec> |
getContainersList()
Containers is a list of a subset of the information in each container of the Pod being created.
|
V1alpha1Imagepolicy.ImageReviewContainerSpecOrBuilder |
getContainersOrBuilder(int index)
Containers is a list of a subset of the information in each container of the Pod being created.
|
List<? extends V1alpha1Imagepolicy.ImageReviewContainerSpecOrBuilder> |
getContainersOrBuilderList()
Containers is a list of a subset of the information in each container of the Pod being created.
|
static V1alpha1Imagepolicy.ImageReviewSpec |
getDefaultInstance() |
V1alpha1Imagepolicy.ImageReviewSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getNamespace()
Namespace is the namespace the pod is being created in.
|
com.google.protobuf.ByteString |
getNamespaceBytes()
Namespace is the namespace the pod is being created in.
|
com.google.protobuf.Parser<V1alpha1Imagepolicy.ImageReviewSpec> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasNamespace()
Namespace is the namespace the pod is being created in.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static V1alpha1Imagepolicy.ImageReviewSpec.Builder |
newBuilder() |
static V1alpha1Imagepolicy.ImageReviewSpec.Builder |
newBuilder(V1alpha1Imagepolicy.ImageReviewSpec prototype) |
V1alpha1Imagepolicy.ImageReviewSpec.Builder |
newBuilderForType() |
protected V1alpha1Imagepolicy.ImageReviewSpec.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1alpha1Imagepolicy.ImageReviewSpec |
parseDelimitedFrom(InputStream input) |
static V1alpha1Imagepolicy.ImageReviewSpec |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1alpha1Imagepolicy.ImageReviewSpec |
parseFrom(byte[] data) |
static V1alpha1Imagepolicy.ImageReviewSpec |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1alpha1Imagepolicy.ImageReviewSpec |
parseFrom(ByteBuffer data) |
static V1alpha1Imagepolicy.ImageReviewSpec |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1alpha1Imagepolicy.ImageReviewSpec |
parseFrom(com.google.protobuf.ByteString data) |
static V1alpha1Imagepolicy.ImageReviewSpec |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1alpha1Imagepolicy.ImageReviewSpec |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1alpha1Imagepolicy.ImageReviewSpec |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1alpha1Imagepolicy.ImageReviewSpec |
parseFrom(InputStream input) |
static V1alpha1Imagepolicy.ImageReviewSpec |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1alpha1Imagepolicy.ImageReviewSpec> |
parser() |
V1alpha1Imagepolicy.ImageReviewSpec.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CONTAINERS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1alpha1Imagepolicy.ImageReviewSpec> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public List<V1alpha1Imagepolicy.ImageReviewContainerSpec> 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;
getContainersList in interface V1alpha1Imagepolicy.ImageReviewSpecOrBuilderpublic 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;
getContainersOrBuilderList in interface V1alpha1Imagepolicy.ImageReviewSpecOrBuilderpublic 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;
getContainersCount in interface V1alpha1Imagepolicy.ImageReviewSpecOrBuilderpublic V1alpha1Imagepolicy.ImageReviewContainerSpec getContainers(int index)
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;
getContainers in interface V1alpha1Imagepolicy.ImageReviewSpecOrBuilderpublic V1alpha1Imagepolicy.ImageReviewContainerSpecOrBuilder getContainersOrBuilder(int index)
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 in interface V1alpha1Imagepolicy.ImageReviewSpecOrBuilderpublic int getAnnotationsCount()
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;getAnnotationsCount in interface V1alpha1Imagepolicy.ImageReviewSpecOrBuilderpublic boolean containsAnnotations(String key)
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;containsAnnotations in interface V1alpha1Imagepolicy.ImageReviewSpecOrBuilder@Deprecated public Map<String,String> getAnnotations()
getAnnotationsMap() instead.getAnnotations in interface V1alpha1Imagepolicy.ImageReviewSpecOrBuilderpublic Map<String,String> 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;getAnnotationsMap in interface V1alpha1Imagepolicy.ImageReviewSpecOrBuilderpublic String getAnnotationsOrDefault(String key, String defaultValue)
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;getAnnotationsOrDefault in interface V1alpha1Imagepolicy.ImageReviewSpecOrBuilderpublic String getAnnotationsOrThrow(String key)
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;getAnnotationsOrThrow in interface V1alpha1Imagepolicy.ImageReviewSpecOrBuilderpublic boolean hasNamespace()
Namespace is the namespace the pod is being created in. +optional
optional string namespace = 3;hasNamespace in interface V1alpha1Imagepolicy.ImageReviewSpecOrBuilderpublic String getNamespace()
Namespace is the namespace the pod is being created in. +optional
optional string namespace = 3;getNamespace in interface V1alpha1Imagepolicy.ImageReviewSpecOrBuilderpublic com.google.protobuf.ByteString getNamespaceBytes()
Namespace is the namespace the pod is being created in. +optional
optional string namespace = 3;getNamespaceBytes in interface V1alpha1Imagepolicy.ImageReviewSpecOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static V1alpha1Imagepolicy.ImageReviewSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1alpha1Imagepolicy.ImageReviewSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1alpha1Imagepolicy.ImageReviewSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1alpha1Imagepolicy.ImageReviewSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1alpha1Imagepolicy.ImageReviewSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1alpha1Imagepolicy.ImageReviewSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1alpha1Imagepolicy.ImageReviewSpec parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1alpha1Imagepolicy.ImageReviewSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1alpha1Imagepolicy.ImageReviewSpec parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1alpha1Imagepolicy.ImageReviewSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1alpha1Imagepolicy.ImageReviewSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1alpha1Imagepolicy.ImageReviewSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1alpha1Imagepolicy.ImageReviewSpec.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1alpha1Imagepolicy.ImageReviewSpec.Builder newBuilder()
public static V1alpha1Imagepolicy.ImageReviewSpec.Builder newBuilder(V1alpha1Imagepolicy.ImageReviewSpec prototype)
public V1alpha1Imagepolicy.ImageReviewSpec.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1alpha1Imagepolicy.ImageReviewSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1alpha1Imagepolicy.ImageReviewSpec getDefaultInstance()
public static com.google.protobuf.Parser<V1alpha1Imagepolicy.ImageReviewSpec> parser()
public com.google.protobuf.Parser<V1alpha1Imagepolicy.ImageReviewSpec> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1alpha1Imagepolicy.ImageReviewSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2021. All rights reserved.