Class SslSettings.Builder (0.2.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SslSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SslSettings.Builder
Overrides

build()

public SslSettings build()
Returns
Type Description
SslSettings

buildPartial()

public SslSettings buildPartial()
Returns
Type Description
SslSettings

clear()

public SslSettings.Builder clear()
Returns
Type Description
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
Type Description
SslSettings.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SslSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SslSettings.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SslSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
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
Type Description
SslSettings.Builder

This builder for chaining.

clone()

public SslSettings.Builder clone()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for certificateId.

getDefaultInstanceForType()

public SslSettings getDefaultInstanceForType()
Returns
Type Description
SslSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
int

The enum numeric value on the wire for sslManagementType.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SslSettings other)

public SslSettings.Builder mergeFrom(SslSettings other)
Parameter
Name Description
other SslSettings
Returns
Type Description
SslSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SslSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SslSettings.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SslSettings.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SslSettings.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SslSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value String

The certificateId to set.

Returns
Type Description
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
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)

public SslSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The pendingManagedCertificateId to set.

Returns
Type Description
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
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)

public SslSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value SslSettings.SslManagementType

The sslManagementType to set.

Returns
Type Description
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
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)

public final SslSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SslSettings.Builder
Overrides