- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.9
- 1.1.1
- 0.5.0
- 0.4.0
public static final class RemoteRepositoryConfig.Builder extends GeneratedMessageV3.Builder<RemoteRepositoryConfig.Builder> implements RemoteRepositoryConfigOrBuilder
Remote repository configuration.
Protobuf type google.devtools.artifactregistry.v1.RemoteRepositoryConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RemoteRepositoryConfig.BuilderImplements
RemoteRepositoryConfigOrBuilderStatic 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 |
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 |
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 |
clearCommonRepository()
public RemoteRepositoryConfig.Builder clearCommonRepository()
Common remote repository settings. Used as the remote repository upstream URL.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.CommonRemoteRepository common_repository = 14;
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. |
clearDisableUpstreamValidation()
public RemoteRepositoryConfig.Builder clearDisableUpstreamValidation()
Input only. A create/update remote repo option to avoid making a HEAD/GET request to validate a remote repo and any supplied upstream credentials.
bool disable_upstream_validation = 12 [(.google.api.field_behavior) = INPUT_ONLY];
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 |
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 |
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 |
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 |
getCommonRepository()
public RemoteRepositoryConfig.CommonRemoteRepository getCommonRepository()
Common remote repository settings. Used as the remote repository upstream URL.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.CommonRemoteRepository common_repository = 14;
Returns | |
---|---|
Type | Description |
RemoteRepositoryConfig.CommonRemoteRepository |
The commonRepository. |
getCommonRepositoryBuilder()
public RemoteRepositoryConfig.CommonRemoteRepository.Builder getCommonRepositoryBuilder()
Common remote repository settings. Used as the remote repository upstream URL.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.CommonRemoteRepository common_repository = 14;
Returns | |
---|---|
Type | Description |
RemoteRepositoryConfig.CommonRemoteRepository.Builder |
getCommonRepositoryOrBuilder()
public RemoteRepositoryConfig.CommonRemoteRepositoryOrBuilder getCommonRepositoryOrBuilder()
Common remote repository settings. Used as the remote repository upstream URL.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.CommonRemoteRepository common_repository = 14;
Returns | |
---|---|
Type | Description |
RemoteRepositoryConfig.CommonRemoteRepositoryOrBuilder |
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 |
getDisableUpstreamValidation()
public boolean getDisableUpstreamValidation()
Input only. A create/update remote repo option to avoid making a HEAD/GET request to validate a remote repo and any supplied upstream credentials.
bool disable_upstream_validation = 12 [(.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
The disableUpstreamValidation. |
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. |
hasCommonRepository()
public boolean hasCommonRepository()
Common remote repository settings. Used as the remote repository upstream URL.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.CommonRemoteRepository common_repository = 14;
Returns | |
---|---|
Type | Description |
boolean |
Whether the commonRepository 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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
mergeCommonRepository(RemoteRepositoryConfig.CommonRemoteRepository value)
public RemoteRepositoryConfig.Builder mergeCommonRepository(RemoteRepositoryConfig.CommonRemoteRepository value)
Common remote repository settings. Used as the remote repository upstream URL.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.CommonRemoteRepository common_repository = 14;
Parameter | |
---|---|
Name | Description |
value |
RemoteRepositoryConfig.CommonRemoteRepository |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RemoteRepositoryConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
RemoteRepositoryConfig.Builder |
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 |
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 |
setCommonRepository(RemoteRepositoryConfig.CommonRemoteRepository value)
public RemoteRepositoryConfig.Builder setCommonRepository(RemoteRepositoryConfig.CommonRemoteRepository value)
Common remote repository settings. Used as the remote repository upstream URL.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.CommonRemoteRepository common_repository = 14;
Parameter | |
---|---|
Name | Description |
value |
RemoteRepositoryConfig.CommonRemoteRepository |
Returns | |
---|---|
Type | Description |
RemoteRepositoryConfig.Builder |
setCommonRepository(RemoteRepositoryConfig.CommonRemoteRepository.Builder builderForValue)
public RemoteRepositoryConfig.Builder setCommonRepository(RemoteRepositoryConfig.CommonRemoteRepository.Builder builderForValue)
Common remote repository settings. Used as the remote repository upstream URL.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.CommonRemoteRepository common_repository = 14;
Parameter | |
---|---|
Name | Description |
builderForValue |
RemoteRepositoryConfig.CommonRemoteRepository.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. |
setDisableUpstreamValidation(boolean value)
public RemoteRepositoryConfig.Builder setDisableUpstreamValidation(boolean value)
Input only. A create/update remote repo option to avoid making a HEAD/GET request to validate a remote repo and any supplied upstream credentials.
bool disable_upstream_validation = 12 [(.google.api.field_behavior) = INPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
boolean The disableUpstreamValidation 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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final RemoteRepositoryConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RemoteRepositoryConfig.Builder |
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 |