Package com.google.cloud.compute.v1
Interface SslCertificateOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SslCertificate,SslCertificate.Builder
public interface SslCertificateOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.StringgetDescription()An optional description of this resource.com.google.protobuf.ByteStringgetDescriptionBytes()An optional description of this resource.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.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.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.List<String>getSubjectAlternativeNamesList()[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.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".-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCertificate
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;- Returns:
- Whether the certificate field is set.
-
getCertificate
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;- Returns:
- The certificate.
-
getCertificateBytes
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;- Returns:
- The bytes for certificate.
-
hasCreationTimestamp
boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The bytes for creationTimestamp.
-
hasDescription
boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- The bytes for description.
-
hasExpireTime
boolean hasExpireTime()
[Output Only] Expire time of the certificate. RFC3339
optional string expire_time = 440691181;- Returns:
- Whether the expireTime field is set.
-
getExpireTime
String getExpireTime()
[Output Only] Expire time of the certificate. RFC3339
optional string expire_time = 440691181;- Returns:
- The expireTime.
-
getExpireTimeBytes
com.google.protobuf.ByteString getExpireTimeBytes()
[Output Only] Expire time of the certificate. RFC3339
optional string expire_time = 440691181;- Returns:
- The bytes for expireTime.
-
hasId
boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- Whether the id field is set.
-
getId
long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- The id.
-
hasKind
boolean hasKind()
[Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates.
optional string kind = 3292052;- Returns:
- Whether the kind field is set.
-
getKind
String getKind()
[Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates.
optional string kind = 3292052;- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates.
optional string kind = 3292052;- Returns:
- The bytes for kind.
-
hasManaged
boolean hasManaged()
Configuration and status of a managed SSL certificate.
optional .google.cloud.compute.v1.SslCertificateManagedSslCertificate managed = 298389407;- Returns:
- Whether the managed field is set.
-
getManaged
SslCertificateManagedSslCertificate getManaged()
Configuration and status of a managed SSL certificate.
optional .google.cloud.compute.v1.SslCertificateManagedSslCertificate managed = 298389407;- Returns:
- The managed.
-
getManagedOrBuilder
SslCertificateManagedSslCertificateOrBuilder getManagedOrBuilder()
Configuration and status of a managed SSL certificate.
optional .google.cloud.compute.v1.SslCertificateManagedSslCertificate managed = 298389407;
-
hasName
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;- Returns:
- Whether the name field is set.
-
getName
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;- Returns:
- The name.
-
getNameBytes
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;- Returns:
- The bytes for name.
-
hasPrivateKey
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;- Returns:
- Whether the privateKey field is set.
-
getPrivateKey
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;- Returns:
- The privateKey.
-
getPrivateKeyBytes
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;- Returns:
- The bytes for privateKey.
-
hasRegion
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;- Returns:
- Whether the region field is set.
-
getRegion
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;- Returns:
- The region.
-
getRegionBytes
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;- Returns:
- The bytes for region.
-
hasSelfLink
boolean hasSelfLink()
[Output only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- Whether the selfLink field is set.
-
getSelfLink
String getSelfLink()
[Output only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()
[Output only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- The bytes for selfLink.
-
hasSelfManaged
boolean hasSelfManaged()
Configuration and status of a self-managed SSL certificate.
optional .google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate self_managed = 329284012;- Returns:
- Whether the selfManaged field is set.
-
getSelfManaged
SslCertificateSelfManagedSslCertificate getSelfManaged()
Configuration and status of a self-managed SSL certificate.
optional .google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate self_managed = 329284012;- Returns:
- The selfManaged.
-
getSelfManagedOrBuilder
SslCertificateSelfManagedSslCertificateOrBuilder getSelfManagedOrBuilder()
Configuration and status of a self-managed SSL certificate.
optional .google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate self_managed = 329284012;
-
getSubjectAlternativeNamesList
List<String> getSubjectAlternativeNamesList()
[Output Only] Domains associated with the certificate via Subject Alternative Name.
repeated string subject_alternative_names = 528807907;- Returns:
- A list containing the subjectAlternativeNames.
-
getSubjectAlternativeNamesCount
int getSubjectAlternativeNamesCount()
[Output Only] Domains associated with the certificate via Subject Alternative Name.
repeated string subject_alternative_names = 528807907;- Returns:
- The count of subjectAlternativeNames.
-
getSubjectAlternativeNames
String getSubjectAlternativeNames(int index)
[Output Only] Domains associated with the certificate via Subject Alternative Name.
repeated string subject_alternative_names = 528807907;- Parameters:
index- The index of the element to return.- Returns:
- The subjectAlternativeNames at the given index.
-
getSubjectAlternativeNamesBytes
com.google.protobuf.ByteString getSubjectAlternativeNamesBytes(int index)
[Output Only] Domains associated with the certificate via Subject Alternative Name.
repeated string subject_alternative_names = 528807907;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the subjectAlternativeNames at the given index.
-
hasType
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;- Returns:
- Whether the type field is set.
-
getType
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;- Returns:
- The type.
-
getTypeBytes
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;- Returns:
- The bytes for type.
-
-