Class Certificate.ManagedCertificate

  • All Implemented Interfaces:
    Certificate.ManagedCertificateOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
    Enclosing class:
    Certificate

    public static final class Certificate.ManagedCertificate
    extends com.google.protobuf.GeneratedMessageV3
    implements Certificate.ManagedCertificateOrBuilder
     Configuration and state of a Managed Certificate.
     Certificate Manager provisions and renews Managed Certificates
     automatically, for as long as it's authorized to do so.
     
    Protobuf type google.cloud.certificatemanager.v1.Certificate.ManagedCertificate
    See Also:
    Serialized Form
    • Field Detail

      • DNS_AUTHORIZATIONS_FIELD_NUMBER

        public static final int DNS_AUTHORIZATIONS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ISSUANCE_CONFIG_FIELD_NUMBER

        public static final int ISSUANCE_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PROVISIONING_ISSUE_FIELD_NUMBER

        public static final int PROVISIONING_ISSUE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • AUTHORIZATION_ATTEMPT_INFO_FIELD_NUMBER

        public static final int AUTHORIZATION_ATTEMPT_INFO_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
      • getDomainsList

        public com.google.protobuf.ProtocolStringList getDomainsList()
         Immutable. The domains for which a managed SSL certificate will be
         generated. Wildcard domains are only supported with DNS challenge
         resolution.
         
        repeated string domains = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getDomainsList in interface Certificate.ManagedCertificateOrBuilder
        Returns:
        A list containing the domains.
      • getDomainsCount

        public int getDomainsCount()
         Immutable. The domains for which a managed SSL certificate will be
         generated. Wildcard domains are only supported with DNS challenge
         resolution.
         
        repeated string domains = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getDomainsCount in interface Certificate.ManagedCertificateOrBuilder
        Returns:
        The count of domains.
      • getDomains

        public String getDomains​(int index)
         Immutable. The domains for which a managed SSL certificate will be
         generated. Wildcard domains are only supported with DNS challenge
         resolution.
         
        repeated string domains = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getDomains in interface Certificate.ManagedCertificateOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The domains at the given index.
      • getDomainsBytes

        public com.google.protobuf.ByteString getDomainsBytes​(int index)
         Immutable. The domains for which a managed SSL certificate will be
         generated. Wildcard domains are only supported with DNS challenge
         resolution.
         
        repeated string domains = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getDomainsBytes in interface Certificate.ManagedCertificateOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the domains at the given index.
      • getDnsAuthorizationsList

        public com.google.protobuf.ProtocolStringList getDnsAuthorizationsList()
         Immutable. Authorizations that will be used for performing domain
         authorization.
         
        repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Specified by:
        getDnsAuthorizationsList in interface Certificate.ManagedCertificateOrBuilder
        Returns:
        A list containing the dnsAuthorizations.
      • getDnsAuthorizationsCount

        public int getDnsAuthorizationsCount()
         Immutable. Authorizations that will be used for performing domain
         authorization.
         
        repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Specified by:
        getDnsAuthorizationsCount in interface Certificate.ManagedCertificateOrBuilder
        Returns:
        The count of dnsAuthorizations.
      • getDnsAuthorizations

        public String getDnsAuthorizations​(int index)
         Immutable. Authorizations that will be used for performing domain
         authorization.
         
        repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Specified by:
        getDnsAuthorizations in interface Certificate.ManagedCertificateOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The dnsAuthorizations at the given index.
      • getDnsAuthorizationsBytes

        public com.google.protobuf.ByteString getDnsAuthorizationsBytes​(int index)
         Immutable. Authorizations that will be used for performing domain
         authorization.
         
        repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Specified by:
        getDnsAuthorizationsBytes in interface Certificate.ManagedCertificateOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the dnsAuthorizations at the given index.
      • getIssuanceConfig

        public String getIssuanceConfig()
         Immutable. The resource name for a
         [CertificateIssuanceConfig][google.cloud.certificatemanager.v1.CertificateIssuanceConfig]
         used to configure private PKI certificates in the format
         `projects/*/locations/*/certificateIssuanceConfigs/*`.
         If this field is not set, the certificates will instead be publicly
         signed as documented at
         https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
         
        string issuance_config = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Specified by:
        getIssuanceConfig in interface Certificate.ManagedCertificateOrBuilder
        Returns:
        The issuanceConfig.
      • getIssuanceConfigBytes

        public com.google.protobuf.ByteString getIssuanceConfigBytes()
         Immutable. The resource name for a
         [CertificateIssuanceConfig][google.cloud.certificatemanager.v1.CertificateIssuanceConfig]
         used to configure private PKI certificates in the format
         `projects/*/locations/*/certificateIssuanceConfigs/*`.
         If this field is not set, the certificates will instead be publicly
         signed as documented at
         https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
         
        string issuance_config = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Specified by:
        getIssuanceConfigBytes in interface Certificate.ManagedCertificateOrBuilder
        Returns:
        The bytes for issuanceConfig.
      • getStateValue

        public int getStateValue()
         Output only. State of the managed certificate resource.
         
        .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateValue in interface Certificate.ManagedCertificateOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • hasProvisioningIssue

        public boolean hasProvisioningIssue()
         Output only. Information about issues with provisioning a Managed
         Certificate.
         
        .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasProvisioningIssue in interface Certificate.ManagedCertificateOrBuilder
        Returns:
        Whether the provisioningIssue field is set.
      • getAuthorizationAttemptInfoCount

        public int getAuthorizationAttemptInfoCount()
         Output only. Detailed state of the latest authorization attempt for each
         domain specified for managed certificate resource.
         
        repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getAuthorizationAttemptInfoCount in interface Certificate.ManagedCertificateOrBuilder
      • 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 Certificate.ManagedCertificate parseFrom​(ByteBuffer data)
                                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

        protected Certificate.ManagedCertificate.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Certificate.ManagedCertificate> 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 Certificate.ManagedCertificate getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder