Class LaunchFlexTemplateRequest (0.39.0)

public final class LaunchFlexTemplateRequest extends GeneratedMessageV3 implements LaunchFlexTemplateRequestOrBuilder

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

Protobuf type google.dataflow.v1beta3.LaunchFlexTemplateRequest

Static Fields

LAUNCH_PARAMETER_FIELD_NUMBER

public static final int LAUNCH_PARAMETER_FIELD_NUMBER
Field Value
TypeDescription
int

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

PROJECT_ID_FIELD_NUMBER

public static final int PROJECT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

VALIDATE_ONLY_FIELD_NUMBER

public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LaunchFlexTemplateRequest getDefaultInstance()
Returns
TypeDescription
LaunchFlexTemplateRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static LaunchFlexTemplateRequest.Builder newBuilder()
Returns
TypeDescription
LaunchFlexTemplateRequest.Builder

newBuilder(LaunchFlexTemplateRequest prototype)

public static LaunchFlexTemplateRequest.Builder newBuilder(LaunchFlexTemplateRequest prototype)
Parameter
NameDescription
prototypeLaunchFlexTemplateRequest
Returns
TypeDescription
LaunchFlexTemplateRequest.Builder

parseDelimitedFrom(InputStream input)

public static LaunchFlexTemplateRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LaunchFlexTemplateRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LaunchFlexTemplateRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LaunchFlexTemplateRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static LaunchFlexTemplateRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
LaunchFlexTemplateRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LaunchFlexTemplateRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LaunchFlexTemplateRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LaunchFlexTemplateRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
LaunchFlexTemplateRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LaunchFlexTemplateRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LaunchFlexTemplateRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LaunchFlexTemplateRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
LaunchFlexTemplateRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LaunchFlexTemplateRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LaunchFlexTemplateRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static LaunchFlexTemplateRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LaunchFlexTemplateRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LaunchFlexTemplateRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LaunchFlexTemplateRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static LaunchFlexTemplateRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
LaunchFlexTemplateRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LaunchFlexTemplateRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LaunchFlexTemplateRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<LaunchFlexTemplateRequest> parser()
Returns
TypeDescription
Parser<LaunchFlexTemplateRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public LaunchFlexTemplateRequest getDefaultInstanceForType()
Returns
TypeDescription
LaunchFlexTemplateRequest

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.

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.

getParserForType()

public Parser<LaunchFlexTemplateRequest> getParserForType()
Returns
TypeDescription
Parser<LaunchFlexTemplateRequest>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public LaunchFlexTemplateRequest.Builder newBuilderForType()
Returns
TypeDescription
LaunchFlexTemplateRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LaunchFlexTemplateRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
LaunchFlexTemplateRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public LaunchFlexTemplateRequest.Builder toBuilder()
Returns
TypeDescription
LaunchFlexTemplateRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException