Package io.grafeas.v1beta1.attestation
Class Attestation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Attestation.Builder>
io.grafeas.v1beta1.attestation.Attestation.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,AttestationOrBuilder,Cloneable
- Enclosing class:
- Attestation
public static final class Attestation.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear().grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;A PGP signed attestation.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor.grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;.grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;.grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;A PGP signed attestation.A PGP signed attestation.A PGP signed attestation.boolean.grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;booleanA PGP signed attestation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Attestation other) .grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;A PGP signed attestation..grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;setGenericSignedAttestation(GenericSignedAttestation.Builder builderForValue) .grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;A PGP signed attestation.setPgpSignedAttestation(PgpSignedAttestation.Builder builderForValue) A PGP signed attestation.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Attestation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Attestation.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.GeneratedMessage.Builder<Attestation.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
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Attestation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Attestation.Builder>
-
mergeFrom
public Attestation.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<Attestation.Builder>- Throws:
IOException
-
getSignatureCase
- Specified by:
getSignatureCasein interfaceAttestationOrBuilder
-
clearSignature
-
hasPgpSignedAttestation
public boolean hasPgpSignedAttestation()A PGP signed attestation.
.grafeas.v1beta1.attestation.PgpSignedAttestation pgp_signed_attestation = 1;- Specified by:
hasPgpSignedAttestationin interfaceAttestationOrBuilder- Returns:
- Whether the pgpSignedAttestation field is set.
-
getPgpSignedAttestation
A PGP signed attestation.
.grafeas.v1beta1.attestation.PgpSignedAttestation pgp_signed_attestation = 1;- Specified by:
getPgpSignedAttestationin interfaceAttestationOrBuilder- Returns:
- The pgpSignedAttestation.
-
setPgpSignedAttestation
A PGP signed attestation.
.grafeas.v1beta1.attestation.PgpSignedAttestation pgp_signed_attestation = 1; -
setPgpSignedAttestation
A PGP signed attestation.
.grafeas.v1beta1.attestation.PgpSignedAttestation pgp_signed_attestation = 1; -
mergePgpSignedAttestation
A PGP signed attestation.
.grafeas.v1beta1.attestation.PgpSignedAttestation pgp_signed_attestation = 1; -
clearPgpSignedAttestation
A PGP signed attestation.
.grafeas.v1beta1.attestation.PgpSignedAttestation pgp_signed_attestation = 1; -
getPgpSignedAttestationBuilder
A PGP signed attestation.
.grafeas.v1beta1.attestation.PgpSignedAttestation pgp_signed_attestation = 1; -
getPgpSignedAttestationOrBuilder
A PGP signed attestation.
.grafeas.v1beta1.attestation.PgpSignedAttestation pgp_signed_attestation = 1;- Specified by:
getPgpSignedAttestationOrBuilderin interfaceAttestationOrBuilder
-
hasGenericSignedAttestation
public boolean hasGenericSignedAttestation().grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;- Specified by:
hasGenericSignedAttestationin interfaceAttestationOrBuilder- Returns:
- Whether the genericSignedAttestation field is set.
-
getGenericSignedAttestation
.grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;- Specified by:
getGenericSignedAttestationin interfaceAttestationOrBuilder- Returns:
- The genericSignedAttestation.
-
setGenericSignedAttestation
.grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2; -
setGenericSignedAttestation
public Attestation.Builder setGenericSignedAttestation(GenericSignedAttestation.Builder builderForValue) .grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2; -
mergeGenericSignedAttestation
.grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2; -
clearGenericSignedAttestation
.grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2; -
getGenericSignedAttestationBuilder
.grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2; -
getGenericSignedAttestationOrBuilder
.grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;- Specified by:
getGenericSignedAttestationOrBuilderin interfaceAttestationOrBuilder
-