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 class
Certificate.ManagedCertificate.AuthorizationAttemptInfo
State of the latest attempt to authorize a domain for certificate issuance.static interface
Certificate.ManagedCertificate.AuthorizationAttemptInfoOrBuilder
static class
Certificate.ManagedCertificate.Builder
Configuration and state of a Managed Certificate.static class
Certificate.ManagedCertificate.ProvisioningIssue
Information about issues with provisioning a Managed Certificate.static interface
Certificate.ManagedCertificate.ProvisioningIssueOrBuilder
static class
Certificate.ManagedCertificate.State
State 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 int
AUTHORIZATION_ATTEMPT_INFO_FIELD_NUMBER
static int
DNS_AUTHORIZATIONS_FIELD_NUMBER
static int
DOMAINS_FIELD_NUMBER
static int
ISSUANCE_CONFIG_FIELD_NUMBER
static int
PROVISIONING_ISSUE_FIELD_NUMBER
static int
STATE_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:
newInstance
in classcom.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 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:
getDomainsList
in 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:
getDomainsCount
in 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:
getDomains
in 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:
getDomainsBytes
in 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:
getDnsAuthorizationsList
in 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:
getDnsAuthorizationsCount
in 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:
getDnsAuthorizations
in 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:
getDnsAuthorizationsBytes
in 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:
getIssuanceConfig
in 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:
getIssuanceConfigBytes
in 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:
getStateValue
in 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:
getState
in 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:
hasProvisioningIssue
in 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:
getProvisioningIssue
in 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:
getProvisioningIssueOrBuilder
in 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:
getAuthorizationAttemptInfoList
in 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:
getAuthorizationAttemptInfoOrBuilderList
in 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:
getAuthorizationAttemptInfoCount
in 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:
getAuthorizationAttemptInfo
in 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:
getAuthorizationAttemptInfoOrBuilder
in interfaceCertificate.ManagedCertificateOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Certificate.ManagedCertificate.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Certificate.ManagedCertificate getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-