public final class AuthorizedCertificate extends GeneratedMessageV3 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
CERTIFICATE_RAW_DATA_FIELD_NUMBER
public static final int CERTIFICATE_RAW_DATA_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DOMAIN_MAPPINGS_COUNT_FIELD_NUMBER
public static final int DOMAIN_MAPPINGS_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DOMAIN_NAMES_FIELD_NUMBER
public static final int DOMAIN_NAMES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
EXPIRE_TIME_FIELD_NUMBER
public static final int EXPIRE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MANAGED_CERTIFICATE_FIELD_NUMBER
public static final int MANAGED_CERTIFICATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VISIBLE_DOMAIN_MAPPINGS_FIELD_NUMBER
public static final int VISIBLE_DOMAIN_MAPPINGS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static AuthorizedCertificate getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AuthorizedCertificate.Builder newBuilder()
newBuilder(AuthorizedCertificate prototype)
public static AuthorizedCertificate.Builder newBuilder(AuthorizedCertificate prototype)
public static AuthorizedCertificate parseDelimitedFrom(InputStream input)
public static AuthorizedCertificate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AuthorizedCertificate parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AuthorizedCertificate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AuthorizedCertificate parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AuthorizedCertificate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AuthorizedCertificate parseFrom(CodedInputStream input)
public static AuthorizedCertificate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AuthorizedCertificate parseFrom(InputStream input)
public static AuthorizedCertificate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AuthorizedCertificate parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AuthorizedCertificate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AuthorizedCertificate> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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;
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;
getDefaultInstanceForType()
public AuthorizedCertificate getDefaultInstanceForType()
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 |
---|
Type | Description |
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 |
---|
Type | Description |
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 |
---|
Type | Description |
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 |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
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 |
---|
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()
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 |
---|
Type | Description |
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;
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 |
---|
Type | Description |
Timestamp | The expireTime.
|
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;
getId()
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()
public ByteString getIdBytes()
Relative name of the certificate. This is a unique value autogenerated
on AuthorizedCertificate
resource creation. Example: 12345
.
@OutputOnly
string id = 2;
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;
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;
getName()
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()
public ByteString getNameBytes()
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.
|
getParserForType()
public Parser<AuthorizedCertificate> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
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 |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
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 |
---|
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()
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 |
---|
Type | Description |
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;
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 |
---|
Type | Description |
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 |
---|
Type | Description |
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 |
---|
Type | Description |
boolean | Whether the managedCertificate field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AuthorizedCertificate.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AuthorizedCertificate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public AuthorizedCertificate.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides