Class LaunchFlexTemplateRequest (0.10.0)

Stay organized with collections Save and categorize content based on your preferences.
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