Class RemoteRepositoryConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.devtools.artifactregistry.v1.RemoteRepositoryConfig
All Implemented Interfaces:
RemoteRepositoryConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class RemoteRepositoryConfig extends com.google.protobuf.GeneratedMessage implements RemoteRepositoryConfigOrBuilder
 Remote repository configuration.
 
Protobuf type google.devtools.artifactregistry.v1.RemoteRepositoryConfig
See Also:
  • Field Details

    • DOCKER_REPOSITORY_FIELD_NUMBER

      public static final int DOCKER_REPOSITORY_FIELD_NUMBER
      See Also:
    • MAVEN_REPOSITORY_FIELD_NUMBER

      public static final int MAVEN_REPOSITORY_FIELD_NUMBER
      See Also:
    • NPM_REPOSITORY_FIELD_NUMBER

      public static final int NPM_REPOSITORY_FIELD_NUMBER
      See Also:
    • PYTHON_REPOSITORY_FIELD_NUMBER

      public static final int PYTHON_REPOSITORY_FIELD_NUMBER
      See Also:
    • APT_REPOSITORY_FIELD_NUMBER

      public static final int APT_REPOSITORY_FIELD_NUMBER
      See Also:
    • YUM_REPOSITORY_FIELD_NUMBER

      public static final int YUM_REPOSITORY_FIELD_NUMBER
      See Also:
    • COMMON_REPOSITORY_FIELD_NUMBER

      public static final int COMMON_REPOSITORY_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • UPSTREAM_CREDENTIALS_FIELD_NUMBER

      public static final int UPSTREAM_CREDENTIALS_FIELD_NUMBER
      See Also:
    • DISABLE_UPSTREAM_VALIDATION_FIELD_NUMBER

      public static final int DISABLE_UPSTREAM_VALIDATION_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getRemoteSourceCase

      public RemoteRepositoryConfig.RemoteSourceCase getRemoteSourceCase()
      Specified by:
      getRemoteSourceCase in interface RemoteRepositoryConfigOrBuilder
    • hasDockerRepository

      public boolean hasDockerRepository()
       Specific settings for a Docker remote repository.
       
      .google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository docker_repository = 2;
      Specified by:
      hasDockerRepository in interface RemoteRepositoryConfigOrBuilder
      Returns:
      Whether the dockerRepository field is set.
    • getDockerRepository

      public RemoteRepositoryConfig.DockerRepository getDockerRepository()
       Specific settings for a Docker remote repository.
       
      .google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository docker_repository = 2;
      Specified by:
      getDockerRepository in interface RemoteRepositoryConfigOrBuilder
      Returns:
      The dockerRepository.
    • getDockerRepositoryOrBuilder

      public RemoteRepositoryConfig.DockerRepositoryOrBuilder getDockerRepositoryOrBuilder()
       Specific settings for a Docker remote repository.
       
      .google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository docker_repository = 2;
      Specified by:
      getDockerRepositoryOrBuilder in interface RemoteRepositoryConfigOrBuilder
    • hasMavenRepository

      public boolean hasMavenRepository()
       Specific settings for a Maven remote repository.
       
      .google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository maven_repository = 3;
      Specified by:
      hasMavenRepository in interface RemoteRepositoryConfigOrBuilder
      Returns:
      Whether the mavenRepository field is set.
    • getMavenRepository

      public RemoteRepositoryConfig.MavenRepository getMavenRepository()
       Specific settings for a Maven remote repository.
       
      .google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository maven_repository = 3;
      Specified by:
      getMavenRepository in interface RemoteRepositoryConfigOrBuilder
      Returns:
      The mavenRepository.
    • getMavenRepositoryOrBuilder

      public RemoteRepositoryConfig.MavenRepositoryOrBuilder getMavenRepositoryOrBuilder()
       Specific settings for a Maven remote repository.
       
      .google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository maven_repository = 3;
      Specified by:
      getMavenRepositoryOrBuilder in interface RemoteRepositoryConfigOrBuilder
    • hasNpmRepository

      public boolean hasNpmRepository()
       Specific settings for an Npm remote repository.
       
      .google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepository npm_repository = 4;
      Specified by:
      hasNpmRepository in interface RemoteRepositoryConfigOrBuilder
      Returns:
      Whether the npmRepository field is set.
    • getNpmRepository

      public RemoteRepositoryConfig.NpmRepository getNpmRepository()
       Specific settings for an Npm remote repository.
       
      .google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepository npm_repository = 4;
      Specified by:
      getNpmRepository in interface RemoteRepositoryConfigOrBuilder
      Returns:
      The npmRepository.
    • getNpmRepositoryOrBuilder

      public RemoteRepositoryConfig.NpmRepositoryOrBuilder getNpmRepositoryOrBuilder()
       Specific settings for an Npm remote repository.
       
      .google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepository npm_repository = 4;
      Specified by:
      getNpmRepositoryOrBuilder in interface RemoteRepositoryConfigOrBuilder
    • hasPythonRepository

      public boolean hasPythonRepository()
       Specific settings for a Python remote repository.
       
      .google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepository python_repository = 5;
      Specified by:
      hasPythonRepository in interface RemoteRepositoryConfigOrBuilder
      Returns:
      Whether the pythonRepository field is set.
    • getPythonRepository

      public RemoteRepositoryConfig.PythonRepository getPythonRepository()
       Specific settings for a Python remote repository.
       
      .google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepository python_repository = 5;
      Specified by:
      getPythonRepository in interface RemoteRepositoryConfigOrBuilder
      Returns:
      The pythonRepository.
    • getPythonRepositoryOrBuilder

      public RemoteRepositoryConfig.PythonRepositoryOrBuilder getPythonRepositoryOrBuilder()
       Specific settings for a Python remote repository.
       
      .google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepository python_repository = 5;
      Specified by:
      getPythonRepositoryOrBuilder in interface RemoteRepositoryConfigOrBuilder
    • hasAptRepository

      public boolean hasAptRepository()
       Specific settings for an Apt remote repository.
       
      .google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository apt_repository = 6;
      Specified by:
      hasAptRepository in interface RemoteRepositoryConfigOrBuilder
      Returns:
      Whether the aptRepository field is set.
    • getAptRepository

      public RemoteRepositoryConfig.AptRepository getAptRepository()
       Specific settings for an Apt remote repository.
       
      .google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository apt_repository = 6;
      Specified by:
      getAptRepository in interface RemoteRepositoryConfigOrBuilder
      Returns:
      The aptRepository.
    • getAptRepositoryOrBuilder

      public RemoteRepositoryConfig.AptRepositoryOrBuilder getAptRepositoryOrBuilder()
       Specific settings for an Apt remote repository.
       
      .google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository apt_repository = 6;
      Specified by:
      getAptRepositoryOrBuilder in interface RemoteRepositoryConfigOrBuilder
    • hasYumRepository

      public boolean hasYumRepository()
       Specific settings for a Yum remote repository.
       
      .google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository yum_repository = 7;
      Specified by:
      hasYumRepository in interface RemoteRepositoryConfigOrBuilder
      Returns:
      Whether the yumRepository field is set.
    • getYumRepository

      public RemoteRepositoryConfig.YumRepository getYumRepository()
       Specific settings for a Yum remote repository.
       
      .google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository yum_repository = 7;
      Specified by:
      getYumRepository in interface RemoteRepositoryConfigOrBuilder
      Returns:
      The yumRepository.
    • getYumRepositoryOrBuilder

      public RemoteRepositoryConfig.YumRepositoryOrBuilder getYumRepositoryOrBuilder()
       Specific settings for a Yum remote repository.
       
      .google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository yum_repository = 7;
      Specified by:
      getYumRepositoryOrBuilder in interface RemoteRepositoryConfigOrBuilder
    • hasCommonRepository

      public boolean hasCommonRepository()
       Common remote repository settings.
       Used as the remote repository upstream URL.
       
      .google.devtools.artifactregistry.v1.RemoteRepositoryConfig.CommonRemoteRepository common_repository = 14;
      Specified by:
      hasCommonRepository in interface RemoteRepositoryConfigOrBuilder
      Returns:
      Whether the commonRepository field is set.
    • 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;
      Specified by:
      getCommonRepository in interface RemoteRepositoryConfigOrBuilder
      Returns:
      The commonRepository.
    • 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;
      Specified by:
      getCommonRepositoryOrBuilder in interface RemoteRepositoryConfigOrBuilder
    • getDescription

      public String getDescription()
       The description of the remote source.
       
      string description = 1;
      Specified by:
      getDescription in interface RemoteRepositoryConfigOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       The description of the remote source.
       
      string description = 1;
      Specified by:
      getDescriptionBytes in interface RemoteRepositoryConfigOrBuilder
      Returns:
      The bytes for description.
    • 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];
      Specified by:
      hasUpstreamCredentials in interface RemoteRepositoryConfigOrBuilder
      Returns:
      Whether the upstreamCredentials field is set.
    • 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];
      Specified by:
      getUpstreamCredentials in interface RemoteRepositoryConfigOrBuilder
      Returns:
      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];
      Specified by:
      getUpstreamCredentialsOrBuilder in interface RemoteRepositoryConfigOrBuilder
    • 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];
      Specified by:
      getDisableUpstreamValidation in interface RemoteRepositoryConfigOrBuilder
      Returns:
      The disableUpstreamValidation.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static RemoteRepositoryConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RemoteRepositoryConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RemoteRepositoryConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RemoteRepositoryConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RemoteRepositoryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RemoteRepositoryConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RemoteRepositoryConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RemoteRepositoryConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static RemoteRepositoryConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static RemoteRepositoryConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RemoteRepositoryConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RemoteRepositoryConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public RemoteRepositoryConfig.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static RemoteRepositoryConfig.Builder newBuilder()
    • newBuilder

      public static RemoteRepositoryConfig.Builder newBuilder(RemoteRepositoryConfig prototype)
    • toBuilder

      public RemoteRepositoryConfig.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected RemoteRepositoryConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static RemoteRepositoryConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<RemoteRepositoryConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<RemoteRepositoryConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public RemoteRepositoryConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder