Class DynamicTemplateLaunchParams (0.34.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
TypeDescription
int

STAGING_LOCATION_FIELD_NUMBER

public static final int STAGING_LOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DynamicTemplateLaunchParams getDefaultInstance()
Returns
TypeDescription
DynamicTemplateLaunchParams

getDescriptor()

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

newBuilder()

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

newBuilder(DynamicTemplateLaunchParams prototype)

public static DynamicTemplateLaunchParams.Builder newBuilder(DynamicTemplateLaunchParams prototype)
Parameter
NameDescription
prototypeDynamicTemplateLaunchParams
Returns
TypeDescription
DynamicTemplateLaunchParams.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DynamicTemplateLaunchParams getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for gcsPath.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for stagingLocation.

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 DynamicTemplateLaunchParams.Builder newBuilderForType()
Returns
TypeDescription
DynamicTemplateLaunchParams.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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