public static final class CertificateRawData.Builder extends GeneratedMessageV3.Builder<CertificateRawData.Builder> implements CertificateRawDataOrBuilder
An SSL certificate obtained from a certificate authority.
Protobuf type google.appengine.v1.CertificateRawData
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CertificateRawData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CertificateRawData build()
Returns
buildPartial()
public CertificateRawData buildPartial()
Returns
clear()
public CertificateRawData.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CertificateRawData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CertificateRawData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPrivateKey()
public CertificateRawData.Builder clearPrivateKey()
Unencrypted PEM encoded RSA private key. This field is set once on
certificate creation and then encrypted. The key size must be 2048
bits or fewer. Must include the header and footer. Example:
<pre>
-----BEGIN RSA PRIVATE KEY-----
<unencrypted_key_value>
-----END RSA PRIVATE KEY-----
</pre>
@InputOnly
string private_key = 2;
Returns
clearPublicCertificate()
public CertificateRawData.Builder clearPublicCertificate()
PEM encoded x.509 public key certificate. This field is set once on
certificate creation. Must include the header and footer. Example:
<pre>
-----BEGIN CERTIFICATE-----
<certificate_value>
-----END CERTIFICATE-----
</pre>
string public_certificate = 1;
Returns
clone()
public CertificateRawData.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CertificateRawData getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getPrivateKey()
public String getPrivateKey()
Unencrypted PEM encoded RSA private key. This field is set once on
certificate creation and then encrypted. The key size must be 2048
bits or fewer. Must include the header and footer. Example:
<pre>
-----BEGIN RSA PRIVATE KEY-----
<unencrypted_key_value>
-----END RSA PRIVATE KEY-----
</pre>
@InputOnly
string private_key = 2;
Returns
Type | Description |
String | The privateKey.
|
getPrivateKeyBytes()
public ByteString getPrivateKeyBytes()
Unencrypted PEM encoded RSA private key. This field is set once on
certificate creation and then encrypted. The key size must be 2048
bits or fewer. Must include the header and footer. Example:
<pre>
-----BEGIN RSA PRIVATE KEY-----
<unencrypted_key_value>
-----END RSA PRIVATE KEY-----
</pre>
@InputOnly
string private_key = 2;
Returns
Type | Description |
ByteString | The bytes for privateKey.
|
getPublicCertificate()
public String getPublicCertificate()
PEM encoded x.509 public key certificate. This field is set once on
certificate creation. Must include the header and footer. Example:
<pre>
-----BEGIN CERTIFICATE-----
<certificate_value>
-----END CERTIFICATE-----
</pre>
string public_certificate = 1;
Returns
Type | Description |
String | The publicCertificate.
|
getPublicCertificateBytes()
public ByteString getPublicCertificateBytes()
PEM encoded x.509 public key certificate. This field is set once on
certificate creation. Must include the header and footer. Example:
<pre>
-----BEGIN CERTIFICATE-----
<certificate_value>
-----END CERTIFICATE-----
</pre>
string public_certificate = 1;
Returns
Type | Description |
ByteString | The bytes for publicCertificate.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CertificateRawData other)
public CertificateRawData.Builder mergeFrom(CertificateRawData other)
Parameter
Returns
public CertificateRawData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CertificateRawData.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CertificateRawData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CertificateRawData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPrivateKey(String value)
public CertificateRawData.Builder setPrivateKey(String value)
Unencrypted PEM encoded RSA private key. This field is set once on
certificate creation and then encrypted. The key size must be 2048
bits or fewer. Must include the header and footer. Example:
<pre>
-----BEGIN RSA PRIVATE KEY-----
<unencrypted_key_value>
-----END RSA PRIVATE KEY-----
</pre>
@InputOnly
string private_key = 2;
Parameter
Name | Description |
value | String
The privateKey to set.
|
Returns
setPrivateKeyBytes(ByteString value)
public CertificateRawData.Builder setPrivateKeyBytes(ByteString value)
Unencrypted PEM encoded RSA private key. This field is set once on
certificate creation and then encrypted. The key size must be 2048
bits or fewer. Must include the header and footer. Example:
<pre>
-----BEGIN RSA PRIVATE KEY-----
<unencrypted_key_value>
-----END RSA PRIVATE KEY-----
</pre>
@InputOnly
string private_key = 2;
Parameter
Name | Description |
value | ByteString
The bytes for privateKey to set.
|
Returns
setPublicCertificate(String value)
public CertificateRawData.Builder setPublicCertificate(String value)
PEM encoded x.509 public key certificate. This field is set once on
certificate creation. Must include the header and footer. Example:
<pre>
-----BEGIN CERTIFICATE-----
<certificate_value>
-----END CERTIFICATE-----
</pre>
string public_certificate = 1;
Parameter
Name | Description |
value | String
The publicCertificate to set.
|
Returns
setPublicCertificateBytes(ByteString value)
public CertificateRawData.Builder setPublicCertificateBytes(ByteString value)
PEM encoded x.509 public key certificate. This field is set once on
certificate creation. Must include the header and footer. Example:
<pre>
-----BEGIN CERTIFICATE-----
<certificate_value>
-----END CERTIFICATE-----
</pre>
string public_certificate = 1;
Parameter
Name | Description |
value | ByteString
The bytes for publicCertificate to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CertificateRawData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CertificateRawData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides