Class RemoteRepositoryConfig.Builder (1.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RemoteRepositoryConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RemoteRepositoryConfig.Builder
Overrides

build()

public RemoteRepositoryConfig build()
Returns
TypeDescription
RemoteRepositoryConfig

buildPartial()

public RemoteRepositoryConfig buildPartial()
Returns
TypeDescription
RemoteRepositoryConfig

clear()

public RemoteRepositoryConfig.Builder clear()
Returns
TypeDescription
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
TypeDescription
RemoteRepositoryConfig.Builder

clearDescription()

public RemoteRepositoryConfig.Builder clearDescription()

The description of the remote source.

string description = 1;

Returns
TypeDescription
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
TypeDescription
RemoteRepositoryConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public RemoteRepositoryConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
RemoteRepositoryConfig.Builder

clearNpmRepository()

public RemoteRepositoryConfig.Builder clearNpmRepository()

Specific settings for an Npm remote repository.

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

Returns
TypeDescription
RemoteRepositoryConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public RemoteRepositoryConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
RemoteRepositoryConfig.Builder

clearRemoteSource()

public RemoteRepositoryConfig.Builder clearRemoteSource()
Returns
TypeDescription
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
TypeDescription
RemoteRepositoryConfig.Builder

clearYumRepository()

public RemoteRepositoryConfig.Builder clearYumRepository()

Specific settings for a Yum remote repository.

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

Returns
TypeDescription
RemoteRepositoryConfig.Builder

clone()

public RemoteRepositoryConfig.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
RemoteRepositoryConfig.AptRepositoryOrBuilder

getDefaultInstanceForType()

public RemoteRepositoryConfig getDefaultInstanceForType()
Returns
TypeDescription
RemoteRepositoryConfig

getDescription()

public String getDescription()

The description of the remote source.

string description = 1;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The description of the remote source.

string description = 1;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDockerRepository()

public RemoteRepositoryConfig.DockerRepository getDockerRepository()

Specific settings for a Docker remote repository.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
RemoteRepositoryConfig.DockerRepositoryOrBuilder

getMavenRepository()

public RemoteRepositoryConfig.MavenRepository getMavenRepository()

Specific settings for a Maven remote repository.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
RemoteRepositoryConfig.MavenRepositoryOrBuilder

getNpmRepository()

public RemoteRepositoryConfig.NpmRepository getNpmRepository()

Specific settings for an Npm remote repository.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
RemoteRepositoryConfig.NpmRepositoryOrBuilder

getPythonRepository()

public RemoteRepositoryConfig.PythonRepository getPythonRepository()

Specific settings for a Python remote repository.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
RemoteRepositoryConfig.PythonRepositoryOrBuilder

getRemoteSourceCase()

public RemoteRepositoryConfig.RemoteSourceCase getRemoteSourceCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
RemoteRepositoryConfig.UpstreamCredentialsOrBuilder

getYumRepository()

public RemoteRepositoryConfig.YumRepository getYumRepository()

Specific settings for a Yum remote repository.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
RemoteRepositoryConfig.YumRepositoryOrBuilder

hasAptRepository()

public boolean hasAptRepository()

Specific settings for an Apt remote repository.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the yumRepository field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueRemoteRepositoryConfig.AptRepository
Returns
TypeDescription
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
NameDescription
valueRemoteRepositoryConfig.DockerRepository
Returns
TypeDescription
RemoteRepositoryConfig.Builder

mergeFrom(RemoteRepositoryConfig other)

public RemoteRepositoryConfig.Builder mergeFrom(RemoteRepositoryConfig other)
Parameter
NameDescription
otherRemoteRepositoryConfig
Returns
TypeDescription
RemoteRepositoryConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RemoteRepositoryConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoteRepositoryConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RemoteRepositoryConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueRemoteRepositoryConfig.MavenRepository
Returns
TypeDescription
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
NameDescription
valueRemoteRepositoryConfig.NpmRepository
Returns
TypeDescription
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
NameDescription
valueRemoteRepositoryConfig.PythonRepository
Returns
TypeDescription
RemoteRepositoryConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RemoteRepositoryConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueRemoteRepositoryConfig.UpstreamCredentials
Returns
TypeDescription
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
NameDescription
valueRemoteRepositoryConfig.YumRepository
Returns
TypeDescription
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
NameDescription
valueRemoteRepositoryConfig.AptRepository
Returns
TypeDescription
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
NameDescription
builderForValueRemoteRepositoryConfig.AptRepository.Builder
Returns
TypeDescription
RemoteRepositoryConfig.Builder

setDescription(String value)

public RemoteRepositoryConfig.Builder setDescription(String value)

The description of the remote source.

string description = 1;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
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
NameDescription
valueRemoteRepositoryConfig.DockerRepository
Returns
TypeDescription
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
NameDescription
builderForValueRemoteRepositoryConfig.DockerRepository.Builder
Returns
TypeDescription
RemoteRepositoryConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RemoteRepositoryConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueRemoteRepositoryConfig.MavenRepository
Returns
TypeDescription
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
NameDescription
builderForValueRemoteRepositoryConfig.MavenRepository.Builder
Returns
TypeDescription
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
NameDescription
valueRemoteRepositoryConfig.NpmRepository
Returns
TypeDescription
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
NameDescription
builderForValueRemoteRepositoryConfig.NpmRepository.Builder
Returns
TypeDescription
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
NameDescription
valueRemoteRepositoryConfig.PythonRepository
Returns
TypeDescription
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
NameDescription
builderForValueRemoteRepositoryConfig.PythonRepository.Builder
Returns
TypeDescription
RemoteRepositoryConfig.Builder

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

public RemoteRepositoryConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RemoteRepositoryConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RemoteRepositoryConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueRemoteRepositoryConfig.UpstreamCredentials
Returns
TypeDescription
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
NameDescription
builderForValueRemoteRepositoryConfig.UpstreamCredentials.Builder
Returns
TypeDescription
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
NameDescription
valueRemoteRepositoryConfig.YumRepository
Returns
TypeDescription
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
NameDescription
builderForValueRemoteRepositoryConfig.YumRepository.Builder
Returns
TypeDescription
RemoteRepositoryConfig.Builder