Class DSSEAttestationNote.DSSEHint.Builder (2.25.0)

public static final class DSSEAttestationNote.DSSEHint.Builder extends GeneratedMessageV3.Builder<DSSEAttestationNote.DSSEHint.Builder> implements DSSEAttestationNote.DSSEHintOrBuilder

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.DSSEAttestationNote.DSSEHint

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DSSEAttestationNote.DSSEHint build()
Returns
TypeDescription
DSSEAttestationNote.DSSEHint

buildPartial()

public DSSEAttestationNote.DSSEHint buildPartial()
Returns
TypeDescription
DSSEAttestationNote.DSSEHint

clear()

public DSSEAttestationNote.DSSEHint.Builder clear()
Returns
TypeDescription
DSSEAttestationNote.DSSEHint.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearHumanReadableName()

public DSSEAttestationNote.DSSEHint.Builder clearHumanReadableName()

Required. The human readable name of this attestation authority, for example "cloudbuild-prod".

string human_readable_name = 1;

Returns
TypeDescription
DSSEAttestationNote.DSSEHint.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public DSSEAttestationNote.DSSEHint.Builder clone()
Returns
TypeDescription
DSSEAttestationNote.DSSEHint.Builder
Overrides

getDefaultInstanceForType()

public DSSEAttestationNote.DSSEHint getDefaultInstanceForType()
Returns
TypeDescription
DSSEAttestationNote.DSSEHint

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getHumanReadableName()

public String getHumanReadableName()

Required. The human readable name of this attestation authority, for example "cloudbuild-prod".

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 "cloudbuild-prod".

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 DSSEAttestationNote.DSSEHint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DSSEAttestationNote.DSSEHint.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

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

mergeFrom(DSSEAttestationNote.DSSEHint other)

public DSSEAttestationNote.DSSEHint.Builder mergeFrom(DSSEAttestationNote.DSSEHint other)
Parameter
NameDescription
otherDSSEAttestationNote.DSSEHint
Returns
TypeDescription
DSSEAttestationNote.DSSEHint.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setHumanReadableName(String value)

public DSSEAttestationNote.DSSEHint.Builder setHumanReadableName(String value)

Required. The human readable name of this attestation authority, for example "cloudbuild-prod".

string human_readable_name = 1;

Parameter
NameDescription
valueString

The humanReadableName to set.

Returns
TypeDescription
DSSEAttestationNote.DSSEHint.Builder

This builder for chaining.

setHumanReadableNameBytes(ByteString value)

public DSSEAttestationNote.DSSEHint.Builder setHumanReadableNameBytes(ByteString value)

Required. The human readable name of this attestation authority, for example "cloudbuild-prod".

string human_readable_name = 1;

Parameter
NameDescription
valueByteString

The bytes for humanReadableName to set.

Returns
TypeDescription
DSSEAttestationNote.DSSEHint.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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