Class SslSettings.Builder (2.33.0)

public static final class SslSettings.Builder extends GeneratedMessageV3.Builder<SslSettings.Builder> implements SslSettingsOrBuilder

SSL configuration for a DomainMapping resource.

Protobuf type google.appengine.v1.SslSettings

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SslSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SslSettings.Builder
Overrides

build()

public SslSettings build()
Returns
TypeDescription
SslSettings

buildPartial()

public SslSettings buildPartial()
Returns
TypeDescription
SslSettings

clear()

public SslSettings.Builder clear()
Returns
TypeDescription
SslSettings.Builder
Overrides

clearCertificateId()

public SslSettings.Builder clearCertificateId()

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
TypeDescription
SslSettings.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SslSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SslSettings.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SslSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SslSettings.Builder
Overrides

clearPendingManagedCertificateId()

public SslSettings.Builder clearPendingManagedCertificateId()

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
TypeDescription
SslSettings.Builder

This builder for chaining.

clearSslManagementType()

public SslSettings.Builder clearSslManagementType()

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
TypeDescription
SslSettings.Builder

This builder for chaining.

clone()

public SslSettings.Builder clone()
Returns
TypeDescription
SslSettings.Builder
Overrides

getCertificateId()

public String getCertificateId()

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
TypeDescription
String

The certificateId.

getCertificateIdBytes()

public ByteString getCertificateIdBytes()

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
TypeDescription
ByteString

The bytes for certificateId.

getDefaultInstanceForType()

public SslSettings getDefaultInstanceForType()
Returns
TypeDescription
SslSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPendingManagedCertificateId()

public String getPendingManagedCertificateId()

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
TypeDescription
String

The pendingManagedCertificateId.

getPendingManagedCertificateIdBytes()

public ByteString getPendingManagedCertificateIdBytes()

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
TypeDescription
ByteString

The bytes for pendingManagedCertificateId.

getSslManagementType()

public SslSettings.SslManagementType getSslManagementType()

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
TypeDescription
SslSettings.SslManagementType

The sslManagementType.

getSslManagementTypeValue()

public int getSslManagementTypeValue()

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
TypeDescription
int

The enum numeric value on the wire for sslManagementType.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SslSettings other)

public SslSettings.Builder mergeFrom(SslSettings other)
Parameter
NameDescription
otherSslSettings
Returns
TypeDescription
SslSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SslSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SslSettings.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SslSettings.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SslSettings.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SslSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SslSettings.Builder
Overrides

setCertificateId(String value)

public SslSettings.Builder setCertificateId(String value)

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
NameDescription
valueString

The certificateId to set.

Returns
TypeDescription
SslSettings.Builder

This builder for chaining.

setCertificateIdBytes(ByteString value)

public SslSettings.Builder setCertificateIdBytes(ByteString value)

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
NameDescription
valueByteString

The bytes for certificateId to set.

Returns
TypeDescription
SslSettings.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SslSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SslSettings.Builder
Overrides

setPendingManagedCertificateId(String value)

public SslSettings.Builder setPendingManagedCertificateId(String value)

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
NameDescription
valueString

The pendingManagedCertificateId to set.

Returns
TypeDescription
SslSettings.Builder

This builder for chaining.

setPendingManagedCertificateIdBytes(ByteString value)

public SslSettings.Builder setPendingManagedCertificateIdBytes(ByteString value)

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
NameDescription
valueByteString

The bytes for pendingManagedCertificateId to set.

Returns
TypeDescription
SslSettings.Builder

This builder for chaining.

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

public SslSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SslSettings.Builder
Overrides

setSslManagementType(SslSettings.SslManagementType value)

public SslSettings.Builder setSslManagementType(SslSettings.SslManagementType value)

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
NameDescription
valueSslSettings.SslManagementType

The sslManagementType to set.

Returns
TypeDescription
SslSettings.Builder

This builder for chaining.

setSslManagementTypeValue(int value)

public SslSettings.Builder setSslManagementTypeValue(int value)

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
NameDescription
valueint

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

Returns
TypeDescription
SslSettings.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SslSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SslSettings.Builder
Overrides