Class RemoteRepositoryConfig (1.36.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
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

DOCKER_REPOSITORY_FIELD_NUMBER

public static final int DOCKER_REPOSITORY_FIELD_NUMBER
Field Value
TypeDescription
int

MAVEN_REPOSITORY_FIELD_NUMBER

public static final int MAVEN_REPOSITORY_FIELD_NUMBER
Field Value
TypeDescription
int

NPM_REPOSITORY_FIELD_NUMBER

public static final int NPM_REPOSITORY_FIELD_NUMBER
Field Value
TypeDescription
int

PYTHON_REPOSITORY_FIELD_NUMBER

public static final int PYTHON_REPOSITORY_FIELD_NUMBER
Field Value
TypeDescription
int

UPSTREAM_CREDENTIALS_FIELD_NUMBER

public static final int UPSTREAM_CREDENTIALS_FIELD_NUMBER
Field Value
TypeDescription
int

YUM_REPOSITORY_FIELD_NUMBER

public static final int YUM_REPOSITORY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RemoteRepositoryConfig getDefaultInstance()
Returns
TypeDescription
RemoteRepositoryConfig

getDescriptor()

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

newBuilder()

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

newBuilder(RemoteRepositoryConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

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.

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.

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.

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.

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

getParserForType()

public Parser<RemoteRepositoryConfig> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
RemoteRepositoryConfig.PythonRepositoryOrBuilder

getRemoteSourceCase()

public RemoteRepositoryConfig.RemoteSourceCase getRemoteSourceCase()
Returns
TypeDescription
RemoteRepositoryConfig.RemoteSourceCase

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
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.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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