Interface RemoteRepositoryConfig.UpstreamCredentials.UsernamePasswordCredentialsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RemoteRepositoryConfig.UpstreamCredentials.UsernamePasswordCredentials,RemoteRepositoryConfig.UpstreamCredentials.UsernamePasswordCredentials.Builder
- Enclosing class:
- RemoteRepositoryConfig.UpstreamCredentials
public static interface RemoteRepositoryConfig.UpstreamCredentials.UsernamePasswordCredentialsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe Secret Manager key version that holds the password to access the remote repository.com.google.protobuf.ByteStringThe Secret Manager key version that holds the password to access the remote repository.The username to access the remote repository.com.google.protobuf.ByteStringThe username to access the remote repository.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()The username to access the remote repository.
string username = 1;- Returns:
- The username.
-
getUsernameBytes
com.google.protobuf.ByteString getUsernameBytes()The username to access the remote repository.
string username = 1;- Returns:
- The bytes for username.
-
getPasswordSecretVersion
String getPasswordSecretVersion()The Secret Manager key version that holds the password to access the remote repository. Must be in the format of `projects/{project}/secrets/{secret}/versions/{version}`.string password_secret_version = 2 [(.google.api.resource_reference) = { ... }- Returns:
- The passwordSecretVersion.
-
getPasswordSecretVersionBytes
com.google.protobuf.ByteString getPasswordSecretVersionBytes()The Secret Manager key version that holds the password to access the remote repository. Must be in the format of `projects/{project}/secrets/{secret}/versions/{version}`.string password_secret_version = 2 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for passwordSecretVersion.
-