Send feedback
Class AttestationNote.Builder (2.8.0) Stay organized with collections
Save and categorize content based on your preferences.
Version 2.8.0 keyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public
AttestationNote
.
Builder
addRepeatedField
(
Descriptors
.
FieldDescriptor
field
,
Object
value
)
Parameters
Returns
Overrides
build()
public
AttestationNote
build
()
Returns
buildPartial()
public
AttestationNote
buildPartial
()
Returns
clear()
public
AttestationNote
.
Builder
clear
()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public
AttestationNote
.
Builder
clearField
(
Descriptors
.
FieldDescriptor
field
)
Parameter
Returns
Overrides
clearHint()
public
AttestationNote
.
Builder
clearHint
()
Hint hints at the purpose of the attestation authority.
.grafeas.v1.AttestationNote.Hint hint = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public
AttestationNote
.
Builder
clearOneof
(
Descriptors
.
OneofDescriptor
oneof
)
Parameter
Returns
Overrides
clone()
public
AttestationNote
.
Builder
clone
()
Returns
Overrides
getDefaultInstanceForType()
public
AttestationNote
getDefaultInstanceForType
()
Returns
getDescriptorForType()
public
Descriptors
.
Descriptor
getDescriptorForType
()
Returns
Overrides
getHint()
public
AttestationNote
.
Hint
getHint
()
Hint hints at the purpose of the attestation authority.
.grafeas.v1.AttestationNote.Hint hint = 1;
Returns
getHintBuilder()
public
AttestationNote
.
Hint
.
Builder
getHintBuilder
()
Hint hints at the purpose of the attestation authority.
.grafeas.v1.AttestationNote.Hint hint = 1;
Returns
getHintOrBuilder()
public
AttestationNote
.
HintOrBuilder
getHintOrBuilder
()
Hint hints at the purpose of the attestation authority.
.grafeas.v1.AttestationNote.Hint hint = 1;
Returns
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
Overrides
isInitialized()
public
final
boolean
isInitialized
()
Returns
Overrides
public
AttestationNote
.
Builder
mergeFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public
AttestationNote
.
Builder
mergeFrom
(
Message
other
)
Parameter
Returns
Overrides
mergeFrom(AttestationNote other)
public
AttestationNote
.
Builder
mergeFrom
(
AttestationNote
other
)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public
final
AttestationNote
.
Builder
mergeUnknownFields
(
UnknownFieldSet
unknownFields
)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public
AttestationNote
.
Builder
setField
(
Descriptors
.
FieldDescriptor
field
,
Object
value
)
Parameters
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public
AttestationNote
.
Builder
setRepeatedField
(
Descriptors
.
FieldDescriptor
field
,
int
index
,
Object
value
)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public
final
AttestationNote
.
Builder
setUnknownFields
(
UnknownFieldSet
unknownFields
)
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,[]]