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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SnapshotJobRequest
build()
SnapshotJobRequest
buildPartial()
SnapshotJobRequest.Builder
clear()
SnapshotJobRequest.Builder
clearDescription()
User specified description of the snapshot.SnapshotJobRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
SnapshotJobRequest.Builder
clearJobId()
The job to be snapshotted.SnapshotJobRequest.Builder
clearLocation()
The location that contains this job.SnapshotJobRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
SnapshotJobRequest.Builder
clearProjectId()
The project which owns the job to be snapshotted.SnapshotJobRequest.Builder
clearSnapshotSources()
If true, perform snapshots for sources which support this.SnapshotJobRequest.Builder
clearTtl()
TTL for the snapshot.SnapshotJobRequest.Builder
clone()
SnapshotJobRequest
getDefaultInstanceForType()
String
getDescription()
User specified description of the snapshot.com.google.protobuf.ByteString
getDescriptionBytes()
User specified description of the snapshot.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getJobId()
The job to be snapshotted.com.google.protobuf.ByteString
getJobIdBytes()
The job to be snapshotted.String
getLocation()
The location that contains this job.com.google.protobuf.ByteString
getLocationBytes()
The location that contains this job.String
getProjectId()
The project which owns the job to be snapshotted.com.google.protobuf.ByteString
getProjectIdBytes()
The project which owns the job to be snapshotted.boolean
getSnapshotSources()
If true, perform snapshots for sources which support this.com.google.protobuf.Duration
getTtl()
TTL for the snapshot.com.google.protobuf.Duration.Builder
getTtlBuilder()
TTL for the snapshot.com.google.protobuf.DurationOrBuilder
getTtlOrBuilder()
TTL for the snapshot.boolean
hasTtl()
TTL for the snapshot.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
SnapshotJobRequest.Builder
mergeFrom(SnapshotJobRequest other)
SnapshotJobRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
SnapshotJobRequest.Builder
mergeFrom(com.google.protobuf.Message other)
SnapshotJobRequest.Builder
mergeTtl(com.google.protobuf.Duration value)
TTL for the snapshot.SnapshotJobRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
SnapshotJobRequest.Builder
setDescription(String value)
User specified description of the snapshot.SnapshotJobRequest.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
User specified description of the snapshot.SnapshotJobRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SnapshotJobRequest.Builder
setJobId(String value)
The job to be snapshotted.SnapshotJobRequest.Builder
setJobIdBytes(com.google.protobuf.ByteString value)
The job to be snapshotted.SnapshotJobRequest.Builder
setLocation(String value)
The location that contains this job.SnapshotJobRequest.Builder
setLocationBytes(com.google.protobuf.ByteString value)
The location that contains this job.SnapshotJobRequest.Builder
setProjectId(String value)
The project which owns the job to be snapshotted.SnapshotJobRequest.Builder
setProjectIdBytes(com.google.protobuf.ByteString value)
The project which owns the job to be snapshotted.SnapshotJobRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
SnapshotJobRequest.Builder
setSnapshotSources(boolean value)
If true, perform snapshots for sources which support this.SnapshotJobRequest.Builder
setTtl(com.google.protobuf.Duration value)
TTL for the snapshot.SnapshotJobRequest.Builder
setTtl(com.google.protobuf.Duration.Builder builderForValue)
TTL for the snapshot.SnapshotJobRequest.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
-
clear
public SnapshotJobRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
-
getDefaultInstanceForType
public SnapshotJobRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public SnapshotJobRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SnapshotJobRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SnapshotJobRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
-
setField
public SnapshotJobRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
-
clearField
public SnapshotJobRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
-
clearOneof
public SnapshotJobRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
-
setRepeatedField
public SnapshotJobRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
-
addRepeatedField
public SnapshotJobRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
-
mergeFrom
public SnapshotJobRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SnapshotJobRequest.Builder>
-
mergeFrom
public SnapshotJobRequest.Builder mergeFrom(SnapshotJobRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getProjectId
in 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:
getProjectIdBytes
in 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:
getJobId
in interfaceSnapshotJobRequestOrBuilder
- Returns:
- The jobId.
-
getJobIdBytes
public com.google.protobuf.ByteString getJobIdBytes()
The job to be snapshotted.
string job_id = 2;
- Specified by:
getJobIdBytes
in 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:
hasTtl
in 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:
getTtl
in 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:
getTtlOrBuilder
in interfaceSnapshotJobRequestOrBuilder
-
getLocation
public String getLocation()
The location that contains this job.
string location = 4;
- Specified by:
getLocation
in interfaceSnapshotJobRequestOrBuilder
- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()
The location that contains this job.
string location = 4;
- Specified by:
getLocationBytes
in 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:
getSnapshotSources
in 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:
getDescription
in interfaceSnapshotJobRequestOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
User specified description of the snapshot. Maybe empty.
string description = 6;
- Specified by:
getDescriptionBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
-
mergeUnknownFields
public final SnapshotJobRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SnapshotJobRequest.Builder>
-
-