Class CertificateRawData (2.35.0)

publicfinalclass CertificateRawDataextendsGeneratedMessageV3implementsCertificateRawDataOrBuilder

An SSL certificate obtained from a certificate authority.

Protobuf type google.appengine.v1.CertificateRawData

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

PRIVATE_KEY_FIELD_NUMBER

publicstaticfinalintPRIVATE_KEY_FIELD_NUMBER
Field Value
Type Description
int

PUBLIC_CERTIFICATE_FIELD_NUMBER

publicstaticfinalintPUBLIC_CERTIFICATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticCertificateRawDatagetDefaultInstance()
Returns
Type Description
CertificateRawData

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticCertificateRawData.BuildernewBuilder()
Returns
Type Description
CertificateRawData.Builder

newBuilder(CertificateRawData prototype)

publicstaticCertificateRawData.BuildernewBuilder(CertificateRawDataprototype)
Parameter
Name Description
prototype CertificateRawData
Returns
Type Description
CertificateRawData.Builder

parseDelimitedFrom(InputStream input)

publicstaticCertificateRawDataparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
CertificateRawData
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticCertificateRawDataparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateRawData
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticCertificateRawDataparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
CertificateRawData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticCertificateRawDataparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateRawData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticCertificateRawDataparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
CertificateRawData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticCertificateRawDataparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateRawData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticCertificateRawDataparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CertificateRawData
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticCertificateRawDataparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateRawData
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticCertificateRawDataparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
CertificateRawData
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticCertificateRawDataparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateRawData
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticCertificateRawDataparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CertificateRawData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticCertificateRawDataparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateRawData
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<CertificateRawData>parser()
Returns
Type Description
Parser<CertificateRawData>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicCertificateRawDatagetDefaultInstanceForType()
Returns
Type Description
CertificateRawData

getParserForType()

publicParser<CertificateRawData>getParserForType()
Returns
Type Description
Parser<CertificateRawData>
Overrides

getPrivateKey()

publicStringgetPrivateKey()

Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: <pre> -----BEGIN RSA PRIVATE KEY----- <unencrypted_key_value> -----END RSA PRIVATE KEY----- </pre> @InputOnly

string private_key = 2;

Returns
Type Description
String

The privateKey.

getPrivateKeyBytes()

publicByteStringgetPrivateKeyBytes()

Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: <pre> -----BEGIN RSA PRIVATE KEY----- <unencrypted_key_value> -----END RSA PRIVATE KEY----- </pre> @InputOnly

string private_key = 2;

Returns
Type Description
ByteString

The bytes for privateKey.

getPublicCertificate()

publicStringgetPublicCertificate()

PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: <pre> -----BEGIN CERTIFICATE----- <certificate_value> -----END CERTIFICATE----- </pre>

string public_certificate = 1;

Returns
Type Description
String

The publicCertificate.

getPublicCertificateBytes()

publicByteStringgetPublicCertificateBytes()

PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: <pre> -----BEGIN CERTIFICATE----- <certificate_value> -----END CERTIFICATE----- </pre>

string public_certificate = 1;

Returns
Type Description
ByteString

The bytes for publicCertificate.

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicCertificateRawData.BuildernewBuilderForType()
Returns
Type Description
CertificateRawData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedCertificateRawData.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CertificateRawData.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicCertificateRawData.BuildertoBuilder()
Returns
Type Description
CertificateRawData.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.