Package com.google.cloud.compute.v1
Class SslCertificate.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SslCertificate.Builder>
com.google.cloud.compute.v1.SslCertificate.Builder
- All Implemented Interfaces:
SslCertificateOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SslCertificate
public static final class SslCertificate.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SslCertificate.Builder>
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 global SSL certificates (sslCertificates) are used by: - Global external Application Load Balancers - Classic Application Load Balancers - Proxy Network Load Balancers (with target SSL proxies) The regional SSL certificates (regionSslCertificates) are used by: - Regional external Application Load Balancers - Regional internal Application 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 type
google.cloud.compute.v1.SslCertificate-
Method Summary
Modifier and TypeMethodDescriptionaddAllSubjectAlternativeNames(Iterable<String> values) Output only.addSubjectAlternativeNames(String value) Output only.addSubjectAlternativeNamesBytes(com.google.protobuf.ByteString value) Output only.build()clear()A value read into memory from a certificate file.[Output Only] Creation timestamp inRFC3339 text format.An optional description of this resource.Output only.clearId()[Output Only] The unique identifier for the resource.Output only.Configuration and status of a managed SSL certificate.Name of the resource.A value read into memory from a write-only private key file.Output only.[Output only] Server-defined URL for the resource.Configuration and status of a self-managed SSL certificate.Output only.(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED".A value read into memory from a certificate file.com.google.protobuf.ByteStringA value read into memory from a certificate file.[Output Only] Creation timestamp inRFC3339 text format.com.google.protobuf.ByteString[Output Only] Creation timestamp inRFC3339 text format.An optional description of this resource.com.google.protobuf.ByteStringAn optional description of this resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.longgetId()[Output Only] The unique identifier for the resource.getKind()Output only.com.google.protobuf.ByteStringOutput only.Configuration and status of a managed SSL certificate.Configuration and status of a managed SSL certificate.Configuration and status of a managed SSL certificate.getName()Name of the resource.com.google.protobuf.ByteStringName of the resource.A value read into memory from a write-only private key file.com.google.protobuf.ByteStringA value read into memory from a write-only private key file.Output only.com.google.protobuf.ByteStringOutput only.[Output only] Server-defined URL for the resource.com.google.protobuf.ByteString[Output only] Server-defined URL for the resource.Configuration and status of a self-managed SSL certificate.Configuration and status of a self-managed SSL certificate.Configuration and status of a self-managed SSL certificate.getSubjectAlternativeNames(int index) Output only.com.google.protobuf.ByteStringgetSubjectAlternativeNamesBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.getType()(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED".com.google.protobuf.ByteString(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED".booleanA value read into memory from a certificate file.boolean[Output Only] Creation timestamp inRFC3339 text format.booleanAn optional description of this resource.booleanOutput only.booleanhasId()[Output Only] The unique identifier for the resource.booleanhasKind()Output only.booleanConfiguration and status of a managed SSL certificate.booleanhasName()Name of the resource.booleanA value read into memory from a write-only private key file.booleanOutput only.boolean[Output only] Server-defined URL for the resource.booleanConfiguration 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.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(SslCertificate other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Configuration and status of a managed SSL certificate.Configuration and status of a self-managed SSL certificate.setCertificate(String value) A value read into memory from a certificate file.setCertificateBytes(com.google.protobuf.ByteString value) A value read into memory from a certificate file.setCreationTimestamp(String value) [Output Only] Creation timestamp inRFC3339 text format.setCreationTimestampBytes(com.google.protobuf.ByteString value) [Output Only] Creation timestamp inRFC3339 text format.setDescription(String value) An optional description of this resource.setDescriptionBytes(com.google.protobuf.ByteString value) An optional description of this resource.setExpireTime(String value) Output only.setExpireTimeBytes(com.google.protobuf.ByteString value) Output only.setId(long value) [Output Only] The unique identifier for the resource.Output only.setKindBytes(com.google.protobuf.ByteString value) Output only.Configuration and status of a managed SSL certificate.setManaged(SslCertificateManagedSslCertificate.Builder builderForValue) Configuration and status of a managed SSL certificate.Name of the resource.setNameBytes(com.google.protobuf.ByteString value) Name of the resource.setPrivateKey(String value) A value read into memory from a write-only private key file.setPrivateKeyBytes(com.google.protobuf.ByteString value) A value read into memory from a write-only private key file.Output only.setRegionBytes(com.google.protobuf.ByteString value) Output only.setSelfLink(String value) [Output only] Server-defined URL for the resource.setSelfLinkBytes(com.google.protobuf.ByteString value) [Output only] Server-defined URL for the resource.Configuration and status of a self-managed SSL certificate.setSelfManaged(SslCertificateSelfManagedSslCertificate.Builder builderForValue) Configuration and status of a self-managed SSL certificate.setSubjectAlternativeNames(int index, String value) Output only.(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED".setTypeBytes(com.google.protobuf.ByteString value) (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED".Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SslCertificate.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SslCertificate.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SslCertificate.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SslCertificate.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SslCertificate.Builder>
-
mergeFrom
public SslCertificate.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SslCertificate.Builder>- Throws:
IOException
-
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
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.
-
setCertificate
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;- Parameters:
value- The certificate to set.- Returns:
- This builder for chaining.
-
clearCertificate
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:
- This builder for chaining.
-
setCertificateBytes
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;- Parameters:
value- The bytes for certificate to set.- Returns:
- This builder for chaining.
-
hasCreationTimestamp
public boolean hasCreationTimestamp()[Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceSslCertificateOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
[Output Only] Creation timestamp inRFC3339 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 inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceSslCertificateOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
[Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
[Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
[Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The bytes for creationTimestamp to set.- Returns:
- This builder for chaining.
-
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
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.
-
setDescription
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasExpireTime
public boolean hasExpireTime()Output only. [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
Output only. [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. [Output Only] Expire time of the certificate. RFC3339
optional string expire_time = 440691181;- Specified by:
getExpireTimeBytesin interfaceSslCertificateOrBuilder- Returns:
- The bytes for expireTime.
-
setExpireTime
Output only. [Output Only] Expire time of the certificate. RFC3339
optional string expire_time = 440691181;- Parameters:
value- The expireTime to set.- Returns:
- This builder for chaining.
-
clearExpireTime
Output only. [Output Only] Expire time of the certificate. RFC3339
optional string expire_time = 440691181;- Returns:
- This builder for chaining.
-
setExpireTimeBytes
Output only. [Output Only] Expire time of the certificate. RFC3339
optional string expire_time = 440691181;- Parameters:
value- The bytes for expireTime to set.- Returns:
- This builder for chaining.
-
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.
-
setId
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- This builder for chaining.
-
hasKind
public boolean hasKind()Output only. [Output Only] Type of the resource. Alwayscompute#sslCertificate for SSL certificates.
optional string kind = 3292052;- Specified by:
hasKindin interfaceSslCertificateOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
Output only. [Output Only] Type of the resource. Alwayscompute#sslCertificate for SSL certificates.
optional string kind = 3292052;- Specified by:
getKindin interfaceSslCertificateOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of the resource. Alwayscompute#sslCertificate for SSL certificates.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceSslCertificateOrBuilder- Returns:
- The bytes for kind.
-
setKind
Output only. [Output Only] Type of the resource. Alwayscompute#sslCertificate for SSL certificates.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
Output only. [Output Only] Type of the resource. Alwayscompute#sslCertificate for SSL certificates.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
Output only. [Output Only] Type of the resource. Alwayscompute#sslCertificate for SSL certificates.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
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
Configuration and status of a managed SSL certificate.
optional .google.cloud.compute.v1.SslCertificateManagedSslCertificate managed = 298389407;- Specified by:
getManagedin interfaceSslCertificateOrBuilder- Returns:
- The managed.
-
setManaged
Configuration and status of a managed SSL certificate.
optional .google.cloud.compute.v1.SslCertificateManagedSslCertificate managed = 298389407; -
setManaged
public SslCertificate.Builder setManaged(SslCertificateManagedSslCertificate.Builder builderForValue) Configuration and status of a managed SSL certificate.
optional .google.cloud.compute.v1.SslCertificateManagedSslCertificate managed = 298389407; -
mergeManaged
Configuration and status of a managed SSL certificate.
optional .google.cloud.compute.v1.SslCertificateManagedSslCertificate managed = 298389407; -
clearManaged
Configuration and status of a managed SSL certificate.
optional .google.cloud.compute.v1.SslCertificateManagedSslCertificate managed = 298389407; -
getManagedBuilder
Configuration and status of a managed SSL certificate.
optional .google.cloud.compute.v1.SslCertificateManagedSslCertificate managed = 298389407; -
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 withRFC1035. 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
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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 withRFC1035. 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.
-
setName
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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:
- This builder for chaining.
-
setNameBytes
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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
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.
-
setPrivateKey
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;- Parameters:
value- The privateKey to set.- Returns:
- This builder for chaining.
-
clearPrivateKey
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:
- This builder for chaining.
-
setPrivateKeyBytes
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;- Parameters:
value- The bytes for privateKey to set.- Returns:
- This builder for chaining.
-
hasRegion
public boolean hasRegion()Output only. [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
Output only. [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. [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.
-
setRegion
Output only. [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;- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
Output only. [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:
- This builder for chaining.
-
setRegionBytes
Output only. [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;- Parameters:
value- The bytes for region to set.- Returns:
- This builder for chaining.
-
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
[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.
-
setSelfLink
[Output only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
[Output only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
[Output only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
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
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.
-
setSelfManaged
Configuration and status of a self-managed SSL certificate.
optional .google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate self_managed = 329284012; -
setSelfManaged
public SslCertificate.Builder setSelfManaged(SslCertificateSelfManagedSslCertificate.Builder builderForValue) Configuration and status of a self-managed SSL certificate.
optional .google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate self_managed = 329284012; -
mergeSelfManaged
Configuration and status of a self-managed SSL certificate.
optional .google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate self_managed = 329284012; -
clearSelfManaged
Configuration and status of a self-managed SSL certificate.
optional .google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate self_managed = 329284012; -
getSelfManagedBuilder
Configuration and status of a self-managed SSL certificate.
optional .google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate self_managed = 329284012; -
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. [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. [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
Output only. [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. [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.
-
setSubjectAlternativeNames
Output only. [Output Only] Domains associated with the certificate via Subject Alternative Name.
repeated string subject_alternative_names = 528807907;- Parameters:
index- The index to set the value at.value- The subjectAlternativeNames to set.- Returns:
- This builder for chaining.
-
addSubjectAlternativeNames
Output only. [Output Only] Domains associated with the certificate via Subject Alternative Name.
repeated string subject_alternative_names = 528807907;- Parameters:
value- The subjectAlternativeNames to add.- Returns:
- This builder for chaining.
-
addAllSubjectAlternativeNames
Output only. [Output Only] Domains associated with the certificate via Subject Alternative Name.
repeated string subject_alternative_names = 528807907;- Parameters:
values- The subjectAlternativeNames to add.- Returns:
- This builder for chaining.
-
clearSubjectAlternativeNames
Output only. [Output Only] Domains associated with the certificate via Subject Alternative Name.
repeated string subject_alternative_names = 528807907;- Returns:
- This builder for chaining.
-
addSubjectAlternativeNamesBytes
Output only. [Output Only] Domains associated with the certificate via Subject Alternative Name.
repeated string subject_alternative_names = 528807907;- Parameters:
value- The bytes of the subjectAlternativeNames to add.- Returns:
- This builder for chaining.
-
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 fieldscertificate 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
(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fieldscertificate 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 fieldscertificate 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.
-
setType
(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fieldscertificate and private_key are used. Check the Type enum for the list of possible values.
optional string type = 3575610;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fieldscertificate and private_key are used. Check the Type enum for the list of possible values.
optional string type = 3575610;- Returns:
- This builder for chaining.
-
setTypeBytes
(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fieldscertificate and private_key are used. Check the Type enum for the list of possible values.
optional string type = 3575610;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-