Class Authority.Builder (2.10.0)

public static final class Authority.Builder extends GeneratedMessageV3.Builder<Authority.Builder> 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

Implements

AuthorityOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Authority.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Authority.Builder
Overrides

build()

public Authority build()
Returns
TypeDescription
Authority

buildPartial()

public Authority buildPartial()
Returns
TypeDescription
Authority

clear()

public Authority.Builder clear()
Returns
TypeDescription
Authority.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Authority.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Authority.Builder
Overrides

clearHint()

public Authority.Builder clearHint()

Hint hints at the purpose of the attestation authority.

.grafeas.v1beta1.attestation.Authority.Hint hint = 1;

Returns
TypeDescription
Authority.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Authority.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Authority.Builder
Overrides

clone()

public Authority.Builder clone()
Returns
TypeDescription
Authority.Builder
Overrides

getDefaultInstanceForType()

public Authority getDefaultInstanceForType()
Returns
TypeDescription
Authority

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getHint()

public Authority.Hint getHint()

Hint hints at the purpose of the attestation authority.

.grafeas.v1beta1.attestation.Authority.Hint hint = 1;

Returns
TypeDescription
Authority.Hint

The hint.

getHintBuilder()

public Authority.Hint.Builder getHintBuilder()

Hint hints at the purpose of the attestation authority.

.grafeas.v1beta1.attestation.Authority.Hint hint = 1;

Returns
TypeDescription
Authority.Hint.Builder

getHintOrBuilder()

public Authority.HintOrBuilder getHintOrBuilder()

Hint hints at the purpose of the attestation authority.

.grafeas.v1beta1.attestation.Authority.Hint hint = 1;

Returns
TypeDescription
Authority.HintOrBuilder

hasHint()

public boolean hasHint()

Hint hints at the purpose of the attestation authority.

.grafeas.v1beta1.attestation.Authority.Hint hint = 1;

Returns
TypeDescription
boolean

Whether the hint field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Authority.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Authority.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Authority.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Authority.Builder
Overrides

mergeFrom(Authority other)

public Authority.Builder mergeFrom(Authority other)
Parameter
NameDescription
otherAuthority
Returns
TypeDescription
Authority.Builder

mergeHint(Authority.Hint value)

public Authority.Builder mergeHint(Authority.Hint value)

Hint hints at the purpose of the attestation authority.

.grafeas.v1beta1.attestation.Authority.Hint hint = 1;

Parameter
NameDescription
valueAuthority.Hint
Returns
TypeDescription
Authority.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Authority.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Authority.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Authority.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Authority.Builder
Overrides

setHint(Authority.Hint value)

public Authority.Builder setHint(Authority.Hint value)

Hint hints at the purpose of the attestation authority.

.grafeas.v1beta1.attestation.Authority.Hint hint = 1;

Parameter
NameDescription
valueAuthority.Hint
Returns
TypeDescription
Authority.Builder

setHint(Authority.Hint.Builder builderForValue)

public Authority.Builder setHint(Authority.Hint.Builder builderForValue)

Hint hints at the purpose of the attestation authority.

.grafeas.v1beta1.attestation.Authority.Hint hint = 1;

Parameter
NameDescription
builderForValueAuthority.Hint.Builder
Returns
TypeDescription
Authority.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Authority.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Authority.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Authority.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Authority.Builder
Overrides