public final class Authority extends GeneratedMessageV3 implements AuthorityOrBuilder
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.v1beta1.attestation.Authority
Static Fields
HINT_FIELD_NUMBER
public static final int HINT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Authority getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Authority.Builder newBuilder()
Returns
newBuilder(Authority prototype)
public static Authority.Builder newBuilder(Authority prototype)
Parameter
Returns
public static Authority parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Authority parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Authority parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Authority parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Authority parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Authority parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Authority parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Authority parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Authority parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Authority parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Authority parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Authority parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Authority> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Authority getDefaultInstanceForType()
Returns
getHint()
public Authority.Hint getHint()
Hint hints at the purpose of the attestation authority.
.grafeas.v1beta1.attestation.Authority.Hint hint = 1;
Returns
getHintOrBuilder()
public Authority.HintOrBuilder getHintOrBuilder()
Hint hints at the purpose of the attestation authority.
.grafeas.v1beta1.attestation.Authority.Hint hint = 1;
Returns
getParserForType()
public Parser<Authority> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasHint()
Hint hints at the purpose of the attestation authority.
.grafeas.v1beta1.attestation.Authority.Hint hint = 1;
Returns
Type | Description |
boolean | Whether the hint field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Authority.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Authority.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Authority.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions