Class Certificate.ManagedCertificate
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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.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 typegoogle.cloud.certificatemanager.v1.Certificate.ManagedCertificate- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCertificate.ManagedCertificate.AuthorizationAttemptInfoState of the latest attempt to authorize a domain for certificate issuance.static interfaceCertificate.ManagedCertificate.AuthorizationAttemptInfoOrBuilderstatic classCertificate.ManagedCertificate.BuilderConfiguration and state of a Managed Certificate.static classCertificate.ManagedCertificate.ProvisioningIssueInformation about issues with provisioning a Managed Certificate.static interfaceCertificate.ManagedCertificate.ProvisioningIssueOrBuilderstatic classCertificate.ManagedCertificate.StateState of the managed certificate resource.-
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
-
-
Field Summary
Fields Modifier and Type Field Description static intAUTHORIZATION_ATTEMPT_INFO_FIELD_NUMBERstatic intDNS_AUTHORIZATIONS_FIELD_NUMBERstatic intDOMAINS_FIELD_NUMBERstatic intISSUANCE_CONFIG_FIELD_NUMBERstatic intPROVISIONING_ISSUE_FIELD_NUMBERstatic intSTATE_FIELD_NUMBER
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
DOMAINS_FIELD_NUMBER
public static final int DOMAINS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
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
-
STATE_FIELD_NUMBER
public static final int STATE_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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.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:
getDomainsListin interfaceCertificate.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:
getDomainsCountin interfaceCertificate.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:
getDomainsin interfaceCertificate.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:
getDomainsBytesin interfaceCertificate.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:
getDnsAuthorizationsListin interfaceCertificate.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:
getDnsAuthorizationsCountin interfaceCertificate.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:
getDnsAuthorizationsin interfaceCertificate.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:
getDnsAuthorizationsBytesin interfaceCertificate.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:
getIssuanceConfigin interfaceCertificate.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:
getIssuanceConfigBytesin interfaceCertificate.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:
getStateValuein interfaceCertificate.ManagedCertificateOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
public Certificate.ManagedCertificate.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:
getStatein interfaceCertificate.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:
hasProvisioningIssuein interfaceCertificate.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:
getProvisioningIssuein interfaceCertificate.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:
getProvisioningIssueOrBuilderin interfaceCertificate.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:
getAuthorizationAttemptInfoListin interfaceCertificate.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:
getAuthorizationAttemptInfoOrBuilderListin interfaceCertificate.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:
getAuthorizationAttemptInfoCountin interfaceCertificate.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:
getAuthorizationAttemptInfoin interfaceCertificate.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:
getAuthorizationAttemptInfoOrBuilderin interfaceCertificate.ManagedCertificateOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Certificate.ManagedCertificate.Builder newBuilder()
-
newBuilder
public static Certificate.ManagedCertificate.Builder newBuilder(Certificate.ManagedCertificate prototype)
-
toBuilder
public Certificate.ManagedCertificate.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Certificate.ManagedCertificate.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Certificate.ManagedCertificate getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-