- 1.77.0 (latest)
 - 1.75.0
 - 1.74.0
 - 1.73.0
 - 1.72.0
 - 1.71.0
 - 1.69.0
 - 1.67.0
 - 1.66.0
 - 1.63.0
 - 1.62.0
 - 1.61.0
 - 1.59.0
 - 1.58.0
 - 1.57.0
 - 1.56.0
 - 1.55.0
 - 1.54.0
 - 1.53.0
 - 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 SqlServerProfile.Builder extends GeneratedMessageV3.Builder<SqlServerProfile.Builder> implements SqlServerProfileOrBuilderSQLServer database profile.
 Protobuf type google.cloud.datastream.v1.SqlServerProfile
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SqlServerProfile.BuilderImplements
SqlServerProfileOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SqlServerProfile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile.Builder | 
        |
build()
public SqlServerProfile build()| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile | 
        |
buildPartial()
public SqlServerProfile buildPartial()| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile | 
        |
clear()
public SqlServerProfile.Builder clear()| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile.Builder | 
        |
clearDatabase()
public SqlServerProfile.Builder clearDatabase()Required. Database for the SQLServer connection.
 string database = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile.Builder | 
        This builder for chaining.  | 
      
clearField(Descriptors.FieldDescriptor field)
public SqlServerProfile.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile.Builder | 
        |
clearHostname()
public SqlServerProfile.Builder clearHostname()Required. Hostname for the SQLServer connection.
 string hostname = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public SqlServerProfile.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile.Builder | 
        |
clearPassword()
public SqlServerProfile.Builder clearPassword() Optional. Password for the SQLServer connection. Mutually exclusive with
 the secret_manager_stored_password field.
 string password = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile.Builder | 
        This builder for chaining.  | 
      
clearPort()
public SqlServerProfile.Builder clearPort()Port for the SQLServer connection, default value is 1433.
 int32 port = 2;
| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile.Builder | 
        This builder for chaining.  | 
      
clearSecretManagerStoredPassword()
public SqlServerProfile.Builder clearSecretManagerStoredPassword() Optional. A reference to a Secret Manager resource name storing the
 SQLServer connection password. Mutually exclusive with the password
 field.
 string secret_manager_stored_password = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile.Builder | 
        This builder for chaining.  | 
      
clearUsername()
public SqlServerProfile.Builder clearUsername()Required. Username for the SQLServer connection.
 string username = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile.Builder | 
        This builder for chaining.  | 
      
clone()
public SqlServerProfile.Builder clone()| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile.Builder | 
        |
getDatabase()
public String getDatabase()Required. Database for the SQLServer connection.
 string database = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The database.  | 
      
getDatabaseBytes()
public ByteString getDatabaseBytes()Required. Database for the SQLServer connection.
 string database = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for database.  | 
      
getDefaultInstanceForType()
public SqlServerProfile getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getHostname()
public String getHostname()Required. Hostname for the SQLServer connection.
 string hostname = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The hostname.  | 
      
getHostnameBytes()
public ByteString getHostnameBytes()Required. Hostname for the SQLServer connection.
 string hostname = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for hostname.  | 
      
getPassword()
public String getPassword() Optional. Password for the SQLServer connection. Mutually exclusive with
 the secret_manager_stored_password field.
 string password = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The password.  | 
      
getPasswordBytes()
public ByteString getPasswordBytes() Optional. Password for the SQLServer connection. Mutually exclusive with
 the secret_manager_stored_password field.
 string password = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for password.  | 
      
getPort()
public int getPort()Port for the SQLServer connection, default value is 1433.
 int32 port = 2;
| Returns | |
|---|---|
| Type | Description | 
int | 
        The port.  | 
      
getSecretManagerStoredPassword()
public String getSecretManagerStoredPassword() Optional. A reference to a Secret Manager resource name storing the
 SQLServer connection password. Mutually exclusive with the password
 field.
 string secret_manager_stored_password = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
String | 
        The secretManagerStoredPassword.  | 
      
getSecretManagerStoredPasswordBytes()
public ByteString getSecretManagerStoredPasswordBytes() Optional. A reference to a Secret Manager resource name storing the
 SQLServer connection password. Mutually exclusive with the password
 field.
 string secret_manager_stored_password = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for secretManagerStoredPassword.  | 
      
getUsername()
public String getUsername()Required. Username for the SQLServer connection.
 string username = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The username.  | 
      
getUsernameBytes()
public ByteString getUsernameBytes()Required. Username for the SQLServer connection.
 string username = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for username.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeFrom(SqlServerProfile other)
public SqlServerProfile.Builder mergeFrom(SqlServerProfile other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        SqlServerProfile | 
      
| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SqlServerProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public SqlServerProfile.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SqlServerProfile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile.Builder | 
        |
setDatabase(String value)
public SqlServerProfile.Builder setDatabase(String value)Required. Database for the SQLServer connection.
 string database = 5 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe database to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile.Builder | 
        This builder for chaining.  | 
      
setDatabaseBytes(ByteString value)
public SqlServerProfile.Builder setDatabaseBytes(ByteString value)Required. Database for the SQLServer connection.
 string database = 5 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for database to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile.Builder | 
        This builder for chaining.  | 
      
setField(Descriptors.FieldDescriptor field, Object value)
public SqlServerProfile.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile.Builder | 
        |
setHostname(String value)
public SqlServerProfile.Builder setHostname(String value)Required. Hostname for the SQLServer connection.
 string hostname = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe hostname to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile.Builder | 
        This builder for chaining.  | 
      
setHostnameBytes(ByteString value)
public SqlServerProfile.Builder setHostnameBytes(ByteString value)Required. Hostname for the SQLServer connection.
 string hostname = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for hostname to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile.Builder | 
        This builder for chaining.  | 
      
setPassword(String value)
public SqlServerProfile.Builder setPassword(String value) Optional. Password for the SQLServer connection. Mutually exclusive with
 the secret_manager_stored_password field.
 string password = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe password to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile.Builder | 
        This builder for chaining.  | 
      
setPasswordBytes(ByteString value)
public SqlServerProfile.Builder setPasswordBytes(ByteString value) Optional. Password for the SQLServer connection. Mutually exclusive with
 the secret_manager_stored_password field.
 string password = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for password to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile.Builder | 
        This builder for chaining.  | 
      
setPort(int value)
public SqlServerProfile.Builder setPort(int value)Port for the SQLServer connection, default value is 1433.
 int32 port = 2;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe port to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SqlServerProfile.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile.Builder | 
        |
setSecretManagerStoredPassword(String value)
public SqlServerProfile.Builder setSecretManagerStoredPassword(String value) Optional. A reference to a Secret Manager resource name storing the
 SQLServer connection password. Mutually exclusive with the password
 field.
 string secret_manager_stored_password = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe secretManagerStoredPassword to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile.Builder | 
        This builder for chaining.  | 
      
setSecretManagerStoredPasswordBytes(ByteString value)
public SqlServerProfile.Builder setSecretManagerStoredPasswordBytes(ByteString value) Optional. A reference to a Secret Manager resource name storing the
 SQLServer connection password. Mutually exclusive with the password
 field.
 string secret_manager_stored_password = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for secretManagerStoredPassword to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile.Builder | 
        This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final SqlServerProfile.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile.Builder | 
        |
setUsername(String value)
public SqlServerProfile.Builder setUsername(String value)Required. Username for the SQLServer connection.
 string username = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe username to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile.Builder | 
        This builder for chaining.  | 
      
setUsernameBytes(ByteString value)
public SqlServerProfile.Builder setUsernameBytes(ByteString value)Required. Username for the SQLServer connection.
 string username = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for username to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
SqlServerProfile.Builder | 
        This builder for chaining.  |