Interface SnapshotOrBuilder (0.49.0)

public interface SnapshotOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreationTime()

public abstract Timestamp getCreationTime()

The time this snapshot was created.

.google.protobuf.Timestamp creation_time = 4;

Returns
Type Description
Timestamp

The creationTime.

getCreationTimeOrBuilder()

public abstract TimestampOrBuilder getCreationTimeOrBuilder()

The time this snapshot was created.

.google.protobuf.Timestamp creation_time = 4;

Returns
Type Description
TimestampOrBuilder

getDescription()

public abstract String getDescription()

User specified description of the snapshot. Maybe empty.

string description = 8;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

User specified description of the snapshot. Maybe empty.

string description = 8;

Returns
Type Description
ByteString

The bytes for description.

getDiskSizeBytes()

public abstract long getDiskSizeBytes()

The disk byte size of the snapshot. Only available for snapshots in READY state.

int64 disk_size_bytes = 9;

Returns
Type Description
long

The diskSizeBytes.

getId()

public abstract String getId()

The unique ID of this snapshot.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

The unique ID of this snapshot.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

getProjectId()

public abstract String getProjectId()

The project this snapshot belongs to.

string project_id = 2;

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public abstract ByteString getProjectIdBytes()

The project this snapshot belongs to.

string project_id = 2;

Returns
Type Description
ByteString

The bytes for projectId.

getPubsubMetadata(int index)

public abstract PubsubSnapshotMetadata getPubsubMetadata(int index)

Pub/Sub snapshot metadata.

repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;

Parameter
Name Description
index int
Returns
Type Description
PubsubSnapshotMetadata

getPubsubMetadataCount()

public abstract int getPubsubMetadataCount()

Pub/Sub snapshot metadata.

repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;

Returns
Type Description
int

getPubsubMetadataList()

public abstract List<PubsubSnapshotMetadata> getPubsubMetadataList()

Pub/Sub snapshot metadata.

repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;

Returns
Type Description
List<PubsubSnapshotMetadata>

getPubsubMetadataOrBuilder(int index)

public abstract PubsubSnapshotMetadataOrBuilder getPubsubMetadataOrBuilder(int index)

Pub/Sub snapshot metadata.

repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;

Parameter
Name Description
index int
Returns
Type Description
PubsubSnapshotMetadataOrBuilder

getPubsubMetadataOrBuilderList()

public abstract List<? extends PubsubSnapshotMetadataOrBuilder> getPubsubMetadataOrBuilderList()

Pub/Sub snapshot metadata.

repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;

Returns
Type Description
List<? extends com.google.dataflow.v1beta3.PubsubSnapshotMetadataOrBuilder>

getRegion()

public abstract String getRegion()

Cloud region where this snapshot lives in, e.g., "us-central1".

string region = 10;

Returns
Type Description
String

The region.

getRegionBytes()

public abstract ByteString getRegionBytes()

Cloud region where this snapshot lives in, e.g., "us-central1".

string region = 10;

Returns
Type Description
ByteString

The bytes for region.

getSourceJobId()

public abstract String getSourceJobId()

The job this snapshot was created from.

string source_job_id = 3;

Returns
Type Description
String

The sourceJobId.

getSourceJobIdBytes()

public abstract ByteString getSourceJobIdBytes()

The job this snapshot was created from.

string source_job_id = 3;

Returns
Type Description
ByteString

The bytes for sourceJobId.

getState()

public abstract SnapshotState getState()

State of the snapshot.

.google.dataflow.v1beta3.SnapshotState state = 6;

Returns
Type Description
SnapshotState

The state.

getStateValue()

public abstract int getStateValue()

State of the snapshot.

.google.dataflow.v1beta3.SnapshotState state = 6;

Returns
Type Description
int

The enum numeric value on the wire for state.

getTtl()

public abstract Duration getTtl()

The time after which this snapshot will be automatically deleted.

.google.protobuf.Duration ttl = 5;

Returns
Type Description
Duration

The ttl.

getTtlOrBuilder()

public abstract DurationOrBuilder getTtlOrBuilder()

The time after which this snapshot will be automatically deleted.

.google.protobuf.Duration ttl = 5;

Returns
Type Description
DurationOrBuilder

hasCreationTime()

public abstract boolean hasCreationTime()

The time this snapshot was created.

.google.protobuf.Timestamp creation_time = 4;

Returns
Type Description
boolean

Whether the creationTime field is set.

hasTtl()

public abstract boolean hasTtl()

The time after which this snapshot will be automatically deleted.

.google.protobuf.Duration ttl = 5;

Returns
Type Description
boolean

Whether the ttl field is set.