Class DynamicTemplateLaunchParams (0.49.0)

public final class DynamicTemplateLaunchParams extends GeneratedMessageV3 implements DynamicTemplateLaunchParamsOrBuilder

Params which should be passed when launching a dynamic template.

Protobuf type google.dataflow.v1beta3.DynamicTemplateLaunchParams

Static Fields

GCS_PATH_FIELD_NUMBER

public static final int GCS_PATH_FIELD_NUMBER
Field Value
Type Description
int

STAGING_LOCATION_FIELD_NUMBER

public static final int STAGING_LOCATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DynamicTemplateLaunchParams getDefaultInstance()
Returns
Type Description
DynamicTemplateLaunchParams

getDescriptor()

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

newBuilder()

public static DynamicTemplateLaunchParams.Builder newBuilder()
Returns
Type Description
DynamicTemplateLaunchParams.Builder

newBuilder(DynamicTemplateLaunchParams prototype)

public static DynamicTemplateLaunchParams.Builder newBuilder(DynamicTemplateLaunchParams prototype)
Parameter
Name Description
prototype DynamicTemplateLaunchParams
Returns
Type Description
DynamicTemplateLaunchParams.Builder

parseDelimitedFrom(InputStream input)

public static DynamicTemplateLaunchParams parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DynamicTemplateLaunchParams
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DynamicTemplateLaunchParams parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DynamicTemplateLaunchParams
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DynamicTemplateLaunchParams parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DynamicTemplateLaunchParams
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DynamicTemplateLaunchParams parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DynamicTemplateLaunchParams
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DynamicTemplateLaunchParams parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DynamicTemplateLaunchParams
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DynamicTemplateLaunchParams parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DynamicTemplateLaunchParams
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DynamicTemplateLaunchParams parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DynamicTemplateLaunchParams
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DynamicTemplateLaunchParams parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DynamicTemplateLaunchParams
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DynamicTemplateLaunchParams parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DynamicTemplateLaunchParams
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DynamicTemplateLaunchParams parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DynamicTemplateLaunchParams
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DynamicTemplateLaunchParams parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DynamicTemplateLaunchParams
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DynamicTemplateLaunchParams parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DynamicTemplateLaunchParams
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DynamicTemplateLaunchParams> parser()
Returns
Type Description
Parser<DynamicTemplateLaunchParams>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public DynamicTemplateLaunchParams getDefaultInstanceForType()
Returns
Type Description
DynamicTemplateLaunchParams

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
Type Description
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
Type Description
ByteString

The bytes for gcsPath.

getParserForType()

public Parser<DynamicTemplateLaunchParams> getParserForType()
Returns
Type Description
Parser<DynamicTemplateLaunchParams>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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
Type Description
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
Type Description
ByteString

The bytes for stagingLocation.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DynamicTemplateLaunchParams.Builder newBuilderForType()
Returns
Type Description
DynamicTemplateLaunchParams.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DynamicTemplateLaunchParams.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DynamicTemplateLaunchParams.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DynamicTemplateLaunchParams.Builder toBuilder()
Returns
Type Description
DynamicTemplateLaunchParams.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException