Class CertificateDescription.CertificateFingerprint.Builder (2.10.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.v1beta1.CertificateDescription.CertificateFingerprint

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CertificateDescription.CertificateFingerprint build()
Returns
TypeDescription
CertificateDescription.CertificateFingerprint

buildPartial()

public CertificateDescription.CertificateFingerprint buildPartial()
Returns
TypeDescription
CertificateDescription.CertificateFingerprint

clear()

public CertificateDescription.CertificateFingerprint.Builder clear()
Returns
TypeDescription
CertificateDescription.CertificateFingerprint.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CertificateDescription.CertificateFingerprint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CertificateDescription.CertificateFingerprint.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CertificateDescription.CertificateFingerprint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CertificateDescription.CertificateFingerprint.Builder

This builder for chaining.

clone()

public CertificateDescription.CertificateFingerprint.Builder clone()
Returns
TypeDescription
CertificateDescription.CertificateFingerprint.Builder
Overrides

getDefaultInstanceForType()

public CertificateDescription.CertificateFingerprint getDefaultInstanceForType()
Returns
TypeDescription
CertificateDescription.CertificateFingerprint

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSha256Hash()

public String getSha256Hash()

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

string sha256_hash = 1;

Returns
TypeDescription
String

The sha256Hash.

getSha256HashBytes()

public ByteString getSha256HashBytes()

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

string sha256_hash = 1;

Returns
TypeDescription
ByteString

The bytes for sha256Hash.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CertificateDescription.CertificateFingerprint other)

public CertificateDescription.CertificateFingerprint.Builder mergeFrom(CertificateDescription.CertificateFingerprint other)
Parameter
NameDescription
otherCertificateDescription.CertificateFingerprint
Returns
TypeDescription
CertificateDescription.CertificateFingerprint.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CertificateDescription.CertificateFingerprint.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CertificateDescription.CertificateFingerprint.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CertificateDescription.CertificateFingerprint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CertificateDescription.CertificateFingerprint.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CertificateDescription.CertificateFingerprint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The sha256Hash to set.

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

The bytes for sha256Hash to set.

Returns
TypeDescription
CertificateDescription.CertificateFingerprint.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CertificateDescription.CertificateFingerprint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CertificateDescription.CertificateFingerprint.Builder
Overrides