Class AttestationNote.Hint.Builder (2.4.2)

public static final class AttestationNote.Hint.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AttestationNote.Hint build()
Returns
TypeDescription
AttestationNote.Hint

buildPartial()

public AttestationNote.Hint buildPartial()
Returns
TypeDescription
AttestationNote.Hint

clear()

public AttestationNote.Hint.Builder clear()
Returns
TypeDescription
AttestationNote.Hint.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AttestationNote.Hint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
AttestationNote.Hint.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public AttestationNote.Hint.Builder clone()
Returns
TypeDescription
AttestationNote.Hint.Builder
Overrides

getDefaultInstanceForType()

public AttestationNote.Hint getDefaultInstanceForType()
Returns
TypeDescription
AttestationNote.Hint

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getHumanReadableName()

public String getHumanReadableName()

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

string human_readable_name = 1;

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for humanReadableName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(AttestationNote.Hint other)

public AttestationNote.Hint.Builder mergeFrom(AttestationNote.Hint other)
Parameter
NameDescription
otherAttestationNote.Hint
Returns
TypeDescription
AttestationNote.Hint.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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
NameDescription
valueString

The humanReadableName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for humanReadableName to set.

Returns
TypeDescription
AttestationNote.Hint.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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