Interface RemoteRepositoryConfig.UpstreamCredentialsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RemoteRepositoryConfig.UpstreamCredentials,RemoteRepositoryConfig.UpstreamCredentials.Builder
- Enclosing class:
- RemoteRepositoryConfig
public static interface RemoteRepositoryConfig.UpstreamCredentialsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionUse username and password to access the remote repository.Use username and password to access the remote repository.booleanUse username and password 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
-
hasUsernamePasswordCredentials
boolean hasUsernamePasswordCredentials()Use username and password to access the remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials.UsernamePasswordCredentials username_password_credentials = 1;- Returns:
- Whether the usernamePasswordCredentials field is set.
-
getUsernamePasswordCredentials
RemoteRepositoryConfig.UpstreamCredentials.UsernamePasswordCredentials getUsernamePasswordCredentials()Use username and password to access the remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials.UsernamePasswordCredentials username_password_credentials = 1;- Returns:
- The usernamePasswordCredentials.
-
getUsernamePasswordCredentialsOrBuilder
RemoteRepositoryConfig.UpstreamCredentials.UsernamePasswordCredentialsOrBuilder getUsernamePasswordCredentialsOrBuilder()Use username and password to access the remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials.UsernamePasswordCredentials username_password_credentials = 1; -
getCredentialsCase
RemoteRepositoryConfig.UpstreamCredentials.CredentialsCase getCredentialsCase()
-