public static final class MysqlSslConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MysqlSslConfig.Builder> implements MysqlSslConfigOrBuilder
MySQL SSL configuration information.Protobuf type
google.cloud.datastream.v1.MysqlSslConfig| Modifier and Type | Method and Description |
|---|---|
MysqlSslConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MysqlSslConfig |
build() |
MysqlSslConfig |
buildPartial() |
MysqlSslConfig.Builder |
clear() |
MysqlSslConfig.Builder |
clearCaCertificate()
Input only.
|
MysqlSslConfig.Builder |
clearCaCertificateSet()
Output only.
|
MysqlSslConfig.Builder |
clearClientCertificate()
Input only.
|
MysqlSslConfig.Builder |
clearClientCertificateSet()
Output only.
|
MysqlSslConfig.Builder |
clearClientKey()
Input only.
|
MysqlSslConfig.Builder |
clearClientKeySet()
Output only.
|
MysqlSslConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
MysqlSslConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
MysqlSslConfig.Builder |
clone() |
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.
|
MysqlSslConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MysqlSslConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MysqlSslConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
MysqlSslConfig.Builder |
mergeFrom(MysqlSslConfig other) |
MysqlSslConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MysqlSslConfig.Builder |
setCaCertificate(String value)
Input only.
|
MysqlSslConfig.Builder |
setCaCertificateBytes(com.google.protobuf.ByteString value)
Input only.
|
MysqlSslConfig.Builder |
setCaCertificateSet(boolean value)
Output only.
|
MysqlSslConfig.Builder |
setClientCertificate(String value)
Input only.
|
MysqlSslConfig.Builder |
setClientCertificateBytes(com.google.protobuf.ByteString value)
Input only.
|
MysqlSslConfig.Builder |
setClientCertificateSet(boolean value)
Output only.
|
MysqlSslConfig.Builder |
setClientKey(String value)
Input only.
|
MysqlSslConfig.Builder |
setClientKeyBytes(com.google.protobuf.ByteString value)
Input only.
|
MysqlSslConfig.Builder |
setClientKeySet(boolean value)
Output only.
|
MysqlSslConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MysqlSslConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
MysqlSslConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlSslConfig.Builder>public MysqlSslConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlSslConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlSslConfig.Builder>public MysqlSslConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic MysqlSslConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic MysqlSslConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic MysqlSslConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlSslConfig.Builder>public MysqlSslConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlSslConfig.Builder>public MysqlSslConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlSslConfig.Builder>public MysqlSslConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlSslConfig.Builder>public MysqlSslConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlSslConfig.Builder>public MysqlSslConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlSslConfig.Builder>public MysqlSslConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MysqlSslConfig.Builder>public MysqlSslConfig.Builder mergeFrom(MysqlSslConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlSslConfig.Builder>public MysqlSslConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MysqlSslConfig.Builder>IOExceptionpublic 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 MysqlSslConfig.Builder setClientKey(String value)
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];value - The clientKey to set.public MysqlSslConfig.Builder clearClientKey()
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];public MysqlSslConfig.Builder setClientKeyBytes(com.google.protobuf.ByteString value)
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];value - The bytes for clientKey to set.public 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 MysqlSslConfig.Builder setClientKeySet(boolean value)
Output only. Indicates whether the client_key field is set.
bool client_key_set = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The clientKeySet to set.public MysqlSslConfig.Builder clearClientKeySet()
Output only. Indicates whether the client_key field is set.
bool client_key_set = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];public 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 MysqlSslConfig.Builder setClientCertificate(String value)
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];value - The clientCertificate to set.public MysqlSslConfig.Builder clearClientCertificate()
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];public MysqlSslConfig.Builder setClientCertificateBytes(com.google.protobuf.ByteString value)
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];value - The bytes for clientCertificate to set.public 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 MysqlSslConfig.Builder setClientCertificateSet(boolean value)
Output only. Indicates whether the client_certificate field is set.
bool client_certificate_set = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The clientCertificateSet to set.public MysqlSslConfig.Builder clearClientCertificateSet()
Output only. Indicates whether the client_certificate field is set.
bool client_certificate_set = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];public 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 MysqlSslConfig.Builder setCaCertificate(String value)
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];value - The caCertificate to set.public MysqlSslConfig.Builder clearCaCertificate()
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];public MysqlSslConfig.Builder setCaCertificateBytes(com.google.protobuf.ByteString value)
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];value - The bytes for caCertificate to set.public 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 MysqlSslConfig.Builder setCaCertificateSet(boolean value)
Output only. Indicates whether the ca_certificate field is set.
bool ca_certificate_set = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The caCertificateSet to set.public MysqlSslConfig.Builder clearCaCertificateSet()
Output only. Indicates whether the ca_certificate field is set.
bool ca_certificate_set = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];public final MysqlSslConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlSslConfig.Builder>public final MysqlSslConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlSslConfig.Builder>Copyright © 2022 Google LLC. All rights reserved.