Class RemoteRepositoryConfig.UpstreamCredentials (1.33.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > RemoteRepositoryConfig.UpstreamCredentials

Static Fields

USERNAME_PASSWORD_CREDENTIALS_FIELD_NUMBER

public static final int USERNAME_PASSWORD_CREDENTIALS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RemoteRepositoryConfig.UpstreamCredentials getDefaultInstance()
Returns
TypeDescription
RemoteRepositoryConfig.UpstreamCredentials

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RemoteRepositoryConfig.UpstreamCredentials.Builder newBuilder()
Returns
TypeDescription
RemoteRepositoryConfig.UpstreamCredentials.Builder

newBuilder(RemoteRepositoryConfig.UpstreamCredentials prototype)

public static RemoteRepositoryConfig.UpstreamCredentials.Builder newBuilder(RemoteRepositoryConfig.UpstreamCredentials prototype)
Parameter
NameDescription
prototypeRemoteRepositoryConfig.UpstreamCredentials
Returns
TypeDescription
RemoteRepositoryConfig.UpstreamCredentials.Builder

parseDelimitedFrom(InputStream input)

public static RemoteRepositoryConfig.UpstreamCredentials parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RemoteRepositoryConfig.UpstreamCredentials
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoteRepositoryConfig.UpstreamCredentials parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoteRepositoryConfig.UpstreamCredentials
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RemoteRepositoryConfig.UpstreamCredentials parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RemoteRepositoryConfig.UpstreamCredentials
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RemoteRepositoryConfig.UpstreamCredentials parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoteRepositoryConfig.UpstreamCredentials
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RemoteRepositoryConfig.UpstreamCredentials parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RemoteRepositoryConfig.UpstreamCredentials
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RemoteRepositoryConfig.UpstreamCredentials parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoteRepositoryConfig.UpstreamCredentials
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RemoteRepositoryConfig.UpstreamCredentials parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RemoteRepositoryConfig.UpstreamCredentials
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoteRepositoryConfig.UpstreamCredentials parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoteRepositoryConfig.UpstreamCredentials
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RemoteRepositoryConfig.UpstreamCredentials parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RemoteRepositoryConfig.UpstreamCredentials
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoteRepositoryConfig.UpstreamCredentials parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoteRepositoryConfig.UpstreamCredentials
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RemoteRepositoryConfig.UpstreamCredentials parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RemoteRepositoryConfig.UpstreamCredentials
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RemoteRepositoryConfig.UpstreamCredentials parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoteRepositoryConfig.UpstreamCredentials
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RemoteRepositoryConfig.UpstreamCredentials> parser()
Returns
TypeDescription
Parser<UpstreamCredentials>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCredentialsCase()

public RemoteRepositoryConfig.UpstreamCredentials.CredentialsCase getCredentialsCase()
Returns
TypeDescription
RemoteRepositoryConfig.UpstreamCredentials.CredentialsCase

getDefaultInstanceForType()

public RemoteRepositoryConfig.UpstreamCredentials getDefaultInstanceForType()
Returns
TypeDescription
RemoteRepositoryConfig.UpstreamCredentials

getParserForType()

public Parser<RemoteRepositoryConfig.UpstreamCredentials> getParserForType()
Returns
TypeDescription
Parser<UpstreamCredentials>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUsernamePasswordCredentials()

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;

Returns
TypeDescription
RemoteRepositoryConfig.UpstreamCredentials.UsernamePasswordCredentials

The usernamePasswordCredentials.

getUsernamePasswordCredentialsOrBuilder()

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;

Returns
TypeDescription
RemoteRepositoryConfig.UpstreamCredentials.UsernamePasswordCredentialsOrBuilder

hasUsernamePasswordCredentials()

public boolean hasUsernamePasswordCredentials()

Use username and password to access the remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials.UsernamePasswordCredentials username_password_credentials = 1;

Returns
TypeDescription
boolean

Whether the usernamePasswordCredentials field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RemoteRepositoryConfig.UpstreamCredentials.Builder newBuilderForType()
Returns
TypeDescription
RemoteRepositoryConfig.UpstreamCredentials.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RemoteRepositoryConfig.UpstreamCredentials.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RemoteRepositoryConfig.UpstreamCredentials.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RemoteRepositoryConfig.UpstreamCredentials.Builder toBuilder()
Returns
TypeDescription
RemoteRepositoryConfig.UpstreamCredentials.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException