public final class GenerateClientCertificateResponse extends GeneratedMessageV3 implements GenerateClientCertificateResponseOrBuilder
Message returned by a GenerateClientCertificate operation.
Protobuf type google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CA_CERT_FIELD_NUMBER
public static final int CA_CERT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PEM_CERTIFICATE_CHAIN_FIELD_NUMBER
public static final int PEM_CERTIFICATE_CHAIN_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PEM_CERTIFICATE_FIELD_NUMBER
public static final int PEM_CERTIFICATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static GenerateClientCertificateResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GenerateClientCertificateResponse.Builder newBuilder()
newBuilder(GenerateClientCertificateResponse prototype)
public static GenerateClientCertificateResponse.Builder newBuilder(GenerateClientCertificateResponse prototype)
public static GenerateClientCertificateResponse parseDelimitedFrom(InputStream input)
public static GenerateClientCertificateResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GenerateClientCertificateResponse parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GenerateClientCertificateResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GenerateClientCertificateResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerateClientCertificateResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerateClientCertificateResponse parseFrom(CodedInputStream input)
public static GenerateClientCertificateResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GenerateClientCertificateResponse parseFrom(InputStream input)
public static GenerateClientCertificateResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GenerateClientCertificateResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GenerateClientCertificateResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GenerateClientCertificateResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
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()
getParserForType()
public Parser<GenerateClientCertificateResponse> getParserForType()
Overrides
getPemCertificate() (deprecated)
public String getPemCertificate()
Deprecated. google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.pem_certificate is
deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1707
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=1707
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 |
int
The 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 |
int
The 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];
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GenerateClientCertificateResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GenerateClientCertificateResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public GenerateClientCertificateResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides