Class AttestationNote.Hint.Builder (2.84.0)

public static final class AttestationNote.Hint.Builder extends GeneratedMessage.Builder<AttestationNote.Hint.Builder> implements AttestationNote.HintOrBuilder

This submessage provides human-readable hints about the purpose of the authority. Because the name of a note acts as its resource reference, it is important to disambiguate the canonical name of the Note (which might be a UUID for security purposes) from "readable" names more suitable for debug output. Note that these hints should not be used to look up authorities in security sensitive contexts, such as when looking up attestations to verify.

Protobuf type grafeas.v1.AttestationNote.Hint

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public AttestationNote.Hint build()
Returns
Type Description
AttestationNote.Hint

buildPartial()

public AttestationNote.Hint buildPartial()
Returns
Type Description
AttestationNote.Hint

clear()

public AttestationNote.Hint.Builder clear()
Returns
Type Description
AttestationNote.Hint.Builder
Overrides

clearHumanReadableName()

public AttestationNote.Hint.Builder clearHumanReadableName()

Required. The human readable name of this attestation authority, for example "qa".

string human_readable_name = 1;

Returns
Type Description
AttestationNote.Hint.Builder

This builder for chaining.

getDefaultInstanceForType()

public AttestationNote.Hint getDefaultInstanceForType()
Returns
Type Description
AttestationNote.Hint

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHumanReadableName()

public String getHumanReadableName()

Required. The human readable name of this attestation authority, for example "qa".

string human_readable_name = 1;

Returns
Type Description
String

The humanReadableName.

getHumanReadableNameBytes()

public ByteString getHumanReadableNameBytes()

Required. The human readable name of this attestation authority, for example "qa".

string human_readable_name = 1;

Returns
Type Description
ByteString

The bytes for humanReadableName.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AttestationNote.Hint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AttestationNote.Hint.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AttestationNote.Hint.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AttestationNote.Hint.Builder
Overrides

mergeFrom(AttestationNote.Hint other)

public AttestationNote.Hint.Builder mergeFrom(AttestationNote.Hint other)
Parameter
Name Description
other AttestationNote.Hint
Returns
Type Description
AttestationNote.Hint.Builder

setHumanReadableName(String value)

public AttestationNote.Hint.Builder setHumanReadableName(String value)

Required. The human readable name of this attestation authority, for example "qa".

string human_readable_name = 1;

Parameter
Name Description
value String

The humanReadableName to set.

Returns
Type Description
AttestationNote.Hint.Builder

This builder for chaining.

setHumanReadableNameBytes(ByteString value)

public AttestationNote.Hint.Builder setHumanReadableNameBytes(ByteString value)

Required. The human readable name of this attestation authority, for example "qa".

string human_readable_name = 1;

Parameter
Name Description
value ByteString

The bytes for humanReadableName to set.

Returns
Type Description
AttestationNote.Hint.Builder

This builder for chaining.