Class SslCertificateSelfManagedSslCertificate (1.16.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
TypeDescription
int

PRIVATE_KEY_FIELD_NUMBER

public static final int PRIVATE_KEY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SslCertificateSelfManagedSslCertificate getDefaultInstance()
Returns
TypeDescription
SslCertificateSelfManagedSslCertificate

getDescriptor()

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

newBuilder()

public static SslCertificateSelfManagedSslCertificate.Builder newBuilder()
Returns
TypeDescription
SslCertificateSelfManagedSslCertificate.Builder

newBuilder(SslCertificateSelfManagedSslCertificate prototype)

public static SslCertificateSelfManagedSslCertificate.Builder newBuilder(SslCertificateSelfManagedSslCertificate prototype)
Parameter
NameDescription
prototypeSslCertificateSelfManagedSslCertificate
Returns
TypeDescription
SslCertificateSelfManagedSslCertificate.Builder

parseDelimitedFrom(InputStream input)

public static SslCertificateSelfManagedSslCertificate parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SslCertificateSelfManagedSslCertificate
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static SslCertificateSelfManagedSslCertificate parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SslCertificateSelfManagedSslCertificate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static SslCertificateSelfManagedSslCertificate parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SslCertificateSelfManagedSslCertificate
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static SslCertificateSelfManagedSslCertificate parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SslCertificateSelfManagedSslCertificate
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static SslCertificateSelfManagedSslCertificate parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SslCertificateSelfManagedSslCertificate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<SslCertificateSelfManagedSslCertificate> parser()
Returns
TypeDescription
Parser<SslCertificateSelfManagedSslCertificate>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for certificate.

getDefaultInstanceForType()

public SslCertificateSelfManagedSslCertificate getDefaultInstanceForType()
Returns
TypeDescription
SslCertificateSelfManagedSslCertificate

getParserForType()

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

The bytes for privateKey.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
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
TypeDescription
boolean

Whether the privateKey field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public SslCertificateSelfManagedSslCertificate.Builder toBuilder()
Returns
TypeDescription
SslCertificateSelfManagedSslCertificate.Builder

writeTo(CodedOutputStream output)

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