Class AttestationNote.Builder (2.3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AttestationNote.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AttestationNote.Builder
Overrides

build()

public AttestationNote build()
Returns
TypeDescription
AttestationNote

buildPartial()

public AttestationNote buildPartial()
Returns
TypeDescription
AttestationNote

clear()

public AttestationNote.Builder clear()
Returns
TypeDescription
AttestationNote.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AttestationNote.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AttestationNote.Builder
Overrides

clearHint()

public AttestationNote.Builder clearHint()

Hint hints at the purpose of the attestation authority.

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

Returns
TypeDescription
AttestationNote.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AttestationNote.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AttestationNote.Builder
Overrides

clone()

public AttestationNote.Builder clone()
Returns
TypeDescription
AttestationNote.Builder
Overrides

getDefaultInstanceForType()

public AttestationNote getDefaultInstanceForType()
Returns
TypeDescription
AttestationNote

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getHintBuilder()

public AttestationNote.Hint.Builder getHintBuilder()

Hint hints at the purpose of the attestation authority.

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

Returns
TypeDescription
AttestationNote.Hint.Builder

getHintOrBuilder()

public AttestationNote.HintOrBuilder getHintOrBuilder()

Hint hints at the purpose of the attestation authority.

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

Returns
TypeDescription
AttestationNote.HintOrBuilder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AttestationNote.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttestationNote.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AttestationNote.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AttestationNote.Builder
Overrides

mergeFrom(AttestationNote other)

public AttestationNote.Builder mergeFrom(AttestationNote other)
Parameter
NameDescription
otherAttestationNote
Returns
TypeDescription
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
NameDescription
valueAttestationNote.Hint
Returns
TypeDescription
AttestationNote.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AttestationNote.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AttestationNote.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AttestationNote.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueAttestationNote.Hint
Returns
TypeDescription
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
NameDescription
builderForValueAttestationNote.Hint.Builder
Returns
TypeDescription
AttestationNote.Builder

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

public AttestationNote.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AttestationNote.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AttestationNote.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AttestationNote.Builder
Overrides