Class AuthorizedCertificate.Builder (2.4.0)

public static final class AuthorizedCertificate.Builder extends GeneratedMessageV3.Builder<AuthorizedCertificate.Builder> implements AuthorizedCertificateOrBuilder

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllDomainNames(Iterable<String> values)

public AuthorizedCertificate.Builder addAllDomainNames(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
NameDescription
valuesIterable<String>

The domainNames to add.

Returns
TypeDescription
AuthorizedCertificate.Builder

This builder for chaining.

addAllVisibleDomainMappings(Iterable<String> values)

public AuthorizedCertificate.Builder addAllVisibleDomainMappings(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
NameDescription
valuesIterable<String>

The visibleDomainMappings to add.

Returns
TypeDescription
AuthorizedCertificate.Builder

This builder for chaining.

addDomainNames(String value)

public AuthorizedCertificate.Builder addDomainNames(String value)

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
NameDescription
valueString

The domainNames to add.

Returns
TypeDescription
AuthorizedCertificate.Builder

This builder for chaining.

addDomainNamesBytes(ByteString value)

public AuthorizedCertificate.Builder addDomainNamesBytes(ByteString value)

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
NameDescription
valueByteString

The bytes of the domainNames to add.

Returns
TypeDescription
AuthorizedCertificate.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AuthorizedCertificate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AuthorizedCertificate.Builder
Overrides

addVisibleDomainMappings(String value)

public AuthorizedCertificate.Builder addVisibleDomainMappings(String value)

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
NameDescription
valueString

The visibleDomainMappings to add.

Returns
TypeDescription
AuthorizedCertificate.Builder

This builder for chaining.

addVisibleDomainMappingsBytes(ByteString value)

public AuthorizedCertificate.Builder addVisibleDomainMappingsBytes(ByteString value)

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
NameDescription
valueByteString

The bytes of the visibleDomainMappings to add.

Returns
TypeDescription
AuthorizedCertificate.Builder

This builder for chaining.

build()

public AuthorizedCertificate build()
Returns
TypeDescription
AuthorizedCertificate

buildPartial()

public AuthorizedCertificate buildPartial()
Returns
TypeDescription
AuthorizedCertificate

clear()

public AuthorizedCertificate.Builder clear()
Returns
TypeDescription
AuthorizedCertificate.Builder
Overrides

clearCertificateRawData()

public AuthorizedCertificate.Builder clearCertificateRawData()

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
TypeDescription
AuthorizedCertificate.Builder

clearDisplayName()

public AuthorizedCertificate.Builder clearDisplayName()

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

string display_name = 3;

Returns
TypeDescription
AuthorizedCertificate.Builder

This builder for chaining.

clearDomainMappingsCount()

public AuthorizedCertificate.Builder clearDomainMappingsCount()

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
TypeDescription
AuthorizedCertificate.Builder

This builder for chaining.

clearDomainNames()

public AuthorizedCertificate.Builder clearDomainNames()

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
TypeDescription
AuthorizedCertificate.Builder

This builder for chaining.

clearExpireTime()

public AuthorizedCertificate.Builder clearExpireTime()

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
TypeDescription
AuthorizedCertificate.Builder

clearField(Descriptors.FieldDescriptor field)

public AuthorizedCertificate.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AuthorizedCertificate.Builder
Overrides

clearId()

public AuthorizedCertificate.Builder clearId()

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

string id = 2;

Returns
TypeDescription
AuthorizedCertificate.Builder

This builder for chaining.

clearManagedCertificate()

public AuthorizedCertificate.Builder clearManagedCertificate()

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
TypeDescription
AuthorizedCertificate.Builder

clearName()

public AuthorizedCertificate.Builder clearName()

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

string name = 1;

Returns
TypeDescription
AuthorizedCertificate.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AuthorizedCertificate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AuthorizedCertificate.Builder
Overrides

clearVisibleDomainMappings()

public AuthorizedCertificate.Builder clearVisibleDomainMappings()

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
TypeDescription
AuthorizedCertificate.Builder

This builder for chaining.

clone()

public AuthorizedCertificate.Builder clone()
Returns
TypeDescription
AuthorizedCertificate.Builder
Overrides

getCertificateRawData()

public CertificateRawData getCertificateRawData()

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
TypeDescription
CertificateRawData

The certificateRawData.

getCertificateRawDataBuilder()

public CertificateRawData.Builder getCertificateRawDataBuilder()

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
TypeDescription
CertificateRawData.Builder

getCertificateRawDataOrBuilder()

public CertificateRawDataOrBuilder getCertificateRawDataOrBuilder()

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
TypeDescription
CertificateRawDataOrBuilder

getDefaultInstanceForType()

public AuthorizedCertificate getDefaultInstanceForType()
Returns
TypeDescription
AuthorizedCertificate

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

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

string display_name = 3;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

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

string display_name = 3;

Returns
TypeDescription
ByteString

The bytes for displayName.

getDomainMappingsCount()

public int getDomainMappingsCount()

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
TypeDescription
int

The domainMappingsCount.

getDomainNames(int index)

public String getDomainNames(int index)

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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The domainNames at the given index.

getDomainNamesBytes(int index)

public ByteString getDomainNamesBytes(int index)

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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the domainNames at the given index.

getDomainNamesCount()

public int getDomainNamesCount()

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
TypeDescription
int

The count of domainNames.

getDomainNamesList()

public ProtocolStringList getDomainNamesList()

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
TypeDescription
ProtocolStringList

A list containing the domainNames.

getExpireTime()

public Timestamp getExpireTime()

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
TypeDescription
Timestamp

The expireTime.

getExpireTimeBuilder()

public Timestamp.Builder getExpireTimeBuilder()

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
TypeDescription
Builder

getExpireTimeOrBuilder()

public TimestampOrBuilder getExpireTimeOrBuilder()

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
TypeDescription
TimestampOrBuilder

getId()

public String getId()

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

string id = 2;

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

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

string id = 2;

Returns
TypeDescription
ByteString

The bytes for id.

getManagedCertificate()

public ManagedCertificate getManagedCertificate()

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
TypeDescription
ManagedCertificate

The managedCertificate.

getManagedCertificateBuilder()

public ManagedCertificate.Builder getManagedCertificateBuilder()

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
TypeDescription
ManagedCertificate.Builder

getManagedCertificateOrBuilder()

public ManagedCertificateOrBuilder getManagedCertificateOrBuilder()

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
TypeDescription
ManagedCertificateOrBuilder

getName()

public String getName()

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

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getVisibleDomainMappings(int index)

public String getVisibleDomainMappings(int index)

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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The visibleDomainMappings at the given index.

getVisibleDomainMappingsBytes(int index)

public ByteString getVisibleDomainMappingsBytes(int index)

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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the visibleDomainMappings at the given index.

getVisibleDomainMappingsCount()

public int getVisibleDomainMappingsCount()

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
TypeDescription
int

The count of visibleDomainMappings.

getVisibleDomainMappingsList()

public ProtocolStringList getVisibleDomainMappingsList()

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
TypeDescription
ProtocolStringList

A list containing the visibleDomainMappings.

hasCertificateRawData()

public boolean hasCertificateRawData()

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
TypeDescription
boolean

Whether the certificateRawData field is set.

hasExpireTime()

public boolean hasExpireTime()

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
TypeDescription
boolean

Whether the expireTime field is set.

hasManagedCertificate()

public boolean hasManagedCertificate()

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
TypeDescription
boolean

Whether the managedCertificate field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCertificateRawData(CertificateRawData value)

public AuthorizedCertificate.Builder mergeCertificateRawData(CertificateRawData value)

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
NameDescription
valueCertificateRawData
Returns
TypeDescription
AuthorizedCertificate.Builder

mergeExpireTime(Timestamp value)

public AuthorizedCertificate.Builder mergeExpireTime(Timestamp value)

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
NameDescription
valueTimestamp
Returns
TypeDescription
AuthorizedCertificate.Builder

mergeFrom(AuthorizedCertificate other)

public AuthorizedCertificate.Builder mergeFrom(AuthorizedCertificate other)
Parameter
NameDescription
otherAuthorizedCertificate
Returns
TypeDescription
AuthorizedCertificate.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AuthorizedCertificate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuthorizedCertificate.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AuthorizedCertificate.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AuthorizedCertificate.Builder
Overrides

mergeManagedCertificate(ManagedCertificate value)

public AuthorizedCertificate.Builder mergeManagedCertificate(ManagedCertificate value)

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
NameDescription
valueManagedCertificate
Returns
TypeDescription
AuthorizedCertificate.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AuthorizedCertificate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AuthorizedCertificate.Builder
Overrides

setCertificateRawData(CertificateRawData value)

public AuthorizedCertificate.Builder setCertificateRawData(CertificateRawData value)

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
NameDescription
valueCertificateRawData
Returns
TypeDescription
AuthorizedCertificate.Builder

setCertificateRawData(CertificateRawData.Builder builderForValue)

public AuthorizedCertificate.Builder setCertificateRawData(CertificateRawData.Builder builderForValue)

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
NameDescription
builderForValueCertificateRawData.Builder
Returns
TypeDescription
AuthorizedCertificate.Builder

setDisplayName(String value)

public AuthorizedCertificate.Builder setDisplayName(String value)

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

string display_name = 3;

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
AuthorizedCertificate.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public AuthorizedCertificate.Builder setDisplayNameBytes(ByteString value)

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

string display_name = 3;

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
AuthorizedCertificate.Builder

This builder for chaining.

setDomainMappingsCount(int value)

public AuthorizedCertificate.Builder setDomainMappingsCount(int value)

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
NameDescription
valueint

The domainMappingsCount to set.

Returns
TypeDescription
AuthorizedCertificate.Builder

This builder for chaining.

setDomainNames(int index, String value)

public AuthorizedCertificate.Builder setDomainNames(int index, String value)

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
NameDescription
indexint

The index to set the value at.

valueString

The domainNames to set.

Returns
TypeDescription
AuthorizedCertificate.Builder

This builder for chaining.

setExpireTime(Timestamp value)

public AuthorizedCertificate.Builder setExpireTime(Timestamp value)

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
NameDescription
valueTimestamp
Returns
TypeDescription
AuthorizedCertificate.Builder

setExpireTime(Timestamp.Builder builderForValue)

public AuthorizedCertificate.Builder setExpireTime(Timestamp.Builder builderForValue)

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
NameDescription
builderForValueBuilder
Returns
TypeDescription
AuthorizedCertificate.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AuthorizedCertificate.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AuthorizedCertificate.Builder
Overrides

setId(String value)

public AuthorizedCertificate.Builder setId(String value)

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

string id = 2;

Parameter
NameDescription
valueString

The id to set.

Returns
TypeDescription
AuthorizedCertificate.Builder

This builder for chaining.

setIdBytes(ByteString value)

public AuthorizedCertificate.Builder setIdBytes(ByteString value)

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

string id = 2;

Parameter
NameDescription
valueByteString

The bytes for id to set.

Returns
TypeDescription
AuthorizedCertificate.Builder

This builder for chaining.

setManagedCertificate(ManagedCertificate value)

public AuthorizedCertificate.Builder setManagedCertificate(ManagedCertificate value)

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
NameDescription
valueManagedCertificate
Returns
TypeDescription
AuthorizedCertificate.Builder

setManagedCertificate(ManagedCertificate.Builder builderForValue)

public AuthorizedCertificate.Builder setManagedCertificate(ManagedCertificate.Builder builderForValue)

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
NameDescription
builderForValueManagedCertificate.Builder
Returns
TypeDescription
AuthorizedCertificate.Builder

setName(String value)

public AuthorizedCertificate.Builder setName(String value)

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

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
AuthorizedCertificate.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AuthorizedCertificate.Builder setNameBytes(ByteString value)

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

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
AuthorizedCertificate.Builder

This builder for chaining.

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

public AuthorizedCertificate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AuthorizedCertificate.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AuthorizedCertificate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AuthorizedCertificate.Builder
Overrides

setVisibleDomainMappings(int index, String value)

public AuthorizedCertificate.Builder setVisibleDomainMappings(int index, String value)

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
NameDescription
indexint

The index to set the value at.

valueString

The visibleDomainMappings to set.

Returns
TypeDescription
AuthorizedCertificate.Builder

This builder for chaining.