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.GeneratedMessageV3.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.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 typegrafeas.v1beta1.attestation.Attestation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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
clearGenericSignedAttestation()
.grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;
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()
GenericSignedAttestation
getGenericSignedAttestation()
.grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;
GenericSignedAttestation.Builder
getGenericSignedAttestationBuilder()
.grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;
GenericSignedAttestationOrBuilder
getGenericSignedAttestationOrBuilder()
.grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;
PgpSignedAttestation
getPgpSignedAttestation()
A PGP signed attestation.PgpSignedAttestation.Builder
getPgpSignedAttestationBuilder()
A PGP signed attestation.PgpSignedAttestationOrBuilder
getPgpSignedAttestationOrBuilder()
A PGP signed attestation.Attestation.SignatureCase
getSignatureCase()
boolean
hasGenericSignedAttestation()
.grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;
boolean
hasPgpSignedAttestation()
A PGP signed attestation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Attestation.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Attestation.Builder
mergeFrom(com.google.protobuf.Message other)
Attestation.Builder
mergeFrom(Attestation other)
Attestation.Builder
mergeGenericSignedAttestation(GenericSignedAttestation value)
.grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;
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
setGenericSignedAttestation(GenericSignedAttestation value)
.grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;
Attestation.Builder
setGenericSignedAttestation(GenericSignedAttestation.Builder builderForValue)
.grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;
Attestation.Builder
setPgpSignedAttestation(PgpSignedAttestation value)
A PGP signed attestation.Attestation.Builder
setPgpSignedAttestation(PgpSignedAttestation.Builder builderForValue)
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)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Attestation.Builder>
-
clear
public Attestation.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Attestation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Attestation.Builder>
-
getDefaultInstanceForType
public Attestation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Attestation build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Attestation buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Attestation.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Attestation.Builder>
-
setField
public Attestation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Attestation.Builder>
-
clearField
public Attestation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Attestation.Builder>
-
clearOneof
public Attestation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Attestation.Builder>
-
setRepeatedField
public Attestation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Attestation.Builder>
-
addRepeatedField
public Attestation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Attestation.Builder>
-
mergeFrom
public Attestation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Attestation.Builder>
-
mergeFrom
public Attestation.Builder mergeFrom(Attestation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Attestation.Builder>
-
mergeFrom
public Attestation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Attestation.Builder>
- Throws:
IOException
-
getSignatureCase
public Attestation.SignatureCase getSignatureCase()
- Specified by:
getSignatureCase
in interfaceAttestationOrBuilder
-
clearSignature
public Attestation.Builder clearSignature()
-
hasPgpSignedAttestation
public boolean hasPgpSignedAttestation()
A PGP signed attestation.
.grafeas.v1beta1.attestation.PgpSignedAttestation pgp_signed_attestation = 1;
- Specified by:
hasPgpSignedAttestation
in interfaceAttestationOrBuilder
- Returns:
- Whether the pgpSignedAttestation field is set.
-
getPgpSignedAttestation
public PgpSignedAttestation getPgpSignedAttestation()
A PGP signed attestation.
.grafeas.v1beta1.attestation.PgpSignedAttestation pgp_signed_attestation = 1;
- Specified by:
getPgpSignedAttestation
in interfaceAttestationOrBuilder
- Returns:
- The pgpSignedAttestation.
-
setPgpSignedAttestation
public Attestation.Builder setPgpSignedAttestation(PgpSignedAttestation value)
A PGP signed attestation.
.grafeas.v1beta1.attestation.PgpSignedAttestation pgp_signed_attestation = 1;
-
setPgpSignedAttestation
public Attestation.Builder setPgpSignedAttestation(PgpSignedAttestation.Builder builderForValue)
A PGP signed attestation.
.grafeas.v1beta1.attestation.PgpSignedAttestation pgp_signed_attestation = 1;
-
mergePgpSignedAttestation
public Attestation.Builder mergePgpSignedAttestation(PgpSignedAttestation value)
A PGP signed attestation.
.grafeas.v1beta1.attestation.PgpSignedAttestation pgp_signed_attestation = 1;
-
clearPgpSignedAttestation
public Attestation.Builder clearPgpSignedAttestation()
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;
- Specified by:
getPgpSignedAttestationOrBuilder
in interfaceAttestationOrBuilder
-
hasGenericSignedAttestation
public boolean hasGenericSignedAttestation()
.grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;
- Specified by:
hasGenericSignedAttestation
in interfaceAttestationOrBuilder
- Returns:
- Whether the genericSignedAttestation field is set.
-
getGenericSignedAttestation
public GenericSignedAttestation getGenericSignedAttestation()
.grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;
- Specified by:
getGenericSignedAttestation
in interfaceAttestationOrBuilder
- Returns:
- The genericSignedAttestation.
-
setGenericSignedAttestation
public Attestation.Builder setGenericSignedAttestation(GenericSignedAttestation value)
.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
public Attestation.Builder mergeGenericSignedAttestation(GenericSignedAttestation value)
.grafeas.v1beta1.attestation.GenericSignedAttestation generic_signed_attestation = 2;
-
clearGenericSignedAttestation
public Attestation.Builder clearGenericSignedAttestation()
.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;
- Specified by:
getGenericSignedAttestationOrBuilder
in interfaceAttestationOrBuilder
-
setUnknownFields
public final Attestation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Attestation.Builder>
-
mergeUnknownFields
public final Attestation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Attestation.Builder>
-
-