Class AttestationNote (2.43.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
Type Description
int

Static Methods

getDefaultInstance()

public static AttestationNote getDefaultInstance()
Returns
Type Description
AttestationNote

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AttestationNote.Builder newBuilder()
Returns
Type Description
AttestationNote.Builder

newBuilder(AttestationNote prototype)

public static AttestationNote.Builder newBuilder(AttestationNote prototype)
Parameter
Name Description
prototype AttestationNote
Returns
Type Description
AttestationNote.Builder

parseDelimitedFrom(InputStream input)

public static AttestationNote parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AttestationNote
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AttestationNote parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AttestationNote
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AttestationNote parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AttestationNote
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AttestationNote parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AttestationNote
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AttestationNote parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AttestationNote
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AttestationNote parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AttestationNote
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AttestationNote parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AttestationNote
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AttestationNote parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AttestationNote
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AttestationNote parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AttestationNote
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AttestationNote parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AttestationNote
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AttestationNote parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AttestationNote
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AttestationNote parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AttestationNote
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AttestationNote> parser()
Returns
Type Description
Parser<AttestationNote>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AttestationNote getDefaultInstanceForType()
Returns
Type Description
AttestationNote

getHint()

public AttestationNote.Hint getHint()

Hint hints at the purpose of the attestation authority.

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

Returns
Type Description
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
Type Description
AttestationNote.HintOrBuilder

getParserForType()

public Parser<AttestationNote> getParserForType()
Returns
Type Description
Parser<AttestationNote>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasHint()

public boolean hasHint()

Hint hints at the purpose of the attestation authority.

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

Returns
Type Description
boolean

Whether the hint field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AttestationNote.Builder newBuilderForType()
Returns
Type Description
AttestationNote.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AttestationNote.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AttestationNote.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AttestationNote.Builder toBuilder()
Returns
Type Description
AttestationNote.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException