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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AttestationNote.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AttestationNote build()
buildPartial()
public AttestationNote buildPartial()
clear()
public AttestationNote.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AttestationNote.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearHint()
public AttestationNote.Builder clearHint()
Hint hints at the purpose of the attestation authority.
.grafeas.v1.AttestationNote.Hint hint = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public AttestationNote.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public AttestationNote.Builder clone()
Overrides
getDefaultInstanceForType()
public AttestationNote getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getHint()
public AttestationNote.Hint getHint()
Hint hints at the purpose of the attestation authority.
.grafeas.v1.AttestationNote.Hint hint = 1;
getHintBuilder()
public AttestationNote.Hint.Builder getHintBuilder()
Hint hints at the purpose of the attestation authority.
.grafeas.v1.AttestationNote.Hint hint = 1;
getHintOrBuilder()
public AttestationNote.HintOrBuilder getHintOrBuilder()
Hint hints at the purpose of the attestation authority.
.grafeas.v1.AttestationNote.Hint hint = 1;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public AttestationNote.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AttestationNote.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(AttestationNote other)
public AttestationNote.Builder mergeFrom(AttestationNote other)
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AttestationNote.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AttestationNote.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AttestationNote.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AttestationNote.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides