public static final class Certificate.SelfManagedCertificate.Builder extends GeneratedMessageV3.Builder<Certificate.SelfManagedCertificate.Builder> implements Certificate.SelfManagedCertificateOrBuilder
Certificate data for a SelfManaged Certificate.
SelfManaged Certificates are uploaded by the user. Updating such
certificates before they expire remains the user's responsibility.
Protobuf type google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Certificate.SelfManagedCertificate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Certificate.SelfManagedCertificate build()
Returns
buildPartial()
public Certificate.SelfManagedCertificate buildPartial()
Returns
clear()
public Certificate.SelfManagedCertificate.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Certificate.SelfManagedCertificate.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Certificate.SelfManagedCertificate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPemCertificate()
public Certificate.SelfManagedCertificate.Builder clearPemCertificate()
Input only. The PEM-encoded certificate chain.
Leaf certificate comes first, followed by intermediate ones if any.
string pem_certificate = 1 [(.google.api.field_behavior) = INPUT_ONLY];
Returns
clearPemPrivateKey()
public Certificate.SelfManagedCertificate.Builder clearPemPrivateKey()
Input only. The PEM-encoded private key of the leaf certificate.
string pem_private_key = 2 [(.google.api.field_behavior) = INPUT_ONLY];
Returns
clone()
public Certificate.SelfManagedCertificate.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Certificate.SelfManagedCertificate getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getPemCertificate()
public String getPemCertificate()
Input only. The PEM-encoded certificate chain.
Leaf certificate comes first, followed by intermediate ones if any.
string pem_certificate = 1 [(.google.api.field_behavior) = INPUT_ONLY];
Returns
Type | Description |
String | The pemCertificate.
|
getPemCertificateBytes()
public ByteString getPemCertificateBytes()
Input only. The PEM-encoded certificate chain.
Leaf certificate comes first, followed by intermediate ones if any.
string pem_certificate = 1 [(.google.api.field_behavior) = INPUT_ONLY];
Returns
Type | Description |
ByteString | The bytes for pemCertificate.
|
getPemPrivateKey()
public String getPemPrivateKey()
Input only. The PEM-encoded private key of the leaf certificate.
string pem_private_key = 2 [(.google.api.field_behavior) = INPUT_ONLY];
Returns
Type | Description |
String | The pemPrivateKey.
|
getPemPrivateKeyBytes()
public ByteString getPemPrivateKeyBytes()
Input only. The PEM-encoded private key of the leaf certificate.
string pem_private_key = 2 [(.google.api.field_behavior) = INPUT_ONLY];
Returns
Type | Description |
ByteString | The bytes for pemPrivateKey.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Certificate.SelfManagedCertificate other)
public Certificate.SelfManagedCertificate.Builder mergeFrom(Certificate.SelfManagedCertificate other)
Parameter
Returns
public Certificate.SelfManagedCertificate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Certificate.SelfManagedCertificate.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Certificate.SelfManagedCertificate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Certificate.SelfManagedCertificate.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPemCertificate(String value)
public Certificate.SelfManagedCertificate.Builder setPemCertificate(String value)
Input only. The PEM-encoded certificate chain.
Leaf certificate comes first, followed by intermediate ones if any.
string pem_certificate = 1 [(.google.api.field_behavior) = INPUT_ONLY];
Parameter
Name | Description |
value | String
The pemCertificate to set.
|
Returns
setPemCertificateBytes(ByteString value)
public Certificate.SelfManagedCertificate.Builder setPemCertificateBytes(ByteString value)
Input only. The PEM-encoded certificate chain.
Leaf certificate comes first, followed by intermediate ones if any.
string pem_certificate = 1 [(.google.api.field_behavior) = INPUT_ONLY];
Parameter
Name | Description |
value | ByteString
The bytes for pemCertificate to set.
|
Returns
setPemPrivateKey(String value)
public Certificate.SelfManagedCertificate.Builder setPemPrivateKey(String value)
Input only. The PEM-encoded private key of the leaf certificate.
string pem_private_key = 2 [(.google.api.field_behavior) = INPUT_ONLY];
Parameter
Name | Description |
value | String
The pemPrivateKey to set.
|
Returns
setPemPrivateKeyBytes(ByteString value)
public Certificate.SelfManagedCertificate.Builder setPemPrivateKeyBytes(ByteString value)
Input only. The PEM-encoded private key of the leaf certificate.
string pem_private_key = 2 [(.google.api.field_behavior) = INPUT_ONLY];
Parameter
Name | Description |
value | ByteString
The bytes for pemPrivateKey to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Certificate.SelfManagedCertificate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Certificate.SelfManagedCertificate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides