public final class AttestationNote extends GeneratedMessageV3 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 Fields
HINT_FIELD_NUMBER
public static final int HINT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static AttestationNote getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AttestationNote.Builder newBuilder()
newBuilder(AttestationNote prototype)
public static AttestationNote.Builder newBuilder(AttestationNote prototype)
public static AttestationNote parseDelimitedFrom(InputStream input)
public static AttestationNote parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AttestationNote parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AttestationNote parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AttestationNote parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AttestationNote parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AttestationNote parseFrom(CodedInputStream input)
public static AttestationNote parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AttestationNote parseFrom(InputStream input)
public static AttestationNote parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AttestationNote parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AttestationNote parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AttestationNote> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public AttestationNote getDefaultInstanceForType()
getHint()
public AttestationNote.Hint getHint()
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;
getParserForType()
public Parser<AttestationNote> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AttestationNote.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AttestationNote.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public AttestationNote.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides