Class AttestationNote (2.17.0)

public final class AttestationNote extends GeneratedMessageV3 implements AttestationNoteOrBuilder

Note kind that represents a logical attestation "role" or "authority". For example, an organization might have one Authority for "QA" and one for "build". This note is intended to act strictly as a grouping mechanism for the attached occurrences (Attestations). This grouping mechanism also provides a security boundary, since IAM ACLs gate the ability for a principle to attach an occurrence to a given note. It also provides a single point of lookup to find all attached attestation occurrences, even if they don't all live in the same project.

Protobuf type grafeas.v1.AttestationNote

Static Fields

HINT_FIELD_NUMBER

public static final int HINT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AttestationNote getDefaultInstance()
Returns
TypeDescription
AttestationNote

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AttestationNote.Builder newBuilder()
Returns
TypeDescription
AttestationNote.Builder

newBuilder(AttestationNote prototype)

public static AttestationNote.Builder newBuilder(AttestationNote prototype)
Parameter
NameDescription
prototypeAttestationNote
Returns
TypeDescription
AttestationNote.Builder

parseDelimitedFrom(InputStream input)

public static AttestationNote parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AttestationNote
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AttestationNote parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttestationNote
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AttestationNote parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AttestationNote
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AttestationNote parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttestationNote
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AttestationNote parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AttestationNote
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AttestationNote parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttestationNote
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AttestationNote parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AttestationNote
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AttestationNote parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttestationNote
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AttestationNote parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AttestationNote
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AttestationNote parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttestationNote
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AttestationNote parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AttestationNote
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AttestationNote parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttestationNote
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AttestationNote> parser()
Returns
TypeDescription
Parser<AttestationNote>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AttestationNote getDefaultInstanceForType()
Returns
TypeDescription
AttestationNote

getHint()

public AttestationNote.Hint getHint()

Hint hints at the purpose of the attestation authority.

.grafeas.v1.AttestationNote.Hint hint = 1;

Returns
TypeDescription
AttestationNote.Hint

The hint.

getHintOrBuilder()

public AttestationNote.HintOrBuilder getHintOrBuilder()

Hint hints at the purpose of the attestation authority.

.grafeas.v1.AttestationNote.Hint hint = 1;

Returns
TypeDescription
AttestationNote.HintOrBuilder

getParserForType()

public Parser<AttestationNote> getParserForType()
Returns
TypeDescription
Parser<AttestationNote>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasHint()

public boolean hasHint()

Hint hints at the purpose of the attestation authority.

.grafeas.v1.AttestationNote.Hint hint = 1;

Returns
TypeDescription
boolean

Whether the hint field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AttestationNote.Builder newBuilderForType()
Returns
TypeDescription
AttestationNote.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AttestationNote.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AttestationNote.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AttestationNote.Builder toBuilder()
Returns
TypeDescription
AttestationNote.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException