Class Certificate.SelfManagedCertificate (0.38.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
TypeDescription
int

PEM_PRIVATE_KEY_FIELD_NUMBER

public static final int PEM_PRIVATE_KEY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Certificate.SelfManagedCertificate getDefaultInstance()
Returns
TypeDescription
Certificate.SelfManagedCertificate

getDescriptor()

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

newBuilder()

public static Certificate.SelfManagedCertificate.Builder newBuilder()
Returns
TypeDescription
Certificate.SelfManagedCertificate.Builder

newBuilder(Certificate.SelfManagedCertificate prototype)

public static Certificate.SelfManagedCertificate.Builder newBuilder(Certificate.SelfManagedCertificate prototype)
Parameter
NameDescription
prototypeCertificate.SelfManagedCertificate
Returns
TypeDescription
Certificate.SelfManagedCertificate.Builder

parseDelimitedFrom(InputStream input)

public static Certificate.SelfManagedCertificate parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Certificate.SelfManagedCertificate
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Certificate.SelfManagedCertificate parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Certificate.SelfManagedCertificate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Certificate.SelfManagedCertificate parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Certificate.SelfManagedCertificate
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Certificate.SelfManagedCertificate parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Certificate.SelfManagedCertificate
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Certificate.SelfManagedCertificate parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Certificate.SelfManagedCertificate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Certificate.SelfManagedCertificate getDefaultInstanceForType()
Returns
TypeDescription
Certificate.SelfManagedCertificate

getParserForType()

public Parser<Certificate.SelfManagedCertificate> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for pemPrivateKey.

getSerializedSize()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Certificate.SelfManagedCertificate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Certificate.SelfManagedCertificate.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Certificate.SelfManagedCertificate.Builder toBuilder()
Returns
TypeDescription
Certificate.SelfManagedCertificate.Builder

writeTo(CodedOutputStream output)

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