Class RemoteRepositoryConfig.Builder (1.46.0)

public static final class RemoteRepositoryConfig.Builder extends GeneratedMessageV3.Builder<RemoteRepositoryConfig.Builder> implements RemoteRepositoryConfigOrBuilder

Remote repository configuration.

Protobuf type google.devtools.artifactregistry.v1.RemoteRepositoryConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RemoteRepositoryConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RemoteRepositoryConfig.Builder
Overrides

build()

public RemoteRepositoryConfig build()
Returns
Type Description
RemoteRepositoryConfig

buildPartial()

public RemoteRepositoryConfig buildPartial()
Returns
Type Description
RemoteRepositoryConfig

clear()

public RemoteRepositoryConfig.Builder clear()
Returns
Type Description
RemoteRepositoryConfig.Builder
Overrides

clearAptRepository()

public RemoteRepositoryConfig.Builder clearAptRepository()

Specific settings for an Apt remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository apt_repository = 6;

Returns
Type Description
RemoteRepositoryConfig.Builder

clearDescription()

public RemoteRepositoryConfig.Builder clearDescription()

The description of the remote source.

string description = 1;

Returns
Type Description
RemoteRepositoryConfig.Builder

This builder for chaining.

clearDockerRepository()

public RemoteRepositoryConfig.Builder clearDockerRepository()

Specific settings for a Docker remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository docker_repository = 2;

Returns
Type Description
RemoteRepositoryConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public RemoteRepositoryConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RemoteRepositoryConfig.Builder
Overrides

clearMavenRepository()

public RemoteRepositoryConfig.Builder clearMavenRepository()

Specific settings for a Maven remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository maven_repository = 3;

Returns
Type Description
RemoteRepositoryConfig.Builder

clearNpmRepository()

public RemoteRepositoryConfig.Builder clearNpmRepository()

Specific settings for an Npm remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepository npm_repository = 4;

Returns
Type Description
RemoteRepositoryConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public RemoteRepositoryConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RemoteRepositoryConfig.Builder
Overrides

clearPythonRepository()

public RemoteRepositoryConfig.Builder clearPythonRepository()

Specific settings for a Python remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepository python_repository = 5;

Returns
Type Description
RemoteRepositoryConfig.Builder

clearRemoteSource()

public RemoteRepositoryConfig.Builder clearRemoteSource()
Returns
Type Description
RemoteRepositoryConfig.Builder

clearUpstreamCredentials()

public RemoteRepositoryConfig.Builder clearUpstreamCredentials()

Optional. The credentials used to access the remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials upstream_credentials = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RemoteRepositoryConfig.Builder

clearYumRepository()

public RemoteRepositoryConfig.Builder clearYumRepository()

Specific settings for a Yum remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository yum_repository = 7;

Returns
Type Description
RemoteRepositoryConfig.Builder

clone()

public RemoteRepositoryConfig.Builder clone()
Returns
Type Description
RemoteRepositoryConfig.Builder
Overrides

getAptRepository()

public RemoteRepositoryConfig.AptRepository getAptRepository()

Specific settings for an Apt remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository apt_repository = 6;

Returns
Type Description
RemoteRepositoryConfig.AptRepository

The aptRepository.

getAptRepositoryBuilder()

public RemoteRepositoryConfig.AptRepository.Builder getAptRepositoryBuilder()

Specific settings for an Apt remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository apt_repository = 6;

Returns
Type Description
RemoteRepositoryConfig.AptRepository.Builder

getAptRepositoryOrBuilder()

public RemoteRepositoryConfig.AptRepositoryOrBuilder getAptRepositoryOrBuilder()

Specific settings for an Apt remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository apt_repository = 6;

Returns
Type Description
RemoteRepositoryConfig.AptRepositoryOrBuilder

getDefaultInstanceForType()

public RemoteRepositoryConfig getDefaultInstanceForType()
Returns
Type Description
RemoteRepositoryConfig

getDescription()

public String getDescription()

The description of the remote source.

string description = 1;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The description of the remote source.

string description = 1;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDockerRepository()

public RemoteRepositoryConfig.DockerRepository getDockerRepository()

Specific settings for a Docker remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository docker_repository = 2;

Returns
Type Description
RemoteRepositoryConfig.DockerRepository

The dockerRepository.

getDockerRepositoryBuilder()

public RemoteRepositoryConfig.DockerRepository.Builder getDockerRepositoryBuilder()

Specific settings for a Docker remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository docker_repository = 2;

Returns
Type Description
RemoteRepositoryConfig.DockerRepository.Builder

getDockerRepositoryOrBuilder()

public RemoteRepositoryConfig.DockerRepositoryOrBuilder getDockerRepositoryOrBuilder()

Specific settings for a Docker remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository docker_repository = 2;

Returns
Type Description
RemoteRepositoryConfig.DockerRepositoryOrBuilder

getMavenRepository()

public RemoteRepositoryConfig.MavenRepository getMavenRepository()

Specific settings for a Maven remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository maven_repository = 3;

Returns
Type Description
RemoteRepositoryConfig.MavenRepository

The mavenRepository.

getMavenRepositoryBuilder()

public RemoteRepositoryConfig.MavenRepository.Builder getMavenRepositoryBuilder()

Specific settings for a Maven remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository maven_repository = 3;

Returns
Type Description
RemoteRepositoryConfig.MavenRepository.Builder

getMavenRepositoryOrBuilder()

public RemoteRepositoryConfig.MavenRepositoryOrBuilder getMavenRepositoryOrBuilder()

Specific settings for a Maven remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository maven_repository = 3;

Returns
Type Description
RemoteRepositoryConfig.MavenRepositoryOrBuilder

getNpmRepository()

public RemoteRepositoryConfig.NpmRepository getNpmRepository()

Specific settings for an Npm remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepository npm_repository = 4;

Returns
Type Description
RemoteRepositoryConfig.NpmRepository

The npmRepository.

getNpmRepositoryBuilder()

public RemoteRepositoryConfig.NpmRepository.Builder getNpmRepositoryBuilder()

Specific settings for an Npm remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepository npm_repository = 4;

Returns
Type Description
RemoteRepositoryConfig.NpmRepository.Builder

getNpmRepositoryOrBuilder()

public RemoteRepositoryConfig.NpmRepositoryOrBuilder getNpmRepositoryOrBuilder()

Specific settings for an Npm remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepository npm_repository = 4;

Returns
Type Description
RemoteRepositoryConfig.NpmRepositoryOrBuilder

getPythonRepository()

public RemoteRepositoryConfig.PythonRepository getPythonRepository()

Specific settings for a Python remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepository python_repository = 5;

Returns
Type Description
RemoteRepositoryConfig.PythonRepository

The pythonRepository.

getPythonRepositoryBuilder()

public RemoteRepositoryConfig.PythonRepository.Builder getPythonRepositoryBuilder()

Specific settings for a Python remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepository python_repository = 5;

Returns
Type Description
RemoteRepositoryConfig.PythonRepository.Builder

getPythonRepositoryOrBuilder()

public RemoteRepositoryConfig.PythonRepositoryOrBuilder getPythonRepositoryOrBuilder()

Specific settings for a Python remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepository python_repository = 5;

Returns
Type Description
RemoteRepositoryConfig.PythonRepositoryOrBuilder

getRemoteSourceCase()

public RemoteRepositoryConfig.RemoteSourceCase getRemoteSourceCase()
Returns
Type Description
RemoteRepositoryConfig.RemoteSourceCase

getUpstreamCredentials()

public RemoteRepositoryConfig.UpstreamCredentials getUpstreamCredentials()

Optional. The credentials used to access the remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials upstream_credentials = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RemoteRepositoryConfig.UpstreamCredentials

The upstreamCredentials.

getUpstreamCredentialsBuilder()

public RemoteRepositoryConfig.UpstreamCredentials.Builder getUpstreamCredentialsBuilder()

Optional. The credentials used to access the remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials upstream_credentials = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RemoteRepositoryConfig.UpstreamCredentials.Builder

getUpstreamCredentialsOrBuilder()

public RemoteRepositoryConfig.UpstreamCredentialsOrBuilder getUpstreamCredentialsOrBuilder()

Optional. The credentials used to access the remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials upstream_credentials = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RemoteRepositoryConfig.UpstreamCredentialsOrBuilder

getYumRepository()

public RemoteRepositoryConfig.YumRepository getYumRepository()

Specific settings for a Yum remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository yum_repository = 7;

Returns
Type Description
RemoteRepositoryConfig.YumRepository

The yumRepository.

getYumRepositoryBuilder()

public RemoteRepositoryConfig.YumRepository.Builder getYumRepositoryBuilder()

Specific settings for a Yum remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository yum_repository = 7;

Returns
Type Description
RemoteRepositoryConfig.YumRepository.Builder

getYumRepositoryOrBuilder()

public RemoteRepositoryConfig.YumRepositoryOrBuilder getYumRepositoryOrBuilder()

Specific settings for a Yum remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository yum_repository = 7;

Returns
Type Description
RemoteRepositoryConfig.YumRepositoryOrBuilder

hasAptRepository()

public boolean hasAptRepository()

Specific settings for an Apt remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository apt_repository = 6;

Returns
Type Description
boolean

Whether the aptRepository field is set.

hasDockerRepository()

public boolean hasDockerRepository()

Specific settings for a Docker remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository docker_repository = 2;

Returns
Type Description
boolean

Whether the dockerRepository field is set.

hasMavenRepository()

public boolean hasMavenRepository()

Specific settings for a Maven remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository maven_repository = 3;

Returns
Type Description
boolean

Whether the mavenRepository field is set.

hasNpmRepository()

public boolean hasNpmRepository()

Specific settings for an Npm remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepository npm_repository = 4;

Returns
Type Description
boolean

Whether the npmRepository field is set.

hasPythonRepository()

public boolean hasPythonRepository()

Specific settings for a Python remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepository python_repository = 5;

Returns
Type Description
boolean

Whether the pythonRepository field is set.

hasUpstreamCredentials()

public boolean hasUpstreamCredentials()

Optional. The credentials used to access the remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials upstream_credentials = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the upstreamCredentials field is set.

hasYumRepository()

public boolean hasYumRepository()

Specific settings for a Yum remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository yum_repository = 7;

Returns
Type Description
boolean

Whether the yumRepository field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAptRepository(RemoteRepositoryConfig.AptRepository value)

public RemoteRepositoryConfig.Builder mergeAptRepository(RemoteRepositoryConfig.AptRepository value)

Specific settings for an Apt remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository apt_repository = 6;

Parameter
Name Description
value RemoteRepositoryConfig.AptRepository
Returns
Type Description
RemoteRepositoryConfig.Builder

mergeDockerRepository(RemoteRepositoryConfig.DockerRepository value)

public RemoteRepositoryConfig.Builder mergeDockerRepository(RemoteRepositoryConfig.DockerRepository value)

Specific settings for a Docker remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository docker_repository = 2;

Parameter
Name Description
value RemoteRepositoryConfig.DockerRepository
Returns
Type Description
RemoteRepositoryConfig.Builder

mergeFrom(RemoteRepositoryConfig other)

public RemoteRepositoryConfig.Builder mergeFrom(RemoteRepositoryConfig other)
Parameter
Name Description
other RemoteRepositoryConfig
Returns
Type Description
RemoteRepositoryConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RemoteRepositoryConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoteRepositoryConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RemoteRepositoryConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RemoteRepositoryConfig.Builder
Overrides

mergeMavenRepository(RemoteRepositoryConfig.MavenRepository value)

public RemoteRepositoryConfig.Builder mergeMavenRepository(RemoteRepositoryConfig.MavenRepository value)

Specific settings for a Maven remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository maven_repository = 3;

Parameter
Name Description
value RemoteRepositoryConfig.MavenRepository
Returns
Type Description
RemoteRepositoryConfig.Builder

mergeNpmRepository(RemoteRepositoryConfig.NpmRepository value)

public RemoteRepositoryConfig.Builder mergeNpmRepository(RemoteRepositoryConfig.NpmRepository value)

Specific settings for an Npm remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepository npm_repository = 4;

Parameter
Name Description
value RemoteRepositoryConfig.NpmRepository
Returns
Type Description
RemoteRepositoryConfig.Builder

mergePythonRepository(RemoteRepositoryConfig.PythonRepository value)

public RemoteRepositoryConfig.Builder mergePythonRepository(RemoteRepositoryConfig.PythonRepository value)

Specific settings for a Python remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepository python_repository = 5;

Parameter
Name Description
value RemoteRepositoryConfig.PythonRepository
Returns
Type Description
RemoteRepositoryConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RemoteRepositoryConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RemoteRepositoryConfig.Builder
Overrides

mergeUpstreamCredentials(RemoteRepositoryConfig.UpstreamCredentials value)

public RemoteRepositoryConfig.Builder mergeUpstreamCredentials(RemoteRepositoryConfig.UpstreamCredentials value)

Optional. The credentials used to access the remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials upstream_credentials = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value RemoteRepositoryConfig.UpstreamCredentials
Returns
Type Description
RemoteRepositoryConfig.Builder

mergeYumRepository(RemoteRepositoryConfig.YumRepository value)

public RemoteRepositoryConfig.Builder mergeYumRepository(RemoteRepositoryConfig.YumRepository value)

Specific settings for a Yum remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository yum_repository = 7;

Parameter
Name Description
value RemoteRepositoryConfig.YumRepository
Returns
Type Description
RemoteRepositoryConfig.Builder

setAptRepository(RemoteRepositoryConfig.AptRepository value)

public RemoteRepositoryConfig.Builder setAptRepository(RemoteRepositoryConfig.AptRepository value)

Specific settings for an Apt remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository apt_repository = 6;

Parameter
Name Description
value RemoteRepositoryConfig.AptRepository
Returns
Type Description
RemoteRepositoryConfig.Builder

setAptRepository(RemoteRepositoryConfig.AptRepository.Builder builderForValue)

public RemoteRepositoryConfig.Builder setAptRepository(RemoteRepositoryConfig.AptRepository.Builder builderForValue)

Specific settings for an Apt remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository apt_repository = 6;

Parameter
Name Description
builderForValue RemoteRepositoryConfig.AptRepository.Builder
Returns
Type Description
RemoteRepositoryConfig.Builder

setDescription(String value)

public RemoteRepositoryConfig.Builder setDescription(String value)

The description of the remote source.

string description = 1;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
RemoteRepositoryConfig.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public RemoteRepositoryConfig.Builder setDescriptionBytes(ByteString value)

The description of the remote source.

string description = 1;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
RemoteRepositoryConfig.Builder

This builder for chaining.

setDockerRepository(RemoteRepositoryConfig.DockerRepository value)

public RemoteRepositoryConfig.Builder setDockerRepository(RemoteRepositoryConfig.DockerRepository value)

Specific settings for a Docker remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository docker_repository = 2;

Parameter
Name Description
value RemoteRepositoryConfig.DockerRepository
Returns
Type Description
RemoteRepositoryConfig.Builder

setDockerRepository(RemoteRepositoryConfig.DockerRepository.Builder builderForValue)

public RemoteRepositoryConfig.Builder setDockerRepository(RemoteRepositoryConfig.DockerRepository.Builder builderForValue)

Specific settings for a Docker remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository docker_repository = 2;

Parameter
Name Description
builderForValue RemoteRepositoryConfig.DockerRepository.Builder
Returns
Type Description
RemoteRepositoryConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RemoteRepositoryConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RemoteRepositoryConfig.Builder
Overrides

setMavenRepository(RemoteRepositoryConfig.MavenRepository value)

public RemoteRepositoryConfig.Builder setMavenRepository(RemoteRepositoryConfig.MavenRepository value)

Specific settings for a Maven remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository maven_repository = 3;

Parameter
Name Description
value RemoteRepositoryConfig.MavenRepository
Returns
Type Description
RemoteRepositoryConfig.Builder

setMavenRepository(RemoteRepositoryConfig.MavenRepository.Builder builderForValue)

public RemoteRepositoryConfig.Builder setMavenRepository(RemoteRepositoryConfig.MavenRepository.Builder builderForValue)

Specific settings for a Maven remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository maven_repository = 3;

Parameter
Name Description
builderForValue RemoteRepositoryConfig.MavenRepository.Builder
Returns
Type Description
RemoteRepositoryConfig.Builder

setNpmRepository(RemoteRepositoryConfig.NpmRepository value)

public RemoteRepositoryConfig.Builder setNpmRepository(RemoteRepositoryConfig.NpmRepository value)

Specific settings for an Npm remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepository npm_repository = 4;

Parameter
Name Description
value RemoteRepositoryConfig.NpmRepository
Returns
Type Description
RemoteRepositoryConfig.Builder

setNpmRepository(RemoteRepositoryConfig.NpmRepository.Builder builderForValue)

public RemoteRepositoryConfig.Builder setNpmRepository(RemoteRepositoryConfig.NpmRepository.Builder builderForValue)

Specific settings for an Npm remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepository npm_repository = 4;

Parameter
Name Description
builderForValue RemoteRepositoryConfig.NpmRepository.Builder
Returns
Type Description
RemoteRepositoryConfig.Builder

setPythonRepository(RemoteRepositoryConfig.PythonRepository value)

public RemoteRepositoryConfig.Builder setPythonRepository(RemoteRepositoryConfig.PythonRepository value)

Specific settings for a Python remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepository python_repository = 5;

Parameter
Name Description
value RemoteRepositoryConfig.PythonRepository
Returns
Type Description
RemoteRepositoryConfig.Builder

setPythonRepository(RemoteRepositoryConfig.PythonRepository.Builder builderForValue)

public RemoteRepositoryConfig.Builder setPythonRepository(RemoteRepositoryConfig.PythonRepository.Builder builderForValue)

Specific settings for a Python remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepository python_repository = 5;

Parameter
Name Description
builderForValue RemoteRepositoryConfig.PythonRepository.Builder
Returns
Type Description
RemoteRepositoryConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RemoteRepositoryConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RemoteRepositoryConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RemoteRepositoryConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RemoteRepositoryConfig.Builder
Overrides

setUpstreamCredentials(RemoteRepositoryConfig.UpstreamCredentials value)

public RemoteRepositoryConfig.Builder setUpstreamCredentials(RemoteRepositoryConfig.UpstreamCredentials value)

Optional. The credentials used to access the remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials upstream_credentials = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value RemoteRepositoryConfig.UpstreamCredentials
Returns
Type Description
RemoteRepositoryConfig.Builder

setUpstreamCredentials(RemoteRepositoryConfig.UpstreamCredentials.Builder builderForValue)

public RemoteRepositoryConfig.Builder setUpstreamCredentials(RemoteRepositoryConfig.UpstreamCredentials.Builder builderForValue)

Optional. The credentials used to access the remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials upstream_credentials = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue RemoteRepositoryConfig.UpstreamCredentials.Builder
Returns
Type Description
RemoteRepositoryConfig.Builder

setYumRepository(RemoteRepositoryConfig.YumRepository value)

public RemoteRepositoryConfig.Builder setYumRepository(RemoteRepositoryConfig.YumRepository value)

Specific settings for a Yum remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository yum_repository = 7;

Parameter
Name Description
value RemoteRepositoryConfig.YumRepository
Returns
Type Description
RemoteRepositoryConfig.Builder

setYumRepository(RemoteRepositoryConfig.YumRepository.Builder builderForValue)

public RemoteRepositoryConfig.Builder setYumRepository(RemoteRepositoryConfig.YumRepository.Builder builderForValue)

Specific settings for a Yum remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository yum_repository = 7;

Parameter
Name Description
builderForValue RemoteRepositoryConfig.YumRepository.Builder
Returns
Type Description
RemoteRepositoryConfig.Builder