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