Class CertificateDescription.CertificateFingerprint (2.50.0)

public static final class CertificateDescription.CertificateFingerprint extends GeneratedMessageV3 implements CertificateDescription.CertificateFingerprintOrBuilder

A group of fingerprints for the x509 certificate.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CertificateDescription.CertificateFingerprint

Static Fields

SHA256_HASH_FIELD_NUMBER

public static final int SHA256_HASH_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CertificateDescription.CertificateFingerprint getDefaultInstance()
Returns
Type Description
CertificateDescription.CertificateFingerprint

getDescriptor()

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

newBuilder()

public static CertificateDescription.CertificateFingerprint.Builder newBuilder()
Returns
Type Description
CertificateDescription.CertificateFingerprint.Builder

newBuilder(CertificateDescription.CertificateFingerprint prototype)

public static CertificateDescription.CertificateFingerprint.Builder newBuilder(CertificateDescription.CertificateFingerprint prototype)
Parameter
Name Description
prototype CertificateDescription.CertificateFingerprint
Returns
Type Description
CertificateDescription.CertificateFingerprint.Builder

parseDelimitedFrom(InputStream input)

public static CertificateDescription.CertificateFingerprint parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CertificateDescription.CertificateFingerprint
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateDescription.CertificateFingerprint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateDescription.CertificateFingerprint
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CertificateDescription.CertificateFingerprint parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CertificateDescription.CertificateFingerprint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CertificateDescription.CertificateFingerprint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateDescription.CertificateFingerprint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CertificateDescription.CertificateFingerprint parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CertificateDescription.CertificateFingerprint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CertificateDescription.CertificateFingerprint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateDescription.CertificateFingerprint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CertificateDescription.CertificateFingerprint parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CertificateDescription.CertificateFingerprint
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateDescription.CertificateFingerprint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateDescription.CertificateFingerprint
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CertificateDescription.CertificateFingerprint parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CertificateDescription.CertificateFingerprint
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateDescription.CertificateFingerprint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateDescription.CertificateFingerprint
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CertificateDescription.CertificateFingerprint parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CertificateDescription.CertificateFingerprint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CertificateDescription.CertificateFingerprint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateDescription.CertificateFingerprint
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CertificateDescription.CertificateFingerprint> parser()
Returns
Type Description
Parser<CertificateFingerprint>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

public Parser<CertificateDescription.CertificateFingerprint> getParserForType()
Returns
Type Description
Parser<CertificateFingerprint>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CertificateDescription.CertificateFingerprint.Builder newBuilderForType()
Returns
Type Description
CertificateDescription.CertificateFingerprint.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CertificateDescription.CertificateFingerprint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CertificateDescription.CertificateFingerprint.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CertificateDescription.CertificateFingerprint.Builder toBuilder()
Returns
Type Description
CertificateDescription.CertificateFingerprint.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException