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
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()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CertificateRawData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CertificateRawData build()
buildPartial()
public CertificateRawData buildPartial()
clear()
public CertificateRawData.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CertificateRawData.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CertificateRawData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
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;
clone()
public CertificateRawData.Builder clone()
Overrides
getDefaultInstanceForType()
public CertificateRawData getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CertificateRawData other)
public CertificateRawData.Builder mergeFrom(CertificateRawData other)
public CertificateRawData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CertificateRawData.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CertificateRawData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CertificateRawData.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CertificateRawData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CertificateRawData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides