public static enum PgpSignedAttestation.ContentType extends Enum<PgpSignedAttestation.ContentType> implements com.google.protobuf.ProtocolMessageEnum
Type (for example schema) of the attestation payload that was signed.Protobuf enum
grafeas.v1beta1.attestation.PgpSignedAttestation.ContentType| Enum Constant and Description |
|---|
CONTENT_TYPE_UNSPECIFIED
`ContentType` is not set.
|
SIMPLE_SIGNING_JSON
Atomic format attestation signature.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CONTENT_TYPE_UNSPECIFIED_VALUE
`ContentType` is not set.
|
static int |
SIMPLE_SIGNING_JSON_VALUE
Atomic format attestation signature.
|
| Modifier and Type | Method and Description |
|---|---|
static PgpSignedAttestation.ContentType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<PgpSignedAttestation.ContentType> |
internalGetValueMap() |
static PgpSignedAttestation.ContentType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static PgpSignedAttestation.ContentType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PgpSignedAttestation.ContentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PgpSignedAttestation.ContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PgpSignedAttestation.ContentType CONTENT_TYPE_UNSPECIFIED
`ContentType` is not set.
CONTENT_TYPE_UNSPECIFIED = 0;public static final PgpSignedAttestation.ContentType SIMPLE_SIGNING_JSON
Atomic format attestation signature. See https://github.com/containers/image/blob/8a5d2f82a6e3263290c8e0276c3e0f64e77723e7/docs/atomic-signature.md The payload extracted from `signature` is a JSON blob conforming to the linked schema.
SIMPLE_SIGNING_JSON = 1;public static final PgpSignedAttestation.ContentType UNRECOGNIZED
public static final int CONTENT_TYPE_UNSPECIFIED_VALUE
`ContentType` is not set.
CONTENT_TYPE_UNSPECIFIED = 0;public static final int SIMPLE_SIGNING_JSON_VALUE
Atomic format attestation signature. See https://github.com/containers/image/blob/8a5d2f82a6e3263290c8e0276c3e0f64e77723e7/docs/atomic-signature.md The payload extracted from `signature` is a JSON blob conforming to the linked schema.
SIMPLE_SIGNING_JSON = 1;public static PgpSignedAttestation.ContentType[] values()
for (PgpSignedAttestation.ContentType c : PgpSignedAttestation.ContentType.values()) System.out.println(c);
public static PgpSignedAttestation.ContentType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static PgpSignedAttestation.ContentType valueOf(int value)
forNumber(int) instead.public static PgpSignedAttestation.ContentType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<PgpSignedAttestation.ContentType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static PgpSignedAttestation.ContentType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.