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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder> implements SnapshotJobRequestOrBuilder
Request to create a snapshot of a job.
Protobuf typegoogle.dataflow.v1beta3.SnapshotJobRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SnapshotJobRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)SnapshotJobRequestbuild()SnapshotJobRequestbuildPartial()SnapshotJobRequest.Builderclear()SnapshotJobRequest.BuilderclearDescription()User specified description of the snapshot.SnapshotJobRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)SnapshotJobRequest.BuilderclearJobId()The job to be snapshotted.SnapshotJobRequest.BuilderclearLocation()The location that contains this job.SnapshotJobRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)SnapshotJobRequest.BuilderclearProjectId()The project which owns the job to be snapshotted.SnapshotJobRequest.BuilderclearSnapshotSources()If true, perform snapshots for sources which support this.SnapshotJobRequest.BuilderclearTtl()TTL for the snapshot.SnapshotJobRequest.Builderclone()SnapshotJobRequestgetDefaultInstanceForType()StringgetDescription()User specified description of the snapshot.com.google.protobuf.ByteStringgetDescriptionBytes()User specified description of the snapshot.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetJobId()The job to be snapshotted.com.google.protobuf.ByteStringgetJobIdBytes()The job to be snapshotted.StringgetLocation()The location that contains this job.com.google.protobuf.ByteStringgetLocationBytes()The location that contains this job.StringgetProjectId()The project which owns the job to be snapshotted.com.google.protobuf.ByteStringgetProjectIdBytes()The project which owns the job to be snapshotted.booleangetSnapshotSources()If true, perform snapshots for sources which support this.com.google.protobuf.DurationgetTtl()TTL for the snapshot.com.google.protobuf.Duration.BuildergetTtlBuilder()TTL for the snapshot.com.google.protobuf.DurationOrBuildergetTtlOrBuilder()TTL for the snapshot.booleanhasTtl()TTL for the snapshot.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()SnapshotJobRequest.BuildermergeFrom(SnapshotJobRequest other)SnapshotJobRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)SnapshotJobRequest.BuildermergeFrom(com.google.protobuf.Message other)SnapshotJobRequest.BuildermergeTtl(com.google.protobuf.Duration value)TTL for the snapshot.SnapshotJobRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)SnapshotJobRequest.BuildersetDescription(String value)User specified description of the snapshot.SnapshotJobRequest.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)User specified description of the snapshot.SnapshotJobRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)SnapshotJobRequest.BuildersetJobId(String value)The job to be snapshotted.SnapshotJobRequest.BuildersetJobIdBytes(com.google.protobuf.ByteString value)The job to be snapshotted.SnapshotJobRequest.BuildersetLocation(String value)The location that contains this job.SnapshotJobRequest.BuildersetLocationBytes(com.google.protobuf.ByteString value)The location that contains this job.SnapshotJobRequest.BuildersetProjectId(String value)The project which owns the job to be snapshotted.SnapshotJobRequest.BuildersetProjectIdBytes(com.google.protobuf.ByteString value)The project which owns the job to be snapshotted.SnapshotJobRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)SnapshotJobRequest.BuildersetSnapshotSources(boolean value)If true, perform snapshots for sources which support this.SnapshotJobRequest.BuildersetTtl(com.google.protobuf.Duration value)TTL for the snapshot.SnapshotJobRequest.BuildersetTtl(com.google.protobuf.Duration.Builder builderForValue)TTL for the snapshot.SnapshotJobRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
-
clear
public SnapshotJobRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
-
getDefaultInstanceForType
public SnapshotJobRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public SnapshotJobRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SnapshotJobRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SnapshotJobRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
-
setField
public SnapshotJobRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
-
clearField
public SnapshotJobRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
-
clearOneof
public SnapshotJobRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
-
setRepeatedField
public SnapshotJobRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
-
addRepeatedField
public SnapshotJobRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
-
mergeFrom
public SnapshotJobRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SnapshotJobRequest.Builder>
-
mergeFrom
public SnapshotJobRequest.Builder mergeFrom(SnapshotJobRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public String 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
public SnapshotJobRequest.Builder setProjectId(String value)
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
public SnapshotJobRequest.Builder clearProjectId()
The project which owns the job to be snapshotted.
string project_id = 1;- Returns:
- This builder for chaining.
-
setProjectIdBytes
public SnapshotJobRequest.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
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
public String 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
public SnapshotJobRequest.Builder setJobId(String value)
The job to be snapshotted.
string job_id = 2;- Parameters:
value- The jobId to set.- Returns:
- This builder for chaining.
-
clearJobId
public SnapshotJobRequest.Builder clearJobId()
The job to be snapshotted.
string job_id = 2;- Returns:
- This builder for chaining.
-
setJobIdBytes
public SnapshotJobRequest.Builder setJobIdBytes(com.google.protobuf.ByteString value)
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
public SnapshotJobRequest.Builder setTtl(com.google.protobuf.Duration value)
TTL for the snapshot.
.google.protobuf.Duration ttl = 3;
-
setTtl
public SnapshotJobRequest.Builder setTtl(com.google.protobuf.Duration.Builder builderForValue)
TTL for the snapshot.
.google.protobuf.Duration ttl = 3;
-
mergeTtl
public SnapshotJobRequest.Builder mergeTtl(com.google.protobuf.Duration value)
TTL for the snapshot.
.google.protobuf.Duration ttl = 3;
-
clearTtl
public SnapshotJobRequest.Builder 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
public String 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
public SnapshotJobRequest.Builder setLocation(String value)
The location that contains this job.
string location = 4;- Parameters:
value- The location to set.- Returns:
- This builder for chaining.
-
clearLocation
public SnapshotJobRequest.Builder clearLocation()
The location that contains this job.
string location = 4;- Returns:
- This builder for chaining.
-
setLocationBytes
public SnapshotJobRequest.Builder setLocationBytes(com.google.protobuf.ByteString value)
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
public SnapshotJobRequest.Builder setSnapshotSources(boolean value)
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
public SnapshotJobRequest.Builder clearSnapshotSources()
If true, perform snapshots for sources which support this.
bool snapshot_sources = 5;- Returns:
- This builder for chaining.
-
getDescription
public String 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
public SnapshotJobRequest.Builder setDescription(String value)
User specified description of the snapshot. Maybe empty.
string description = 6;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public SnapshotJobRequest.Builder clearDescription()
User specified description of the snapshot. Maybe empty.
string description = 6;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public SnapshotJobRequest.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
User specified description of the snapshot. Maybe empty.
string description = 6;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final SnapshotJobRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
-
mergeUnknownFields
public final SnapshotJobRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
-
-