Package com.google.cloud.apihub.v1
Interface AuthConfig.UserPasswordConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AuthConfig.UserPasswordConfig,AuthConfig.UserPasswordConfig.Builder
- Enclosing class:
- AuthConfig
public static interface AuthConfig.UserPasswordConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.Required.com.google.protobuf.ByteStringRequired.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getUsername
String getUsername()Required. Username.
string username = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The username.
-
getUsernameBytes
com.google.protobuf.ByteString getUsernameBytes()Required. Username.
string username = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for username.
-
hasPassword
boolean hasPassword()Required. Secret version reference containing the password. The `secretmanager.versions.access` permission should be granted to the service account accessing the secret.
.google.cloud.apihub.v1.Secret password = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the password field is set.
-
getPassword
Secret getPassword()Required. Secret version reference containing the password. The `secretmanager.versions.access` permission should be granted to the service account accessing the secret.
.google.cloud.apihub.v1.Secret password = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The password.
-
getPasswordOrBuilder
SecretOrBuilder getPasswordOrBuilder()Required. Secret version reference containing the password. The `secretmanager.versions.access` permission should be granted to the service account accessing the secret.
.google.cloud.apihub.v1.Secret password = 2 [(.google.api.field_behavior) = REQUIRED];
-