Class AttestationNote.Builder (2.47.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AttestationNote.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AttestationNote.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public AttestationNote.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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

clearOneof(Descriptors.OneofDescriptor oneof)

public AttestationNote.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AttestationNote.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AttestationNote.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AttestationNote.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AttestationNote.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AttestationNote.Builder
Overrides

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AttestationNote.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AttestationNote.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AttestationNote.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AttestationNote.Builder
Overrides