public sealed class Package : IMessage<Package>, IEquatable<Package>, IDeepCloneable<Package>, IBufferMessage, IMessage
Reference documentation and code samples for the Dataflow v1beta3 API class Package.
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 in the Dataflow v1beta3 API represents the necessary packages for a worker to execute Cloud Dataflow job steps.\u003c/p\u003e\n"],["\u003cp\u003eThis class serves as the method for the Cloud Dataflow SDK to install code onto the workers, including user code and dependencies.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePackage\u003c/code\u003e class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePackage\u003c/code\u003e class has two constructors, one default and another that copies an existing \u003ccode\u003ePackage\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePackage\u003c/code\u003e class has two properties, \u003ccode\u003eLocation\u003c/code\u003e and \u003ccode\u003eName\u003c/code\u003e, which specify the storage location and the name of the package, respectively.\u003c/p\u003e\n"]]],[],null,[]]