- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.2
- 1.1.1
- 1.0.0
- 0.4.2
public static final class MysqlSslConfig.Builder extends GeneratedMessageV3.Builder<MysqlSslConfig.Builder> implements MysqlSslConfigOrBuilder
MySQL SSL configuration information.
Protobuf type google.cloud.datastream.v1alpha1.MysqlSslConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MysqlSslConfig.BuilderImplements
MysqlSslConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MysqlSslConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
MysqlSslConfig.Builder |
build()
public MysqlSslConfig build()
Returns | |
---|---|
Type | Description |
MysqlSslConfig |
buildPartial()
public MysqlSslConfig buildPartial()
Returns | |
---|---|
Type | Description |
MysqlSslConfig |
clear()
public MysqlSslConfig.Builder clear()
Returns | |
---|---|
Type | Description |
MysqlSslConfig.Builder |
clearCaCertificate()
public MysqlSslConfig.Builder clearCaCertificate()
Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.
string ca_certificate = 15 [(.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
MysqlSslConfig.Builder | This builder for chaining. |
clearCaCertificateSet()
public MysqlSslConfig.Builder clearCaCertificateSet()
Output only. Indicates whether the ca_certificate field is set.
bool ca_certificate_set = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MysqlSslConfig.Builder | This builder for chaining. |
clearClientCertificate()
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 = 13 [(.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
MysqlSslConfig.Builder | This builder for chaining. |
clearClientCertificateSet()
public MysqlSslConfig.Builder clearClientCertificateSet()
Output only. Indicates whether the client_certificate field is set.
bool client_certificate_set = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MysqlSslConfig.Builder | This builder for chaining. |
clearClientKey()
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 = 11 [(.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
MysqlSslConfig.Builder | This builder for chaining. |
clearClientKeySet()
public MysqlSslConfig.Builder clearClientKeySet()
Output only. Indicates whether the client_key field is set.
bool client_key_set = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MysqlSslConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public MysqlSslConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
MysqlSslConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public MysqlSslConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
MysqlSslConfig.Builder |
clone()
public MysqlSslConfig.Builder clone()
Returns | |
---|---|
Type | Description |
MysqlSslConfig.Builder |
getCaCertificate()
public String getCaCertificate()
Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.
string ca_certificate = 15 [(.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
String | The caCertificate. |
getCaCertificateBytes()
public ByteString getCaCertificateBytes()
Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.
string ca_certificate = 15 [(.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for caCertificate. |
getCaCertificateSet()
public boolean getCaCertificateSet()
Output only. Indicates whether the ca_certificate field is set.
bool ca_certificate_set = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | The caCertificateSet. |
getClientCertificate()
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 = 13 [(.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
String | The clientCertificate. |
getClientCertificateBytes()
public 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 = 13 [(.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for clientCertificate. |
getClientCertificateSet()
public boolean getClientCertificateSet()
Output only. Indicates whether the client_certificate field is set.
bool client_certificate_set = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | The clientCertificateSet. |
getClientKey()
public 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 = 11 [(.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
String | The clientKey. |
getClientKeyBytes()
public 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 = 11 [(.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for clientKey. |
getClientKeySet()
public boolean getClientKeySet()
Output only. Indicates whether the client_key field is set.
bool client_key_set = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | The clientKeySet. |
getDefaultInstanceForType()
public MysqlSslConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MysqlSslConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(MysqlSslConfig other)
public MysqlSslConfig.Builder mergeFrom(MysqlSslConfig other)
Parameter | |
---|---|
Name | Description |
other | MysqlSslConfig |
Returns | |
---|---|
Type | Description |
MysqlSslConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MysqlSslConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MysqlSslConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MysqlSslConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
MysqlSslConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MysqlSslConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MysqlSslConfig.Builder |
setCaCertificate(String value)
public MysqlSslConfig.Builder setCaCertificate(String value)
Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.
string ca_certificate = 15 [(.google.api.field_behavior) = INPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | String The caCertificate to set. |
Returns | |
---|---|
Type | Description |
MysqlSslConfig.Builder | This builder for chaining. |
setCaCertificateBytes(ByteString value)
public MysqlSslConfig.Builder setCaCertificateBytes(ByteString value)
Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.
string ca_certificate = 15 [(.google.api.field_behavior) = INPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for caCertificate to set. |
Returns | |
---|---|
Type | Description |
MysqlSslConfig.Builder | This builder for chaining. |
setCaCertificateSet(boolean value)
public MysqlSslConfig.Builder setCaCertificateSet(boolean value)
Output only. Indicates whether the ca_certificate field is set.
bool ca_certificate_set = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | boolean The caCertificateSet to set. |
Returns | |
---|---|
Type | Description |
MysqlSslConfig.Builder | This builder for chaining. |
setClientCertificate(String value)
public 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 = 13 [(.google.api.field_behavior) = INPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | String The clientCertificate to set. |
Returns | |
---|---|
Type | Description |
MysqlSslConfig.Builder | This builder for chaining. |
setClientCertificateBytes(ByteString value)
public MysqlSslConfig.Builder setClientCertificateBytes(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 = 13 [(.google.api.field_behavior) = INPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for clientCertificate to set. |
Returns | |
---|---|
Type | Description |
MysqlSslConfig.Builder | This builder for chaining. |
setClientCertificateSet(boolean value)
public MysqlSslConfig.Builder setClientCertificateSet(boolean value)
Output only. Indicates whether the client_certificate field is set.
bool client_certificate_set = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | boolean The clientCertificateSet to set. |
Returns | |
---|---|
Type | Description |
MysqlSslConfig.Builder | This builder for chaining. |
setClientKey(String value)
public 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 = 11 [(.google.api.field_behavior) = INPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | String The clientKey to set. |
Returns | |
---|---|
Type | Description |
MysqlSslConfig.Builder | This builder for chaining. |
setClientKeyBytes(ByteString value)
public MysqlSslConfig.Builder setClientKeyBytes(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 = 11 [(.google.api.field_behavior) = INPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for clientKey to set. |
Returns | |
---|---|
Type | Description |
MysqlSslConfig.Builder | This builder for chaining. |
setClientKeySet(boolean value)
public MysqlSslConfig.Builder setClientKeySet(boolean value)
Output only. Indicates whether the client_key field is set.
bool client_key_set = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | boolean The clientKeySet to set. |
Returns | |
---|---|
Type | Description |
MysqlSslConfig.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public MysqlSslConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
MysqlSslConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MysqlSslConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
MysqlSslConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final MysqlSslConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MysqlSslConfig.Builder |