- 0.57.0 (latest)
- 0.56.0
- 0.55.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.5.0
public static final class Package.Builder extends GeneratedMessageV3.Builder<Package.Builder> implements PackageOrBuilder
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.
Protobuf type google.dataflow.v1beta3.Package
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Package.BuilderImplements
PackageOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Package.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Package.Builder |
build()
public Package build()
Type | Description |
Package |
buildPartial()
public Package buildPartial()
Type | Description |
Package |
clear()
public Package.Builder clear()
Type | Description |
Package.Builder |
clearField(Descriptors.FieldDescriptor field)
public Package.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Package.Builder |
clearLocation()
public Package.Builder clearLocation()
The resource to read the package from. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket} bucket.storage.googleapis.com/
string location = 2;
Type | Description |
Package.Builder | This builder for chaining. |
clearName()
public Package.Builder clearName()
The name of the package.
string name = 1;
Type | Description |
Package.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Package.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Package.Builder |
clone()
public Package.Builder clone()
Type | Description |
Package.Builder |
getDefaultInstanceForType()
public Package getDefaultInstanceForType()
Type | Description |
Package |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getLocation()
public String getLocation()
The resource to read the package from. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket} bucket.storage.googleapis.com/
string location = 2;
Type | Description |
String | The location. |
getLocationBytes()
public ByteString getLocationBytes()
The resource to read the package from. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket} bucket.storage.googleapis.com/
string location = 2;
Type | Description |
ByteString | The bytes for location. |
getName()
public String getName()
The name of the package.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The name of the package.
string name = 1;
Type | Description |
ByteString | The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Package other)
public Package.Builder mergeFrom(Package other)
Name | Description |
other | Package |
Type | Description |
Package.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Package.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Package.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Package.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Package.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Package.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Package.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Package.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Package.Builder |
setLocation(String value)
public Package.Builder setLocation(String value)
The resource to read the package from. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket} bucket.storage.googleapis.com/
string location = 2;
Name | Description |
value | String The location to set. |
Type | Description |
Package.Builder | This builder for chaining. |
setLocationBytes(ByteString value)
public Package.Builder setLocationBytes(ByteString value)
The resource to read the package from. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket} bucket.storage.googleapis.com/
string location = 2;
Name | Description |
value | ByteString The bytes for location to set. |
Type | Description |
Package.Builder | This builder for chaining. |
setName(String value)
public Package.Builder setName(String value)
The name of the package.
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
Package.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Package.Builder setNameBytes(ByteString value)
The name of the package.
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Package.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Package.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Package.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Package.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Package.Builder |