Class RemoteRepositoryConfig (1.46.0)

public final class RemoteRepositoryConfig extends GeneratedMessageV3 implements RemoteRepositoryConfigOrBuilder

Remote repository configuration.

Protobuf type google.devtools.artifactregistry.v1.RemoteRepositoryConfig

Static Fields

APT_REPOSITORY_FIELD_NUMBER

public static final int APT_REPOSITORY_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DOCKER_REPOSITORY_FIELD_NUMBER

public static final int DOCKER_REPOSITORY_FIELD_NUMBER
Field Value
Type Description
int

MAVEN_REPOSITORY_FIELD_NUMBER

public static final int MAVEN_REPOSITORY_FIELD_NUMBER
Field Value
Type Description
int

NPM_REPOSITORY_FIELD_NUMBER

public static final int NPM_REPOSITORY_FIELD_NUMBER
Field Value
Type Description
int

PYTHON_REPOSITORY_FIELD_NUMBER

public static final int PYTHON_REPOSITORY_FIELD_NUMBER
Field Value
Type Description
int

UPSTREAM_CREDENTIALS_FIELD_NUMBER

public static final int UPSTREAM_CREDENTIALS_FIELD_NUMBER
Field Value
Type Description
int

YUM_REPOSITORY_FIELD_NUMBER

public static final int YUM_REPOSITORY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RemoteRepositoryConfig getDefaultInstance()
Returns
Type Description
RemoteRepositoryConfig

getDescriptor()

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

newBuilder()

public static RemoteRepositoryConfig.Builder newBuilder()
Returns
Type Description
RemoteRepositoryConfig.Builder

newBuilder(RemoteRepositoryConfig prototype)

public static RemoteRepositoryConfig.Builder newBuilder(RemoteRepositoryConfig prototype)
Parameter
Name Description
prototype RemoteRepositoryConfig
Returns
Type Description
RemoteRepositoryConfig.Builder

parseDelimitedFrom(InputStream input)

public static RemoteRepositoryConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RemoteRepositoryConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoteRepositoryConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoteRepositoryConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RemoteRepositoryConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RemoteRepositoryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RemoteRepositoryConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoteRepositoryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RemoteRepositoryConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RemoteRepositoryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RemoteRepositoryConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoteRepositoryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RemoteRepositoryConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RemoteRepositoryConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoteRepositoryConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoteRepositoryConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RemoteRepositoryConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RemoteRepositoryConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoteRepositoryConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoteRepositoryConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RemoteRepositoryConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RemoteRepositoryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RemoteRepositoryConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoteRepositoryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RemoteRepositoryConfig> parser()
Returns
Type Description
Parser<RemoteRepositoryConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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.

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.

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.

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.

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

getParserForType()

public Parser<RemoteRepositoryConfig> getParserForType()
Returns
Type Description
Parser<RemoteRepositoryConfig>
Overrides

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.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RemoteRepositoryConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RemoteRepositoryConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException