Package com.google.cloud.compute.v1
Class SslCertificate
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.SslCertificate
-
- All Implemented Interfaces:
SslCertificateOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class SslCertificate extends com.google.protobuf.GeneratedMessageV3 implements SslCertificateOrBuilder
Represents an SSL Certificate resource. Google Compute Engine has two SSL Certificate resources: * [Global](/compute/docs/reference/rest/v1/sslCertificates) * [Regional](/compute/docs/reference/rest/v1/regionSslCertificates) The sslCertificates are used by: - external HTTPS load balancers - SSL proxy load balancers The regionSslCertificates are used by internal HTTPS load balancers. Optionally, certificate file contents that you upload can contain a set of up to five PEM-encoded certificates. The API call creates an object (sslCertificate) that holds this data. You can use SSL keys and certificates to secure connections to a load balancer. For more information, read Creating and using SSL certificates, SSL certificates quotas and limits, and Troubleshooting SSL certificates.
Protobuf typegoogle.cloud.compute.v1.SslCertificate
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SslCertificate.Builder
Represents an SSL Certificate resource.static class
SslCertificate.Type
(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED".-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
CERTIFICATE_FIELD_NUMBER
static int
CREATION_TIMESTAMP_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
EXPIRE_TIME_FIELD_NUMBER
static int
ID_FIELD_NUMBER
static int
KIND_FIELD_NUMBER
static int
MANAGED_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
PRIVATE_KEY_FIELD_NUMBER
static int
REGION_FIELD_NUMBER
static int
SELF_LINK_FIELD_NUMBER
static int
SELF_MANAGED_FIELD_NUMBER
static int
SUBJECT_ALTERNATIVE_NAMES_FIELD_NUMBER
static int
TYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getCertificate()
A value read into memory from a certificate file.com.google.protobuf.ByteString
getCertificateBytes()
A value read into memory from a certificate file.String
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteString
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.static SslCertificate
getDefaultInstance()
SslCertificate
getDefaultInstanceForType()
String
getDescription()
An optional description of this resource.com.google.protobuf.ByteString
getDescriptionBytes()
An optional description of this resource.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getExpireTime()
[Output Only] Expire time of the certificate.com.google.protobuf.ByteString
getExpireTimeBytes()
[Output Only] Expire time of the certificate.long
getId()
[Output Only] The unique identifier for the resource.String
getKind()
[Output Only] Type of the resource.com.google.protobuf.ByteString
getKindBytes()
[Output Only] Type of the resource.SslCertificateManagedSslCertificate
getManaged()
Configuration and status of a managed SSL certificate.SslCertificateManagedSslCertificateOrBuilder
getManagedOrBuilder()
Configuration and status of a managed SSL certificate.String
getName()
Name of the resource.com.google.protobuf.ByteString
getNameBytes()
Name of the resource.com.google.protobuf.Parser<SslCertificate>
getParserForType()
String
getPrivateKey()
A value read into memory from a write-only private key file.com.google.protobuf.ByteString
getPrivateKeyBytes()
A value read into memory from a write-only private key file.String
getRegion()
[Output Only] URL of the region where the regional SSL Certificate resides.com.google.protobuf.ByteString
getRegionBytes()
[Output Only] URL of the region where the regional SSL Certificate resides.String
getSelfLink()
[Output only] Server-defined URL for the resource.com.google.protobuf.ByteString
getSelfLinkBytes()
[Output only] Server-defined URL for the resource.SslCertificateSelfManagedSslCertificate
getSelfManaged()
Configuration and status of a self-managed SSL certificate.SslCertificateSelfManagedSslCertificateOrBuilder
getSelfManagedOrBuilder()
Configuration and status of a self-managed SSL certificate.int
getSerializedSize()
String
getSubjectAlternativeNames(int index)
[Output Only] Domains associated with the certificate via Subject Alternative Name.com.google.protobuf.ByteString
getSubjectAlternativeNamesBytes(int index)
[Output Only] Domains associated with the certificate via Subject Alternative Name.int
getSubjectAlternativeNamesCount()
[Output Only] Domains associated with the certificate via Subject Alternative Name.com.google.protobuf.ProtocolStringList
getSubjectAlternativeNamesList()
[Output Only] Domains associated with the certificate via Subject Alternative Name.String
getType()
(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED".com.google.protobuf.ByteString
getTypeBytes()
(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED".boolean
hasCertificate()
A value read into memory from a certificate file.boolean
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.boolean
hasDescription()
An optional description of this resource.boolean
hasExpireTime()
[Output Only] Expire time of the certificate.int
hashCode()
boolean
hasId()
[Output Only] The unique identifier for the resource.boolean
hasKind()
[Output Only] Type of the resource.boolean
hasManaged()
Configuration and status of a managed SSL certificate.boolean
hasName()
Name of the resource.boolean
hasPrivateKey()
A value read into memory from a write-only private key file.boolean
hasRegion()
[Output Only] URL of the region where the regional SSL Certificate resides.boolean
hasSelfLink()
[Output only] Server-defined URL for the resource.boolean
hasSelfManaged()
Configuration and status of a self-managed SSL certificate.boolean
hasType()
(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED".protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static SslCertificate.Builder
newBuilder()
static SslCertificate.Builder
newBuilder(SslCertificate prototype)
SslCertificate.Builder
newBuilderForType()
protected SslCertificate.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static SslCertificate
parseDelimitedFrom(InputStream input)
static SslCertificate
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SslCertificate
parseFrom(byte[] data)
static SslCertificate
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SslCertificate
parseFrom(com.google.protobuf.ByteString data)
static SslCertificate
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SslCertificate
parseFrom(com.google.protobuf.CodedInputStream input)
static SslCertificate
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SslCertificate
parseFrom(InputStream input)
static SslCertificate
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SslCertificate
parseFrom(ByteBuffer data)
static SslCertificate
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<SslCertificate>
parser()
SslCertificate.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
CERTIFICATE_FIELD_NUMBER
public static final int CERTIFICATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPIRE_TIME_FIELD_NUMBER
public static final int EXPIRE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MANAGED_FIELD_NUMBER
public static final int MANAGED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIVATE_KEY_FIELD_NUMBER
public static final int PRIVATE_KEY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SELF_MANAGED_FIELD_NUMBER
public static final int SELF_MANAGED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUBJECT_ALTERNATIVE_NAMES_FIELD_NUMBER
public static final int SUBJECT_ALTERNATIVE_NAMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasCertificate
public boolean hasCertificate()
A value read into memory from a certificate file. The certificate file 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;
- Specified by:
hasCertificate
in interfaceSslCertificateOrBuilder
- Returns:
- Whether the certificate field is set.
-
getCertificate
public String getCertificate()
A value read into memory from a certificate file. The certificate file 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;
- Specified by:
getCertificate
in interfaceSslCertificateOrBuilder
- Returns:
- The certificate.
-
getCertificateBytes
public com.google.protobuf.ByteString getCertificateBytes()
A value read into memory from a certificate file. The certificate file 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;
- Specified by:
getCertificateBytes
in interfaceSslCertificateOrBuilder
- Returns:
- The bytes for certificate.
-
hasCreationTimestamp
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Specified by:
hasCreationTimestamp
in interfaceSslCertificateOrBuilder
- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Specified by:
getCreationTimestamp
in interfaceSslCertificateOrBuilder
- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Specified by:
getCreationTimestampBytes
in interfaceSslCertificateOrBuilder
- Returns:
- The bytes for creationTimestamp.
-
hasDescription
public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Specified by:
hasDescription
in interfaceSslCertificateOrBuilder
- Returns:
- Whether the description field is set.
-
getDescription
public String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Specified by:
getDescription
in interfaceSslCertificateOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
- Specified by:
getDescriptionBytes
in interfaceSslCertificateOrBuilder
- Returns:
- The bytes for description.
-
hasExpireTime
public boolean hasExpireTime()
[Output Only] Expire time of the certificate. RFC3339
optional string expire_time = 440691181;
- Specified by:
hasExpireTime
in interfaceSslCertificateOrBuilder
- Returns:
- Whether the expireTime field is set.
-
getExpireTime
public String getExpireTime()
[Output Only] Expire time of the certificate. RFC3339
optional string expire_time = 440691181;
- Specified by:
getExpireTime
in interfaceSslCertificateOrBuilder
- Returns:
- The expireTime.
-
getExpireTimeBytes
public com.google.protobuf.ByteString getExpireTimeBytes()
[Output Only] Expire time of the certificate. RFC3339
optional string expire_time = 440691181;
- Specified by:
getExpireTimeBytes
in interfaceSslCertificateOrBuilder
- Returns:
- The bytes for expireTime.
-
hasId
public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
- Specified by:
hasId
in interfaceSslCertificateOrBuilder
- Returns:
- Whether the id field is set.
-
getId
public long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
- Specified by:
getId
in interfaceSslCertificateOrBuilder
- Returns:
- The id.
-
hasKind
public boolean hasKind()
[Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates.
optional string kind = 3292052;
- Specified by:
hasKind
in interfaceSslCertificateOrBuilder
- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates.
optional string kind = 3292052;
- Specified by:
getKind
in interfaceSslCertificateOrBuilder
- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates.
optional string kind = 3292052;
- Specified by:
getKindBytes
in interfaceSslCertificateOrBuilder
- Returns:
- The bytes for kind.
-
hasManaged
public boolean hasManaged()
Configuration and status of a managed SSL certificate.
optional .google.cloud.compute.v1.SslCertificateManagedSslCertificate managed = 298389407;
- Specified by:
hasManaged
in interfaceSslCertificateOrBuilder
- Returns:
- Whether the managed field is set.
-
getManaged
public SslCertificateManagedSslCertificate getManaged()
Configuration and status of a managed SSL certificate.
optional .google.cloud.compute.v1.SslCertificateManagedSslCertificate managed = 298389407;
- Specified by:
getManaged
in interfaceSslCertificateOrBuilder
- Returns:
- The managed.
-
getManagedOrBuilder
public SslCertificateManagedSslCertificateOrBuilder getManagedOrBuilder()
Configuration and status of a managed SSL certificate.
optional .google.cloud.compute.v1.SslCertificateManagedSslCertificate managed = 298389407;
- Specified by:
getManagedOrBuilder
in interfaceSslCertificateOrBuilder
-
hasName
public boolean hasName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;
- Specified by:
hasName
in interfaceSslCertificateOrBuilder
- Returns:
- Whether the name field is set.
-
getName
public String getName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;
- Specified by:
getName
in interfaceSslCertificateOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;
- Specified by:
getNameBytes
in interfaceSslCertificateOrBuilder
- Returns:
- The bytes for name.
-
hasPrivateKey
public boolean hasPrivateKey()
A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.
optional string private_key = 361331107;
- Specified by:
hasPrivateKey
in interfaceSslCertificateOrBuilder
- Returns:
- Whether the privateKey field is set.
-
getPrivateKey
public String getPrivateKey()
A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.
optional string private_key = 361331107;
- Specified by:
getPrivateKey
in interfaceSslCertificateOrBuilder
- Returns:
- The privateKey.
-
getPrivateKeyBytes
public com.google.protobuf.ByteString getPrivateKeyBytes()
A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.
optional string private_key = 361331107;
- Specified by:
getPrivateKeyBytes
in interfaceSslCertificateOrBuilder
- Returns:
- The bytes for privateKey.
-
hasRegion
public boolean hasRegion()
[Output Only] URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.
optional string region = 138946292;
- Specified by:
hasRegion
in interfaceSslCertificateOrBuilder
- Returns:
- Whether the region field is set.
-
getRegion
public String getRegion()
[Output Only] URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.
optional string region = 138946292;
- Specified by:
getRegion
in interfaceSslCertificateOrBuilder
- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()
[Output Only] URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.
optional string region = 138946292;
- Specified by:
getRegionBytes
in interfaceSslCertificateOrBuilder
- Returns:
- The bytes for region.
-
hasSelfLink
public boolean hasSelfLink()
[Output only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Specified by:
hasSelfLink
in interfaceSslCertificateOrBuilder
- Returns:
- Whether the selfLink field is set.
-
getSelfLink
public String getSelfLink()
[Output only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Specified by:
getSelfLink
in interfaceSslCertificateOrBuilder
- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()
[Output only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Specified by:
getSelfLinkBytes
in interfaceSslCertificateOrBuilder
- Returns:
- The bytes for selfLink.
-
hasSelfManaged
public boolean hasSelfManaged()
Configuration and status of a self-managed SSL certificate.
optional .google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate self_managed = 329284012;
- Specified by:
hasSelfManaged
in interfaceSslCertificateOrBuilder
- Returns:
- Whether the selfManaged field is set.
-
getSelfManaged
public SslCertificateSelfManagedSslCertificate getSelfManaged()
Configuration and status of a self-managed SSL certificate.
optional .google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate self_managed = 329284012;
- Specified by:
getSelfManaged
in interfaceSslCertificateOrBuilder
- Returns:
- The selfManaged.
-
getSelfManagedOrBuilder
public SslCertificateSelfManagedSslCertificateOrBuilder getSelfManagedOrBuilder()
Configuration and status of a self-managed SSL certificate.
optional .google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate self_managed = 329284012;
- Specified by:
getSelfManagedOrBuilder
in interfaceSslCertificateOrBuilder
-
getSubjectAlternativeNamesList
public com.google.protobuf.ProtocolStringList getSubjectAlternativeNamesList()
[Output Only] Domains associated with the certificate via Subject Alternative Name.
repeated string subject_alternative_names = 528807907;
- Specified by:
getSubjectAlternativeNamesList
in interfaceSslCertificateOrBuilder
- Returns:
- A list containing the subjectAlternativeNames.
-
getSubjectAlternativeNamesCount
public int getSubjectAlternativeNamesCount()
[Output Only] Domains associated with the certificate via Subject Alternative Name.
repeated string subject_alternative_names = 528807907;
- Specified by:
getSubjectAlternativeNamesCount
in interfaceSslCertificateOrBuilder
- Returns:
- The count of subjectAlternativeNames.
-
getSubjectAlternativeNames
public String getSubjectAlternativeNames(int index)
[Output Only] Domains associated with the certificate via Subject Alternative Name.
repeated string subject_alternative_names = 528807907;
- Specified by:
getSubjectAlternativeNames
in interfaceSslCertificateOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The subjectAlternativeNames at the given index.
-
getSubjectAlternativeNamesBytes
public com.google.protobuf.ByteString getSubjectAlternativeNamesBytes(int index)
[Output Only] Domains associated with the certificate via Subject Alternative Name.
repeated string subject_alternative_names = 528807907;
- Specified by:
getSubjectAlternativeNamesBytes
in interfaceSslCertificateOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the subjectAlternativeNames at the given index.
-
hasType
public boolean hasType()
(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used. Check the Type enum for the list of possible values.
optional string type = 3575610;
- Specified by:
hasType
in interfaceSslCertificateOrBuilder
- Returns:
- Whether the type field is set.
-
getType
public String getType()
(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used. Check the Type enum for the list of possible values.
optional string type = 3575610;
- Specified by:
getType
in interfaceSslCertificateOrBuilder
- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()
(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used. Check the Type enum for the list of possible values.
optional string type = 3575610;
- Specified by:
getTypeBytes
in interfaceSslCertificateOrBuilder
- Returns:
- The bytes for type.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SslCertificate parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SslCertificate parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SslCertificate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SslCertificate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SslCertificate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SslCertificate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SslCertificate parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SslCertificate parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SslCertificate parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SslCertificate parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static SslCertificate parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SslCertificate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public SslCertificate.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static SslCertificate.Builder newBuilder()
-
newBuilder
public static SslCertificate.Builder newBuilder(SslCertificate prototype)
-
toBuilder
public SslCertificate.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SslCertificate.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static SslCertificate getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<SslCertificate> parser()
-
getParserForType
public com.google.protobuf.Parser<SslCertificate> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public SslCertificate getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-