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