public static final class GenerateClientCertificateResponse.Builder extends GeneratedMessageV3.Builder<GenerateClientCertificateResponse.Builder> implements GenerateClientCertificateResponseOrBuilder
Message returned by a GenerateClientCertificate operation.
Protobuf type google.cloud.alloydb.v1beta.GenerateClientCertificateResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GenerateClientCertificateResponse.BuilderImplements
GenerateClientCertificateResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllPemCertificateChain(Iterable<String> values)
public GenerateClientCertificateResponse.Builder addAllPemCertificateChain(Iterable<String> values)
Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
values |
Iterable<String> The pemCertificateChain to add. |
Type | Description |
GenerateClientCertificateResponse.Builder |
This builder for chaining. |
addPemCertificateChain(String value)
public GenerateClientCertificateResponse.Builder addPemCertificateChain(String value)
Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
String The pemCertificateChain to add. |
Type | Description |
GenerateClientCertificateResponse.Builder |
This builder for chaining. |
addPemCertificateChainBytes(ByteString value)
public GenerateClientCertificateResponse.Builder addPemCertificateChainBytes(ByteString value)
Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
ByteString The bytes of the pemCertificateChain to add. |
Type | Description |
GenerateClientCertificateResponse.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerateClientCertificateResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
GenerateClientCertificateResponse.Builder |
build()
public GenerateClientCertificateResponse build()
Type | Description |
GenerateClientCertificateResponse |
buildPartial()
public GenerateClientCertificateResponse buildPartial()
Type | Description |
GenerateClientCertificateResponse |
clear()
public GenerateClientCertificateResponse.Builder clear()
Type | Description |
GenerateClientCertificateResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public GenerateClientCertificateResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field |
FieldDescriptor |
Type | Description |
GenerateClientCertificateResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerateClientCertificateResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof |
OneofDescriptor |
Type | Description |
GenerateClientCertificateResponse.Builder |
clearPemCertificate()
public GenerateClientCertificateResponse.Builder clearPemCertificate()
Output only. The pem-encoded, signed X.509 certificate.
string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
GenerateClientCertificateResponse.Builder |
This builder for chaining. |
clearPemCertificateChain()
public GenerateClientCertificateResponse.Builder clearPemCertificateChain()
Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
GenerateClientCertificateResponse.Builder |
This builder for chaining. |
clone()
public GenerateClientCertificateResponse.Builder clone()
Type | Description |
GenerateClientCertificateResponse.Builder |
getDefaultInstanceForType()
public GenerateClientCertificateResponse getDefaultInstanceForType()
Type | Description |
GenerateClientCertificateResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getPemCertificate()
public String getPemCertificate()
Output only. The pem-encoded, signed X.509 certificate.
string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String |
The pemCertificate. |
getPemCertificateBytes()
public ByteString getPemCertificateBytes()
Output only. The pem-encoded, signed X.509 certificate.
string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString |
The bytes for pemCertificate. |
getPemCertificateChain(int index)
public String getPemCertificateChain(int index)
Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index |
int The index of the element to return. |
Type | Description |
String |
The pemCertificateChain at the given index. |
getPemCertificateChainBytes(int index)
public ByteString getPemCertificateChainBytes(int index)
Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index |
int The index of the value to return. |
Type | Description |
ByteString |
The bytes of the pemCertificateChain at the given index. |
getPemCertificateChainCount()
public int getPemCertificateChainCount()
Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int |
The count of pemCertificateChain. |
getPemCertificateChainList()
public ProtocolStringList getPemCertificateChainList()
Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ProtocolStringList |
A list containing the pemCertificateChain. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(GenerateClientCertificateResponse other)
public GenerateClientCertificateResponse.Builder mergeFrom(GenerateClientCertificateResponse other)
Name | Description |
other |
GenerateClientCertificateResponse |
Type | Description |
GenerateClientCertificateResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenerateClientCertificateResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
GenerateClientCertificateResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public GenerateClientCertificateResponse.Builder mergeFrom(Message other)
Name | Description |
other |
Message |
Type | Description |
GenerateClientCertificateResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerateClientCertificateResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
GenerateClientCertificateResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GenerateClientCertificateResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
GenerateClientCertificateResponse.Builder |
setPemCertificate(String value)
public GenerateClientCertificateResponse.Builder setPemCertificate(String value)
Output only. The pem-encoded, signed X.509 certificate.
string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
String The pemCertificate to set. |
Type | Description |
GenerateClientCertificateResponse.Builder |
This builder for chaining. |
setPemCertificateBytes(ByteString value)
public GenerateClientCertificateResponse.Builder setPemCertificateBytes(ByteString value)
Output only. The pem-encoded, signed X.509 certificate.
string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
ByteString The bytes for pemCertificate to set. |
Type | Description |
GenerateClientCertificateResponse.Builder |
This builder for chaining. |
setPemCertificateChain(int index, String value)
public GenerateClientCertificateResponse.Builder setPemCertificateChain(int index, String value)
Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index |
int The index to set the value at. |
value |
String The pemCertificateChain to set. |
Type | Description |
GenerateClientCertificateResponse.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerateClientCertificateResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Type | Description |
GenerateClientCertificateResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerateClientCertificateResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
GenerateClientCertificateResponse.Builder |