Package com.google.cloudbuild.v1
Interface Artifacts.NpmPackageOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Artifacts.NpmPackage,Artifacts.NpmPackage.Builder
- Enclosing class:
- Artifacts
public static interface Artifacts.NpmPackageOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.com.google.protobuf.ByteStringOptional.Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY" Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.com.google.protobuf.ByteStringArtifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY" Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getRepository
String getRepository()Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY" Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.
string repository = 1;- Returns:
- The repository.
-
getRepositoryBytes
com.google.protobuf.ByteString getRepositoryBytes()Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY" Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.
string repository = 1;- Returns:
- The bytes for repository.
-
getPackagePath
String getPackagePath()Optional. Path to the package.json. e.g. workspace/path/to/package Only one of `archive` or `package_path` can be specified.
string package_path = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The packagePath.
-
getPackagePathBytes
com.google.protobuf.ByteString getPackagePathBytes()Optional. Path to the package.json. e.g. workspace/path/to/package Only one of `archive` or `package_path` can be specified.
string package_path = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for packagePath.
-