...

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

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

     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/apiv1beta2/artifactregistrypb".
    19  //
    20  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/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/apiv1beta2/artifactregistrypb"
    27  	grpc "google.golang.org/grpc"
    28  )
    29  
    30  // Deprecated: Please use consts in: cloud.google.com/go/artifactregistry/apiv1beta2/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/apiv1beta2/artifactregistrypb
    61  var (
    62  	AptArtifact_PackageType_name                                     = src.AptArtifact_PackageType_name
    63  	AptArtifact_PackageType_value                                    = src.AptArtifact_PackageType_value
    64  	File_google_devtools_artifactregistry_v1beta2_apt_artifact_proto = src.File_google_devtools_artifactregistry_v1beta2_apt_artifact_proto
    65  	File_google_devtools_artifactregistry_v1beta2_file_proto         = src.File_google_devtools_artifactregistry_v1beta2_file_proto
    66  	File_google_devtools_artifactregistry_v1beta2_package_proto      = src.File_google_devtools_artifactregistry_v1beta2_package_proto
    67  	File_google_devtools_artifactregistry_v1beta2_repository_proto   = src.File_google_devtools_artifactregistry_v1beta2_repository_proto
    68  	File_google_devtools_artifactregistry_v1beta2_service_proto      = src.File_google_devtools_artifactregistry_v1beta2_service_proto
    69  	File_google_devtools_artifactregistry_v1beta2_settings_proto     = src.File_google_devtools_artifactregistry_v1beta2_settings_proto
    70  	File_google_devtools_artifactregistry_v1beta2_tag_proto          = src.File_google_devtools_artifactregistry_v1beta2_tag_proto
    71  	File_google_devtools_artifactregistry_v1beta2_version_proto      = src.File_google_devtools_artifactregistry_v1beta2_version_proto
    72  	File_google_devtools_artifactregistry_v1beta2_yum_artifact_proto = src.File_google_devtools_artifactregistry_v1beta2_yum_artifact_proto
    73  	Hash_HashType_name                                               = src.Hash_HashType_name
    74  	Hash_HashType_value                                              = src.Hash_HashType_value
    75  	ProjectSettings_RedirectionState_name                            = src.ProjectSettings_RedirectionState_name
    76  	ProjectSettings_RedirectionState_value                           = src.ProjectSettings_RedirectionState_value
    77  	Repository_Format_name                                           = src.Repository_Format_name
    78  	Repository_Format_value                                          = src.Repository_Format_value
    79  	Repository_MavenRepositoryConfig_VersionPolicy_name              = src.Repository_MavenRepositoryConfig_VersionPolicy_name
    80  	Repository_MavenRepositoryConfig_VersionPolicy_value             = src.Repository_MavenRepositoryConfig_VersionPolicy_value
    81  	VersionView_name                                                 = src.VersionView_name
    82  	VersionView_value                                                = src.VersionView_value
    83  	YumArtifact_PackageType_name                                     = src.YumArtifact_PackageType_name
    84  	YumArtifact_PackageType_value                                    = src.YumArtifact_PackageType_value
    85  )
    86  
    87  // A detailed representation of an Apt artifact. Information in the record is
    88  // derived from the archive's control file. See
    89  // https://www.debian.org/doc/debian-policy/ch-controlfields.html
    90  //
    91  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
    92  type AptArtifact = src.AptArtifact
    93  
    94  // Package type is either binary or source.
    95  //
    96  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
    97  type AptArtifact_PackageType = src.AptArtifact_PackageType
    98  
    99  // ArtifactRegistryClient is the client API for ArtifactRegistry service. For
   100  // semantics around ctx use and closing/ending streaming RPCs, please refer to
   101  // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   102  //
   103  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   104  type ArtifactRegistryClient = src.ArtifactRegistryClient
   105  
   106  // ArtifactRegistryServer is the server API for ArtifactRegistry service.
   107  //
   108  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   109  type ArtifactRegistryServer = src.ArtifactRegistryServer
   110  
   111  // The request to create a new repository.
   112  //
   113  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   114  type CreateRepositoryRequest = src.CreateRepositoryRequest
   115  
   116  // The request to create a new tag.
   117  //
   118  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   119  type CreateTagRequest = src.CreateTagRequest
   120  
   121  // The request to delete a package.
   122  //
   123  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   124  type DeletePackageRequest = src.DeletePackageRequest
   125  
   126  // The request to delete a repository.
   127  //
   128  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   129  type DeleteRepositoryRequest = src.DeleteRepositoryRequest
   130  
   131  // The request to delete a tag.
   132  //
   133  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   134  type DeleteTagRequest = src.DeleteTagRequest
   135  
   136  // The request to delete a version.
   137  //
   138  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   139  type DeleteVersionRequest = src.DeleteVersionRequest
   140  
   141  // Files store content that is potentially associated with Packages or
   142  // Versions.
   143  //
   144  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   145  type File = src.File
   146  
   147  // The request to retrieve a file.
   148  //
   149  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   150  type GetFileRequest = src.GetFileRequest
   151  
   152  // The request to retrieve a package.
   153  //
   154  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   155  type GetPackageRequest = src.GetPackageRequest
   156  
   157  // Gets the redirection status for a project.
   158  //
   159  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   160  type GetProjectSettingsRequest = src.GetProjectSettingsRequest
   161  
   162  // The request to retrieve a repository.
   163  //
   164  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   165  type GetRepositoryRequest = src.GetRepositoryRequest
   166  
   167  // The request to retrieve a tag.
   168  //
   169  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   170  type GetTagRequest = src.GetTagRequest
   171  
   172  // The request to retrieve a version.
   173  //
   174  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   175  type GetVersionRequest = src.GetVersionRequest
   176  
   177  // A hash of file content.
   178  //
   179  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   180  type Hash = src.Hash
   181  
   182  // The algorithm used to compute the hash.
   183  //
   184  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   185  type Hash_HashType = src.Hash_HashType
   186  
   187  // Error information explaining why a package was not imported.
   188  //
   189  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   190  type ImportAptArtifactsErrorInfo = src.ImportAptArtifactsErrorInfo
   191  type ImportAptArtifactsErrorInfo_GcsSource = src.ImportAptArtifactsErrorInfo_GcsSource
   192  
   193  // Google Cloud Storage location where the artifacts currently reside.
   194  //
   195  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   196  type ImportAptArtifactsGcsSource = src.ImportAptArtifactsGcsSource
   197  
   198  // The operation metadata for importing artifacts.
   199  //
   200  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   201  type ImportAptArtifactsMetadata = src.ImportAptArtifactsMetadata
   202  
   203  // The request to import new apt artifacts.
   204  //
   205  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   206  type ImportAptArtifactsRequest = src.ImportAptArtifactsRequest
   207  type ImportAptArtifactsRequest_GcsSource = src.ImportAptArtifactsRequest_GcsSource
   208  
   209  // The response message from importing APT artifacts.
   210  //
   211  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   212  type ImportAptArtifactsResponse = src.ImportAptArtifactsResponse
   213  
   214  // Error information explaining why a package was not imported.
   215  //
   216  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   217  type ImportYumArtifactsErrorInfo = src.ImportYumArtifactsErrorInfo
   218  type ImportYumArtifactsErrorInfo_GcsSource = src.ImportYumArtifactsErrorInfo_GcsSource
   219  
   220  // Google Cloud Storage location where the artifacts currently reside.
   221  //
   222  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   223  type ImportYumArtifactsGcsSource = src.ImportYumArtifactsGcsSource
   224  
   225  // The operation metadata for importing artifacts.
   226  //
   227  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   228  type ImportYumArtifactsMetadata = src.ImportYumArtifactsMetadata
   229  
   230  // The request to import new yum artifacts.
   231  //
   232  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   233  type ImportYumArtifactsRequest = src.ImportYumArtifactsRequest
   234  type ImportYumArtifactsRequest_GcsSource = src.ImportYumArtifactsRequest_GcsSource
   235  
   236  // The response message from importing YUM artifacts.
   237  //
   238  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   239  type ImportYumArtifactsResponse = src.ImportYumArtifactsResponse
   240  
   241  // The request to list files.
   242  //
   243  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   244  type ListFilesRequest = src.ListFilesRequest
   245  
   246  // The response from listing files.
   247  //
   248  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   249  type ListFilesResponse = src.ListFilesResponse
   250  
   251  // The request to list packages.
   252  //
   253  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   254  type ListPackagesRequest = src.ListPackagesRequest
   255  
   256  // The response from listing packages.
   257  //
   258  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   259  type ListPackagesResponse = src.ListPackagesResponse
   260  
   261  // The request to list repositories.
   262  //
   263  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   264  type ListRepositoriesRequest = src.ListRepositoriesRequest
   265  
   266  // The response from listing repositories.
   267  //
   268  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   269  type ListRepositoriesResponse = src.ListRepositoriesResponse
   270  
   271  // The request to list tags.
   272  //
   273  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   274  type ListTagsRequest = src.ListTagsRequest
   275  
   276  // The response from listing tags.
   277  //
   278  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   279  type ListTagsResponse = src.ListTagsResponse
   280  
   281  // The request to list versions.
   282  //
   283  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   284  type ListVersionsRequest = src.ListVersionsRequest
   285  
   286  // The response from listing versions.
   287  //
   288  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   289  type ListVersionsResponse = src.ListVersionsResponse
   290  
   291  // Metadata type for longrunning-operations, currently empty.
   292  //
   293  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   294  type OperationMetadata = src.OperationMetadata
   295  
   296  // Packages are named collections of versions.
   297  //
   298  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   299  type Package = src.Package
   300  
   301  // The Artifact Registry settings that apply to a Project.
   302  //
   303  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   304  type ProjectSettings = src.ProjectSettings
   305  
   306  // The possible redirection states for legacy repositories.
   307  //
   308  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   309  type ProjectSettings_RedirectionState = src.ProjectSettings_RedirectionState
   310  
   311  // A Repository for storing artifacts with a specific format.
   312  //
   313  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   314  type Repository = src.Repository
   315  
   316  // A package format.
   317  //
   318  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   319  type Repository_Format = src.Repository_Format
   320  type Repository_MavenConfig = src.Repository_MavenConfig
   321  
   322  // MavenRepositoryConfig is maven related repository details. Provides
   323  // additional configuration details for repositories of the maven format type.
   324  //
   325  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   326  type Repository_MavenRepositoryConfig = src.Repository_MavenRepositoryConfig
   327  
   328  // VersionPolicy is the version policy for the repository.
   329  //
   330  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   331  type Repository_MavenRepositoryConfig_VersionPolicy = src.Repository_MavenRepositoryConfig_VersionPolicy
   332  
   333  // Tags point to a version and represent an alternative name that can be used
   334  // to access the version.
   335  //
   336  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   337  type Tag = src.Tag
   338  
   339  // UnimplementedArtifactRegistryServer can be embedded to have forward
   340  // compatible implementations.
   341  //
   342  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   343  type UnimplementedArtifactRegistryServer = src.UnimplementedArtifactRegistryServer
   344  
   345  // Sets the settings of the project.
   346  //
   347  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   348  type UpdateProjectSettingsRequest = src.UpdateProjectSettingsRequest
   349  
   350  // The request to update a repository.
   351  //
   352  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   353  type UpdateRepositoryRequest = src.UpdateRepositoryRequest
   354  
   355  // The request to create or update a tag.
   356  //
   357  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   358  type UpdateTagRequest = src.UpdateTagRequest
   359  
   360  // The body of a version resource. A version resource represents a collection
   361  // of components, such as files and other data. This may correspond to a
   362  // version in many package management schemes.
   363  //
   364  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   365  type Version = src.Version
   366  
   367  // The view, which determines what version information is returned in a
   368  // response.
   369  //
   370  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   371  type VersionView = src.VersionView
   372  
   373  // A detailed representation of a Yum artifact.
   374  //
   375  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   376  type YumArtifact = src.YumArtifact
   377  
   378  // Package type is either binary or source.
   379  //
   380  // Deprecated: Please use types in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   381  type YumArtifact_PackageType = src.YumArtifact_PackageType
   382  
   383  // Deprecated: Please use funcs in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   384  func NewArtifactRegistryClient(cc grpc.ClientConnInterface) ArtifactRegistryClient {
   385  	return src.NewArtifactRegistryClient(cc)
   386  }
   387  
   388  // Deprecated: Please use funcs in: cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb
   389  func RegisterArtifactRegistryServer(s *grpc.Server, srv ArtifactRegistryServer) {
   390  	src.RegisterArtifactRegistryServer(s, srv)
   391  }
   392  

View as plain text