public static final class GenerateClientCertificateResponse.Builder extends GeneratedMessage.Builder<GenerateClientCertificateResponse.Builder> implements GenerateClientCertificateResponseOrBuilderMessage returned by a GenerateClientCertificate operation.
Protobuf type google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GenerateClientCertificateResponse.BuilderImplements
GenerateClientCertificateResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The pemCertificateChain to add. |
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pemCertificateChain to add. |
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the pemCertificateChain to add. |
| Returns | |
|---|---|
| Type | Description |
GenerateClientCertificateResponse.Builder |
This builder for chaining. |
build()
public GenerateClientCertificateResponse build()| Returns | |
|---|---|
| Type | Description |
GenerateClientCertificateResponse |
|
buildPartial()
public GenerateClientCertificateResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
GenerateClientCertificateResponse |
|
clear()
public GenerateClientCertificateResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
GenerateClientCertificateResponse.Builder |
|
clearCaCert()
public GenerateClientCertificateResponse.Builder clearCaCert()Optional. The pem-encoded cluster ca X.509 certificate.
string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GenerateClientCertificateResponse.Builder |
This builder for chaining. |
clearPemCertificate() (deprecated)
public GenerateClientCertificateResponse.Builder clearPemCertificate()Deprecated. google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.pem_certificate is deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1915
Output only. The pem-encoded, signed X.509 certificate.
string pem_certificate = 1 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| Type | Description |
GenerateClientCertificateResponse.Builder |
This builder for chaining. |
getCaCert()
public String getCaCert()Optional. The pem-encoded cluster ca X.509 certificate.
string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The caCert. |
getCaCertBytes()
public ByteString getCaCertBytes()Optional. The pem-encoded cluster ca X.509 certificate.
string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for caCert. |
getDefaultInstanceForType()
public GenerateClientCertificateResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GenerateClientCertificateResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPemCertificate() (deprecated)
public String getPemCertificate()Deprecated. google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.pem_certificate is deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1915
Output only. The pem-encoded, signed X.509 certificate.
string pem_certificate = 1 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The pemCertificate. |
getPemCertificateBytes() (deprecated)
public ByteString getPemCertificateBytes()Deprecated. google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.pem_certificate is deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1915
Output only. The pem-encoded, signed X.509 certificate.
string pem_certificate = 1 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the pemCertificateChain. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GenerateClientCertificateResponse other)
public GenerateClientCertificateResponse.Builder mergeFrom(GenerateClientCertificateResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
GenerateClientCertificateResponse |
| Returns | |
|---|---|
| Type | Description |
GenerateClientCertificateResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenerateClientCertificateResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateClientCertificateResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GenerateClientCertificateResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GenerateClientCertificateResponse.Builder |
|
setCaCert(String value)
public GenerateClientCertificateResponse.Builder setCaCert(String value)Optional. The pem-encoded cluster ca X.509 certificate.
string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe caCert to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateClientCertificateResponse.Builder |
This builder for chaining. |
setCaCertBytes(ByteString value)
public GenerateClientCertificateResponse.Builder setCaCertBytes(ByteString value)Optional. The pem-encoded cluster ca X.509 certificate.
string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for caCert to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateClientCertificateResponse.Builder |
This builder for chaining. |
setPemCertificate(String value) (deprecated)
public GenerateClientCertificateResponse.Builder setPemCertificate(String value)Deprecated. google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.pem_certificate is deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1915
Output only. The pem-encoded, signed X.509 certificate.
string pem_certificate = 1 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pemCertificate to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateClientCertificateResponse.Builder |
This builder for chaining. |
setPemCertificateBytes(ByteString value) (deprecated)
public GenerateClientCertificateResponse.Builder setPemCertificateBytes(ByteString value)Deprecated. google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.pem_certificate is deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1915
Output only. The pem-encoded, signed X.509 certificate.
string pem_certificate = 1 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pemCertificate to set. |
| Returns | |
|---|---|
| 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];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe pemCertificateChain to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateClientCertificateResponse.Builder |
This builder for chaining. |