...

Source file src/google.golang.org/genproto/googleapis/devtools/artifactregistry/v1/alias.go

Documentation: google.golang.org/genproto/googleapis/devtools/artifactregistry/v1

     1  // Copyright 2022 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by aliasgen. DO NOT EDIT.
    16  
    17  // Package artifactregistry aliases all exported identifiers in package
    18  // "cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb".
    19  //
    20  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb.
    21  // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
    22  // for more details.
    23  package artifactregistry
    24  
    25  import (
    26  	src "cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb"
    27  	grpc "google.golang.org/grpc"
    28  )
    29  
    30  // Deprecated: Please use consts in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
    31  const (
    32  	AptArtifact_BINARY                                          = src.AptArtifact_BINARY
    33  	AptArtifact_PACKAGE_TYPE_UNSPECIFIED                        = src.AptArtifact_PACKAGE_TYPE_UNSPECIFIED
    34  	AptArtifact_SOURCE                                          = src.AptArtifact_SOURCE
    35  	Hash_HASH_TYPE_UNSPECIFIED                                  = src.Hash_HASH_TYPE_UNSPECIFIED
    36  	Hash_MD5                                                    = src.Hash_MD5
    37  	Hash_SHA256                                                 = src.Hash_SHA256
    38  	ProjectSettings_REDIRECTION_FROM_GCR_IO_DISABLED            = src.ProjectSettings_REDIRECTION_FROM_GCR_IO_DISABLED
    39  	ProjectSettings_REDIRECTION_FROM_GCR_IO_ENABLED             = src.ProjectSettings_REDIRECTION_FROM_GCR_IO_ENABLED
    40  	ProjectSettings_REDIRECTION_FROM_GCR_IO_FINALIZED           = src.ProjectSettings_REDIRECTION_FROM_GCR_IO_FINALIZED
    41  	ProjectSettings_REDIRECTION_STATE_UNSPECIFIED               = src.ProjectSettings_REDIRECTION_STATE_UNSPECIFIED
    42  	Repository_APT                                              = src.Repository_APT
    43  	Repository_DOCKER                                           = src.Repository_DOCKER
    44  	Repository_FORMAT_UNSPECIFIED                               = src.Repository_FORMAT_UNSPECIFIED
    45  	Repository_MAVEN                                            = src.Repository_MAVEN
    46  	Repository_MavenRepositoryConfig_RELEASE                    = src.Repository_MavenRepositoryConfig_RELEASE
    47  	Repository_MavenRepositoryConfig_SNAPSHOT                   = src.Repository_MavenRepositoryConfig_SNAPSHOT
    48  	Repository_MavenRepositoryConfig_VERSION_POLICY_UNSPECIFIED = src.Repository_MavenRepositoryConfig_VERSION_POLICY_UNSPECIFIED
    49  	Repository_NPM                                              = src.Repository_NPM
    50  	Repository_PYTHON                                           = src.Repository_PYTHON
    51  	Repository_YUM                                              = src.Repository_YUM
    52  	VersionView_BASIC                                           = src.VersionView_BASIC
    53  	VersionView_FULL                                            = src.VersionView_FULL
    54  	VersionView_VERSION_VIEW_UNSPECIFIED                        = src.VersionView_VERSION_VIEW_UNSPECIFIED
    55  	YumArtifact_BINARY                                          = src.YumArtifact_BINARY
    56  	YumArtifact_PACKAGE_TYPE_UNSPECIFIED                        = src.YumArtifact_PACKAGE_TYPE_UNSPECIFIED
    57  	YumArtifact_SOURCE                                          = src.YumArtifact_SOURCE
    58  )
    59  
    60  // Deprecated: Please use vars in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
    61  var (
    62  	AptArtifact_PackageType_name                                = src.AptArtifact_PackageType_name
    63  	AptArtifact_PackageType_value                               = src.AptArtifact_PackageType_value
    64  	File_google_devtools_artifactregistry_v1_apt_artifact_proto = src.File_google_devtools_artifactregistry_v1_apt_artifact_proto
    65  	File_google_devtools_artifactregistry_v1_artifact_proto     = src.File_google_devtools_artifactregistry_v1_artifact_proto
    66  	File_google_devtools_artifactregistry_v1_file_proto         = src.File_google_devtools_artifactregistry_v1_file_proto
    67  	File_google_devtools_artifactregistry_v1_package_proto      = src.File_google_devtools_artifactregistry_v1_package_proto
    68  	File_google_devtools_artifactregistry_v1_repository_proto   = src.File_google_devtools_artifactregistry_v1_repository_proto
    69  	File_google_devtools_artifactregistry_v1_service_proto      = src.File_google_devtools_artifactregistry_v1_service_proto
    70  	File_google_devtools_artifactregistry_v1_settings_proto     = src.File_google_devtools_artifactregistry_v1_settings_proto
    71  	File_google_devtools_artifactregistry_v1_tag_proto          = src.File_google_devtools_artifactregistry_v1_tag_proto
    72  	File_google_devtools_artifactregistry_v1_version_proto      = src.File_google_devtools_artifactregistry_v1_version_proto
    73  	File_google_devtools_artifactregistry_v1_yum_artifact_proto = src.File_google_devtools_artifactregistry_v1_yum_artifact_proto
    74  	Hash_HashType_name                                          = src.Hash_HashType_name
    75  	Hash_HashType_value                                         = src.Hash_HashType_value
    76  	ProjectSettings_RedirectionState_name                       = src.ProjectSettings_RedirectionState_name
    77  	ProjectSettings_RedirectionState_value                      = src.ProjectSettings_RedirectionState_value
    78  	Repository_Format_name                                      = src.Repository_Format_name
    79  	Repository_Format_value                                     = src.Repository_Format_value
    80  	Repository_MavenRepositoryConfig_VersionPolicy_name         = src.Repository_MavenRepositoryConfig_VersionPolicy_name
    81  	Repository_MavenRepositoryConfig_VersionPolicy_value        = src.Repository_MavenRepositoryConfig_VersionPolicy_value
    82  	VersionView_name                                            = src.VersionView_name
    83  	VersionView_value                                           = src.VersionView_value
    84  	YumArtifact_PackageType_name                                = src.YumArtifact_PackageType_name
    85  	YumArtifact_PackageType_value                               = src.YumArtifact_PackageType_value
    86  )
    87  
    88  // A detailed representation of an Apt artifact. Information in the record is
    89  // derived from the archive's control file. See
    90  // https://www.debian.org/doc/debian-policy/ch-controlfields.html
    91  //
    92  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
    93  type AptArtifact = src.AptArtifact
    94  
    95  // Package type is either binary or source.
    96  //
    97  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
    98  type AptArtifact_PackageType = src.AptArtifact_PackageType
    99  
   100  // ArtifactRegistryClient is the client API for ArtifactRegistry service. For
   101  // semantics around ctx use and closing/ending streaming RPCs, please refer to
   102  // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   103  //
   104  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   105  type ArtifactRegistryClient = src.ArtifactRegistryClient
   106  
   107  // ArtifactRegistryServer is the server API for ArtifactRegistry service.
   108  //
   109  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   110  type ArtifactRegistryServer = src.ArtifactRegistryServer
   111  
   112  // The request to create a new repository.
   113  //
   114  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   115  type CreateRepositoryRequest = src.CreateRepositoryRequest
   116  
   117  // The request to create a new tag.
   118  //
   119  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   120  type CreateTagRequest = src.CreateTagRequest
   121  
   122  // The request to delete a package.
   123  //
   124  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   125  type DeletePackageRequest = src.DeletePackageRequest
   126  
   127  // The request to delete a repository.
   128  //
   129  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   130  type DeleteRepositoryRequest = src.DeleteRepositoryRequest
   131  
   132  // The request to delete a tag.
   133  //
   134  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   135  type DeleteTagRequest = src.DeleteTagRequest
   136  
   137  // The request to delete a version.
   138  //
   139  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   140  type DeleteVersionRequest = src.DeleteVersionRequest
   141  
   142  // DockerImage represents a docker artifact. The following fields are returned
   143  // as untyped metadata in the Version resource, using camelcase keys (i.e.
   144  // metadata.imageSizeBytes): * imageSizeBytes * mediaType * buildTime
   145  //
   146  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   147  type DockerImage = src.DockerImage
   148  
   149  // Files store content that is potentially associated with Packages or
   150  // Versions.
   151  //
   152  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   153  type File = src.File
   154  
   155  // The request to get docker images.
   156  //
   157  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   158  type GetDockerImageRequest = src.GetDockerImageRequest
   159  
   160  // The request to retrieve a file.
   161  //
   162  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   163  type GetFileRequest = src.GetFileRequest
   164  
   165  // The request to retrieve a package.
   166  //
   167  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   168  type GetPackageRequest = src.GetPackageRequest
   169  
   170  // Gets the redirection status for a project.
   171  //
   172  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   173  type GetProjectSettingsRequest = src.GetProjectSettingsRequest
   174  
   175  // The request to retrieve a repository.
   176  //
   177  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   178  type GetRepositoryRequest = src.GetRepositoryRequest
   179  
   180  // The request to retrieve a tag.
   181  //
   182  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   183  type GetTagRequest = src.GetTagRequest
   184  
   185  // The request to retrieve a version.
   186  //
   187  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   188  type GetVersionRequest = src.GetVersionRequest
   189  
   190  // A hash of file content.
   191  //
   192  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   193  type Hash = src.Hash
   194  
   195  // The algorithm used to compute the hash.
   196  //
   197  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   198  type Hash_HashType = src.Hash_HashType
   199  
   200  // Error information explaining why a package was not imported.
   201  //
   202  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   203  type ImportAptArtifactsErrorInfo = src.ImportAptArtifactsErrorInfo
   204  type ImportAptArtifactsErrorInfo_GcsSource = src.ImportAptArtifactsErrorInfo_GcsSource
   205  
   206  // Google Cloud Storage location where the artifacts currently reside.
   207  //
   208  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   209  type ImportAptArtifactsGcsSource = src.ImportAptArtifactsGcsSource
   210  
   211  // The operation metadata for importing artifacts.
   212  //
   213  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   214  type ImportAptArtifactsMetadata = src.ImportAptArtifactsMetadata
   215  
   216  // The request to import new apt artifacts.
   217  //
   218  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   219  type ImportAptArtifactsRequest = src.ImportAptArtifactsRequest
   220  type ImportAptArtifactsRequest_GcsSource = src.ImportAptArtifactsRequest_GcsSource
   221  
   222  // The response message from importing APT artifacts.
   223  //
   224  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   225  type ImportAptArtifactsResponse = src.ImportAptArtifactsResponse
   226  
   227  // Error information explaining why a package was not imported.
   228  //
   229  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   230  type ImportYumArtifactsErrorInfo = src.ImportYumArtifactsErrorInfo
   231  type ImportYumArtifactsErrorInfo_GcsSource = src.ImportYumArtifactsErrorInfo_GcsSource
   232  
   233  // Google Cloud Storage location where the artifacts currently reside.
   234  //
   235  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   236  type ImportYumArtifactsGcsSource = src.ImportYumArtifactsGcsSource
   237  
   238  // The operation metadata for importing artifacts.
   239  //
   240  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   241  type ImportYumArtifactsMetadata = src.ImportYumArtifactsMetadata
   242  
   243  // The request to import new yum artifacts.
   244  //
   245  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   246  type ImportYumArtifactsRequest = src.ImportYumArtifactsRequest
   247  type ImportYumArtifactsRequest_GcsSource = src.ImportYumArtifactsRequest_GcsSource
   248  
   249  // The response message from importing YUM artifacts.
   250  //
   251  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   252  type ImportYumArtifactsResponse = src.ImportYumArtifactsResponse
   253  
   254  // The request to list docker images.
   255  //
   256  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   257  type ListDockerImagesRequest = src.ListDockerImagesRequest
   258  
   259  // The response from listing docker images.
   260  //
   261  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   262  type ListDockerImagesResponse = src.ListDockerImagesResponse
   263  
   264  // The request to list files.
   265  //
   266  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   267  type ListFilesRequest = src.ListFilesRequest
   268  
   269  // The response from listing files.
   270  //
   271  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   272  type ListFilesResponse = src.ListFilesResponse
   273  
   274  // The request to list packages.
   275  //
   276  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   277  type ListPackagesRequest = src.ListPackagesRequest
   278  
   279  // The response from listing packages.
   280  //
   281  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   282  type ListPackagesResponse = src.ListPackagesResponse
   283  
   284  // The request to list repositories.
   285  //
   286  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   287  type ListRepositoriesRequest = src.ListRepositoriesRequest
   288  
   289  // The response from listing repositories.
   290  //
   291  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   292  type ListRepositoriesResponse = src.ListRepositoriesResponse
   293  
   294  // The request to list tags.
   295  //
   296  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   297  type ListTagsRequest = src.ListTagsRequest
   298  
   299  // The response from listing tags.
   300  //
   301  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   302  type ListTagsResponse = src.ListTagsResponse
   303  
   304  // The request to list versions.
   305  //
   306  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   307  type ListVersionsRequest = src.ListVersionsRequest
   308  
   309  // The response from listing versions.
   310  //
   311  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   312  type ListVersionsResponse = src.ListVersionsResponse
   313  
   314  // Metadata type for longrunning-operations, currently empty.
   315  //
   316  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   317  type OperationMetadata = src.OperationMetadata
   318  
   319  // Packages are named collections of versions.
   320  //
   321  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   322  type Package = src.Package
   323  
   324  // The Artifact Registry settings that apply to a Project.
   325  //
   326  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   327  type ProjectSettings = src.ProjectSettings
   328  
   329  // The possible redirection states for legacy repositories.
   330  //
   331  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   332  type ProjectSettings_RedirectionState = src.ProjectSettings_RedirectionState
   333  
   334  // A Repository for storing artifacts with a specific format.
   335  //
   336  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   337  type Repository = src.Repository
   338  
   339  // A package format.
   340  //
   341  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   342  type Repository_Format = src.Repository_Format
   343  type Repository_MavenConfig = src.Repository_MavenConfig
   344  
   345  // MavenRepositoryConfig is maven related repository details. Provides
   346  // additional configuration details for repositories of the maven format type.
   347  //
   348  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   349  type Repository_MavenRepositoryConfig = src.Repository_MavenRepositoryConfig
   350  
   351  // VersionPolicy is the version policy for the repository.
   352  //
   353  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   354  type Repository_MavenRepositoryConfig_VersionPolicy = src.Repository_MavenRepositoryConfig_VersionPolicy
   355  
   356  // Tags point to a version and represent an alternative name that can be used
   357  // to access the version.
   358  //
   359  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   360  type Tag = src.Tag
   361  
   362  // UnimplementedArtifactRegistryServer can be embedded to have forward
   363  // compatible implementations.
   364  //
   365  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   366  type UnimplementedArtifactRegistryServer = src.UnimplementedArtifactRegistryServer
   367  
   368  // Sets the settings of the project.
   369  //
   370  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   371  type UpdateProjectSettingsRequest = src.UpdateProjectSettingsRequest
   372  
   373  // The request to update a repository.
   374  //
   375  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   376  type UpdateRepositoryRequest = src.UpdateRepositoryRequest
   377  
   378  // The request to create or update a tag.
   379  //
   380  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   381  type UpdateTagRequest = src.UpdateTagRequest
   382  
   383  // The body of a version resource. A version resource represents a collection
   384  // of components, such as files and other data. This may correspond to a
   385  // version in many package management schemes.
   386  //
   387  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   388  type Version = src.Version
   389  
   390  // The view, which determines what version information is returned in a
   391  // response.
   392  //
   393  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   394  type VersionView = src.VersionView
   395  
   396  // A detailed representation of a Yum artifact.
   397  //
   398  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   399  type YumArtifact = src.YumArtifact
   400  
   401  // Package type is either binary or source.
   402  //
   403  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   404  type YumArtifact_PackageType = src.YumArtifact_PackageType
   405  
   406  // Deprecated: Please use funcs in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   407  func NewArtifactRegistryClient(cc grpc.ClientConnInterface) ArtifactRegistryClient {
   408  	return src.NewArtifactRegistryClient(cc)
   409  }
   410  
   411  // Deprecated: Please use funcs in: cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb
   412  func RegisterArtifactRegistryServer(s *grpc.Server, srv ArtifactRegistryServer) {
   413  	src.RegisterArtifactRegistryServer(s, srv)
   414  }
   415  

View as plain text