public static final class Authority.Hint.Builder extends GeneratedMessageV3.Builder<Authority.Hint.Builder> implements Authority.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.v1beta1.attestation.Authority.Hint
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Authority.Hint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Authority.Hint build()
Returns
buildPartial()
public Authority.Hint buildPartial()
Returns
clear()
public Authority.Hint.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Authority.Hint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearHumanReadableName()
public Authority.Hint.Builder clearHumanReadableName()
Required. The human readable name of this attestation authority, for
example "qa".
string human_readable_name = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Authority.Hint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public Authority.Hint.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Authority.Hint getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public Authority.Hint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Authority.Hint.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(Authority.Hint other)
public Authority.Hint.Builder mergeFrom(Authority.Hint other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Authority.Hint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Authority.Hint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setHumanReadableName(String value)
public Authority.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
setHumanReadableNameBytes(ByteString value)
public Authority.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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Authority.Hint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Authority.Hint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides