Class GenerateClientCertificateResponse (0.30.0)

public final class GenerateClientCertificateResponse extends GeneratedMessageV3 implements GenerateClientCertificateResponseOrBuilder

Message returned by a GenerateClientCertificate operation.

Protobuf type google.cloud.alloydb.v1beta.GenerateClientCertificateResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > GenerateClientCertificateResponse

Static Fields

CA_CERT_FIELD_NUMBER

public static final int CA_CERT_FIELD_NUMBER
Field Value
TypeDescription
int

PEM_CERTIFICATE_CHAIN_FIELD_NUMBER

public static final int PEM_CERTIFICATE_CHAIN_FIELD_NUMBER
Field Value
TypeDescription
int

PEM_CERTIFICATE_FIELD_NUMBER

public static final int PEM_CERTIFICATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GenerateClientCertificateResponse getDefaultInstance()
Returns
TypeDescription
GenerateClientCertificateResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static GenerateClientCertificateResponse.Builder newBuilder()
Returns
TypeDescription
GenerateClientCertificateResponse.Builder

newBuilder(GenerateClientCertificateResponse prototype)

public static GenerateClientCertificateResponse.Builder newBuilder(GenerateClientCertificateResponse prototype)
Parameter
NameDescription
prototypeGenerateClientCertificateResponse
Returns
TypeDescription
GenerateClientCertificateResponse.Builder

parseDelimitedFrom(InputStream input)

public static GenerateClientCertificateResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GenerateClientCertificateResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateClientCertificateResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateClientCertificateResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GenerateClientCertificateResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GenerateClientCertificateResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GenerateClientCertificateResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateClientCertificateResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GenerateClientCertificateResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GenerateClientCertificateResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GenerateClientCertificateResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateClientCertificateResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GenerateClientCertificateResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GenerateClientCertificateResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateClientCertificateResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateClientCertificateResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GenerateClientCertificateResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GenerateClientCertificateResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateClientCertificateResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateClientCertificateResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GenerateClientCertificateResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GenerateClientCertificateResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GenerateClientCertificateResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateClientCertificateResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<GenerateClientCertificateResponse> parser()
Returns
TypeDescription
Parser<GenerateClientCertificateResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCaCert()

public String getCaCert()

Optional. The pem-encoded cluster ca X.509 certificate.

string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for caCert.

getDefaultInstanceForType()

public GenerateClientCertificateResponse getDefaultInstanceForType()
Returns
TypeDescription
GenerateClientCertificateResponse

getParserForType()

public Parser<GenerateClientCertificateResponse> getParserForType()
Returns
TypeDescription
Parser<GenerateClientCertificateResponse>
Overrides

getPemCertificate() (deprecated)

public String getPemCertificate()

Deprecated. google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.pem_certificate is deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1383

Output only. The pem-encoded, signed X.509 certificate.

string pem_certificate = 1 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The pemCertificate.

getPemCertificateBytes() (deprecated)

public ByteString getPemCertificateBytes()

Deprecated. google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.pem_certificate is deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1383

Output only. The pem-encoded, signed X.509 certificate.

string pem_certificate = 1 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the pemCertificateChain.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public GenerateClientCertificateResponse.Builder newBuilderForType()
Returns
TypeDescription
GenerateClientCertificateResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GenerateClientCertificateResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GenerateClientCertificateResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public GenerateClientCertificateResponse.Builder toBuilder()
Returns
TypeDescription
GenerateClientCertificateResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException