Interface SnapshotOrBuilder (0.34.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
TypeDescription
Timestamp

The creationTime.

getCreationTimeOrBuilder()

public abstract TimestampOrBuilder getCreationTimeOrBuilder()

The time this snapshot was created.

.google.protobuf.Timestamp creation_time = 4;

Returns
TypeDescription
TimestampOrBuilder

getDescription()

public abstract String getDescription()

User specified description of the snapshot. Maybe empty.

string description = 8;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

User specified description of the snapshot. Maybe empty.

string description = 8;

Returns
TypeDescription
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
TypeDescription
long

The diskSizeBytes.

getId()

public abstract String getId()

The unique ID of this snapshot.

string id = 1;

Returns
TypeDescription
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

The unique ID of this snapshot.

string id = 1;

Returns
TypeDescription
ByteString

The bytes for id.

getProjectId()

public abstract String getProjectId()

The project this snapshot belongs to.

string project_id = 2;

Returns
TypeDescription
String

The projectId.

getProjectIdBytes()

public abstract ByteString getProjectIdBytes()

The project this snapshot belongs to.

string project_id = 2;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
PubsubSnapshotMetadata

getPubsubMetadataCount()

public abstract int getPubsubMetadataCount()

Pub/Sub snapshot metadata.

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

Returns
TypeDescription
int

getPubsubMetadataList()

public abstract List<PubsubSnapshotMetadata> getPubsubMetadataList()

Pub/Sub snapshot metadata.

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

Returns
TypeDescription
List<PubsubSnapshotMetadata>

getPubsubMetadataOrBuilder(int index)

public abstract PubsubSnapshotMetadataOrBuilder getPubsubMetadataOrBuilder(int index)

Pub/Sub snapshot metadata.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
PubsubSnapshotMetadataOrBuilder

getPubsubMetadataOrBuilderList()

public abstract List<? extends PubsubSnapshotMetadataOrBuilder> getPubsubMetadataOrBuilderList()

Pub/Sub snapshot metadata.

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

Returns
TypeDescription
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
TypeDescription
String

The region.

getRegionBytes()

public abstract ByteString getRegionBytes()

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

string region = 10;

Returns
TypeDescription
ByteString

The bytes for region.

getSourceJobId()

public abstract String getSourceJobId()

The job this snapshot was created from.

string source_job_id = 3;

Returns
TypeDescription
String

The sourceJobId.

getSourceJobIdBytes()

public abstract ByteString getSourceJobIdBytes()

The job this snapshot was created from.

string source_job_id = 3;

Returns
TypeDescription
ByteString

The bytes for sourceJobId.

getState()

public abstract SnapshotState getState()

State of the snapshot.

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

Returns
TypeDescription
SnapshotState

The state.

getStateValue()

public abstract int getStateValue()

State of the snapshot.

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

Returns
TypeDescription
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
TypeDescription
Duration

The ttl.

getTtlOrBuilder()

public abstract DurationOrBuilder getTtlOrBuilder()

The time after which this snapshot will be automatically deleted.

.google.protobuf.Duration ttl = 5;

Returns
TypeDescription
DurationOrBuilder

hasCreationTime()

public abstract boolean hasCreationTime()

The time this snapshot was created.

.google.protobuf.Timestamp creation_time = 4;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the ttl field is set.