public final class MysqlSslConfig extends com.google.protobuf.GeneratedMessageV3 implements MysqlSslConfigOrBuilder
MySQL SSL configuration information.Protobuf type
google.cloud.datastream.v1.MysqlSslConfig| Modifier and Type | Class and Description |
|---|---|
static class |
MysqlSslConfig.Builder
MySQL SSL configuration information.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CA_CERTIFICATE_FIELD_NUMBER |
static int |
CA_CERTIFICATE_SET_FIELD_NUMBER |
static int |
CLIENT_CERTIFICATE_FIELD_NUMBER |
static int |
CLIENT_CERTIFICATE_SET_FIELD_NUMBER |
static int |
CLIENT_KEY_FIELD_NUMBER |
static int |
CLIENT_KEY_SET_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCaCertificate()
Input only.
|
com.google.protobuf.ByteString |
getCaCertificateBytes()
Input only.
|
boolean |
getCaCertificateSet()
Output only.
|
String |
getClientCertificate()
Input only.
|
com.google.protobuf.ByteString |
getClientCertificateBytes()
Input only.
|
boolean |
getClientCertificateSet()
Output only.
|
String |
getClientKey()
Input only.
|
com.google.protobuf.ByteString |
getClientKeyBytes()
Input only.
|
boolean |
getClientKeySet()
Output only.
|
static MysqlSslConfig |
getDefaultInstance() |
MysqlSslConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<MysqlSslConfig> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static MysqlSslConfig.Builder |
newBuilder() |
static MysqlSslConfig.Builder |
newBuilder(MysqlSslConfig prototype) |
MysqlSslConfig.Builder |
newBuilderForType() |
protected MysqlSslConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static MysqlSslConfig |
parseDelimitedFrom(InputStream input) |
static MysqlSslConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlSslConfig |
parseFrom(byte[] data) |
static MysqlSslConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlSslConfig |
parseFrom(ByteBuffer data) |
static MysqlSslConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlSslConfig |
parseFrom(com.google.protobuf.ByteString data) |
static MysqlSslConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlSslConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MysqlSslConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlSslConfig |
parseFrom(InputStream input) |
static MysqlSslConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<MysqlSslConfig> |
parser() |
MysqlSslConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CLIENT_KEY_FIELD_NUMBER
public static final int CLIENT_KEY_SET_FIELD_NUMBER
public static final int CLIENT_CERTIFICATE_FIELD_NUMBER
public static final int CLIENT_CERTIFICATE_SET_FIELD_NUMBER
public static final int CA_CERTIFICATE_FIELD_NUMBER
public static final int CA_CERTIFICATE_SET_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getClientKey()
Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' and the 'ca_certificate' fields are mandatory.
string client_key = 1 [(.google.api.field_behavior) = INPUT_ONLY];getClientKey in interface MysqlSslConfigOrBuilderpublic com.google.protobuf.ByteString getClientKeyBytes()
Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' and the 'ca_certificate' fields are mandatory.
string client_key = 1 [(.google.api.field_behavior) = INPUT_ONLY];getClientKeyBytes in interface MysqlSslConfigOrBuilderpublic boolean getClientKeySet()
Output only. Indicates whether the client_key field is set.
bool client_key_set = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getClientKeySet in interface MysqlSslConfigOrBuilderpublic String getClientCertificate()
Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'client_key' and the 'ca_certificate' fields are mandatory.
string client_certificate = 3 [(.google.api.field_behavior) = INPUT_ONLY];getClientCertificate in interface MysqlSslConfigOrBuilderpublic com.google.protobuf.ByteString getClientCertificateBytes()
Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'client_key' and the 'ca_certificate' fields are mandatory.
string client_certificate = 3 [(.google.api.field_behavior) = INPUT_ONLY];getClientCertificateBytes in interface MysqlSslConfigOrBuilderpublic boolean getClientCertificateSet()
Output only. Indicates whether the client_certificate field is set.
bool client_certificate_set = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getClientCertificateSet in interface MysqlSslConfigOrBuilderpublic String getCaCertificate()
Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.
string ca_certificate = 5 [(.google.api.field_behavior) = INPUT_ONLY];getCaCertificate in interface MysqlSslConfigOrBuilderpublic com.google.protobuf.ByteString getCaCertificateBytes()
Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.
string ca_certificate = 5 [(.google.api.field_behavior) = INPUT_ONLY];getCaCertificateBytes in interface MysqlSslConfigOrBuilderpublic boolean getCaCertificateSet()
Output only. Indicates whether the ca_certificate field is set.
bool ca_certificate_set = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getCaCertificateSet in interface MysqlSslConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static MysqlSslConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlSslConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlSslConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlSslConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlSslConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlSslConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlSslConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static MysqlSslConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MysqlSslConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static MysqlSslConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MysqlSslConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static MysqlSslConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic MysqlSslConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static MysqlSslConfig.Builder newBuilder()
public static MysqlSslConfig.Builder newBuilder(MysqlSslConfig prototype)
public MysqlSslConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected MysqlSslConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static MysqlSslConfig getDefaultInstance()
public static com.google.protobuf.Parser<MysqlSslConfig> parser()
public com.google.protobuf.Parser<MysqlSslConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public MysqlSslConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.