Class SslSettings.Builder (2.36.0)

publicstaticfinalclass SslSettings.BuilderextendsGeneratedMessageV3.Builder<SslSettings.Builder>implementsSslSettingsOrBuilder

SSL configuration for a DomainMapping resource.

Protobuf type google.appengine.v1.SslSettings

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicSslSettings.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SslSettings.Builder
Overrides

build()

publicSslSettingsbuild()
Returns
Type Description
SslSettings

buildPartial()

publicSslSettingsbuildPartial()
Returns
Type Description
SslSettings

clear()

publicSslSettings.Builderclear()
Returns
Type Description
SslSettings.Builder
Overrides

clearCertificateId()

publicSslSettings.BuilderclearCertificateId()

ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will remove SSL support.

By default, a managed certificate is automatically created for every domain mapping. To omit SSL support or to configure SSL manually, specify SslManagementType.MANUAL on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345.

string certificate_id = 1;

Returns
Type Description
SslSettings.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

publicSslSettings.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SslSettings.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicSslSettings.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SslSettings.Builder
Overrides

clearPendingManagedCertificateId()

publicSslSettings.BuilderclearPendingManagedCertificateId()

ID of the managed AuthorizedCertificate resource currently being provisioned, if applicable. Until the new managed certificate has been successfully provisioned, the previous SSL state will be preserved. Once the provisioning process completes, the certificate_id field will reflect the new managed certificate and this field will be left empty. To remove SSL support while there is still a pending managed certificate, clear the certificate_id field with an UpdateDomainMappingRequest.

@OutputOnly

string pending_managed_certificate_id = 4;

Returns
Type Description
SslSettings.Builder

This builder for chaining.

clearSslManagementType()

publicSslSettings.BuilderclearSslManagementType()

SSL management type for this domain. If AUTOMATIC, a managed certificate is automatically provisioned. If MANUAL, certificate_id must be manually specified in order to configure SSL for this domain.

.google.appengine.v1.SslSettings.SslManagementType ssl_management_type = 3;

Returns
Type Description
SslSettings.Builder

This builder for chaining.

clone()

publicSslSettings.Builderclone()
Returns
Type Description
SslSettings.Builder
Overrides

getCertificateId()

publicStringgetCertificateId()

ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will remove SSL support.

By default, a managed certificate is automatically created for every domain mapping. To omit SSL support or to configure SSL manually, specify SslManagementType.MANUAL on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345.

string certificate_id = 1;

Returns
Type Description
String

The certificateId.

getCertificateIdBytes()

publicByteStringgetCertificateIdBytes()

ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will remove SSL support.

By default, a managed certificate is automatically created for every domain mapping. To omit SSL support or to configure SSL manually, specify SslManagementType.MANUAL on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345.

string certificate_id = 1;

Returns
Type Description
ByteString

The bytes for certificateId.

getDefaultInstanceForType()

publicSslSettingsgetDefaultInstanceForType()
Returns
Type Description
SslSettings

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPendingManagedCertificateId()

publicStringgetPendingManagedCertificateId()

ID of the managed AuthorizedCertificate resource currently being provisioned, if applicable. Until the new managed certificate has been successfully provisioned, the previous SSL state will be preserved. Once the provisioning process completes, the certificate_id field will reflect the new managed certificate and this field will be left empty. To remove SSL support while there is still a pending managed certificate, clear the certificate_id field with an UpdateDomainMappingRequest.

@OutputOnly

string pending_managed_certificate_id = 4;

Returns
Type Description
String

The pendingManagedCertificateId.

getPendingManagedCertificateIdBytes()

publicByteStringgetPendingManagedCertificateIdBytes()

ID of the managed AuthorizedCertificate resource currently being provisioned, if applicable. Until the new managed certificate has been successfully provisioned, the previous SSL state will be preserved. Once the provisioning process completes, the certificate_id field will reflect the new managed certificate and this field will be left empty. To remove SSL support while there is still a pending managed certificate, clear the certificate_id field with an UpdateDomainMappingRequest.

@OutputOnly

string pending_managed_certificate_id = 4;

Returns
Type Description
ByteString

The bytes for pendingManagedCertificateId.

getSslManagementType()

publicSslSettings.SslManagementTypegetSslManagementType()

SSL management type for this domain. If AUTOMATIC, a managed certificate is automatically provisioned. If MANUAL, certificate_id must be manually specified in order to configure SSL for this domain.

.google.appengine.v1.SslSettings.SslManagementType ssl_management_type = 3;

Returns
Type Description
SslSettings.SslManagementType

The sslManagementType.

getSslManagementTypeValue()

publicintgetSslManagementTypeValue()

SSL management type for this domain. If AUTOMATIC, a managed certificate is automatically provisioned. If MANUAL, certificate_id must be manually specified in order to configure SSL for this domain.

.google.appengine.v1.SslSettings.SslManagementType ssl_management_type = 3;

Returns
Type Description
int

The enum numeric value on the wire for sslManagementType.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SslSettings other)

publicSslSettings.BuildermergeFrom(SslSettingsother)
Parameter
Name Description
other SslSettings
Returns
Type Description
SslSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicSslSettings.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SslSettings.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicSslSettings.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
SslSettings.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalSslSettings.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SslSettings.Builder
Overrides

setCertificateId(String value)

publicSslSettings.BuildersetCertificateId(Stringvalue)

ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will remove SSL support.

By default, a managed certificate is automatically created for every domain mapping. To omit SSL support or to configure SSL manually, specify SslManagementType.MANUAL on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345.

string certificate_id = 1;

Parameter
Name Description
value String

The certificateId to set.

Returns
Type Description
SslSettings.Builder

This builder for chaining.

setCertificateIdBytes(ByteString value)

publicSslSettings.BuildersetCertificateIdBytes(ByteStringvalue)

ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will remove SSL support.

By default, a managed certificate is automatically created for every domain mapping. To omit SSL support or to configure SSL manually, specify SslManagementType.MANUAL on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345.

string certificate_id = 1;

Parameter
Name Description
value ByteString

The bytes for certificateId to set.

Returns
Type Description
SslSettings.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

publicSslSettings.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SslSettings.Builder
Overrides

setPendingManagedCertificateId(String value)

publicSslSettings.BuildersetPendingManagedCertificateId(Stringvalue)

ID of the managed AuthorizedCertificate resource currently being provisioned, if applicable. Until the new managed certificate has been successfully provisioned, the previous SSL state will be preserved. Once the provisioning process completes, the certificate_id field will reflect the new managed certificate and this field will be left empty. To remove SSL support while there is still a pending managed certificate, clear the certificate_id field with an UpdateDomainMappingRequest.

@OutputOnly

string pending_managed_certificate_id = 4;

Parameter
Name Description
value String

The pendingManagedCertificateId to set.

Returns
Type Description
SslSettings.Builder

This builder for chaining.

setPendingManagedCertificateIdBytes(ByteString value)

publicSslSettings.BuildersetPendingManagedCertificateIdBytes(ByteStringvalue)

ID of the managed AuthorizedCertificate resource currently being provisioned, if applicable. Until the new managed certificate has been successfully provisioned, the previous SSL state will be preserved. Once the provisioning process completes, the certificate_id field will reflect the new managed certificate and this field will be left empty. To remove SSL support while there is still a pending managed certificate, clear the certificate_id field with an UpdateDomainMappingRequest.

@OutputOnly

string pending_managed_certificate_id = 4;

Parameter
Name Description
value ByteString

The bytes for pendingManagedCertificateId to set.

Returns
Type Description
SslSettings.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicSslSettings.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SslSettings.Builder
Overrides

setSslManagementType(SslSettings.SslManagementType value)

publicSslSettings.BuildersetSslManagementType(SslSettings.SslManagementTypevalue)

SSL management type for this domain. If AUTOMATIC, a managed certificate is automatically provisioned. If MANUAL, certificate_id must be manually specified in order to configure SSL for this domain.

.google.appengine.v1.SslSettings.SslManagementType ssl_management_type = 3;

Parameter
Name Description
value SslSettings.SslManagementType

The sslManagementType to set.

Returns
Type Description
SslSettings.Builder

This builder for chaining.

setSslManagementTypeValue(int value)

publicSslSettings.BuildersetSslManagementTypeValue(intvalue)

SSL management type for this domain. If AUTOMATIC, a managed certificate is automatically provisioned. If MANUAL, certificate_id must be manually specified in order to configure SSL for this domain.

.google.appengine.v1.SslSettings.SslManagementType ssl_management_type = 3;

Parameter
Name Description
value int

The enum numeric value on the wire for sslManagementType to set.

Returns
Type Description
SslSettings.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalSslSettings.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SslSettings.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.