Class SslSettings

  • All Implemented Interfaces:
    SslSettingsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class SslSettings
    extends com.google.protobuf.GeneratedMessageV3
    implements SslSettingsOrBuilder
     SSL configuration for a `DomainMapping` resource.
     
    Protobuf type google.appengine.v1.SslSettings
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  SslSettings.Builder
      SSL configuration for a `DomainMapping` resource.
      static class  SslSettings.SslManagementType
      The SSL management type for this domain.
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

        com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,​BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,​BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Field Detail

      • CERTIFICATE_ID_FIELD_NUMBER

        public static final int CERTIFICATE_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SSL_MANAGEMENT_TYPE_FIELD_NUMBER

        public static final int SSL_MANAGEMENT_TYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PENDING_MANAGED_CERTIFICATE_ID_FIELD_NUMBER

        public static final int PENDING_MANAGED_CERTIFICATE_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • 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.
      • 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.
      • 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.
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static SslSettings parseFrom​(ByteBuffer data)
                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static SslSettings parseFrom​(ByteBuffer data,
                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static SslSettings parseFrom​(com.google.protobuf.ByteString data)
                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static SslSettings parseFrom​(com.google.protobuf.ByteString data,
                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static SslSettings parseFrom​(byte[] data)
                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static SslSettings parseFrom​(byte[] data,
                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static SslSettings parseFrom​(com.google.protobuf.CodedInputStream input,
                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                     throws IOException
        Throws:
        IOException
      • newBuilderForType

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

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

        protected SslSettings.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static SslSettings getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<SslSettings> parser()
      • getParserForType

        public com.google.protobuf.Parser<SslSettings> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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