Class Certificate.ManagedCertificate.Builder

    • 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<Certificate.ManagedCertificate.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<Certificate.ManagedCertificate.Builder>
      • getDefaultInstanceForType

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Certificate.ManagedCertificate.Builder>
      • 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.
      • setDomains

        public Certificate.ManagedCertificate.Builder setDomains​(int index,
                                                                 String value)
         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];
        Parameters:
        index - The index to set the value at.
        value - The domains to set.
        Returns:
        This builder for chaining.
      • addDomains

        public Certificate.ManagedCertificate.Builder addDomains​(String value)
         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];
        Parameters:
        value - The domains to add.
        Returns:
        This builder for chaining.
      • addAllDomains

        public Certificate.ManagedCertificate.Builder addAllDomains​(Iterable<String> values)
         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];
        Parameters:
        values - The domains to add.
        Returns:
        This builder for chaining.
      • clearDomains

        public Certificate.ManagedCertificate.Builder clearDomains()
         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];
        Returns:
        This builder for chaining.
      • addDomainsBytes

        public Certificate.ManagedCertificate.Builder addDomainsBytes​(com.google.protobuf.ByteString value)
         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];
        Parameters:
        value - The bytes of the domains to add.
        Returns:
        This builder for chaining.
      • 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.
      • setDnsAuthorizations

        public Certificate.ManagedCertificate.Builder setDnsAuthorizations​(int index,
                                                                           String value)
         Immutable. Authorizations that will be used for performing domain
         authorization.
         
        repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Parameters:
        index - The index to set the value at.
        value - The dnsAuthorizations to set.
        Returns:
        This builder for chaining.
      • addDnsAuthorizations

        public Certificate.ManagedCertificate.Builder addDnsAuthorizations​(String value)
         Immutable. Authorizations that will be used for performing domain
         authorization.
         
        repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The dnsAuthorizations to add.
        Returns:
        This builder for chaining.
      • addAllDnsAuthorizations

        public Certificate.ManagedCertificate.Builder addAllDnsAuthorizations​(Iterable<String> values)
         Immutable. Authorizations that will be used for performing domain
         authorization.
         
        repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Parameters:
        values - The dnsAuthorizations to add.
        Returns:
        This builder for chaining.
      • clearDnsAuthorizations

        public Certificate.ManagedCertificate.Builder clearDnsAuthorizations()
         Immutable. Authorizations that will be used for performing domain
         authorization.
         
        repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • addDnsAuthorizationsBytes

        public Certificate.ManagedCertificate.Builder addDnsAuthorizationsBytes​(com.google.protobuf.ByteString value)
         Immutable. Authorizations that will be used for performing domain
         authorization.
         
        repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes of the dnsAuthorizations to add.
        Returns:
        This builder for chaining.
      • 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.
      • setIssuanceConfig

        public Certificate.ManagedCertificate.Builder setIssuanceConfig​(String value)
         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) = { ... }
        Parameters:
        value - The issuanceConfig to set.
        Returns:
        This builder for chaining.
      • clearIssuanceConfig

        public Certificate.ManagedCertificate.Builder clearIssuanceConfig()
         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) = { ... }
        Returns:
        This builder for chaining.
      • setIssuanceConfigBytes

        public Certificate.ManagedCertificate.Builder setIssuanceConfigBytes​(com.google.protobuf.ByteString value)
         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) = { ... }
        Parameters:
        value - The bytes for issuanceConfig to set.
        Returns:
        This builder for chaining.
      • 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.
      • setStateValue

        public Certificate.ManagedCertificate.Builder setStateValue​(int value)
         Output only. State of the managed certificate resource.
         
        .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for state to set.
        Returns:
        This builder for chaining.
      • setState

        public Certificate.ManagedCertificate.Builder setState​(Certificate.ManagedCertificate.State value)
         Output only. State of the managed certificate resource.
         
        .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public Certificate.ManagedCertificate.Builder clearState()
         Output only. State of the managed certificate resource.
         
        .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • 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.
      • clearProvisioningIssue

        public Certificate.ManagedCertificate.Builder clearProvisioningIssue()
         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];
      • getProvisioningIssueBuilder

        public Certificate.ManagedCertificate.ProvisioningIssue.Builder getProvisioningIssueBuilder()
         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];
      • 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
      • setAuthorizationAttemptInfo

        public Certificate.ManagedCertificate.Builder setAuthorizationAttemptInfo​(int index,
                                                                                  Certificate.ManagedCertificate.AuthorizationAttemptInfo value)
         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];
      • addAuthorizationAttemptInfo

        public Certificate.ManagedCertificate.Builder addAuthorizationAttemptInfo​(Certificate.ManagedCertificate.AuthorizationAttemptInfo value)
         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];
      • addAuthorizationAttemptInfo

        public Certificate.ManagedCertificate.Builder addAuthorizationAttemptInfo​(int index,
                                                                                  Certificate.ManagedCertificate.AuthorizationAttemptInfo value)
         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];
      • clearAuthorizationAttemptInfo

        public Certificate.ManagedCertificate.Builder clearAuthorizationAttemptInfo()
         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];
      • removeAuthorizationAttemptInfo

        public Certificate.ManagedCertificate.Builder removeAuthorizationAttemptInfo​(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];
      • getAuthorizationAttemptInfoBuilder

        public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder getAuthorizationAttemptInfoBuilder​(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];
      • addAuthorizationAttemptInfoBuilder

        public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder addAuthorizationAttemptInfoBuilder()
         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];
      • addAuthorizationAttemptInfoBuilder

        public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder addAuthorizationAttemptInfoBuilder​(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];
      • getAuthorizationAttemptInfoBuilderList

        public List<Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder> getAuthorizationAttemptInfoBuilderList()
         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];