Class SnapshotJobRequest (0.10.0)

Stay organized with collections Save and categorize content based on your preferences.
public final class SnapshotJobRequest extends GeneratedMessageV3 implements SnapshotJobRequestOrBuilder

Request to create a snapshot of a job.

Protobuf type google.dataflow.v1beta3.SnapshotJobRequest

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

JOB_ID_FIELD_NUMBER

public static final int JOB_ID_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

SNAPSHOT_SOURCES_FIELD_NUMBER

public static final int SNAPSHOT_SOURCES_FIELD_NUMBER
Field Value
TypeDescription
int

TTL_FIELD_NUMBER

public static final int TTL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SnapshotJobRequest getDefaultInstance()
Returns
TypeDescription
SnapshotJobRequest

getDescriptor()

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

newBuilder()

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

newBuilder(SnapshotJobRequest prototype)

public static SnapshotJobRequest.Builder newBuilder(SnapshotJobRequest prototype)
Parameter
NameDescription
prototypeSnapshotJobRequest
Returns
TypeDescription
SnapshotJobRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SnapshotJobRequest getDefaultInstanceForType()
Returns
TypeDescription
SnapshotJobRequest

getDescription()

public String getDescription()

User specified description of the snapshot. Maybe empty.

string description = 6;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

User specified description of the snapshot. Maybe empty.

string description = 6;

Returns
TypeDescription
ByteString

The bytes for description.

getJobId()

public String getJobId()

The job to be snapshotted.

string job_id = 2;

Returns
TypeDescription
String

The jobId.

getJobIdBytes()

public ByteString getJobIdBytes()

The job to be snapshotted.

string job_id = 2;

Returns
TypeDescription
ByteString

The bytes for jobId.

getLocation()

public String getLocation()

The location that contains this job.

string location = 4;

Returns
TypeDescription
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

The location that contains this job.

string location = 4;

Returns
TypeDescription
ByteString

The bytes for location.

getParserForType()

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