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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
HINT_FIELD_NUMBER
public static final int HINT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Authority getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Authority.Builder newBuilder()
newBuilder(Authority prototype)
public static Authority.Builder newBuilder(Authority prototype)
Parameter |
Name |
Description |
prototype |
Authority
|
public static Authority parseDelimitedFrom(InputStream input)
public static Authority parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Authority parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Authority parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Authority parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Authority parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Authority parseFrom(CodedInputStream input)
public static Authority parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Authority parseFrom(InputStream input)
public static Authority parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Authority parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Authority parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Authority> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Authority getDefaultInstanceForType()
getHint()
public Authority.Hint getHint()
Hint hints at the purpose of the attestation authority.
.grafeas.v1beta1.attestation.Authority.Hint hint = 1;
getHintOrBuilder()
public Authority.HintOrBuilder getHintOrBuilder()
Hint hints at the purpose of the attestation authority.
.grafeas.v1beta1.attestation.Authority.Hint hint = 1;
getParserForType()
public Parser<Authority> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
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 |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Authority.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Authority.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Authority.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides