Class DynamicTemplateLaunchParams.Builder (0.41.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DynamicTemplateLaunchParams.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DynamicTemplateLaunchParams.Builder
Overrides

build()

public DynamicTemplateLaunchParams build()
Returns
TypeDescription
DynamicTemplateLaunchParams

buildPartial()

public DynamicTemplateLaunchParams buildPartial()
Returns
TypeDescription
DynamicTemplateLaunchParams

clear()

public DynamicTemplateLaunchParams.Builder clear()
Returns
TypeDescription
DynamicTemplateLaunchParams.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DynamicTemplateLaunchParams.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
DynamicTemplateLaunchParams.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DynamicTemplateLaunchParams.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
DynamicTemplateLaunchParams.Builder

This builder for chaining.

clone()

public DynamicTemplateLaunchParams.Builder clone()
Returns
TypeDescription
DynamicTemplateLaunchParams.Builder
Overrides

getDefaultInstanceForType()

public DynamicTemplateLaunchParams getDefaultInstanceForType()
Returns
TypeDescription
DynamicTemplateLaunchParams

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for stagingLocation.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DynamicTemplateLaunchParams other)

public DynamicTemplateLaunchParams.Builder mergeFrom(DynamicTemplateLaunchParams other)
Parameter
NameDescription
otherDynamicTemplateLaunchParams
Returns
TypeDescription
DynamicTemplateLaunchParams.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DynamicTemplateLaunchParams.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DynamicTemplateLaunchParams.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DynamicTemplateLaunchParams.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DynamicTemplateLaunchParams.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DynamicTemplateLaunchParams.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DynamicTemplateLaunchParams.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DynamicTemplateLaunchParams.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The gcsPath to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for gcsPath to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The stagingLocation to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for stagingLocation to set.

Returns
TypeDescription
DynamicTemplateLaunchParams.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DynamicTemplateLaunchParams.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DynamicTemplateLaunchParams.Builder
Overrides