Class CertificateRawData (2.55.0)

public final class CertificateRawData extends GeneratedMessageV3 implements CertificateRawDataOrBuilder

An SSL certificate obtained from a certificate authority.

Protobuf type google.appengine.v1.CertificateRawData

Static Fields

PRIVATE_KEY_FIELD_NUMBER

public static final int PRIVATE_KEY_FIELD_NUMBER
Field Value
Type Description
int

PUBLIC_CERTIFICATE_FIELD_NUMBER

public static final int PUBLIC_CERTIFICATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CertificateRawData getDefaultInstance()
Returns
Type Description
CertificateRawData

getDescriptor()

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

newBuilder()

public static CertificateRawData.Builder newBuilder()
Returns
Type Description
CertificateRawData.Builder

newBuilder(CertificateRawData prototype)

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

parseDelimitedFrom(InputStream input)

public static CertificateRawData parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CertificateRawData
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static CertificateRawData parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CertificateRawData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static CertificateRawData parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CertificateRawData
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static CertificateRawData parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CertificateRawData
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static CertificateRawData parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CertificateRawData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<CertificateRawData> parser()
Returns
Type Description
Parser<CertificateRawData>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CertificateRawData getDefaultInstanceForType()
Returns
Type Description
CertificateRawData

getParserForType()

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

getPrivateKey()

public String getPrivateKey()

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()

public ByteString getPrivateKeyBytes()

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()

public String getPublicCertificate()

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()

public ByteString getPublicCertificateBytes()

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()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 CertificateRawData.Builder newBuilderForType()
Returns
Type Description
CertificateRawData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public CertificateRawData.Builder toBuilder()
Returns
Type Description
CertificateRawData.Builder

writeTo(CodedOutputStream output)

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