Class CertificateDescription.CertificateFingerprint.Builder (2.57.0)

public static final class CertificateDescription.CertificateFingerprint.Builder extends GeneratedMessageV3.Builder<CertificateDescription.CertificateFingerprint.Builder> implements CertificateDescription.CertificateFingerprintOrBuilder

A group of fingerprints for the x509 certificate.

Protobuf type google.cloud.security.privateca.v1.CertificateDescription.CertificateFingerprint

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CertificateDescription.CertificateFingerprint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CertificateDescription.CertificateFingerprint.Builder
Overrides

build()

public CertificateDescription.CertificateFingerprint build()
Returns
Type Description
CertificateDescription.CertificateFingerprint

buildPartial()

public CertificateDescription.CertificateFingerprint buildPartial()
Returns
Type Description
CertificateDescription.CertificateFingerprint

clear()

public CertificateDescription.CertificateFingerprint.Builder clear()
Returns
Type Description
CertificateDescription.CertificateFingerprint.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CertificateDescription.CertificateFingerprint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CertificateDescription.CertificateFingerprint.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CertificateDescription.CertificateFingerprint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CertificateDescription.CertificateFingerprint.Builder
Overrides

clearSha256Hash()

public CertificateDescription.CertificateFingerprint.Builder clearSha256Hash()

The SHA 256 hash, encoded in hexadecimal, of the DER x509 certificate.

string sha256_hash = 1;

Returns
Type Description
CertificateDescription.CertificateFingerprint.Builder

This builder for chaining.

clone()

public CertificateDescription.CertificateFingerprint.Builder clone()
Returns
Type Description
CertificateDescription.CertificateFingerprint.Builder
Overrides

getDefaultInstanceForType()

public CertificateDescription.CertificateFingerprint getDefaultInstanceForType()
Returns
Type Description
CertificateDescription.CertificateFingerprint

getDescriptorForType()

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

getSha256Hash()

public String getSha256Hash()

The SHA 256 hash, encoded in hexadecimal, of the DER x509 certificate.

string sha256_hash = 1;

Returns
Type Description
String

The sha256Hash.

getSha256HashBytes()

public ByteString getSha256HashBytes()

The SHA 256 hash, encoded in hexadecimal, of the DER x509 certificate.

string sha256_hash = 1;

Returns
Type Description
ByteString

The bytes for sha256Hash.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CertificateDescription.CertificateFingerprint other)

public CertificateDescription.CertificateFingerprint.Builder mergeFrom(CertificateDescription.CertificateFingerprint other)
Parameter
Name Description
other CertificateDescription.CertificateFingerprint
Returns
Type Description
CertificateDescription.CertificateFingerprint.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CertificateDescription.CertificateFingerprint.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CertificateDescription.CertificateFingerprint.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CertificateDescription.CertificateFingerprint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CertificateDescription.CertificateFingerprint.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CertificateDescription.CertificateFingerprint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CertificateDescription.CertificateFingerprint.Builder
Overrides

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

public CertificateDescription.CertificateFingerprint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CertificateDescription.CertificateFingerprint.Builder
Overrides

setSha256Hash(String value)

public CertificateDescription.CertificateFingerprint.Builder setSha256Hash(String value)

The SHA 256 hash, encoded in hexadecimal, of the DER x509 certificate.

string sha256_hash = 1;

Parameter
Name Description
value String

The sha256Hash to set.

Returns
Type Description
CertificateDescription.CertificateFingerprint.Builder

This builder for chaining.

setSha256HashBytes(ByteString value)

public CertificateDescription.CertificateFingerprint.Builder setSha256HashBytes(ByteString value)

The SHA 256 hash, encoded in hexadecimal, of the DER x509 certificate.

string sha256_hash = 1;

Parameter
Name Description
value ByteString

The bytes for sha256Hash to set.

Returns
Type Description
CertificateDescription.CertificateFingerprint.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CertificateDescription.CertificateFingerprint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CertificateDescription.CertificateFingerprint.Builder
Overrides