public sealed class Package : IMessage<Package>, IEquatable<Package>, IDeepCloneable<Package>, IBufferMessage, IMessage
The packages that must be installed in order for a worker to run the
steps of the Cloud Dataflow job that will be assigned to its worker
pool.
This is the mechanism by which the Cloud Dataflow SDK causes code to
be loaded onto the workers. For example, the Cloud Dataflow Java SDK
might use this to install jars containing the user's code and all of the
various dependencies (libraries, data files, etc.) required in order
for that code to run.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ePackage\u003c/code\u003e class is essential for Cloud Dataflow jobs, managing the installation of necessary code, libraries, and dependencies on worker nodes.\u003c/p\u003e\n"],["\u003cp\u003eIt implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis \u003ccode\u003ePackage\u003c/code\u003e class provides two constructors: a default constructor \u003ccode\u003ePackage()\u003c/code\u003e, and one that takes another \u003ccode\u003ePackage\u003c/code\u003e instance as a parameter for cloning \u003ccode\u003ePackage(Package other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePackage\u003c/code\u003e has two key properties: \u003ccode\u003eLocation\u003c/code\u003e, which specifies the resource location (e.g., Google Cloud Storage), and \u003ccode\u003eName\u003c/code\u003e, which is the name of the package itself.\u003c/p\u003e\n"]]],[],null,[]]