Send feedback
Class Attestation.Builder (2.41.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.41.0 keyboard_arrow_down
public static final class Attestation . Builder extends 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Attestation . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public Attestation build ()
buildPartial()
public Attestation buildPartial ()
clear()
public Attestation . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Attestation . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearGenericSignedAttestation()
public Attestation . Builder clearGenericSignedAttestation ()
.grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public Attestation . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearPgpSignedAttestation()
public Attestation . Builder clearPgpSignedAttestation ()
A PGP signed attestation.
.grafeas.v1beta1.attestation.PgpSignedAttestation pgp_signed_attestation = 1;
clearSignature()
public Attestation . Builder clearSignature ()
clone()
public Attestation . Builder clone ()
Overrides
getDefaultInstanceForType()
public Attestation getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getGenericSignedAttestation()
public GenericSignedAttestation getGenericSignedAttestation ()
.grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;
getGenericSignedAttestationBuilder()
public GenericSignedAttestation . Builder getGenericSignedAttestationBuilder ()
.grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;
getGenericSignedAttestationOrBuilder()
public GenericSignedAttestationOrBuilder getGenericSignedAttestationOrBuilder ()
.grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;
getPgpSignedAttestation()
public PgpSignedAttestation getPgpSignedAttestation ()
A PGP signed attestation.
.grafeas.v1beta1.attestation.PgpSignedAttestation pgp_signed_attestation = 1;
getPgpSignedAttestationBuilder()
public PgpSignedAttestation . Builder getPgpSignedAttestationBuilder ()
A PGP signed attestation.
.grafeas.v1beta1.attestation.PgpSignedAttestation pgp_signed_attestation = 1;
getPgpSignedAttestationOrBuilder()
public PgpSignedAttestationOrBuilder getPgpSignedAttestationOrBuilder ()
A PGP signed attestation.
.grafeas.v1beta1.attestation.PgpSignedAttestation pgp_signed_attestation = 1;
getSignatureCase()
public Attestation . SignatureCase getSignatureCase ()
hasGenericSignedAttestation()
public boolean hasGenericSignedAttestation ()
.grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;
Returns Type Description boolean
Whether the genericSignedAttestation field is set.
hasPgpSignedAttestation()
public boolean hasPgpSignedAttestation ()
A PGP signed attestation.
.grafeas.v1beta1.attestation.PgpSignedAttestation pgp_signed_attestation = 1;
Returns Type Description boolean
Whether the pgpSignedAttestation field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
public Attestation . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public Attestation . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeFrom(Attestation other)
public Attestation . Builder mergeFrom ( Attestation other )
mergeGenericSignedAttestation(GenericSignedAttestation value)
public Attestation . Builder mergeGenericSignedAttestation ( GenericSignedAttestation value )
.grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;
mergePgpSignedAttestation(PgpSignedAttestation value)
public Attestation . Builder mergePgpSignedAttestation ( PgpSignedAttestation value )
A PGP signed attestation.
.grafeas.v1beta1.attestation.PgpSignedAttestation pgp_signed_attestation = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Attestation . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Attestation . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setGenericSignedAttestation(GenericSignedAttestation value)
public Attestation . Builder setGenericSignedAttestation ( GenericSignedAttestation value )
.grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;
setGenericSignedAttestation(GenericSignedAttestation.Builder builderForValue)
public Attestation . Builder setGenericSignedAttestation ( GenericSignedAttestation . Builder builderForValue )
.grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;
setPgpSignedAttestation(PgpSignedAttestation value)
public Attestation . Builder setPgpSignedAttestation ( PgpSignedAttestation value )
A PGP signed attestation.
.grafeas.v1beta1.attestation.PgpSignedAttestation pgp_signed_attestation = 1;
setPgpSignedAttestation(PgpSignedAttestation.Builder builderForValue)
public Attestation . Builder setPgpSignedAttestation ( PgpSignedAttestation . Builder builderForValue )
A PGP signed attestation.
.grafeas.v1beta1.attestation.PgpSignedAttestation pgp_signed_attestation = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Attestation . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Attestation . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]