public static final class SnapshotJobRequest.Builder extends GeneratedMessage.Builder<SnapshotJobRequest.Builder> implements SnapshotJobRequestOrBuilderRequest to create a snapshot of a job.
Protobuf type google.dataflow.v1beta3.SnapshotJobRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SnapshotJobRequest.BuilderImplements
SnapshotJobRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SnapshotJobRequest build()| Returns | |
|---|---|
| Type | Description |
SnapshotJobRequest |
|
buildPartial()
public SnapshotJobRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
SnapshotJobRequest |
|
clear()
public SnapshotJobRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
SnapshotJobRequest.Builder |
|
clearDescription()
public SnapshotJobRequest.Builder clearDescription()User specified description of the snapshot. Maybe empty.
string description = 6;
| Returns | |
|---|---|
| Type | Description |
SnapshotJobRequest.Builder |
This builder for chaining. |
clearJobId()
public SnapshotJobRequest.Builder clearJobId()The job to be snapshotted.
string job_id = 2;
| Returns | |
|---|---|
| Type | Description |
SnapshotJobRequest.Builder |
This builder for chaining. |
clearLocation()
public SnapshotJobRequest.Builder clearLocation()The location that contains this job.
string location = 4;
| Returns | |
|---|---|
| Type | Description |
SnapshotJobRequest.Builder |
This builder for chaining. |
clearProjectId()
public SnapshotJobRequest.Builder clearProjectId()The project which owns the job to be snapshotted.
string project_id = 1;
| Returns | |
|---|---|
| Type | Description |
SnapshotJobRequest.Builder |
This builder for chaining. |
clearSnapshotSources()
public SnapshotJobRequest.Builder clearSnapshotSources()If true, perform snapshots for sources which support this.
bool snapshot_sources = 5;
| Returns | |
|---|---|
| Type | Description |
SnapshotJobRequest.Builder |
This builder for chaining. |
clearTtl()
public SnapshotJobRequest.Builder clearTtl()TTL for the snapshot.
.google.protobuf.Duration ttl = 3;
| Returns | |
|---|---|
| Type | Description |
SnapshotJobRequest.Builder |
|
getDefaultInstanceForType()
public SnapshotJobRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SnapshotJobRequest |
|
getDescription()
public String getDescription()User specified description of the snapshot. Maybe empty.
string description = 6;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()User specified description of the snapshot. Maybe empty.
string description = 6;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getJobId()
public String getJobId()The job to be snapshotted.
string job_id = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The jobId. |
getJobIdBytes()
public ByteString getJobIdBytes()The job to be snapshotted.
string job_id = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for jobId. |
getLocation()
public String getLocation()The location that contains this job.
string location = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The location. |
getLocationBytes()
public ByteString getLocationBytes()The location that contains this job.
string location = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for location. |
getProjectId()
public String getProjectId()The project which owns the job to be snapshotted.
string project_id = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The projectId. |
getProjectIdBytes()
public ByteString getProjectIdBytes()The project which owns the job to be snapshotted.
string project_id = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for projectId. |
getSnapshotSources()
public boolean getSnapshotSources()If true, perform snapshots for sources which support this.
bool snapshot_sources = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
The snapshotSources. |
getTtl()
public Duration getTtl()TTL for the snapshot.
.google.protobuf.Duration ttl = 3;
| Returns | |
|---|---|
| Type | Description |
Duration |
The ttl. |
getTtlBuilder()
public Duration.Builder getTtlBuilder()TTL for the snapshot.
.google.protobuf.Duration ttl = 3;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getTtlOrBuilder()
public DurationOrBuilder getTtlOrBuilder()TTL for the snapshot.
.google.protobuf.Duration ttl = 3;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
hasTtl()
public boolean hasTtl()TTL for the snapshot.
.google.protobuf.Duration ttl = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the ttl field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SnapshotJobRequest other)
public SnapshotJobRequest.Builder mergeFrom(SnapshotJobRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
SnapshotJobRequest |
| Returns | |
|---|---|
| Type | Description |
SnapshotJobRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SnapshotJobRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SnapshotJobRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SnapshotJobRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SnapshotJobRequest.Builder |
|
mergeTtl(Duration value)
public SnapshotJobRequest.Builder mergeTtl(Duration value)TTL for the snapshot.
.google.protobuf.Duration ttl = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
SnapshotJobRequest.Builder |
|
setDescription(String value)
public SnapshotJobRequest.Builder setDescription(String value)User specified description of the snapshot. Maybe empty.
string description = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
SnapshotJobRequest.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public SnapshotJobRequest.Builder setDescriptionBytes(ByteString value)User specified description of the snapshot. Maybe empty.
string description = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
SnapshotJobRequest.Builder |
This builder for chaining. |
setJobId(String value)
public SnapshotJobRequest.Builder setJobId(String value)The job to be snapshotted.
string job_id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe jobId to set. |
| Returns | |
|---|---|
| Type | Description |
SnapshotJobRequest.Builder |
This builder for chaining. |
setJobIdBytes(ByteString value)
public SnapshotJobRequest.Builder setJobIdBytes(ByteString value)The job to be snapshotted.
string job_id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for jobId to set. |
| Returns | |
|---|---|
| Type | Description |
SnapshotJobRequest.Builder |
This builder for chaining. |
setLocation(String value)
public SnapshotJobRequest.Builder setLocation(String value)The location that contains this job.
string location = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe location to set. |
| Returns | |
|---|---|
| Type | Description |
SnapshotJobRequest.Builder |
This builder for chaining. |
setLocationBytes(ByteString value)
public SnapshotJobRequest.Builder setLocationBytes(ByteString value)The location that contains this job.
string location = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for location to set. |
| Returns | |
|---|---|
| Type | Description |
SnapshotJobRequest.Builder |
This builder for chaining. |
setProjectId(String value)
public SnapshotJobRequest.Builder setProjectId(String value)The project which owns the job to be snapshotted.
string project_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe projectId to set. |
| Returns | |
|---|---|
| Type | Description |
SnapshotJobRequest.Builder |
This builder for chaining. |
setProjectIdBytes(ByteString value)
public SnapshotJobRequest.Builder setProjectIdBytes(ByteString value)The project which owns the job to be snapshotted.
string project_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for projectId to set. |
| Returns | |
|---|---|
| Type | Description |
SnapshotJobRequest.Builder |
This builder for chaining. |
setSnapshotSources(boolean value)
public SnapshotJobRequest.Builder setSnapshotSources(boolean value)If true, perform snapshots for sources which support this.
bool snapshot_sources = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe snapshotSources to set. |
| Returns | |
|---|---|
| Type | Description |
SnapshotJobRequest.Builder |
This builder for chaining. |
setTtl(Duration value)
public SnapshotJobRequest.Builder setTtl(Duration value)TTL for the snapshot.
.google.protobuf.Duration ttl = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
SnapshotJobRequest.Builder |
|
setTtl(Duration.Builder builderForValue)
public SnapshotJobRequest.Builder setTtl(Duration.Builder builderForValue)TTL for the snapshot.
.google.protobuf.Duration ttl = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
SnapshotJobRequest.Builder |
|