Class SslSettings.Builder

  • All Implemented Interfaces:
    SslSettingsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    SslSettings

    public static final class SslSettings.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<SslSettings.Builder>
    implements SslSettingsOrBuilder
     SSL configuration for a `DomainMapping` resource.
     
    Protobuf type google.appengine.v1.SslSettings
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SslSettings.Builder>
      • clear

        public SslSettings.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<SslSettings.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SslSettings.Builder>
      • getDefaultInstanceForType

        public SslSettings getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public SslSettings build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public SslSettings buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public SslSettings.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<SslSettings.Builder>
      • setField

        public SslSettings.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                            Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<SslSettings.Builder>
      • clearField

        public SslSettings.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<SslSettings.Builder>
      • clearOneof

        public SslSettings.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SslSettings.Builder>
      • setRepeatedField

        public SslSettings.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    int index,
                                                    Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SslSettings.Builder>
      • addRepeatedField

        public SslSettings.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SslSettings.Builder>
      • mergeFrom

        public SslSettings.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SslSettings.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SslSettings.Builder>
      • mergeFrom

        public SslSettings.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SslSettings.Builder>
        Throws:
        IOException
      • 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;
        Specified by:
        getCertificateId in interface SslSettingsOrBuilder
        Returns:
        The certificateId.
      • getCertificateIdBytes

        public com.google.protobuf.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;
        Specified by:
        getCertificateIdBytes in interface SslSettingsOrBuilder
        Returns:
        The bytes for certificateId.
      • setCertificateId

        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;
        Parameters:
        value - The certificateId to set.
        Returns:
        This builder for chaining.
      • 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:
        This builder for chaining.
      • setCertificateIdBytes

        public SslSettings.Builder setCertificateIdBytes​(com.google.protobuf.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;
        Parameters:
        value - The bytes for certificateId to set.
        Returns:
        This builder for chaining.
      • 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;
        Specified by:
        getSslManagementTypeValue in interface SslSettingsOrBuilder
        Returns:
        The enum numeric value on the wire for sslManagementType.
      • setSslManagementTypeValue

        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;
        Parameters:
        value - The enum numeric value on the wire for sslManagementType to set.
        Returns:
        This builder for chaining.
      • 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;
        Specified by:
        getSslManagementType in interface SslSettingsOrBuilder
        Returns:
        The sslManagementType.
      • setSslManagementType

        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;
        Parameters:
        value - The sslManagementType to set.
        Returns:
        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:
        This builder for chaining.
      • 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;
        Specified by:
        getPendingManagedCertificateId in interface SslSettingsOrBuilder
        Returns:
        The pendingManagedCertificateId.
      • getPendingManagedCertificateIdBytes

        public com.google.protobuf.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;
        Specified by:
        getPendingManagedCertificateIdBytes in interface SslSettingsOrBuilder
        Returns:
        The bytes for pendingManagedCertificateId.
      • setPendingManagedCertificateId

        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;
        Parameters:
        value - The pendingManagedCertificateId to set.
        Returns:
        This builder for chaining.
      • 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:
        This builder for chaining.
      • setPendingManagedCertificateIdBytes

        public SslSettings.Builder setPendingManagedCertificateIdBytes​(com.google.protobuf.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;
        Parameters:
        value - The bytes for pendingManagedCertificateId to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final SslSettings.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SslSettings.Builder>
      • mergeUnknownFields

        public final SslSettings.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SslSettings.Builder>