Send feedback
Class RemoteRepositoryConfig.UpstreamCredentials (1.46.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.46.0 keyboard_arrow_down
public static final class RemoteRepositoryConfig . UpstreamCredentials extends GeneratedMessageV3 implements RemoteRepositoryConfig . UpstreamCredentialsOrBuilder
The credentials to access the remote repository.
Protobuf type
google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int USERNAME_PASSWORD_CREDENTIALS_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static RemoteRepositoryConfig . UpstreamCredentials getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static RemoteRepositoryConfig . UpstreamCredentials . Builder newBuilder ()
public static RemoteRepositoryConfig . UpstreamCredentials . Builder newBuilder ( RemoteRepositoryConfig . UpstreamCredentials prototype )
public static RemoteRepositoryConfig . UpstreamCredentials parseDelimitedFrom ( InputStream input )
public static RemoteRepositoryConfig . UpstreamCredentials parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static RemoteRepositoryConfig . UpstreamCredentials parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static RemoteRepositoryConfig . UpstreamCredentials parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static RemoteRepositoryConfig . UpstreamCredentials parseFrom ( ByteString data )
public static RemoteRepositoryConfig . UpstreamCredentials parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static RemoteRepositoryConfig . UpstreamCredentials parseFrom ( CodedInputStream input )
public static RemoteRepositoryConfig . UpstreamCredentials parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static RemoteRepositoryConfig . UpstreamCredentials parseFrom ( InputStream input )
public static RemoteRepositoryConfig . UpstreamCredentials parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static RemoteRepositoryConfig . UpstreamCredentials parseFrom ( ByteBuffer data )
public static RemoteRepositoryConfig . UpstreamCredentials parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<RemoteRepositoryConfig . UpstreamCredentials > parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public RemoteRepositoryConfig . UpstreamCredentials . CredentialsCase getCredentialsCase ()
public RemoteRepositoryConfig . UpstreamCredentials getDefaultInstanceForType ()
public Parser<RemoteRepositoryConfig . UpstreamCredentials > getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public RemoteRepositoryConfig . UpstreamCredentials . UsernamePasswordCredentials getUsernamePasswordCredentials ()
Use username and password to access the remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials.UsernamePasswordCredentials username_password_credentials = 1;
public RemoteRepositoryConfig . UpstreamCredentials . UsernamePasswordCredentialsOrBuilder getUsernamePasswordCredentialsOrBuilder ()
Use username and password to access the remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials.UsernamePasswordCredentials username_password_credentials = 1;
public boolean hasUsernamePasswordCredentials ()
Use username and password to access the remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials.UsernamePasswordCredentials username_password_credentials = 1;
Returns
Type
Description
boolean
Whether the usernamePasswordCredentials field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public RemoteRepositoryConfig . UpstreamCredentials . Builder newBuilderForType ()
protected RemoteRepositoryConfig . UpstreamCredentials . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public RemoteRepositoryConfig . UpstreamCredentials . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]