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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classState of the latest attempt to authorize a domain for certificate issuance.static interfacestatic final classConfiguration and state of a Managed Certificate.static final classInformation about issues with provisioning a Managed Certificate.static interfacestatic enumState of the managed certificate resource.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAuthorizationAttemptInfo(int index) Output only.intOutput only.Output only.getAuthorizationAttemptInfoOrBuilder(int index) Output only.Output only.static final com.google.protobuf.Descriptors.DescriptorgetDnsAuthorizations(int index) Immutable.com.google.protobuf.ByteStringgetDnsAuthorizationsBytes(int index) Immutable.intImmutable.com.google.protobuf.ProtocolStringListImmutable.getDomains(int index) Immutable.com.google.protobuf.ByteStringgetDomainsBytes(int index) Immutable.intImmutable.com.google.protobuf.ProtocolStringListImmutable.Immutable.com.google.protobuf.ByteStringImmutable.com.google.protobuf.Parser<Certificate.ManagedCertificate>Output only.Output only.intgetState()Output only.intOutput only.inthashCode()booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(Certificate.ManagedCertificate prototype) protected Certificate.ManagedCertificate.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Certificate.ManagedCertificate>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
internalGetFieldAccessorTablein classcom.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:
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
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
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
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
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
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
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.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static Certificate.ManagedCertificate.Builder newBuilder(Certificate.ManagedCertificate prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Certificate.ManagedCertificate.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-