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 classSslCertificate.BuilderRepresents an SSL Certificate resource.static classSslCertificate.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 intCERTIFICATE_FIELD_NUMBERstatic intCREATION_TIMESTAMP_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intEXPIRE_TIME_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intKIND_FIELD_NUMBERstatic intMANAGED_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intPRIVATE_KEY_FIELD_NUMBERstatic intREGION_FIELD_NUMBERstatic intSELF_LINK_FIELD_NUMBERstatic intSELF_MANAGED_FIELD_NUMBERstatic intSUBJECT_ALTERNATIVE_NAMES_FIELD_NUMBERstatic intTYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetCertificate()A value read into memory from a certificate file.com.google.protobuf.ByteStringgetCertificateBytes()A value read into memory from a certificate file.StringgetCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteStringgetCreationTimestampBytes()[Output Only] Creation timestamp in RFC3339 text format.static SslCertificategetDefaultInstance()SslCertificategetDefaultInstanceForType()StringgetDescription()An optional description of this resource.com.google.protobuf.ByteStringgetDescriptionBytes()An optional description of this resource.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetExpireTime()[Output Only] Expire time of the certificate.com.google.protobuf.ByteStringgetExpireTimeBytes()[Output Only] Expire time of the certificate.longgetId()[Output Only] The unique identifier for the resource.StringgetKind()[Output Only] Type of the resource.com.google.protobuf.ByteStringgetKindBytes()[Output Only] Type of the resource.SslCertificateManagedSslCertificategetManaged()Configuration and status of a managed SSL certificate.SslCertificateManagedSslCertificateOrBuildergetManagedOrBuilder()Configuration and status of a managed SSL certificate.StringgetName()Name of the resource.com.google.protobuf.ByteStringgetNameBytes()Name of the resource.com.google.protobuf.Parser<SslCertificate>getParserForType()StringgetPrivateKey()A value read into memory from a write-only private key file.com.google.protobuf.ByteStringgetPrivateKeyBytes()A value read into memory from a write-only private key file.StringgetRegion()[Output Only] URL of the region where the regional SSL Certificate resides.com.google.protobuf.ByteStringgetRegionBytes()[Output Only] URL of the region where the regional SSL Certificate resides.StringgetSelfLink()[Output only] Server-defined URL for the resource.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output only] Server-defined URL for the resource.SslCertificateSelfManagedSslCertificategetSelfManaged()Configuration and status of a self-managed SSL certificate.SslCertificateSelfManagedSslCertificateOrBuildergetSelfManagedOrBuilder()Configuration and status of a self-managed SSL certificate.intgetSerializedSize()StringgetSubjectAlternativeNames(int index)[Output Only] Domains associated with the certificate via Subject Alternative Name.com.google.protobuf.ByteStringgetSubjectAlternativeNamesBytes(int index)[Output Only] Domains associated with the certificate via Subject Alternative Name.intgetSubjectAlternativeNamesCount()[Output Only] Domains associated with the certificate via Subject Alternative Name.com.google.protobuf.ProtocolStringListgetSubjectAlternativeNamesList()[Output Only] Domains associated with the certificate via Subject Alternative Name.StringgetType()(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED".com.google.protobuf.ByteStringgetTypeBytes()(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED".booleanhasCertificate()A value read into memory from a certificate file.booleanhasCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.booleanhasDescription()An optional description of this resource.booleanhasExpireTime()[Output Only] Expire time of the certificate.inthashCode()booleanhasId()[Output Only] The unique identifier for the resource.booleanhasKind()[Output Only] Type of the resource.booleanhasManaged()Configuration and status of a managed SSL certificate.booleanhasName()Name of the resource.booleanhasPrivateKey()A value read into memory from a write-only private key file.booleanhasRegion()[Output Only] URL of the region where the regional SSL Certificate resides.booleanhasSelfLink()[Output only] Server-defined URL for the resource.booleanhasSelfManaged()Configuration and status of a self-managed SSL certificate.booleanhasType()(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED".protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static SslCertificate.BuildernewBuilder()static SslCertificate.BuildernewBuilder(SslCertificate prototype)SslCertificate.BuildernewBuilderForType()protected SslCertificate.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static SslCertificateparseDelimitedFrom(InputStream input)static SslCertificateparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SslCertificateparseFrom(byte[] data)static SslCertificateparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SslCertificateparseFrom(com.google.protobuf.ByteString data)static SslCertificateparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SslCertificateparseFrom(com.google.protobuf.CodedInputStream input)static SslCertificateparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SslCertificateparseFrom(InputStream input)static SslCertificateparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SslCertificateparseFrom(ByteBuffer data)static SslCertificateparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<SslCertificate>parser()SslCertificate.BuildertoBuilder()voidwriteTo(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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein 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:
hasCertificatein 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:
getCertificatein 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:
getCertificateBytesin 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:
hasCreationTimestampin 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:
getCreationTimestampin 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:
getCreationTimestampBytesin 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:
hasDescriptionin 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:
getDescriptionin 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:
getDescriptionBytesin 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:
hasExpireTimein 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:
getExpireTimein 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:
getExpireTimeBytesin 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:
hasIdin 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:
getIdin 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:
hasKindin 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:
getKindin 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:
getKindBytesin 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:
hasManagedin 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:
getManagedin 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:
getManagedOrBuilderin 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:
hasNamein 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:
getNamein 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:
getNameBytesin 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:
hasPrivateKeyin 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:
getPrivateKeyin 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:
getPrivateKeyBytesin 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:
hasRegionin 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:
getRegionin 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:
getRegionBytesin 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:
hasSelfLinkin 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:
getSelfLinkin 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:
getSelfLinkBytesin 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:
hasSelfManagedin 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:
getSelfManagedin 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:
getSelfManagedOrBuilderin 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:
getSubjectAlternativeNamesListin 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:
getSubjectAlternativeNamesCountin 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:
getSubjectAlternativeNamesin 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:
getSubjectAlternativeNamesBytesin 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:
hasTypein 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:
getTypein 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:
getTypeBytesin interfaceSslCertificateOrBuilder- Returns:
- The bytes for type.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SslCertificate.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public SslCertificate getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-