public static final class Attestation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Attestation.Builder> implements AttestationOrBuilder
Occurrence that represents a single "attestation". The authenticity of an Attestation can be verified using the attached signature. If the verifier trusts the public key of the signer, then verifying the signature is sufficient to establish trust. In this circumstance, the Authority to which this Attestation is attached is primarily useful for look-up (how to find this Attestation if you already know the Authority and artifact to be verified) and intent (which authority was this attestation intended to sign for).Protobuf type
grafeas.v1beta1.attestation.Attestation| Modifier and Type | Method and Description |
|---|---|
Attestation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Attestation |
build() |
Attestation |
buildPartial() |
Attestation.Builder |
clear() |
Attestation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Attestation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Attestation.Builder |
clearPgpSignedAttestation()
A PGP signed attestation.
|
Attestation.Builder |
clearSignature() |
Attestation.Builder |
clone() |
Attestation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
PgpSignedAttestation |
getPgpSignedAttestation()
A PGP signed attestation.
|
PgpSignedAttestation.Builder |
getPgpSignedAttestationBuilder()
A PGP signed attestation.
|
PgpSignedAttestationOrBuilder |
getPgpSignedAttestationOrBuilder()
A PGP signed attestation.
|
Attestation.SignatureCase |
getSignatureCase() |
boolean |
hasPgpSignedAttestation()
A PGP signed attestation.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Attestation.Builder |
mergeFrom(Attestation other) |
Attestation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Attestation.Builder |
mergeFrom(com.google.protobuf.Message other) |
Attestation.Builder |
mergePgpSignedAttestation(PgpSignedAttestation value)
A PGP signed attestation.
|
Attestation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Attestation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Attestation.Builder |
setPgpSignedAttestation(PgpSignedAttestation.Builder builderForValue)
A PGP signed attestation.
|
Attestation.Builder |
setPgpSignedAttestation(PgpSignedAttestation value)
A PGP signed attestation.
|
Attestation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Attestation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Attestation.Builder>public Attestation.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Attestation.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Attestation.Builder>public Attestation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Attestation build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Attestation buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Attestation.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Attestation.Builder>public Attestation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Attestation.Builder>public Attestation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Attestation.Builder>public Attestation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Attestation.Builder>public Attestation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Attestation.Builder>public Attestation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Attestation.Builder>public Attestation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Attestation.Builder>public Attestation.Builder mergeFrom(Attestation other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Attestation.Builder>public Attestation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Attestation.Builder>IOExceptionpublic Attestation.SignatureCase getSignatureCase()
getSignatureCase in interface AttestationOrBuilderpublic Attestation.Builder clearSignature()
public boolean hasPgpSignedAttestation()
A PGP signed attestation.
.grafeas.v1beta1.attestation.PgpSignedAttestation pgp_signed_attestation = 1;hasPgpSignedAttestation in interface AttestationOrBuilderpublic PgpSignedAttestation getPgpSignedAttestation()
A PGP signed attestation.
.grafeas.v1beta1.attestation.PgpSignedAttestation pgp_signed_attestation = 1;getPgpSignedAttestation in interface AttestationOrBuilderpublic Attestation.Builder setPgpSignedAttestation(PgpSignedAttestation value)
A PGP signed attestation.
.grafeas.v1beta1.attestation.PgpSignedAttestation pgp_signed_attestation = 1;public Attestation.Builder setPgpSignedAttestation(PgpSignedAttestation.Builder builderForValue)
A PGP signed attestation.
.grafeas.v1beta1.attestation.PgpSignedAttestation pgp_signed_attestation = 1;public Attestation.Builder mergePgpSignedAttestation(PgpSignedAttestation value)
A PGP signed attestation.
.grafeas.v1beta1.attestation.PgpSignedAttestation pgp_signed_attestation = 1;public Attestation.Builder clearPgpSignedAttestation()
A PGP signed attestation.
.grafeas.v1beta1.attestation.PgpSignedAttestation pgp_signed_attestation = 1;public PgpSignedAttestation.Builder getPgpSignedAttestationBuilder()
A PGP signed attestation.
.grafeas.v1beta1.attestation.PgpSignedAttestation pgp_signed_attestation = 1;public PgpSignedAttestationOrBuilder getPgpSignedAttestationOrBuilder()
A PGP signed attestation.
.grafeas.v1beta1.attestation.PgpSignedAttestation pgp_signed_attestation = 1;getPgpSignedAttestationOrBuilder in interface AttestationOrBuilderpublic final Attestation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Attestation.Builder>public final Attestation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Attestation.Builder>Copyright © 2019 Google LLC. All rights reserved.