- 0.80.0 (latest)
- 0.79.0
- 0.78.0
- 0.77.0
- 0.76.0
- 0.74.0
- 0.72.0
- 0.71.0
- 0.68.0
- 0.67.0
- 0.66.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.61.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.5.0
public static final class Snapshot.Builder extends GeneratedMessageV3.Builder<Snapshot.Builder> implements SnapshotOrBuilderRepresents a snapshot of a job.
Protobuf type google.dataflow.v1beta3.Snapshot
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Snapshot.BuilderImplements
SnapshotOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllPubsubMetadata(Iterable<? extends PubsubSnapshotMetadata> values)
public Snapshot.Builder addAllPubsubMetadata(Iterable<? extends PubsubSnapshotMetadata> values)Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.dataflow.v1beta3.PubsubSnapshotMetadata> |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
|
addPubsubMetadata(PubsubSnapshotMetadata value)
public Snapshot.Builder addPubsubMetadata(PubsubSnapshotMetadata value)Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
PubsubSnapshotMetadata |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
|
addPubsubMetadata(PubsubSnapshotMetadata.Builder builderForValue)
public Snapshot.Builder addPubsubMetadata(PubsubSnapshotMetadata.Builder builderForValue)Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PubsubSnapshotMetadata.Builder |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
|
addPubsubMetadata(int index, PubsubSnapshotMetadata value)
public Snapshot.Builder addPubsubMetadata(int index, PubsubSnapshotMetadata value)Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
PubsubSnapshotMetadata |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
|
addPubsubMetadata(int index, PubsubSnapshotMetadata.Builder builderForValue)
public Snapshot.Builder addPubsubMetadata(int index, PubsubSnapshotMetadata.Builder builderForValue)Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
PubsubSnapshotMetadata.Builder |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
|
addPubsubMetadataBuilder()
public PubsubSnapshotMetadata.Builder addPubsubMetadataBuilder()Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
| Returns | |
|---|---|
| Type | Description |
PubsubSnapshotMetadata.Builder |
|
addPubsubMetadataBuilder(int index)
public PubsubSnapshotMetadata.Builder addPubsubMetadataBuilder(int index)Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PubsubSnapshotMetadata.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Snapshot.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
|
build()
public Snapshot build()| Returns | |
|---|---|
| Type | Description |
Snapshot |
|
buildPartial()
public Snapshot buildPartial()| Returns | |
|---|---|
| Type | Description |
Snapshot |
|
clear()
public Snapshot.Builder clear()| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
|
clearCreationTime()
public Snapshot.Builder clearCreationTime()The time this snapshot was created.
.google.protobuf.Timestamp creation_time = 4;
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
|
clearDescription()
public Snapshot.Builder clearDescription()User specified description of the snapshot. Maybe empty.
string description = 8;
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
This builder for chaining. |
clearDiskSizeBytes()
public Snapshot.Builder clearDiskSizeBytes()The disk byte size of the snapshot. Only available for snapshots in READY state.
int64 disk_size_bytes = 9;
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Snapshot.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
|
clearId()
public Snapshot.Builder clearId()The unique ID of this snapshot.
string id = 1;
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Snapshot.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
|
clearProjectId()
public Snapshot.Builder clearProjectId()The project this snapshot belongs to.
string project_id = 2;
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
This builder for chaining. |
clearPubsubMetadata()
public Snapshot.Builder clearPubsubMetadata()Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
|
clearRegion()
public Snapshot.Builder clearRegion()Cloud region where this snapshot lives in, e.g., "us-central1".
string region = 10;
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
This builder for chaining. |
clearSourceJobId()
public Snapshot.Builder clearSourceJobId()The job this snapshot was created from.
string source_job_id = 3;
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
This builder for chaining. |
clearState()
public Snapshot.Builder clearState()State of the snapshot.
.google.dataflow.v1beta3.SnapshotState state = 6;
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
This builder for chaining. |
clearTtl()
public Snapshot.Builder clearTtl()The time after which this snapshot will be automatically deleted.
.google.protobuf.Duration ttl = 5;
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
|
clone()
public Snapshot.Builder clone()| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
|
getCreationTime()
public Timestamp getCreationTime()The time this snapshot was created.
.google.protobuf.Timestamp creation_time = 4;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The creationTime. |
getCreationTimeBuilder()
public Timestamp.Builder getCreationTimeBuilder()The time this snapshot was created.
.google.protobuf.Timestamp creation_time = 4;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreationTimeOrBuilder()
public TimestampOrBuilder getCreationTimeOrBuilder()The time this snapshot was created.
.google.protobuf.Timestamp creation_time = 4;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public Snapshot getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Snapshot |
|
getDescription()
public String getDescription()User specified description of the snapshot. Maybe empty.
string description = 8;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()User specified description of the snapshot. Maybe empty.
string description = 8;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDiskSizeBytes()
public 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 String getId()The unique ID of this snapshot.
string id = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The id. |
getIdBytes()
public ByteString getIdBytes()The unique ID of this snapshot.
string id = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for id. |
getProjectId()
public String getProjectId()The project this snapshot belongs to.
string project_id = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The projectId. |
getProjectIdBytes()
public ByteString getProjectIdBytes()The project this snapshot belongs to.
string project_id = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for projectId. |
getPubsubMetadata(int index)
public 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 |
|
getPubsubMetadataBuilder(int index)
public PubsubSnapshotMetadata.Builder getPubsubMetadataBuilder(int index)Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PubsubSnapshotMetadata.Builder |
|
getPubsubMetadataBuilderList()
public List<PubsubSnapshotMetadata.Builder> getPubsubMetadataBuilderList()Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getPubsubMetadataCount()
public int getPubsubMetadataCount()Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
| Returns | |
|---|---|
| Type | Description |
int |
|
getPubsubMetadataList()
public List<PubsubSnapshotMetadata> getPubsubMetadataList()Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
| Returns | |
|---|---|
| Type | Description |
List<PubsubSnapshotMetadata> |
|
getPubsubMetadataOrBuilder(int index)
public 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 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 String getRegion()Cloud region where this snapshot lives in, e.g., "us-central1".
string region = 10;
| Returns | |
|---|---|
| Type | Description |
String |
The region. |
getRegionBytes()
public 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 String getSourceJobId()The job this snapshot was created from.
string source_job_id = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The sourceJobId. |
getSourceJobIdBytes()
public ByteString getSourceJobIdBytes()The job this snapshot was created from.
string source_job_id = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sourceJobId. |
getState()
public SnapshotState getState()State of the snapshot.
.google.dataflow.v1beta3.SnapshotState state = 6;
| Returns | |
|---|---|
| Type | Description |
SnapshotState |
The state. |
getStateValue()
public 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 Duration getTtl()The time after which this snapshot will be automatically deleted.
.google.protobuf.Duration ttl = 5;
| Returns | |
|---|---|
| Type | Description |
Duration |
The ttl. |
getTtlBuilder()
public Duration.Builder getTtlBuilder()The time after which this snapshot will be automatically deleted.
.google.protobuf.Duration ttl = 5;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getTtlOrBuilder()
public DurationOrBuilder getTtlOrBuilder()The time after which this snapshot will be automatically deleted.
.google.protobuf.Duration ttl = 5;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
hasCreationTime()
public 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreationTime(Timestamp value)
public Snapshot.Builder mergeCreationTime(Timestamp value)The time this snapshot was created.
.google.protobuf.Timestamp creation_time = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
|
mergeFrom(Snapshot other)
public Snapshot.Builder mergeFrom(Snapshot other)| Parameter | |
|---|---|
| Name | Description |
other |
Snapshot |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Snapshot.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Snapshot.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
|
mergeTtl(Duration value)
public Snapshot.Builder mergeTtl(Duration value)The time after which this snapshot will be automatically deleted.
.google.protobuf.Duration ttl = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Snapshot.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
|
removePubsubMetadata(int index)
public Snapshot.Builder removePubsubMetadata(int index)Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
|
setCreationTime(Timestamp value)
public Snapshot.Builder setCreationTime(Timestamp value)The time this snapshot was created.
.google.protobuf.Timestamp creation_time = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
|
setCreationTime(Timestamp.Builder builderForValue)
public Snapshot.Builder setCreationTime(Timestamp.Builder builderForValue)The time this snapshot was created.
.google.protobuf.Timestamp creation_time = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
|
setDescription(String value)
public Snapshot.Builder setDescription(String value)User specified description of the snapshot. Maybe empty.
string description = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public Snapshot.Builder setDescriptionBytes(ByteString value)User specified description of the snapshot. Maybe empty.
string description = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
This builder for chaining. |
setDiskSizeBytes(long value)
public Snapshot.Builder setDiskSizeBytes(long value)The disk byte size of the snapshot. Only available for snapshots in READY state.
int64 disk_size_bytes = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe diskSizeBytes to set. |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Snapshot.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
|
setId(String value)
public Snapshot.Builder setId(String value)The unique ID of this snapshot.
string id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe id to set. |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public Snapshot.Builder setIdBytes(ByteString value)The unique ID of this snapshot.
string id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
This builder for chaining. |
setProjectId(String value)
public Snapshot.Builder setProjectId(String value)The project this snapshot belongs to.
string project_id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe projectId to set. |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
This builder for chaining. |
setProjectIdBytes(ByteString value)
public Snapshot.Builder setProjectIdBytes(ByteString value)The project this snapshot belongs to.
string project_id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for projectId to set. |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
This builder for chaining. |
setPubsubMetadata(int index, PubsubSnapshotMetadata value)
public Snapshot.Builder setPubsubMetadata(int index, PubsubSnapshotMetadata value)Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
PubsubSnapshotMetadata |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
|
setPubsubMetadata(int index, PubsubSnapshotMetadata.Builder builderForValue)
public Snapshot.Builder setPubsubMetadata(int index, PubsubSnapshotMetadata.Builder builderForValue)Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
PubsubSnapshotMetadata.Builder |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
|
setRegion(String value)
public Snapshot.Builder setRegion(String value)Cloud region where this snapshot lives in, e.g., "us-central1".
string region = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe region to set. |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
This builder for chaining. |
setRegionBytes(ByteString value)
public Snapshot.Builder setRegionBytes(ByteString value)Cloud region where this snapshot lives in, e.g., "us-central1".
string region = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for region to set. |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Snapshot.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
|
setSourceJobId(String value)
public Snapshot.Builder setSourceJobId(String value)The job this snapshot was created from.
string source_job_id = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sourceJobId to set. |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
This builder for chaining. |
setSourceJobIdBytes(ByteString value)
public Snapshot.Builder setSourceJobIdBytes(ByteString value)The job this snapshot was created from.
string source_job_id = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sourceJobId to set. |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
This builder for chaining. |
setState(SnapshotState value)
public Snapshot.Builder setState(SnapshotState value)State of the snapshot.
.google.dataflow.v1beta3.SnapshotState state = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
SnapshotStateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
This builder for chaining. |
setStateValue(int value)
public Snapshot.Builder setStateValue(int value)State of the snapshot.
.google.dataflow.v1beta3.SnapshotState state = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
This builder for chaining. |
setTtl(Duration value)
public Snapshot.Builder setTtl(Duration value)The time after which this snapshot will be automatically deleted.
.google.protobuf.Duration ttl = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
|
setTtl(Duration.Builder builderForValue)
public Snapshot.Builder setTtl(Duration.Builder builderForValue)The time after which this snapshot will be automatically deleted.
.google.protobuf.Duration ttl = 5;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Snapshot.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Snapshot.Builder |
|