- 0.57.0 (latest)
- 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 SnapshotOrBuilder
Represents 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()
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;
Name | Description |
values | Iterable<? extends com.google.dataflow.v1beta3.PubsubSnapshotMetadata> |
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;
Name | Description |
value | PubsubSnapshotMetadata |
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;
Name | Description |
builderForValue | PubsubSnapshotMetadata.Builder |
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;
Name | Description |
index | int |
value | PubsubSnapshotMetadata |
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;
Name | Description |
index | int |
builderForValue | PubsubSnapshotMetadata.Builder |
Type | Description |
Snapshot.Builder |
addPubsubMetadataBuilder()
public PubsubSnapshotMetadata.Builder addPubsubMetadataBuilder()
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
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;
Name | Description |
index | int |
Type | Description |
PubsubSnapshotMetadata.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Snapshot.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Snapshot.Builder |
build()
public Snapshot build()
Type | Description |
Snapshot |
buildPartial()
public Snapshot buildPartial()
Type | Description |
Snapshot |
clear()
public Snapshot.Builder clear()
Type | Description |
Snapshot.Builder |
clearCreationTime()
public Snapshot.Builder clearCreationTime()
The time this snapshot was created.
.google.protobuf.Timestamp creation_time = 4;
Type | Description |
Snapshot.Builder |
clearDescription()
public Snapshot.Builder clearDescription()
User specified description of the snapshot. Maybe empty.
string description = 8;
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;
Type | Description |
Snapshot.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Snapshot.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Snapshot.Builder |
clearId()
public Snapshot.Builder clearId()
The unique ID of this snapshot.
string id = 1;
Type | Description |
Snapshot.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Snapshot.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Snapshot.Builder |
clearProjectId()
public Snapshot.Builder clearProjectId()
The project this snapshot belongs to.
string project_id = 2;
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;
Type | Description |
Snapshot.Builder |
clearRegion()
public Snapshot.Builder clearRegion()
Cloud region where this snapshot lives in, e.g., "us-central1".
string region = 10;
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;
Type | Description |
Snapshot.Builder | This builder for chaining. |
clearState()
public Snapshot.Builder clearState()
State of the snapshot.
.google.dataflow.v1beta3.SnapshotState state = 6;
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;
Type | Description |
Snapshot.Builder |
clone()
public Snapshot.Builder clone()
Type | Description |
Snapshot.Builder |
getCreationTime()
public Timestamp getCreationTime()
The time this snapshot was created.
.google.protobuf.Timestamp creation_time = 4;
Type | Description |
Timestamp | The creationTime. |
getCreationTimeBuilder()
public Timestamp.Builder getCreationTimeBuilder()
The time this snapshot was created.
.google.protobuf.Timestamp creation_time = 4;
Type | Description |
Builder |
getCreationTimeOrBuilder()
public TimestampOrBuilder getCreationTimeOrBuilder()
The time this snapshot was created.
.google.protobuf.Timestamp creation_time = 4;
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Snapshot getDefaultInstanceForType()
Type | Description |
Snapshot |
getDescription()
public String getDescription()
User specified description of the snapshot. Maybe empty.
string description = 8;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
User specified description of the snapshot. Maybe empty.
string description = 8;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
Type | Description |
long | The diskSizeBytes. |
getId()
public String getId()
The unique ID of this snapshot.
string id = 1;
Type | Description |
String | The id. |
getIdBytes()
public ByteString getIdBytes()
The unique ID of this snapshot.
string id = 1;
Type | Description |
ByteString | The bytes for id. |
getProjectId()
public String getProjectId()
The project this snapshot belongs to.
string project_id = 2;
Type | Description |
String | The projectId. |
getProjectIdBytes()
public ByteString getProjectIdBytes()
The project this snapshot belongs to.
string project_id = 2;
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;
Name | Description |
index | int |
Type | Description |
PubsubSnapshotMetadata |
getPubsubMetadataBuilder(int index)
public PubsubSnapshotMetadata.Builder getPubsubMetadataBuilder(int index)
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
Name | Description |
index | int |
Type | Description |
PubsubSnapshotMetadata.Builder |
getPubsubMetadataBuilderList()
public List<PubsubSnapshotMetadata.Builder> getPubsubMetadataBuilderList()
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
Type | Description |
List<Builder> |
getPubsubMetadataCount()
public int getPubsubMetadataCount()
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
Type | Description |
int |
getPubsubMetadataList()
public List<PubsubSnapshotMetadata> getPubsubMetadataList()
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
Type | Description |
List<PubsubSnapshotMetadata> |
getPubsubMetadataOrBuilder(int index)
public PubsubSnapshotMetadataOrBuilder getPubsubMetadataOrBuilder(int index)
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
Name | Description |
index | int |
Type | Description |
PubsubSnapshotMetadataOrBuilder |
getPubsubMetadataOrBuilderList()
public List<? extends PubsubSnapshotMetadataOrBuilder> getPubsubMetadataOrBuilderList()
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
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;
Type | Description |
String | The region. |
getRegionBytes()
public ByteString getRegionBytes()
Cloud region where this snapshot lives in, e.g., "us-central1".
string region = 10;
Type | Description |
ByteString | The bytes for region. |
getSourceJobId()
public String getSourceJobId()
The job this snapshot was created from.
string source_job_id = 3;
Type | Description |
String | The sourceJobId. |
getSourceJobIdBytes()
public ByteString getSourceJobIdBytes()
The job this snapshot was created from.
string source_job_id = 3;
Type | Description |
ByteString | The bytes for sourceJobId. |
getState()
public SnapshotState getState()
State of the snapshot.
.google.dataflow.v1beta3.SnapshotState state = 6;
Type | Description |
SnapshotState | The state. |
getStateValue()
public int getStateValue()
State of the snapshot.
.google.dataflow.v1beta3.SnapshotState state = 6;
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;
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;
Type | Description |
Builder |
getTtlOrBuilder()
public DurationOrBuilder getTtlOrBuilder()
The time after which this snapshot will be automatically deleted.
.google.protobuf.Duration ttl = 5;
Type | Description |
DurationOrBuilder |
hasCreationTime()
public boolean hasCreationTime()
The time this snapshot was created.
.google.protobuf.Timestamp creation_time = 4;
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;
Type | Description |
boolean | Whether the ttl field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreationTime(Timestamp value)
public Snapshot.Builder mergeCreationTime(Timestamp value)
The time this snapshot was created.
.google.protobuf.Timestamp creation_time = 4;
Name | Description |
value | Timestamp |
Type | Description |
Snapshot.Builder |
mergeFrom(Snapshot other)
public Snapshot.Builder mergeFrom(Snapshot other)
Name | Description |
other | Snapshot |
Type | Description |
Snapshot.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Snapshot.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Snapshot.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Snapshot.Builder mergeFrom(Message other)
Name | Description |
other | Message |
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;
Name | Description |
value | Duration |
Type | Description |
Snapshot.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Snapshot.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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;
Name | Description |
index | int |
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;
Name | Description |
value | Timestamp |
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;
Name | Description |
builderForValue | Builder |
Type | Description |
Snapshot.Builder |
setDescription(String value)
public Snapshot.Builder setDescription(String value)
User specified description of the snapshot. Maybe empty.
string description = 8;
Name | Description |
value | String The description to set. |
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;
Name | Description |
value | ByteString The bytes for description to set. |
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;
Name | Description |
value | long The diskSizeBytes to set. |
Type | Description |
Snapshot.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Snapshot.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Snapshot.Builder |
setId(String value)
public Snapshot.Builder setId(String value)
The unique ID of this snapshot.
string id = 1;
Name | Description |
value | String The id to set. |
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;
Name | Description |
value | ByteString The bytes for id to set. |
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;
Name | Description |
value | String The projectId to set. |
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;
Name | Description |
value | ByteString The bytes for projectId to set. |
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;
Name | Description |
index | int |
value | PubsubSnapshotMetadata |
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;
Name | Description |
index | int |
builderForValue | PubsubSnapshotMetadata.Builder |
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;
Name | Description |
value | String The region to set. |
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;
Name | Description |
value | ByteString The bytes for region to set. |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
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;
Name | Description |
value | String The sourceJobId to set. |
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;
Name | Description |
value | ByteString The bytes for sourceJobId to set. |
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;
Name | Description |
value | SnapshotState The state to set. |
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;
Name | Description |
value | int The enum numeric value on the wire for state to set. |
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;
Name | Description |
value | Duration |
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;
Name | Description |
builderForValue | Builder |
Type | Description |
Snapshot.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Snapshot.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Snapshot.Builder |