Class DynamicTemplateLaunchParams.Builder (0.87.0)

public static final class DynamicTemplateLaunchParams.Builder extends GeneratedMessage.Builder<DynamicTemplateLaunchParams.Builder> implements DynamicTemplateLaunchParamsOrBuilder

Parameters to pass when launching a dynamic template.

Protobuf type google.dataflow.v1beta3.DynamicTemplateLaunchParams

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public DynamicTemplateLaunchParams build()
Returns
Type Description
DynamicTemplateLaunchParams

buildPartial()

public DynamicTemplateLaunchParams buildPartial()
Returns
Type Description
DynamicTemplateLaunchParams

clear()

public DynamicTemplateLaunchParams.Builder clear()
Returns
Type Description
DynamicTemplateLaunchParams.Builder
Overrides

clearGcsPath()

public DynamicTemplateLaunchParams.Builder clearGcsPath()

Path to the dynamic template specification file on Cloud Storage. The file must be a JSON serialized DynamicTemplateFileSpec object.

string gcs_path = 1;

Returns
Type Description
DynamicTemplateLaunchParams.Builder

This builder for chaining.

clearStagingLocation()

public DynamicTemplateLaunchParams.Builder clearStagingLocation()

Cloud Storage path for staging dependencies. Must be a valid Cloud Storage URL, beginning with gs://.

string staging_location = 2;

Returns
Type Description
DynamicTemplateLaunchParams.Builder

This builder for chaining.

getDefaultInstanceForType()

public DynamicTemplateLaunchParams getDefaultInstanceForType()
Returns
Type Description
DynamicTemplateLaunchParams

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getGcsPath()

public String getGcsPath()

Path to the dynamic template specification file on Cloud Storage. The file must be a JSON serialized DynamicTemplateFileSpec object.

string gcs_path = 1;

Returns
Type Description
String

The gcsPath.

getGcsPathBytes()

public ByteString getGcsPathBytes()

Path to the dynamic template specification file on Cloud Storage. The file must be a JSON serialized DynamicTemplateFileSpec object.

string gcs_path = 1;

Returns
Type Description
ByteString

The bytes for gcsPath.

getStagingLocation()

public String getStagingLocation()

Cloud Storage path for staging dependencies. Must be a valid Cloud Storage URL, beginning with gs://.

string staging_location = 2;

Returns
Type Description
String

The stagingLocation.

getStagingLocationBytes()

public ByteString getStagingLocationBytes()

Cloud Storage path for staging dependencies. Must be a valid Cloud Storage URL, beginning with gs://.

string staging_location = 2;

Returns
Type Description
ByteString

The bytes for stagingLocation.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DynamicTemplateLaunchParams other)

public DynamicTemplateLaunchParams.Builder mergeFrom(DynamicTemplateLaunchParams other)
Parameter
Name Description
other DynamicTemplateLaunchParams
Returns
Type Description
DynamicTemplateLaunchParams.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DynamicTemplateLaunchParams.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DynamicTemplateLaunchParams.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DynamicTemplateLaunchParams.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DynamicTemplateLaunchParams.Builder
Overrides

setGcsPath(String value)

public DynamicTemplateLaunchParams.Builder setGcsPath(String value)

Path to the dynamic template specification file on Cloud Storage. The file must be a JSON serialized DynamicTemplateFileSpec object.

string gcs_path = 1;

Parameter
Name Description
value String

The gcsPath to set.

Returns
Type Description
DynamicTemplateLaunchParams.Builder

This builder for chaining.

setGcsPathBytes(ByteString value)

public DynamicTemplateLaunchParams.Builder setGcsPathBytes(ByteString value)

Path to the dynamic template specification file on Cloud Storage. The file must be a JSON serialized DynamicTemplateFileSpec object.

string gcs_path = 1;

Parameter
Name Description
value ByteString

The bytes for gcsPath to set.

Returns
Type Description
DynamicTemplateLaunchParams.Builder

This builder for chaining.

setStagingLocation(String value)

public DynamicTemplateLaunchParams.Builder setStagingLocation(String value)

Cloud Storage path for staging dependencies. Must be a valid Cloud Storage URL, beginning with gs://.

string staging_location = 2;

Parameter
Name Description
value String

The stagingLocation to set.

Returns
Type Description
DynamicTemplateLaunchParams.Builder

This builder for chaining.

setStagingLocationBytes(ByteString value)

public DynamicTemplateLaunchParams.Builder setStagingLocationBytes(ByteString value)

Cloud Storage path for staging dependencies. Must be a valid Cloud Storage URL, beginning with gs://.

string staging_location = 2;

Parameter
Name Description
value ByteString

The bytes for stagingLocation to set.

Returns
Type Description
DynamicTemplateLaunchParams.Builder

This builder for chaining.