Class SslCertificateSelfManagedSslCertificate (1.58.0)

public final class SslCertificateSelfManagedSslCertificate extends GeneratedMessageV3 implements SslCertificateSelfManagedSslCertificateOrBuilder

Configuration and status of a self-managed SSL certificate.

Protobuf type google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SslCertificateSelfManagedSslCertificate

Static Fields

CERTIFICATE_FIELD_NUMBER

public static final int CERTIFICATE_FIELD_NUMBER
Field Value
Type Description
int

PRIVATE_KEY_FIELD_NUMBER

public static final int PRIVATE_KEY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SslCertificateSelfManagedSslCertificate getDefaultInstance()
Returns
Type Description
SslCertificateSelfManagedSslCertificate

getDescriptor()

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

newBuilder()

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

newBuilder(SslCertificateSelfManagedSslCertificate prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCertificate()

public String getCertificate()

A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.

optional string certificate = 341787031;

Returns
Type Description
String

The certificate.

getCertificateBytes()

public ByteString getCertificateBytes()

A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.

optional string certificate = 341787031;

Returns
Type Description
ByteString

The bytes for certificate.

getDefaultInstanceForType()

public SslCertificateSelfManagedSslCertificate getDefaultInstanceForType()
Returns
Type Description
SslCertificateSelfManagedSslCertificate

getParserForType()

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

getPrivateKey()

public String getPrivateKey()

A write-only private key in PEM format. Only insert requests will include this field.

optional string private_key = 361331107;

Returns
Type Description
String

The privateKey.

getPrivateKeyBytes()

public ByteString getPrivateKeyBytes()

A write-only private key in PEM format. Only insert requests will include this field.

optional string private_key = 361331107;

Returns
Type Description
ByteString

The bytes for privateKey.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasCertificate()

public boolean hasCertificate()

A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.

optional string certificate = 341787031;

Returns
Type Description
boolean

Whether the certificate field is set.

hasPrivateKey()

public boolean hasPrivateKey()

A write-only private key in PEM format. Only insert requests will include this field.

optional string private_key = 361331107;

Returns
Type Description
boolean

Whether the privateKey field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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