Package com.google.cloudbuild.v1
Interface Artifacts.PythonPackageOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Artifacts.PythonPackage,Artifacts.PythonPackage.Builder
- Enclosing class:
- Artifacts
public static interface Artifacts.PythonPackageOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetPaths(int index) Path globs used to match files in the build's workspace.com.google.protobuf.ByteStringgetPathsBytes(int index) Path globs used to match files in the build's workspace.intPath globs used to match files in the build's workspace.Path globs used to match files in the build's workspace.Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY" Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.com.google.protobuf.ByteStringArtifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY" Files in the workspace matching any path pattern will be 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-python.pkg.dev/$PROJECT/$REPOSITORY" Files in the workspace matching any path pattern will be 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-python.pkg.dev/$PROJECT/$REPOSITORY" Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.
string repository = 1;- Returns:
- The bytes for repository.
-
getPathsList
Path globs used to match files in the build's workspace. For Python/ Twine, this is usually `dist/*`, and sometimes additionally an `.asc` file.
repeated string paths = 2;- Returns:
- A list containing the paths.
-
getPathsCount
int getPathsCount()Path globs used to match files in the build's workspace. For Python/ Twine, this is usually `dist/*`, and sometimes additionally an `.asc` file.
repeated string paths = 2;- Returns:
- The count of paths.
-
getPaths
Path globs used to match files in the build's workspace. For Python/ Twine, this is usually `dist/*`, and sometimes additionally an `.asc` file.
repeated string paths = 2;- Parameters:
index- The index of the element to return.- Returns:
- The paths at the given index.
-
getPathsBytes
com.google.protobuf.ByteString getPathsBytes(int index) Path globs used to match files in the build's workspace. For Python/ Twine, this is usually `dist/*`, and sometimes additionally an `.asc` file.
repeated string paths = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the paths at the given index.
-