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.GeneratedMessageV3.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.GeneratedMessageV3.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 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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SslCertificate.BuilderaddAllSubjectAlternativeNames(Iterable<String> values)[Output Only] Domains associated with the certificate via Subject Alternative Name.SslCertificate.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)SslCertificate.BuilderaddSubjectAlternativeNames(String value)[Output Only] Domains associated with the certificate via Subject Alternative Name.SslCertificate.BuilderaddSubjectAlternativeNamesBytes(com.google.protobuf.ByteString value)[Output Only] Domains associated with the certificate via Subject Alternative Name.SslCertificatebuild()SslCertificatebuildPartial()SslCertificate.Builderclear()SslCertificate.BuilderclearCertificate()A value read into memory from a certificate file.SslCertificate.BuilderclearCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.SslCertificate.BuilderclearDescription()An optional description of this resource.SslCertificate.BuilderclearExpireTime()[Output Only] Expire time of the certificate.SslCertificate.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)SslCertificate.BuilderclearId()[Output Only] The unique identifier for the resource.SslCertificate.BuilderclearKind()[Output Only] Type of the resource.SslCertificate.BuilderclearManaged()Configuration and status of a managed SSL certificate.SslCertificate.BuilderclearName()Name of the resource.SslCertificate.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)SslCertificate.BuilderclearPrivateKey()A value read into memory from a write-only private key file.SslCertificate.BuilderclearRegion()[Output Only] URL of the region where the regional SSL Certificate resides.SslCertificate.BuilderclearSelfLink()[Output only] Server-defined URL for the resource.SslCertificate.BuilderclearSelfManaged()Configuration and status of a self-managed SSL certificate.SslCertificate.BuilderclearSubjectAlternativeNames()[Output Only] Domains associated with the certificate via Subject Alternative Name.SslCertificate.BuilderclearType()(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED".SslCertificate.Builderclone()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.SslCertificategetDefaultInstanceForType()StringgetDescription()An optional description of this resource.com.google.protobuf.ByteStringgetDescriptionBytes()An optional description of this resource.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()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.SslCertificateManagedSslCertificate.BuildergetManagedBuilder()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.SslCertificateSelfManagedSslCertificate.BuildergetSelfManagedBuilder()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.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.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()SslCertificate.BuildermergeFrom(SslCertificate other)SslCertificate.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)SslCertificate.BuildermergeFrom(com.google.protobuf.Message other)SslCertificate.BuildermergeManaged(SslCertificateManagedSslCertificate value)Configuration and status of a managed SSL certificate.SslCertificate.BuildermergeSelfManaged(SslCertificateSelfManagedSslCertificate value)Configuration and status of a self-managed SSL certificate.SslCertificate.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)SslCertificate.BuildersetCertificate(String value)A value read into memory from a certificate file.SslCertificate.BuildersetCertificateBytes(com.google.protobuf.ByteString value)A value read into memory from a certificate file.SslCertificate.BuildersetCreationTimestamp(String value)[Output Only] Creation timestamp in RFC3339 text format.SslCertificate.BuildersetCreationTimestampBytes(com.google.protobuf.ByteString value)[Output Only] Creation timestamp in RFC3339 text format.SslCertificate.BuildersetDescription(String value)An optional description of this resource.SslCertificate.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)An optional description of this resource.SslCertificate.BuildersetExpireTime(String value)[Output Only] Expire time of the certificate.SslCertificate.BuildersetExpireTimeBytes(com.google.protobuf.ByteString value)[Output Only] Expire time of the certificate.SslCertificate.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)SslCertificate.BuildersetId(long value)[Output Only] The unique identifier for the resource.SslCertificate.BuildersetKind(String value)[Output Only] Type of the resource.SslCertificate.BuildersetKindBytes(com.google.protobuf.ByteString value)[Output Only] Type of the resource.SslCertificate.BuildersetManaged(SslCertificateManagedSslCertificate value)Configuration and status of a managed SSL certificate.SslCertificate.BuildersetManaged(SslCertificateManagedSslCertificate.Builder builderForValue)Configuration and status of a managed SSL certificate.SslCertificate.BuildersetName(String value)Name of the resource.SslCertificate.BuildersetNameBytes(com.google.protobuf.ByteString value)Name of the resource.SslCertificate.BuildersetPrivateKey(String value)A value read into memory from a write-only private key file.SslCertificate.BuildersetPrivateKeyBytes(com.google.protobuf.ByteString value)A value read into memory from a write-only private key file.SslCertificate.BuildersetRegion(String value)[Output Only] URL of the region where the regional SSL Certificate resides.SslCertificate.BuildersetRegionBytes(com.google.protobuf.ByteString value)[Output Only] URL of the region where the regional SSL Certificate resides.SslCertificate.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)SslCertificate.BuildersetSelfLink(String value)[Output only] Server-defined URL for the resource.SslCertificate.BuildersetSelfLinkBytes(com.google.protobuf.ByteString value)[Output only] Server-defined URL for the resource.SslCertificate.BuildersetSelfManaged(SslCertificateSelfManagedSslCertificate value)Configuration and status of a self-managed SSL certificate.SslCertificate.BuildersetSelfManaged(SslCertificateSelfManagedSslCertificate.Builder builderForValue)Configuration and status of a self-managed SSL certificate.SslCertificate.BuildersetSubjectAlternativeNames(int index, String value)[Output Only] Domains associated with the certificate via Subject Alternative Name.SslCertificate.BuildersetType(String value)(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED".SslCertificate.BuildersetTypeBytes(com.google.protobuf.ByteString value)(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED".SslCertificate.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<SslCertificate.Builder>
-
clear
public SslCertificate.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<SslCertificate.Builder>
-
getDefaultInstanceForType
public SslCertificate getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public SslCertificate build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SslCertificate buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SslCertificate.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SslCertificate.Builder>
-
setField
public SslCertificate.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SslCertificate.Builder>
-
clearField
public SslCertificate.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SslCertificate.Builder>
-
clearOneof
public SslCertificate.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SslCertificate.Builder>
-
setRepeatedField
public SslCertificate.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SslCertificate.Builder>
-
addRepeatedField
public SslCertificate.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SslCertificate.Builder>
-
mergeFrom
public SslCertificate.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SslCertificate.Builder>
-
mergeFrom
public SslCertificate.Builder mergeFrom(SslCertificate other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
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.
-
setCertificate
public SslCertificate.Builder setCertificate(String value)
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
public SslCertificate.Builder 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
public SslCertificate.Builder setCertificateBytes(com.google.protobuf.ByteString value)
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 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.
-
setCreationTimestamp
public SslCertificate.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
public SslCertificate.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
public SslCertificate.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 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
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.
-
setDescription
public SslCertificate.Builder setDescription(String value)
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
public SslCertificate.Builder 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
public SslCertificate.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
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] 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.
-
setExpireTime
public SslCertificate.Builder setExpireTime(String value)
[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
public SslCertificate.Builder clearExpireTime()
[Output Only] Expire time of the certificate. RFC3339
optional string expire_time = 440691181;- Returns:
- This builder for chaining.
-
setExpireTimeBytes
public SslCertificate.Builder setExpireTimeBytes(com.google.protobuf.ByteString value)
[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
public SslCertificate.Builder setId(long value)
[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
public SslCertificate.Builder 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] 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.
-
setKind
public SslCertificate.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
public SslCertificate.Builder clearKind()
[Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
public SslCertificate.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource. Always compute#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
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.
-
setManaged
public SslCertificate.Builder setManaged(SslCertificateManagedSslCertificate value)
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
public SslCertificate.Builder mergeManaged(SslCertificateManagedSslCertificate value)
Configuration and status of a managed SSL certificate.
optional .google.cloud.compute.v1.SslCertificateManagedSslCertificate managed = 298389407;
-
clearManaged
public SslCertificate.Builder clearManaged()
Configuration and status of a managed SSL certificate.
optional .google.cloud.compute.v1.SslCertificateManagedSslCertificate managed = 298389407;
-
getManagedBuilder
public SslCertificateManagedSslCertificate.Builder getManagedBuilder()
Configuration and status of a managed SSL certificate.
optional .google.cloud.compute.v1.SslCertificateManagedSslCertificate managed = 298389407;
-
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.
-
setName
public SslCertificate.Builder setName(String value)
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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public SslCertificate.Builder clearName()
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:
- This builder for chaining.
-
setNameBytes
public SslCertificate.Builder setNameBytes(com.google.protobuf.ByteString value)
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;- 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
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.
-
setPrivateKey
public SslCertificate.Builder setPrivateKey(String value)
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
public SslCertificate.Builder 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
public SslCertificate.Builder setPrivateKeyBytes(com.google.protobuf.ByteString value)
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] 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.
-
setRegion
public SslCertificate.Builder setRegion(String value)
[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
public SslCertificate.Builder clearRegion()
[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
public SslCertificate.Builder setRegionBytes(com.google.protobuf.ByteString value)
[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
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.
-
setSelfLink
public SslCertificate.Builder setSelfLink(String value)
[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
public SslCertificate.Builder clearSelfLink()
[Output only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
public SslCertificate.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[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
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.
-
setSelfManaged
public SslCertificate.Builder setSelfManaged(SslCertificateSelfManagedSslCertificate value)
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
public SslCertificate.Builder mergeSelfManaged(SslCertificateSelfManagedSslCertificate value)
Configuration and status of a self-managed SSL certificate.
optional .google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate self_managed = 329284012;
-
clearSelfManaged
public SslCertificate.Builder clearSelfManaged()
Configuration and status of a self-managed SSL certificate.
optional .google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate self_managed = 329284012;
-
getSelfManagedBuilder
public SslCertificateSelfManagedSslCertificate.Builder getSelfManagedBuilder()
Configuration and status of a self-managed SSL certificate.
optional .google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate self_managed = 329284012;
-
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.
-
setSubjectAlternativeNames
public SslCertificate.Builder setSubjectAlternativeNames(int index, String value)
[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
public SslCertificate.Builder addSubjectAlternativeNames(String value)
[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
public SslCertificate.Builder addAllSubjectAlternativeNames(Iterable<String> values)
[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
public SslCertificate.Builder clearSubjectAlternativeNames()
[Output Only] Domains associated with the certificate via Subject Alternative Name.
repeated string subject_alternative_names = 528807907;- Returns:
- This builder for chaining.
-
addSubjectAlternativeNamesBytes
public SslCertificate.Builder addSubjectAlternativeNamesBytes(com.google.protobuf.ByteString value)
[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 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.
-
setType
public SslCertificate.Builder setType(String value)
(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;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public SslCertificate.Builder clearType()
(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:
- This builder for chaining.
-
setTypeBytes
public SslCertificate.Builder setTypeBytes(com.google.protobuf.ByteString value)
(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;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final SslCertificate.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SslCertificate.Builder>
-
mergeUnknownFields
public final SslCertificate.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SslCertificate.Builder>
-
-