Class AuthorizedCertificate.Builder (2.74.0)

publicstaticfinalclass AuthorizedCertificate.BuilderextendsGeneratedMessageV3.Builder<AuthorizedCertificate.Builder>implementsAuthorizedCertificateOrBuilder

An SSL certificate that a user has been authorized to administer. A user is authorized to administer any certificate that applies to one of their authorized domains.

Protobuf type google.appengine.v1.AuthorizedCertificate

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDomainNames(Iterable<String> values)

publicAuthorizedCertificate.BuilderaddAllDomainNames(Iterable<String>values)

Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.

@OutputOnly

repeated string domain_names = 4;

Parameter
Name Description
values Iterable<String>

The domainNames to add.

Returns
Type Description
AuthorizedCertificate.Builder

This builder for chaining.

addAllVisibleDomainMappings(Iterable<String> values)

publicAuthorizedCertificate.BuilderaddAllVisibleDomainMappings(Iterable<String>values)

The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.

This may not represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.

Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.

@OutputOnly

repeated string visible_domain_mappings = 8;

Parameter
Name Description
values Iterable<String>

The visibleDomainMappings to add.

Returns
Type Description
AuthorizedCertificate.Builder

This builder for chaining.

addDomainNames(String value)

publicAuthorizedCertificate.BuilderaddDomainNames(Stringvalue)

Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.

@OutputOnly

repeated string domain_names = 4;

Parameter
Name Description
value String

The domainNames to add.

Returns
Type Description
AuthorizedCertificate.Builder

This builder for chaining.

addDomainNamesBytes(ByteString value)

publicAuthorizedCertificate.BuilderaddDomainNamesBytes(ByteStringvalue)

Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.

@OutputOnly

repeated string domain_names = 4;

Parameter
Name Description
value ByteString

The bytes of the domainNames to add.

Returns
Type Description
AuthorizedCertificate.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicAuthorizedCertificate.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AuthorizedCertificate.Builder
Overrides

addVisibleDomainMappings(String value)

publicAuthorizedCertificate.BuilderaddVisibleDomainMappings(Stringvalue)

The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.

This may not represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.

Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.

@OutputOnly

repeated string visible_domain_mappings = 8;

Parameter
Name Description
value String

The visibleDomainMappings to add.

Returns
Type Description
AuthorizedCertificate.Builder

This builder for chaining.

addVisibleDomainMappingsBytes(ByteString value)

publicAuthorizedCertificate.BuilderaddVisibleDomainMappingsBytes(ByteStringvalue)

The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.

This may not represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.

Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.

@OutputOnly

repeated string visible_domain_mappings = 8;

Parameter
Name Description
value ByteString

The bytes of the visibleDomainMappings to add.

Returns
Type Description
AuthorizedCertificate.Builder

This builder for chaining.

build()

publicAuthorizedCertificatebuild()
Returns
Type Description
AuthorizedCertificate

buildPartial()

publicAuthorizedCertificatebuildPartial()
Returns
Type Description
AuthorizedCertificate

clear()

publicAuthorizedCertificate.Builderclear()
Returns
Type Description
AuthorizedCertificate.Builder
Overrides

clearCertificateRawData()

publicAuthorizedCertificate.BuilderclearCertificateRawData()

The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.

.google.appengine.v1.CertificateRawData certificate_raw_data = 6;

Returns
Type Description
AuthorizedCertificate.Builder

clearDisplayName()

publicAuthorizedCertificate.BuilderclearDisplayName()

The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate.

string display_name = 3;

Returns
Type Description
AuthorizedCertificate.Builder

This builder for chaining.

clearDomainMappingsCount()

publicAuthorizedCertificate.BuilderclearDomainMappingsCount()

Aggregate count of the domain mappings with this certificate mapped. This count includes domain mappings on applications for which the user does not have VIEWER permissions.

Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.

@OutputOnly

int32 domain_mappings_count = 9;

Returns
Type Description
AuthorizedCertificate.Builder

This builder for chaining.

clearDomainNames()

publicAuthorizedCertificate.BuilderclearDomainNames()

Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.

@OutputOnly

repeated string domain_names = 4;

Returns
Type Description
AuthorizedCertificate.Builder

This builder for chaining.

clearExpireTime()

publicAuthorizedCertificate.BuilderclearExpireTime()

The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using AuthorizedCertificates.UpdateAuthorizedCertificate.

@OutputOnly

.google.protobuf.Timestamp expire_time = 5;

Returns
Type Description
AuthorizedCertificate.Builder

clearField(Descriptors.FieldDescriptor field)

publicAuthorizedCertificate.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AuthorizedCertificate.Builder
Overrides

clearId()

publicAuthorizedCertificate.BuilderclearId()

Relative name of the certificate. This is a unique value autogenerated on AuthorizedCertificate resource creation. Example: 12345.

@OutputOnly

string id = 2;

Returns
Type Description
AuthorizedCertificate.Builder

This builder for chaining.

clearManagedCertificate()

publicAuthorizedCertificate.BuilderclearManagedCertificate()

Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.

@OutputOnly

.google.appengine.v1.ManagedCertificate managed_certificate = 7;

Returns
Type Description
AuthorizedCertificate.Builder

clearName()

publicAuthorizedCertificate.BuilderclearName()

Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.

@OutputOnly

string name = 1;

Returns
Type Description
AuthorizedCertificate.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicAuthorizedCertificate.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AuthorizedCertificate.Builder
Overrides

clearVisibleDomainMappings()

publicAuthorizedCertificate.BuilderclearVisibleDomainMappings()

The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.

This may not represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.

Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.

@OutputOnly

repeated string visible_domain_mappings = 8;

Returns
Type Description
AuthorizedCertificate.Builder

This builder for chaining.

clone()

publicAuthorizedCertificate.Builderclone()
Returns
Type Description
AuthorizedCertificate.Builder
Overrides

getCertificateRawData()

publicCertificateRawDatagetCertificateRawData()

The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.

.google.appengine.v1.CertificateRawData certificate_raw_data = 6;

Returns
Type Description
CertificateRawData

The certificateRawData.

getCertificateRawDataBuilder()

publicCertificateRawData.BuildergetCertificateRawDataBuilder()

The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.

.google.appengine.v1.CertificateRawData certificate_raw_data = 6;

Returns
Type Description
CertificateRawData.Builder

getCertificateRawDataOrBuilder()

publicCertificateRawDataOrBuildergetCertificateRawDataOrBuilder()

The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.

.google.appengine.v1.CertificateRawData certificate_raw_data = 6;

Returns
Type Description
CertificateRawDataOrBuilder

getDefaultInstanceForType()

publicAuthorizedCertificategetDefaultInstanceForType()
Returns
Type Description
AuthorizedCertificate

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

publicStringgetDisplayName()

The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate.

string display_name = 3;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

publicByteStringgetDisplayNameBytes()

The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate.

string display_name = 3;

Returns
Type Description
ByteString

The bytes for displayName.

getDomainMappingsCount()

publicintgetDomainMappingsCount()

Aggregate count of the domain mappings with this certificate mapped. This count includes domain mappings on applications for which the user does not have VIEWER permissions.

Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.

@OutputOnly

int32 domain_mappings_count = 9;

Returns
Type Description
int

The domainMappingsCount.

getDomainNames(int index)

publicStringgetDomainNames(intindex)

Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.

@OutputOnly

repeated string domain_names = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The domainNames at the given index.

getDomainNamesBytes(int index)

publicByteStringgetDomainNamesBytes(intindex)

Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.

@OutputOnly

repeated string domain_names = 4;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the domainNames at the given index.

getDomainNamesCount()

publicintgetDomainNamesCount()

Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.

@OutputOnly

repeated string domain_names = 4;

Returns
Type Description
int

The count of domainNames.

getDomainNamesList()

publicProtocolStringListgetDomainNamesList()

Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.

@OutputOnly

repeated string domain_names = 4;

Returns
Type Description
ProtocolStringList

A list containing the domainNames.

getExpireTime()

publicTimestampgetExpireTime()

The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using AuthorizedCertificates.UpdateAuthorizedCertificate.

@OutputOnly

.google.protobuf.Timestamp expire_time = 5;

Returns
Type Description
Timestamp

The expireTime.

getExpireTimeBuilder()

publicTimestamp.BuildergetExpireTimeBuilder()

The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using AuthorizedCertificates.UpdateAuthorizedCertificate.

@OutputOnly

.google.protobuf.Timestamp expire_time = 5;

Returns
Type Description
Builder

getExpireTimeOrBuilder()

publicTimestampOrBuildergetExpireTimeOrBuilder()

The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using AuthorizedCertificates.UpdateAuthorizedCertificate.

@OutputOnly

.google.protobuf.Timestamp expire_time = 5;

Returns
Type Description
TimestampOrBuilder

getId()

publicStringgetId()

Relative name of the certificate. This is a unique value autogenerated on AuthorizedCertificate resource creation. Example: 12345.

@OutputOnly

string id = 2;

Returns
Type Description
String

The id.

getIdBytes()

publicByteStringgetIdBytes()

Relative name of the certificate. This is a unique value autogenerated on AuthorizedCertificate resource creation. Example: 12345.

@OutputOnly

string id = 2;

Returns
Type Description
ByteString

The bytes for id.

getManagedCertificate()

publicManagedCertificategetManagedCertificate()

Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.

@OutputOnly

.google.appengine.v1.ManagedCertificate managed_certificate = 7;

Returns
Type Description
ManagedCertificate

The managedCertificate.

getManagedCertificateBuilder()

publicManagedCertificate.BuildergetManagedCertificateBuilder()

Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.

@OutputOnly

.google.appengine.v1.ManagedCertificate managed_certificate = 7;

Returns
Type Description
ManagedCertificate.Builder

getManagedCertificateOrBuilder()

publicManagedCertificateOrBuildergetManagedCertificateOrBuilder()

Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.

@OutputOnly

.google.appengine.v1.ManagedCertificate managed_certificate = 7;

Returns
Type Description
ManagedCertificateOrBuilder

getName()

publicStringgetName()

Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.

@OutputOnly

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

publicByteStringgetNameBytes()

Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.

@OutputOnly

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getVisibleDomainMappings(int index)

publicStringgetVisibleDomainMappings(intindex)

The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.

This may not represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.

Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.

@OutputOnly

repeated string visible_domain_mappings = 8;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The visibleDomainMappings at the given index.

getVisibleDomainMappingsBytes(int index)

publicByteStringgetVisibleDomainMappingsBytes(intindex)

The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.

This may not represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.

Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.

@OutputOnly

repeated string visible_domain_mappings = 8;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the visibleDomainMappings at the given index.

getVisibleDomainMappingsCount()

publicintgetVisibleDomainMappingsCount()

The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.

This may not represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.

Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.

@OutputOnly

repeated string visible_domain_mappings = 8;

Returns
Type Description
int

The count of visibleDomainMappings.

getVisibleDomainMappingsList()

publicProtocolStringListgetVisibleDomainMappingsList()

The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.

This may not represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.

Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.

@OutputOnly

repeated string visible_domain_mappings = 8;

Returns
Type Description
ProtocolStringList

A list containing the visibleDomainMappings.

hasCertificateRawData()

publicbooleanhasCertificateRawData()

The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.

.google.appengine.v1.CertificateRawData certificate_raw_data = 6;

Returns
Type Description
boolean

Whether the certificateRawData field is set.

hasExpireTime()

publicbooleanhasExpireTime()

The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using AuthorizedCertificates.UpdateAuthorizedCertificate.

@OutputOnly

.google.protobuf.Timestamp expire_time = 5;

Returns
Type Description
boolean

Whether the expireTime field is set.

hasManagedCertificate()

publicbooleanhasManagedCertificate()

Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.

@OutputOnly

.google.appengine.v1.ManagedCertificate managed_certificate = 7;

Returns
Type Description
boolean

Whether the managedCertificate field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeCertificateRawData(CertificateRawData value)

publicAuthorizedCertificate.BuildermergeCertificateRawData(CertificateRawDatavalue)

The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.

.google.appengine.v1.CertificateRawData certificate_raw_data = 6;

Parameter
Name Description
value CertificateRawData
Returns
Type Description
AuthorizedCertificate.Builder

mergeExpireTime(Timestamp value)

publicAuthorizedCertificate.BuildermergeExpireTime(Timestampvalue)

The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using AuthorizedCertificates.UpdateAuthorizedCertificate.

@OutputOnly

.google.protobuf.Timestamp expire_time = 5;

Parameter
Name Description
value Timestamp
Returns
Type Description
AuthorizedCertificate.Builder

mergeFrom(AuthorizedCertificate other)

publicAuthorizedCertificate.BuildermergeFrom(AuthorizedCertificateother)
Parameter
Name Description
other AuthorizedCertificate
Returns
Type Description
AuthorizedCertificate.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicAuthorizedCertificate.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuthorizedCertificate.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicAuthorizedCertificate.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
AuthorizedCertificate.Builder
Overrides

mergeManagedCertificate(ManagedCertificate value)

publicAuthorizedCertificate.BuildermergeManagedCertificate(ManagedCertificatevalue)

Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.

@OutputOnly

.google.appengine.v1.ManagedCertificate managed_certificate = 7;

Parameter
Name Description
value ManagedCertificate
Returns
Type Description
AuthorizedCertificate.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalAuthorizedCertificate.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AuthorizedCertificate.Builder
Overrides

setCertificateRawData(CertificateRawData value)

publicAuthorizedCertificate.BuildersetCertificateRawData(CertificateRawDatavalue)

The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.

.google.appengine.v1.CertificateRawData certificate_raw_data = 6;

Parameter
Name Description
value CertificateRawData
Returns
Type Description
AuthorizedCertificate.Builder

setCertificateRawData(CertificateRawData.Builder builderForValue)

publicAuthorizedCertificate.BuildersetCertificateRawData(CertificateRawData.BuilderbuilderForValue)

The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.

.google.appengine.v1.CertificateRawData certificate_raw_data = 6;

Parameter
Name Description
builderForValue CertificateRawData.Builder
Returns
Type Description
AuthorizedCertificate.Builder

setDisplayName(String value)

publicAuthorizedCertificate.BuildersetDisplayName(Stringvalue)

The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate.

string display_name = 3;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
AuthorizedCertificate.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

publicAuthorizedCertificate.BuildersetDisplayNameBytes(ByteStringvalue)

The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate.

string display_name = 3;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
AuthorizedCertificate.Builder

This builder for chaining.

setDomainMappingsCount(int value)

publicAuthorizedCertificate.BuildersetDomainMappingsCount(intvalue)

Aggregate count of the domain mappings with this certificate mapped. This count includes domain mappings on applications for which the user does not have VIEWER permissions.

Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.

@OutputOnly

int32 domain_mappings_count = 9;

Parameter
Name Description
value int

The domainMappingsCount to set.

Returns
Type Description
AuthorizedCertificate.Builder

This builder for chaining.

setDomainNames(int index, String value)

publicAuthorizedCertificate.BuildersetDomainNames(intindex,Stringvalue)

Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.

@OutputOnly

repeated string domain_names = 4;

Parameters
Name Description
index int

The index to set the value at.

value String

The domainNames to set.

Returns
Type Description
AuthorizedCertificate.Builder

This builder for chaining.

setExpireTime(Timestamp value)

publicAuthorizedCertificate.BuildersetExpireTime(Timestampvalue)

The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using AuthorizedCertificates.UpdateAuthorizedCertificate.

@OutputOnly

.google.protobuf.Timestamp expire_time = 5;

Parameter
Name Description
value Timestamp
Returns
Type Description
AuthorizedCertificate.Builder

setExpireTime(Timestamp.Builder builderForValue)

publicAuthorizedCertificate.BuildersetExpireTime(Timestamp.BuilderbuilderForValue)

The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using AuthorizedCertificates.UpdateAuthorizedCertificate.

@OutputOnly

.google.protobuf.Timestamp expire_time = 5;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AuthorizedCertificate.Builder

setField(Descriptors.FieldDescriptor field, Object value)

publicAuthorizedCertificate.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AuthorizedCertificate.Builder
Overrides

setId(String value)

publicAuthorizedCertificate.BuildersetId(Stringvalue)

Relative name of the certificate. This is a unique value autogenerated on AuthorizedCertificate resource creation. Example: 12345.

@OutputOnly

string id = 2;

Parameter
Name Description
value String

The id to set.

Returns
Type Description
AuthorizedCertificate.Builder

This builder for chaining.

setIdBytes(ByteString value)

publicAuthorizedCertificate.BuildersetIdBytes(ByteStringvalue)

Relative name of the certificate. This is a unique value autogenerated on AuthorizedCertificate resource creation. Example: 12345.

@OutputOnly

string id = 2;

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
AuthorizedCertificate.Builder

This builder for chaining.

setManagedCertificate(ManagedCertificate value)

publicAuthorizedCertificate.BuildersetManagedCertificate(ManagedCertificatevalue)

Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.

@OutputOnly

.google.appengine.v1.ManagedCertificate managed_certificate = 7;

Parameter
Name Description
value ManagedCertificate
Returns
Type Description
AuthorizedCertificate.Builder

setManagedCertificate(ManagedCertificate.Builder builderForValue)

publicAuthorizedCertificate.BuildersetManagedCertificate(ManagedCertificate.BuilderbuilderForValue)

Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.

@OutputOnly

.google.appengine.v1.ManagedCertificate managed_certificate = 7;

Parameter
Name Description
builderForValue ManagedCertificate.Builder
Returns
Type Description
AuthorizedCertificate.Builder

setName(String value)

publicAuthorizedCertificate.BuildersetName(Stringvalue)

Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.

@OutputOnly

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
AuthorizedCertificate.Builder

This builder for chaining.

setNameBytes(ByteString value)

publicAuthorizedCertificate.BuildersetNameBytes(ByteStringvalue)

Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.

@OutputOnly

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
AuthorizedCertificate.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicAuthorizedCertificate.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AuthorizedCertificate.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalAuthorizedCertificate.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AuthorizedCertificate.Builder
Overrides

setVisibleDomainMappings(int index, String value)

publicAuthorizedCertificate.BuildersetVisibleDomainMappings(intindex,Stringvalue)

The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.

This may not represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.

Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.

@OutputOnly

repeated string visible_domain_mappings = 8;

Parameters
Name Description
index int

The index to set the value at.

value String

The visibleDomainMappings to set.

Returns
Type Description
AuthorizedCertificate.Builder

This builder for chaining.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.