public interface UserPasswordCredentialsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getPassword()
public abstract Secret getPassword()Required. Password for the connection.
.google.cloud.datastream.v1.Secret password = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Secret |
The password. |
getPasswordOrBuilder()
public abstract SecretOrBuilder getPasswordOrBuilder()Required. Password for the connection.
.google.cloud.datastream.v1.Secret password = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SecretOrBuilder |
|
getUsername()
public abstract String getUsername()Required. Username for the connection.
string username = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The username. |
getUsernameBytes()
public abstract ByteString getUsernameBytes()Required. Username for the connection.
string username = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for username. |
hasPassword()
public abstract boolean hasPassword()Required. Password for the connection.
.google.cloud.datastream.v1.Secret password = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the password field is set. |