Class Certificate.SelfManagedCertificate (0.48.0)

public static final class Certificate.SelfManagedCertificate extends GeneratedMessageV3 implements Certificate.SelfManagedCertificateOrBuilder

Certificate data for a SelfManaged Certificate. SelfManaged Certificates are uploaded by the user. Updating such certificates before they expire remains the user's responsibility.

Protobuf type google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Certificate.SelfManagedCertificate

Static Fields

PEM_CERTIFICATE_FIELD_NUMBER

public static final int PEM_CERTIFICATE_FIELD_NUMBER
Field Value
Type Description
int

PEM_PRIVATE_KEY_FIELD_NUMBER

public static final int PEM_PRIVATE_KEY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Certificate.SelfManagedCertificate getDefaultInstance()
Returns
Type Description
Certificate.SelfManagedCertificate

getDescriptor()

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

newBuilder()

public static Certificate.SelfManagedCertificate.Builder newBuilder()
Returns
Type Description
Certificate.SelfManagedCertificate.Builder

newBuilder(Certificate.SelfManagedCertificate prototype)

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

parseDelimitedFrom(InputStream input)

public static Certificate.SelfManagedCertificate parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Certificate.SelfManagedCertificate
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Certificate.SelfManagedCertificate parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Certificate.SelfManagedCertificate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Certificate.SelfManagedCertificate parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Certificate.SelfManagedCertificate
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Certificate.SelfManagedCertificate parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Certificate.SelfManagedCertificate
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Certificate.SelfManagedCertificate parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Certificate.SelfManagedCertificate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Certificate.SelfManagedCertificate> parser()
Returns
Type Description
Parser<SelfManagedCertificate>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Certificate.SelfManagedCertificate getDefaultInstanceForType()
Returns
Type Description
Certificate.SelfManagedCertificate

getParserForType()

public Parser<Certificate.SelfManagedCertificate> getParserForType()
Returns
Type Description
Parser<SelfManagedCertificate>
Overrides

getPemCertificate()

public String getPemCertificate()

Input only. The PEM-encoded certificate chain. Leaf certificate comes first, followed by intermediate ones if any.

string pem_certificate = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
String

The pemCertificate.

getPemCertificateBytes()

public ByteString getPemCertificateBytes()

Input only. The PEM-encoded certificate chain. Leaf certificate comes first, followed by intermediate ones if any.

string pem_certificate = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
ByteString

The bytes for pemCertificate.

getPemPrivateKey()

public String getPemPrivateKey()

Input only. The PEM-encoded private key of the leaf certificate.

string pem_private_key = 2 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
String

The pemPrivateKey.

getPemPrivateKeyBytes()

public ByteString getPemPrivateKeyBytes()

Input only. The PEM-encoded private key of the leaf certificate.

string pem_private_key = 2 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
ByteString

The bytes for pemPrivateKey.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Certificate.SelfManagedCertificate.Builder toBuilder()
Returns
Type Description
Certificate.SelfManagedCertificate.Builder

writeTo(CodedOutputStream output)

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