Class Certificate.ManagedCertificate

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.certificatemanager.v1.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.GeneratedMessage 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:
  • Field Details

    • DOMAINS_FIELD_NUMBER

      public static final int DOMAINS_FIELD_NUMBER
      See Also:
    • DNS_AUTHORIZATIONS_FIELD_NUMBER

      public static final int DNS_AUTHORIZATIONS_FIELD_NUMBER
      See Also:
    • ISSUANCE_CONFIG_FIELD_NUMBER

      public static final int ISSUANCE_CONFIG_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • PROVISIONING_ISSUE_FIELD_NUMBER

      public static final int PROVISIONING_ISSUE_FIELD_NUMBER
      See Also:
    • AUTHORIZATION_ATTEMPT_INFO_FIELD_NUMBER

      public static final int AUTHORIZATION_ATTEMPT_INFO_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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.
    • getState

       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:
      getState in interface Certificate.ManagedCertificateOrBuilder
      Returns:
      The 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.
    • getProvisioningIssue

      public Certificate.ManagedCertificate.ProvisioningIssue getProvisioningIssue()
       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:
      getProvisioningIssue in interface Certificate.ManagedCertificateOrBuilder
      Returns:
      The provisioningIssue.
    • getProvisioningIssueOrBuilder

      public Certificate.ManagedCertificate.ProvisioningIssueOrBuilder getProvisioningIssueOrBuilder()
       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:
      getProvisioningIssueOrBuilder in interface Certificate.ManagedCertificateOrBuilder
    • getAuthorizationAttemptInfoList

      public List<Certificate.ManagedCertificate.AuthorizationAttemptInfo> getAuthorizationAttemptInfoList()
       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:
      getAuthorizationAttemptInfoList in interface Certificate.ManagedCertificateOrBuilder
    • getAuthorizationAttemptInfoOrBuilderList

      public List<? extends Certificate.ManagedCertificate.AuthorizationAttemptInfoOrBuilder> getAuthorizationAttemptInfoOrBuilderList()
       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:
      getAuthorizationAttemptInfoOrBuilderList in interface Certificate.ManagedCertificateOrBuilder
    • 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
    • getAuthorizationAttemptInfo

      public Certificate.ManagedCertificate.AuthorizationAttemptInfo getAuthorizationAttemptInfo(int index)
       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:
      getAuthorizationAttemptInfo in interface Certificate.ManagedCertificateOrBuilder
    • getAuthorizationAttemptInfoOrBuilder

      public Certificate.ManagedCertificate.AuthorizationAttemptInfoOrBuilder getAuthorizationAttemptInfoOrBuilder(int index)
       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:
      getAuthorizationAttemptInfoOrBuilder 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.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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
    • parseFrom

      public static Certificate.ManagedCertificate parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Certificate.ManagedCertificate parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Certificate.ManagedCertificate parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Certificate.ManagedCertificate parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Certificate.ManagedCertificate parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

      public static Certificate.ManagedCertificate.Builder newBuilder()
    • newBuilder

    • 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.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Certificate.ManagedCertificate getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Certificate.ManagedCertificate> parser()
    • 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.GeneratedMessage
    • getDefaultInstanceForType

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