Package com.google.dataflow.v1beta3
Class SnapshotJobRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SnapshotJobRequest.Builder>
com.google.dataflow.v1beta3.SnapshotJobRequest.Builder
- All Implemented Interfaces:
SnapshotJobRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SnapshotJobRequest
public static final class SnapshotJobRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SnapshotJobRequest.Builder>
implements SnapshotJobRequestOrBuilder
Request to create a snapshot of a job.Protobuf type
google.dataflow.v1beta3.SnapshotJobRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()User specified description of the snapshot.The job to be snapshotted.The location that contains this job.The project which owns the job to be snapshotted.If true, perform snapshots for sources which support this.clearTtl()TTL for the snapshot.User specified description of the snapshot.com.google.protobuf.ByteStringUser specified description of the snapshot.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetJobId()The job to be snapshotted.com.google.protobuf.ByteStringThe job to be snapshotted.The location that contains this job.com.google.protobuf.ByteStringThe location that contains this job.The project which owns the job to be snapshotted.com.google.protobuf.ByteStringThe project which owns the job to be snapshotted.booleanIf true, perform snapshots for sources which support this.com.google.protobuf.DurationgetTtl()TTL for the snapshot.com.google.protobuf.Duration.BuilderTTL for the snapshot.com.google.protobuf.DurationOrBuilderTTL for the snapshot.booleanhasTtl()TTL for the snapshot.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(SnapshotJobRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeTtl(com.google.protobuf.Duration value) TTL for the snapshot.setDescription(String value) User specified description of the snapshot.setDescriptionBytes(com.google.protobuf.ByteString value) User specified description of the snapshot.The job to be snapshotted.setJobIdBytes(com.google.protobuf.ByteString value) The job to be snapshotted.setLocation(String value) The location that contains this job.setLocationBytes(com.google.protobuf.ByteString value) The location that contains this job.setProjectId(String value) The project which owns the job to be snapshotted.setProjectIdBytes(com.google.protobuf.ByteString value) The project which owns the job to be snapshotted.setSnapshotSources(boolean value) If true, perform snapshots for sources which support this.setTtl(com.google.protobuf.Duration value) TTL for the snapshot.setTtl(com.google.protobuf.Duration.Builder builderForValue) TTL for the snapshot.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SnapshotJobRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SnapshotJobRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SnapshotJobRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SnapshotJobRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SnapshotJobRequest.Builder>
-
mergeFrom
public SnapshotJobRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SnapshotJobRequest.Builder>- Throws:
IOException
-
getProjectId
The project which owns the job to be snapshotted.
string project_id = 1;- Specified by:
getProjectIdin interfaceSnapshotJobRequestOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()The project which owns the job to be snapshotted.
string project_id = 1;- Specified by:
getProjectIdBytesin interfaceSnapshotJobRequestOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
The project which owns the job to be snapshotted.
string project_id = 1;- Parameters:
value- The projectId to set.- Returns:
- This builder for chaining.
-
clearProjectId
The project which owns the job to be snapshotted.
string project_id = 1;- Returns:
- This builder for chaining.
-
setProjectIdBytes
The project which owns the job to be snapshotted.
string project_id = 1;- Parameters:
value- The bytes for projectId to set.- Returns:
- This builder for chaining.
-
getJobId
The job to be snapshotted.
string job_id = 2;- Specified by:
getJobIdin interfaceSnapshotJobRequestOrBuilder- Returns:
- The jobId.
-
getJobIdBytes
public com.google.protobuf.ByteString getJobIdBytes()The job to be snapshotted.
string job_id = 2;- Specified by:
getJobIdBytesin interfaceSnapshotJobRequestOrBuilder- Returns:
- The bytes for jobId.
-
setJobId
The job to be snapshotted.
string job_id = 2;- Parameters:
value- The jobId to set.- Returns:
- This builder for chaining.
-
clearJobId
The job to be snapshotted.
string job_id = 2;- Returns:
- This builder for chaining.
-
setJobIdBytes
The job to be snapshotted.
string job_id = 2;- Parameters:
value- The bytes for jobId to set.- Returns:
- This builder for chaining.
-
hasTtl
public boolean hasTtl()TTL for the snapshot.
.google.protobuf.Duration ttl = 3;- Specified by:
hasTtlin interfaceSnapshotJobRequestOrBuilder- Returns:
- Whether the ttl field is set.
-
getTtl
public com.google.protobuf.Duration getTtl()TTL for the snapshot.
.google.protobuf.Duration ttl = 3;- Specified by:
getTtlin interfaceSnapshotJobRequestOrBuilder- Returns:
- The ttl.
-
setTtl
TTL for the snapshot.
.google.protobuf.Duration ttl = 3; -
setTtl
TTL for the snapshot.
.google.protobuf.Duration ttl = 3; -
mergeTtl
TTL for the snapshot.
.google.protobuf.Duration ttl = 3; -
clearTtl
TTL for the snapshot.
.google.protobuf.Duration ttl = 3; -
getTtlBuilder
public com.google.protobuf.Duration.Builder getTtlBuilder()TTL for the snapshot.
.google.protobuf.Duration ttl = 3; -
getTtlOrBuilder
public com.google.protobuf.DurationOrBuilder getTtlOrBuilder()TTL for the snapshot.
.google.protobuf.Duration ttl = 3;- Specified by:
getTtlOrBuilderin interfaceSnapshotJobRequestOrBuilder
-
getLocation
The location that contains this job.
string location = 4;- Specified by:
getLocationin interfaceSnapshotJobRequestOrBuilder- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()The location that contains this job.
string location = 4;- Specified by:
getLocationBytesin interfaceSnapshotJobRequestOrBuilder- Returns:
- The bytes for location.
-
setLocation
The location that contains this job.
string location = 4;- Parameters:
value- The location to set.- Returns:
- This builder for chaining.
-
clearLocation
The location that contains this job.
string location = 4;- Returns:
- This builder for chaining.
-
setLocationBytes
The location that contains this job.
string location = 4;- Parameters:
value- The bytes for location to set.- Returns:
- This builder for chaining.
-
getSnapshotSources
public boolean getSnapshotSources()If true, perform snapshots for sources which support this.
bool snapshot_sources = 5;- Specified by:
getSnapshotSourcesin interfaceSnapshotJobRequestOrBuilder- Returns:
- The snapshotSources.
-
setSnapshotSources
If true, perform snapshots for sources which support this.
bool snapshot_sources = 5;- Parameters:
value- The snapshotSources to set.- Returns:
- This builder for chaining.
-
clearSnapshotSources
If true, perform snapshots for sources which support this.
bool snapshot_sources = 5;- Returns:
- This builder for chaining.
-
getDescription
User specified description of the snapshot. Maybe empty.
string description = 6;- Specified by:
getDescriptionin interfaceSnapshotJobRequestOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()User specified description of the snapshot. Maybe empty.
string description = 6;- Specified by:
getDescriptionBytesin interfaceSnapshotJobRequestOrBuilder- Returns:
- The bytes for description.
-
setDescription
User specified description of the snapshot. Maybe empty.
string description = 6;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
User specified description of the snapshot. Maybe empty.
string description = 6;- Returns:
- This builder for chaining.
-
setDescriptionBytes
User specified description of the snapshot. Maybe empty.
string description = 6;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-