Package com.google.dataflow.v1beta3
Interface SnapshotOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Snapshot,Snapshot.Builder
@Generated
public interface SnapshotOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampThe time this snapshot was created.com.google.protobuf.TimestampOrBuilderThe time this snapshot was created.User specified description of the snapshot.com.google.protobuf.ByteStringUser specified description of the snapshot.longThe disk byte size of the snapshot.getId()The unique ID of this snapshot.com.google.protobuf.ByteStringThe unique ID of this snapshot.The project this snapshot belongs to.com.google.protobuf.ByteStringThe project this snapshot belongs to.getPubsubMetadata(int index) Pub/Sub snapshot metadata.intPub/Sub snapshot metadata.Pub/Sub snapshot metadata.getPubsubMetadataOrBuilder(int index) Pub/Sub snapshot metadata.List<? extends PubsubSnapshotMetadataOrBuilder>Pub/Sub snapshot metadata.Cloud region where this snapshot lives in, e.g., "us-central1".com.google.protobuf.ByteStringCloud region where this snapshot lives in, e.g., "us-central1".The job this snapshot was created from.com.google.protobuf.ByteStringThe job this snapshot was created from.getState()State of the snapshot.intState of the snapshot.com.google.protobuf.DurationgetTtl()The time after which this snapshot will be automatically deleted.com.google.protobuf.DurationOrBuilderThe time after which this snapshot will be automatically deleted.booleanThe time this snapshot was created.booleanhasTtl()The time after which this snapshot will be automatically deleted.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
String getId()The unique ID of this snapshot.
string id = 1;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()The unique ID of this snapshot.
string id = 1;- Returns:
- The bytes for id.
-
getProjectId
String getProjectId()The project this snapshot belongs to.
string project_id = 2;- Returns:
- The projectId.
-
getProjectIdBytes
com.google.protobuf.ByteString getProjectIdBytes()The project this snapshot belongs to.
string project_id = 2;- Returns:
- The bytes for projectId.
-
getSourceJobId
String getSourceJobId()The job this snapshot was created from.
string source_job_id = 3;- Returns:
- The sourceJobId.
-
getSourceJobIdBytes
com.google.protobuf.ByteString getSourceJobIdBytes()The job this snapshot was created from.
string source_job_id = 3;- Returns:
- The bytes for sourceJobId.
-
hasCreationTime
boolean hasCreationTime()The time this snapshot was created.
.google.protobuf.Timestamp creation_time = 4;- Returns:
- Whether the creationTime field is set.
-
getCreationTime
com.google.protobuf.Timestamp getCreationTime()The time this snapshot was created.
.google.protobuf.Timestamp creation_time = 4;- Returns:
- The creationTime.
-
getCreationTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder()The time this snapshot was created.
.google.protobuf.Timestamp creation_time = 4; -
hasTtl
boolean hasTtl()The time after which this snapshot will be automatically deleted.
.google.protobuf.Duration ttl = 5;- Returns:
- Whether the ttl field is set.
-
getTtl
com.google.protobuf.Duration getTtl()The time after which this snapshot will be automatically deleted.
.google.protobuf.Duration ttl = 5;- Returns:
- The ttl.
-
getTtlOrBuilder
com.google.protobuf.DurationOrBuilder getTtlOrBuilder()The time after which this snapshot will be automatically deleted.
.google.protobuf.Duration ttl = 5; -
getStateValue
int getStateValue()State of the snapshot.
.google.dataflow.v1beta3.SnapshotState state = 6;- Returns:
- The enum numeric value on the wire for state.
-
getState
SnapshotState getState()State of the snapshot.
.google.dataflow.v1beta3.SnapshotState state = 6;- Returns:
- The state.
-
getPubsubMetadataList
List<PubsubSnapshotMetadata> getPubsubMetadataList()Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7; -
getPubsubMetadata
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7; -
getPubsubMetadataCount
int getPubsubMetadataCount()Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7; -
getPubsubMetadataOrBuilderList
List<? extends PubsubSnapshotMetadataOrBuilder> getPubsubMetadataOrBuilderList()Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7; -
getPubsubMetadataOrBuilder
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7; -
getDescription
String getDescription()User specified description of the snapshot. Maybe empty.
string description = 8;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()User specified description of the snapshot. Maybe empty.
string description = 8;- Returns:
- The bytes for description.
-
getDiskSizeBytes
long getDiskSizeBytes()The disk byte size of the snapshot. Only available for snapshots in READY state.
int64 disk_size_bytes = 9;- Returns:
- The diskSizeBytes.
-
getRegion
String getRegion()Cloud region where this snapshot lives in, e.g., "us-central1".
string region = 10;- Returns:
- The region.
-
getRegionBytes
com.google.protobuf.ByteString getRegionBytes()Cloud region where this snapshot lives in, e.g., "us-central1".
string region = 10;- Returns:
- The bytes for region.
-