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
Static Fields
PEM_CERTIFICATE_FIELD_NUMBER
public static final int PEM_CERTIFICATE_FIELD_NUMBER
Field Value
PEM_PRIVATE_KEY_FIELD_NUMBER
public static final int PEM_PRIVATE_KEY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Certificate.SelfManagedCertificate getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Certificate.SelfManagedCertificate.Builder newBuilder()
Returns
newBuilder(Certificate.SelfManagedCertificate prototype)
public static Certificate.SelfManagedCertificate.Builder newBuilder(Certificate.SelfManagedCertificate prototype)
Parameter
Returns
public static Certificate.SelfManagedCertificate parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Certificate.SelfManagedCertificate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Certificate.SelfManagedCertificate parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Certificate.SelfManagedCertificate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Certificate.SelfManagedCertificate parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Certificate.SelfManagedCertificate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Certificate.SelfManagedCertificate parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Certificate.SelfManagedCertificate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Certificate.SelfManagedCertificate parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Certificate.SelfManagedCertificate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Certificate.SelfManagedCertificate parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Certificate.SelfManagedCertificate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Certificate.SelfManagedCertificate> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Certificate.SelfManagedCertificate getDefaultInstanceForType()
Returns
getParserForType()
public Parser<Certificate.SelfManagedCertificate> getParserForType()
Returns
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
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Certificate.SelfManagedCertificate.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Certificate.SelfManagedCertificate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Certificate.SelfManagedCertificate.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions