Package com.google.dataflow.v1beta3
Interface SnapshotOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Snapshot,Snapshot.Builder
public interface SnapshotOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.TimestampgetCreationTime()The time this snapshot was created.com.google.protobuf.TimestampOrBuildergetCreationTimeOrBuilder()The time this snapshot was created.StringgetDescription()User specified description of the snapshot.com.google.protobuf.ByteStringgetDescriptionBytes()User specified description of the snapshot.longgetDiskSizeBytes()The disk byte size of the snapshot.StringgetId()The unique ID of this snapshot.com.google.protobuf.ByteStringgetIdBytes()The unique ID of this snapshot.StringgetProjectId()The project this snapshot belongs to.com.google.protobuf.ByteStringgetProjectIdBytes()The project this snapshot belongs to.PubsubSnapshotMetadatagetPubsubMetadata(int index)Pub/Sub snapshot metadata.intgetPubsubMetadataCount()Pub/Sub snapshot metadata.List<PubsubSnapshotMetadata>getPubsubMetadataList()Pub/Sub snapshot metadata.PubsubSnapshotMetadataOrBuildergetPubsubMetadataOrBuilder(int index)Pub/Sub snapshot metadata.List<? extends PubsubSnapshotMetadataOrBuilder>getPubsubMetadataOrBuilderList()Pub/Sub snapshot metadata.StringgetRegion()Cloud region where this snapshot lives in, e.g., "us-central1".com.google.protobuf.ByteStringgetRegionBytes()Cloud region where this snapshot lives in, e.g., "us-central1".StringgetSourceJobId()The job this snapshot was created from.com.google.protobuf.ByteStringgetSourceJobIdBytes()The job this snapshot was created from.SnapshotStategetState()State of the snapshot.intgetStateValue()State of the snapshot.com.google.protobuf.DurationgetTtl()The time after which this snapshot will be automatically deleted.com.google.protobuf.DurationOrBuildergetTtlOrBuilder()The time after which this snapshot will be automatically deleted.booleanhasCreationTime()The time this snapshot was created.booleanhasTtl()The time after which this snapshot will be automatically deleted.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
PubsubSnapshotMetadata getPubsubMetadata(int index)
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
PubsubSnapshotMetadataOrBuilder getPubsubMetadataOrBuilder(int index)
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.
-
-