Class CertificateDescription.CertificateFingerprint (2.16.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static CertificateDescription.CertificateFingerprint getDefaultInstance()
Returns
TypeDescription
CertificateDescription.CertificateFingerprint

getDescriptor()

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

newBuilder()

public static CertificateDescription.CertificateFingerprint.Builder newBuilder()
Returns
TypeDescription
CertificateDescription.CertificateFingerprint.Builder

newBuilder(CertificateDescription.CertificateFingerprint prototype)

public static CertificateDescription.CertificateFingerprint.Builder newBuilder(CertificateDescription.CertificateFingerprint prototype)
Parameter
NameDescription
prototypeCertificateDescription.CertificateFingerprint
Returns
TypeDescription
CertificateDescription.CertificateFingerprint.Builder

parseDelimitedFrom(InputStream input)

public static CertificateDescription.CertificateFingerprint parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CertificateDescription.CertificateFingerprint
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateDescription.CertificateFingerprint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateDescription.CertificateFingerprint
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CertificateDescription.CertificateFingerprint parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CertificateDescription.CertificateFingerprint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CertificateDescription.CertificateFingerprint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateDescription.CertificateFingerprint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CertificateDescription.CertificateFingerprint parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CertificateDescription.CertificateFingerprint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CertificateDescription.CertificateFingerprint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateDescription.CertificateFingerprint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CertificateDescription.CertificateFingerprint parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CertificateDescription.CertificateFingerprint
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateDescription.CertificateFingerprint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateDescription.CertificateFingerprint
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CertificateDescription.CertificateFingerprint parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CertificateDescription.CertificateFingerprint
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateDescription.CertificateFingerprint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateDescription.CertificateFingerprint
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CertificateDescription.CertificateFingerprint parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CertificateDescription.CertificateFingerprint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CertificateDescription.CertificateFingerprint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateDescription.CertificateFingerprint
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

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

getSerializedSize()

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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CertificateDescription.CertificateFingerprint.Builder newBuilderForType()
Returns
TypeDescription
CertificateDescription.CertificateFingerprint.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CertificateDescription.CertificateFingerprint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CertificateDescription.CertificateFingerprint.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CertificateDescription.CertificateFingerprint.Builder toBuilder()
Returns
TypeDescription
CertificateDescription.CertificateFingerprint.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException