Class AttestationNote.Builder (2.84.0)

public static final class AttestationNote.Builder extends GeneratedMessage.Builder<AttestationNote.Builder> 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 Methods

getDescriptor()

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

Methods

build()

public AttestationNote build()
Returns
Type Description
AttestationNote

buildPartial()

public AttestationNote buildPartial()
Returns
Type Description
AttestationNote

clear()

public AttestationNote.Builder clear()
Returns
Type Description
AttestationNote.Builder
Overrides

clearHint()

public AttestationNote.Builder clearHint()

Hint hints at the purpose of the attestation authority.

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

Returns
Type Description
AttestationNote.Builder

getDefaultInstanceForType()

public AttestationNote getDefaultInstanceForType()
Returns
Type Description
AttestationNote

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getHintBuilder()

public AttestationNote.Hint.Builder getHintBuilder()

Hint hints at the purpose of the attestation authority.

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

Returns
Type Description
AttestationNote.Hint.Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AttestationNote.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AttestationNote.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AttestationNote.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AttestationNote.Builder
Overrides

mergeFrom(AttestationNote other)

public AttestationNote.Builder mergeFrom(AttestationNote other)
Parameter
Name Description
other AttestationNote
Returns
Type Description
AttestationNote.Builder

mergeHint(AttestationNote.Hint value)

public AttestationNote.Builder mergeHint(AttestationNote.Hint value)

Hint hints at the purpose of the attestation authority.

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

Parameter
Name Description
value AttestationNote.Hint
Returns
Type Description
AttestationNote.Builder

setHint(AttestationNote.Hint value)

public AttestationNote.Builder setHint(AttestationNote.Hint value)

Hint hints at the purpose of the attestation authority.

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

Parameter
Name Description
value AttestationNote.Hint
Returns
Type Description
AttestationNote.Builder

setHint(AttestationNote.Hint.Builder builderForValue)

public AttestationNote.Builder setHint(AttestationNote.Hint.Builder builderForValue)

Hint hints at the purpose of the attestation authority.

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

Parameter
Name Description
builderForValue AttestationNote.Hint.Builder
Returns
Type Description
AttestationNote.Builder