Class LaunchFlexTemplateRequest.Builder (0.51.0)

public static final class LaunchFlexTemplateRequest.Builder extends GeneratedMessageV3.Builder<LaunchFlexTemplateRequest.Builder> implements LaunchFlexTemplateRequestOrBuilder

A request to launch a Cloud Dataflow job from a FlexTemplate.

Protobuf type google.dataflow.v1beta3.LaunchFlexTemplateRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LaunchFlexTemplateRequest build()
Returns
Type Description
LaunchFlexTemplateRequest

buildPartial()

public LaunchFlexTemplateRequest buildPartial()
Returns
Type Description
LaunchFlexTemplateRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLaunchParameter()

public LaunchFlexTemplateRequest.Builder clearLaunchParameter()

Required. Parameter to launch a job form Flex Template.

.google.dataflow.v1beta3.LaunchFlexTemplateParameter launch_parameter = 2;

Returns
Type Description
LaunchFlexTemplateRequest.Builder

clearLocation()

public LaunchFlexTemplateRequest.Builder clearLocation()

Required. The regional endpoint to which to direct the request. E.g., us-central1, us-west1.

string location = 3;

Returns
Type Description
LaunchFlexTemplateRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProjectId()

public LaunchFlexTemplateRequest.Builder clearProjectId()

Required. The ID of the Cloud Platform project that the job belongs to.

string project_id = 1;

Returns
Type Description
LaunchFlexTemplateRequest.Builder

This builder for chaining.

clearValidateOnly()

public LaunchFlexTemplateRequest.Builder clearValidateOnly()

If true, the request is validated but not actually executed. Defaults to false.

bool validate_only = 4;

Returns
Type Description
LaunchFlexTemplateRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public LaunchFlexTemplateRequest getDefaultInstanceForType()
Returns
Type Description
LaunchFlexTemplateRequest

getDescriptorForType()

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

getLaunchParameter()

public LaunchFlexTemplateParameter getLaunchParameter()

Required. Parameter to launch a job form Flex Template.

.google.dataflow.v1beta3.LaunchFlexTemplateParameter launch_parameter = 2;

Returns
Type Description
LaunchFlexTemplateParameter

The launchParameter.

getLaunchParameterBuilder()

public LaunchFlexTemplateParameter.Builder getLaunchParameterBuilder()

Required. Parameter to launch a job form Flex Template.

.google.dataflow.v1beta3.LaunchFlexTemplateParameter launch_parameter = 2;

Returns
Type Description
LaunchFlexTemplateParameter.Builder

getLaunchParameterOrBuilder()

public LaunchFlexTemplateParameterOrBuilder getLaunchParameterOrBuilder()

Required. Parameter to launch a job form Flex Template.

.google.dataflow.v1beta3.LaunchFlexTemplateParameter launch_parameter = 2;

Returns
Type Description
LaunchFlexTemplateParameterOrBuilder

getLocation()

public String getLocation()

Required. The regional endpoint to which to direct the request. E.g., us-central1, us-west1.

string location = 3;

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Required. The regional endpoint to which to direct the request. E.g., us-central1, us-west1.

string location = 3;

Returns
Type Description
ByteString

The bytes for location.

getProjectId()

public String getProjectId()

Required. The ID of the Cloud Platform project that the job belongs to.

string project_id = 1;

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

Required. The ID of the Cloud Platform project that the job belongs to.

string project_id = 1;

Returns
Type Description
ByteString

The bytes for projectId.

getValidateOnly()

public boolean getValidateOnly()

If true, the request is validated but not actually executed. Defaults to false.

bool validate_only = 4;

Returns
Type Description
boolean

The validateOnly.

hasLaunchParameter()

public boolean hasLaunchParameter()

Required. Parameter to launch a job form Flex Template.

.google.dataflow.v1beta3.LaunchFlexTemplateParameter launch_parameter = 2;

Returns
Type Description
boolean

Whether the launchParameter field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LaunchFlexTemplateRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLaunchParameter(LaunchFlexTemplateParameter value)

public LaunchFlexTemplateRequest.Builder mergeLaunchParameter(LaunchFlexTemplateParameter value)

Required. Parameter to launch a job form Flex Template.

.google.dataflow.v1beta3.LaunchFlexTemplateParameter launch_parameter = 2;

Parameter
Name Description
value LaunchFlexTemplateParameter
Returns
Type Description
LaunchFlexTemplateRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setLaunchParameter(LaunchFlexTemplateParameter value)

public LaunchFlexTemplateRequest.Builder setLaunchParameter(LaunchFlexTemplateParameter value)

Required. Parameter to launch a job form Flex Template.

.google.dataflow.v1beta3.LaunchFlexTemplateParameter launch_parameter = 2;

Parameter
Name Description
value LaunchFlexTemplateParameter
Returns
Type Description
LaunchFlexTemplateRequest.Builder

setLaunchParameter(LaunchFlexTemplateParameter.Builder builderForValue)

public LaunchFlexTemplateRequest.Builder setLaunchParameter(LaunchFlexTemplateParameter.Builder builderForValue)

Required. Parameter to launch a job form Flex Template.

.google.dataflow.v1beta3.LaunchFlexTemplateParameter launch_parameter = 2;

Parameter
Name Description
builderForValue LaunchFlexTemplateParameter.Builder
Returns
Type Description
LaunchFlexTemplateRequest.Builder

setLocation(String value)

public LaunchFlexTemplateRequest.Builder setLocation(String value)

Required. The regional endpoint to which to direct the request. E.g., us-central1, us-west1.

string location = 3;

Parameter
Name Description
value String

The location to set.

Returns
Type Description
LaunchFlexTemplateRequest.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public LaunchFlexTemplateRequest.Builder setLocationBytes(ByteString value)

Required. The regional endpoint to which to direct the request. E.g., us-central1, us-west1.

string location = 3;

Parameter
Name Description
value ByteString

The bytes for location to set.

Returns
Type Description
LaunchFlexTemplateRequest.Builder

This builder for chaining.

setProjectId(String value)

public LaunchFlexTemplateRequest.Builder setProjectId(String value)

Required. The ID of the Cloud Platform project that the job belongs to.

string project_id = 1;

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
LaunchFlexTemplateRequest.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public LaunchFlexTemplateRequest.Builder setProjectIdBytes(ByteString value)

Required. The ID of the Cloud Platform project that the job belongs to.

string project_id = 1;

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
LaunchFlexTemplateRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValidateOnly(boolean value)

public LaunchFlexTemplateRequest.Builder setValidateOnly(boolean value)

If true, the request is validated but not actually executed. Defaults to false.

bool validate_only = 4;

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
LaunchFlexTemplateRequest.Builder

This builder for chaining.