Class DynamicTemplateLaunchParams.Builder (0.58.0)

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

Params which should be passed 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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DynamicTemplateLaunchParams.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DynamicTemplateLaunchParams.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public DynamicTemplateLaunchParams.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DynamicTemplateLaunchParams.Builder
Overrides

clearGcsPath()

public DynamicTemplateLaunchParams.Builder clearGcsPath()

Path to dynamic template spec file on Cloud Storage. The file must be a Json serialized DynamicTemplateFieSpec object.

string gcs_path = 1;

Returns
Type Description
DynamicTemplateLaunchParams.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DynamicTemplateLaunchParams.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DynamicTemplateLaunchParams.Builder
Overrides

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.

clone()

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

getDefaultInstanceForType()

public DynamicTemplateLaunchParams getDefaultInstanceForType()
Returns
Type Description
DynamicTemplateLaunchParams

getDescriptorForType()

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

getGcsPath()

public String getGcsPath()

Path to dynamic template spec file on Cloud Storage. The file must be a Json serialized DynamicTemplateFieSpec object.

string gcs_path = 1;

Returns
Type Description
String

The gcsPath.

getGcsPathBytes()

public ByteString getGcsPathBytes()

Path to dynamic template spec file on Cloud Storage. The file must be a Json serialized DynamicTemplateFieSpec 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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DynamicTemplateLaunchParams.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DynamicTemplateLaunchParams.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DynamicTemplateLaunchParams.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DynamicTemplateLaunchParams.Builder
Overrides

setGcsPath(String value)

public DynamicTemplateLaunchParams.Builder setGcsPath(String value)

Path to dynamic template spec file on Cloud Storage. The file must be a Json serialized DynamicTemplateFieSpec 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 dynamic template spec file on Cloud Storage. The file must be a Json serialized DynamicTemplateFieSpec 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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DynamicTemplateLaunchParams.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DynamicTemplateLaunchParams.Builder
Overrides

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.

setUnknownFields(UnknownFieldSet unknownFields)

public final DynamicTemplateLaunchParams.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DynamicTemplateLaunchParams.Builder
Overrides