Class LaunchFlexTemplateRequest.Builder (0.45.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LaunchFlexTemplateRequest build()
Returns
TypeDescription
LaunchFlexTemplateRequest

buildPartial()

public LaunchFlexTemplateRequest buildPartial()
Returns
TypeDescription
LaunchFlexTemplateRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public LaunchFlexTemplateRequest getDefaultInstanceForType()
Returns
TypeDescription
LaunchFlexTemplateRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLaunchParameter()

public LaunchFlexTemplateParameter getLaunchParameter()

Required. Parameter to launch a job form Flex Template.

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

Returns
TypeDescription
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
TypeDescription
LaunchFlexTemplateParameter.Builder

getLaunchParameterOrBuilder()

public LaunchFlexTemplateParameterOrBuilder getLaunchParameterOrBuilder()

Required. Parameter to launch a job form Flex Template.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

The validateOnly.

hasLaunchParameter()

public boolean hasLaunchParameter()

Required. Parameter to launch a job form Flex Template.

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

Returns
TypeDescription
boolean

Whether the launchParameter field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LaunchFlexTemplateRequest other)

public LaunchFlexTemplateRequest.Builder mergeFrom(LaunchFlexTemplateRequest other)
Parameter
NameDescription
otherLaunchFlexTemplateRequest
Returns
TypeDescription
LaunchFlexTemplateRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public LaunchFlexTemplateRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueLaunchFlexTemplateParameter
Returns
TypeDescription
LaunchFlexTemplateRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The location to set.

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

The bytes for location to set.

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

The projectId to set.

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

The bytes for projectId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
LaunchFlexTemplateRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LaunchFlexTemplateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The validateOnly to set.

Returns
TypeDescription
LaunchFlexTemplateRequest.Builder

This builder for chaining.