public final class RemoteRepositoryConfig extends GeneratedMessageV3 implements RemoteRepositoryConfigOrBuilder
Remote repository configuration.
Protobuf type google.devtools.artifactregistry.v1.RemoteRepositoryConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
public static final int APT_REPOSITORY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int DOCKER_REPOSITORY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int MAVEN_REPOSITORY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int NPM_REPOSITORY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int PYTHON_REPOSITORY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int UPSTREAM_CREDENTIALS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int YUM_REPOSITORY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static RemoteRepositoryConfig getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static RemoteRepositoryConfig.Builder newBuilder()
public static RemoteRepositoryConfig.Builder newBuilder(RemoteRepositoryConfig prototype)
public static RemoteRepositoryConfig parseDelimitedFrom(InputStream input)
public static RemoteRepositoryConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RemoteRepositoryConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static RemoteRepositoryConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RemoteRepositoryConfig parseFrom(ByteString data)
public static RemoteRepositoryConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RemoteRepositoryConfig parseFrom(CodedInputStream input)
public static RemoteRepositoryConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RemoteRepositoryConfig parseFrom(InputStream input)
public static RemoteRepositoryConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RemoteRepositoryConfig parseFrom(ByteBuffer data)
public static RemoteRepositoryConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<RemoteRepositoryConfig> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public RemoteRepositoryConfig.AptRepository getAptRepository()
Specific settings for an Apt remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository apt_repository = 6;
public RemoteRepositoryConfig.AptRepositoryOrBuilder getAptRepositoryOrBuilder()
Specific settings for an Apt remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository apt_repository = 6;
public RemoteRepositoryConfig getDefaultInstanceForType()
public String getDescription()
The description of the remote source.
string description = 1;
Returns |
---|
Type | Description |
String | The description.
|
public ByteString getDescriptionBytes()
The description of the remote source.
string description = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for description.
|
public RemoteRepositoryConfig.DockerRepository getDockerRepository()
Specific settings for a Docker remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository docker_repository = 2;
public RemoteRepositoryConfig.DockerRepositoryOrBuilder getDockerRepositoryOrBuilder()
Specific settings for a Docker remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository docker_repository = 2;
public RemoteRepositoryConfig.MavenRepository getMavenRepository()
Specific settings for a Maven remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository maven_repository = 3;
public RemoteRepositoryConfig.MavenRepositoryOrBuilder getMavenRepositoryOrBuilder()
Specific settings for a Maven remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository maven_repository = 3;
public RemoteRepositoryConfig.NpmRepository getNpmRepository()
Specific settings for an Npm remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepository npm_repository = 4;
public RemoteRepositoryConfig.NpmRepositoryOrBuilder getNpmRepositoryOrBuilder()
Specific settings for an Npm remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepository npm_repository = 4;
public Parser<RemoteRepositoryConfig> getParserForType()
Overrides
public RemoteRepositoryConfig.PythonRepository getPythonRepository()
Specific settings for a Python remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepository python_repository = 5;
public RemoteRepositoryConfig.PythonRepositoryOrBuilder getPythonRepositoryOrBuilder()
Specific settings for a Python remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepository python_repository = 5;
public RemoteRepositoryConfig.RemoteSourceCase getRemoteSourceCase()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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];
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];
public RemoteRepositoryConfig.YumRepository getYumRepository()
Specific settings for a Yum remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository yum_repository = 7;
public RemoteRepositoryConfig.YumRepositoryOrBuilder getYumRepositoryOrBuilder()
Specific settings for a Yum remote repository.
.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository yum_repository = 7;
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public RemoteRepositoryConfig.Builder newBuilderForType()
protected RemoteRepositoryConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public RemoteRepositoryConfig.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides