- 0.58.0 (latest)
- 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 SnapshotJobRequest.Builder extends GeneratedMessageV3.Builder<SnapshotJobRequest.Builder> implements SnapshotJobRequestOrBuilder
Request to create a snapshot of a job.
Protobuf type google.dataflow.v1beta3.SnapshotJobRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SnapshotJobRequest.BuilderImplements
SnapshotJobRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SnapshotJobRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
SnapshotJobRequest.Builder |
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. |
clearField(Descriptors.FieldDescriptor field)
public SnapshotJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
SnapshotJobRequest.Builder |
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public SnapshotJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
SnapshotJobRequest.Builder |
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 |
clone()
public SnapshotJobRequest.Builder clone()
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SnapshotJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
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 | String The 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 | ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
SnapshotJobRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SnapshotJobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
SnapshotJobRequest.Builder |
setJobId(String value)
public SnapshotJobRequest.Builder setJobId(String value)
The job to be snapshotted.
string job_id = 2;
Parameter | |
---|---|
Name | Description |
value | String The 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 | ByteString The 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 | String The 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 | ByteString The 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 | String The 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 | ByteString The bytes for projectId to set. |
Returns | |
---|---|
Type | Description |
SnapshotJobRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SnapshotJobRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
SnapshotJobRequest.Builder |
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 | boolean The 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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final SnapshotJobRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SnapshotJobRequest.Builder |