public static interface GenericHTTPEndpointConfig.BasicAuthenticationOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getPasswordCase()
public abstract GenericHTTPEndpointConfig.BasicAuthentication.PasswordCase getPasswordCase()| Returns | |
|---|---|
| Type | Description |
GenericHTTPEndpointConfig.BasicAuthentication.PasswordCase |
|
getPasswordSecretVersion()
public abstract String getPasswordSecretVersion()The password SecretManager secret version to authenticate as.
string password_secret_version = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The passwordSecretVersion. |
getPasswordSecretVersionBytes()
public abstract ByteString getPasswordSecretVersionBytes()The password SecretManager secret version to authenticate as.
string password_secret_version = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for passwordSecretVersion. |
getUsername()
public abstract String getUsername()Required. The username to authenticate as.
string username = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The username. |
getUsernameBytes()
public abstract ByteString getUsernameBytes()Required. The username to authenticate as.
string username = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for username. |
hasPasswordSecretVersion()
public abstract boolean hasPasswordSecretVersion()The password SecretManager secret version to authenticate as.
string password_secret_version = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the passwordSecretVersion field is set. |