Package com.google.dataflow.v1beta3
Class Snapshot.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Snapshot.Builder>
-
- com.google.dataflow.v1beta3.Snapshot.Builder
-
- All Implemented Interfaces:
SnapshotOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Snapshot
public static final class Snapshot.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Snapshot.Builder> implements SnapshotOrBuilder
Represents a snapshot of a job.
Protobuf typegoogle.dataflow.v1beta3.Snapshot
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Snapshot.BuilderaddAllPubsubMetadata(Iterable<? extends PubsubSnapshotMetadata> values)Pub/Sub snapshot metadata.Snapshot.BuilderaddPubsubMetadata(int index, PubsubSnapshotMetadata value)Pub/Sub snapshot metadata.Snapshot.BuilderaddPubsubMetadata(int index, PubsubSnapshotMetadata.Builder builderForValue)Pub/Sub snapshot metadata.Snapshot.BuilderaddPubsubMetadata(PubsubSnapshotMetadata value)Pub/Sub snapshot metadata.Snapshot.BuilderaddPubsubMetadata(PubsubSnapshotMetadata.Builder builderForValue)Pub/Sub snapshot metadata.PubsubSnapshotMetadata.BuilderaddPubsubMetadataBuilder()Pub/Sub snapshot metadata.PubsubSnapshotMetadata.BuilderaddPubsubMetadataBuilder(int index)Pub/Sub snapshot metadata.Snapshot.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Snapshotbuild()SnapshotbuildPartial()Snapshot.Builderclear()Snapshot.BuilderclearCreationTime()The time this snapshot was created.Snapshot.BuilderclearDescription()User specified description of the snapshot.Snapshot.BuilderclearDiskSizeBytes()The disk byte size of the snapshot.Snapshot.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Snapshot.BuilderclearId()The unique ID of this snapshot.Snapshot.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Snapshot.BuilderclearProjectId()The project this snapshot belongs to.Snapshot.BuilderclearPubsubMetadata()Pub/Sub snapshot metadata.Snapshot.BuilderclearRegion()Cloud region where this snapshot lives in, e.g., "us-central1".Snapshot.BuilderclearSourceJobId()The job this snapshot was created from.Snapshot.BuilderclearState()State of the snapshot.Snapshot.BuilderclearTtl()The time after which this snapshot will be automatically deleted.Snapshot.Builderclone()com.google.protobuf.TimestampgetCreationTime()The time this snapshot was created.com.google.protobuf.Timestamp.BuildergetCreationTimeBuilder()The time this snapshot was created.com.google.protobuf.TimestampOrBuildergetCreationTimeOrBuilder()The time this snapshot was created.SnapshotgetDefaultInstanceForType()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()longgetDiskSizeBytes()The disk byte size of the snapshot.StringgetId()The unique ID of this snapshot.com.google.protobuf.ByteStringgetIdBytes()The unique ID of this snapshot.StringgetProjectId()The project this snapshot belongs to.com.google.protobuf.ByteStringgetProjectIdBytes()The project this snapshot belongs to.PubsubSnapshotMetadatagetPubsubMetadata(int index)Pub/Sub snapshot metadata.PubsubSnapshotMetadata.BuildergetPubsubMetadataBuilder(int index)Pub/Sub snapshot metadata.List<PubsubSnapshotMetadata.Builder>getPubsubMetadataBuilderList()Pub/Sub snapshot metadata.intgetPubsubMetadataCount()Pub/Sub snapshot metadata.List<PubsubSnapshotMetadata>getPubsubMetadataList()Pub/Sub snapshot metadata.PubsubSnapshotMetadataOrBuildergetPubsubMetadataOrBuilder(int index)Pub/Sub snapshot metadata.List<? extends PubsubSnapshotMetadataOrBuilder>getPubsubMetadataOrBuilderList()Pub/Sub snapshot metadata.StringgetRegion()Cloud region where this snapshot lives in, e.g., "us-central1".com.google.protobuf.ByteStringgetRegionBytes()Cloud region where this snapshot lives in, e.g., "us-central1".StringgetSourceJobId()The job this snapshot was created from.com.google.protobuf.ByteStringgetSourceJobIdBytes()The job this snapshot was created from.SnapshotStategetState()State of the snapshot.intgetStateValue()State of the snapshot.com.google.protobuf.DurationgetTtl()The time after which this snapshot will be automatically deleted.com.google.protobuf.Duration.BuildergetTtlBuilder()The time after which this snapshot will be automatically deleted.com.google.protobuf.DurationOrBuildergetTtlOrBuilder()The time after which this snapshot will be automatically deleted.booleanhasCreationTime()The time this snapshot was created.booleanhasTtl()The time after which this snapshot will be automatically deleted.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Snapshot.BuildermergeCreationTime(com.google.protobuf.Timestamp value)The time this snapshot was created.Snapshot.BuildermergeFrom(Snapshot other)Snapshot.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Snapshot.BuildermergeFrom(com.google.protobuf.Message other)Snapshot.BuildermergeTtl(com.google.protobuf.Duration value)The time after which this snapshot will be automatically deleted.Snapshot.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Snapshot.BuilderremovePubsubMetadata(int index)Pub/Sub snapshot metadata.Snapshot.BuildersetCreationTime(com.google.protobuf.Timestamp value)The time this snapshot was created.Snapshot.BuildersetCreationTime(com.google.protobuf.Timestamp.Builder builderForValue)The time this snapshot was created.Snapshot.BuildersetDescription(String value)User specified description of the snapshot.Snapshot.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)User specified description of the snapshot.Snapshot.BuildersetDiskSizeBytes(long value)The disk byte size of the snapshot.Snapshot.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Snapshot.BuildersetId(String value)The unique ID of this snapshot.Snapshot.BuildersetIdBytes(com.google.protobuf.ByteString value)The unique ID of this snapshot.Snapshot.BuildersetProjectId(String value)The project this snapshot belongs to.Snapshot.BuildersetProjectIdBytes(com.google.protobuf.ByteString value)The project this snapshot belongs to.Snapshot.BuildersetPubsubMetadata(int index, PubsubSnapshotMetadata value)Pub/Sub snapshot metadata.Snapshot.BuildersetPubsubMetadata(int index, PubsubSnapshotMetadata.Builder builderForValue)Pub/Sub snapshot metadata.Snapshot.BuildersetRegion(String value)Cloud region where this snapshot lives in, e.g., "us-central1".Snapshot.BuildersetRegionBytes(com.google.protobuf.ByteString value)Cloud region where this snapshot lives in, e.g., "us-central1".Snapshot.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Snapshot.BuildersetSourceJobId(String value)The job this snapshot was created from.Snapshot.BuildersetSourceJobIdBytes(com.google.protobuf.ByteString value)The job this snapshot was created from.Snapshot.BuildersetState(SnapshotState value)State of the snapshot.Snapshot.BuildersetStateValue(int value)State of the snapshot.Snapshot.BuildersetTtl(com.google.protobuf.Duration value)The time after which this snapshot will be automatically deleted.Snapshot.BuildersetTtl(com.google.protobuf.Duration.Builder builderForValue)The time after which this snapshot will be automatically deleted.Snapshot.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<Snapshot.Builder>
-
clear
public Snapshot.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<Snapshot.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<Snapshot.Builder>
-
getDefaultInstanceForType
public Snapshot getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Snapshot build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Snapshot buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Snapshot.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<Snapshot.Builder>
-
setField
public Snapshot.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<Snapshot.Builder>
-
clearField
public Snapshot.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Snapshot.Builder>
-
clearOneof
public Snapshot.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Snapshot.Builder>
-
setRepeatedField
public Snapshot.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<Snapshot.Builder>
-
addRepeatedField
public Snapshot.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<Snapshot.Builder>
-
mergeFrom
public Snapshot.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Snapshot.Builder>
-
mergeFrom
public Snapshot.Builder mergeFrom(Snapshot other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Snapshot.Builder>
-
mergeFrom
public Snapshot.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<Snapshot.Builder>- Throws:
IOException
-
getId
public String getId()
The unique ID of this snapshot.
string id = 1;- Specified by:
getIdin interfaceSnapshotOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
The unique ID of this snapshot.
string id = 1;- Specified by:
getIdBytesin interfaceSnapshotOrBuilder- Returns:
- The bytes for id.
-
setId
public Snapshot.Builder setId(String value)
The unique ID of this snapshot.
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public Snapshot.Builder clearId()
The unique ID of this snapshot.
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
public Snapshot.Builder setIdBytes(com.google.protobuf.ByteString value)
The unique ID of this snapshot.
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getProjectId
public String getProjectId()
The project this snapshot belongs to.
string project_id = 2;- Specified by:
getProjectIdin interfaceSnapshotOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()
The project this snapshot belongs to.
string project_id = 2;- Specified by:
getProjectIdBytesin interfaceSnapshotOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
public Snapshot.Builder setProjectId(String value)
The project this snapshot belongs to.
string project_id = 2;- Parameters:
value- The projectId to set.- Returns:
- This builder for chaining.
-
clearProjectId
public Snapshot.Builder clearProjectId()
The project this snapshot belongs to.
string project_id = 2;- Returns:
- This builder for chaining.
-
setProjectIdBytes
public Snapshot.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
The project this snapshot belongs to.
string project_id = 2;- Parameters:
value- The bytes for projectId to set.- Returns:
- This builder for chaining.
-
getSourceJobId
public String getSourceJobId()
The job this snapshot was created from.
string source_job_id = 3;- Specified by:
getSourceJobIdin interfaceSnapshotOrBuilder- Returns:
- The sourceJobId.
-
getSourceJobIdBytes
public com.google.protobuf.ByteString getSourceJobIdBytes()
The job this snapshot was created from.
string source_job_id = 3;- Specified by:
getSourceJobIdBytesin interfaceSnapshotOrBuilder- Returns:
- The bytes for sourceJobId.
-
setSourceJobId
public Snapshot.Builder setSourceJobId(String value)
The job this snapshot was created from.
string source_job_id = 3;- Parameters:
value- The sourceJobId to set.- Returns:
- This builder for chaining.
-
clearSourceJobId
public Snapshot.Builder clearSourceJobId()
The job this snapshot was created from.
string source_job_id = 3;- Returns:
- This builder for chaining.
-
setSourceJobIdBytes
public Snapshot.Builder setSourceJobIdBytes(com.google.protobuf.ByteString value)
The job this snapshot was created from.
string source_job_id = 3;- Parameters:
value- The bytes for sourceJobId to set.- Returns:
- This builder for chaining.
-
hasCreationTime
public boolean hasCreationTime()
The time this snapshot was created.
.google.protobuf.Timestamp creation_time = 4;- Specified by:
hasCreationTimein interfaceSnapshotOrBuilder- Returns:
- Whether the creationTime field is set.
-
getCreationTime
public com.google.protobuf.Timestamp getCreationTime()
The time this snapshot was created.
.google.protobuf.Timestamp creation_time = 4;- Specified by:
getCreationTimein interfaceSnapshotOrBuilder- Returns:
- The creationTime.
-
setCreationTime
public Snapshot.Builder setCreationTime(com.google.protobuf.Timestamp value)
The time this snapshot was created.
.google.protobuf.Timestamp creation_time = 4;
-
setCreationTime
public Snapshot.Builder setCreationTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time this snapshot was created.
.google.protobuf.Timestamp creation_time = 4;
-
mergeCreationTime
public Snapshot.Builder mergeCreationTime(com.google.protobuf.Timestamp value)
The time this snapshot was created.
.google.protobuf.Timestamp creation_time = 4;
-
clearCreationTime
public Snapshot.Builder clearCreationTime()
The time this snapshot was created.
.google.protobuf.Timestamp creation_time = 4;
-
getCreationTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreationTimeBuilder()
The time this snapshot was created.
.google.protobuf.Timestamp creation_time = 4;
-
getCreationTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder()
The time this snapshot was created.
.google.protobuf.Timestamp creation_time = 4;- Specified by:
getCreationTimeOrBuilderin interfaceSnapshotOrBuilder
-
hasTtl
public boolean hasTtl()
The time after which this snapshot will be automatically deleted.
.google.protobuf.Duration ttl = 5;- Specified by:
hasTtlin interfaceSnapshotOrBuilder- Returns:
- Whether the ttl field is set.
-
getTtl
public com.google.protobuf.Duration getTtl()
The time after which this snapshot will be automatically deleted.
.google.protobuf.Duration ttl = 5;- Specified by:
getTtlin interfaceSnapshotOrBuilder- Returns:
- The ttl.
-
setTtl
public Snapshot.Builder setTtl(com.google.protobuf.Duration value)
The time after which this snapshot will be automatically deleted.
.google.protobuf.Duration ttl = 5;
-
setTtl
public Snapshot.Builder setTtl(com.google.protobuf.Duration.Builder builderForValue)
The time after which this snapshot will be automatically deleted.
.google.protobuf.Duration ttl = 5;
-
mergeTtl
public Snapshot.Builder mergeTtl(com.google.protobuf.Duration value)
The time after which this snapshot will be automatically deleted.
.google.protobuf.Duration ttl = 5;
-
clearTtl
public Snapshot.Builder clearTtl()
The time after which this snapshot will be automatically deleted.
.google.protobuf.Duration ttl = 5;
-
getTtlBuilder
public com.google.protobuf.Duration.Builder getTtlBuilder()
The time after which this snapshot will be automatically deleted.
.google.protobuf.Duration ttl = 5;
-
getTtlOrBuilder
public com.google.protobuf.DurationOrBuilder getTtlOrBuilder()
The time after which this snapshot will be automatically deleted.
.google.protobuf.Duration ttl = 5;- Specified by:
getTtlOrBuilderin interfaceSnapshotOrBuilder
-
getStateValue
public int getStateValue()
State of the snapshot.
.google.dataflow.v1beta3.SnapshotState state = 6;- Specified by:
getStateValuein interfaceSnapshotOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public Snapshot.Builder setStateValue(int value)
State of the snapshot.
.google.dataflow.v1beta3.SnapshotState state = 6;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public SnapshotState getState()
State of the snapshot.
.google.dataflow.v1beta3.SnapshotState state = 6;- Specified by:
getStatein interfaceSnapshotOrBuilder- Returns:
- The state.
-
setState
public Snapshot.Builder setState(SnapshotState value)
State of the snapshot.
.google.dataflow.v1beta3.SnapshotState state = 6;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
public Snapshot.Builder clearState()
State of the snapshot.
.google.dataflow.v1beta3.SnapshotState state = 6;- Returns:
- This builder for chaining.
-
getPubsubMetadataList
public List<PubsubSnapshotMetadata> getPubsubMetadataList()
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;- Specified by:
getPubsubMetadataListin interfaceSnapshotOrBuilder
-
getPubsubMetadataCount
public int getPubsubMetadataCount()
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;- Specified by:
getPubsubMetadataCountin interfaceSnapshotOrBuilder
-
getPubsubMetadata
public PubsubSnapshotMetadata getPubsubMetadata(int index)
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;- Specified by:
getPubsubMetadatain interfaceSnapshotOrBuilder
-
setPubsubMetadata
public Snapshot.Builder setPubsubMetadata(int index, PubsubSnapshotMetadata value)
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
-
setPubsubMetadata
public Snapshot.Builder setPubsubMetadata(int index, PubsubSnapshotMetadata.Builder builderForValue)
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
-
addPubsubMetadata
public Snapshot.Builder addPubsubMetadata(PubsubSnapshotMetadata value)
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
-
addPubsubMetadata
public Snapshot.Builder addPubsubMetadata(int index, PubsubSnapshotMetadata value)
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
-
addPubsubMetadata
public Snapshot.Builder addPubsubMetadata(PubsubSnapshotMetadata.Builder builderForValue)
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
-
addPubsubMetadata
public Snapshot.Builder addPubsubMetadata(int index, PubsubSnapshotMetadata.Builder builderForValue)
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
-
addAllPubsubMetadata
public Snapshot.Builder addAllPubsubMetadata(Iterable<? extends PubsubSnapshotMetadata> values)
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
-
clearPubsubMetadata
public Snapshot.Builder clearPubsubMetadata()
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
-
removePubsubMetadata
public Snapshot.Builder removePubsubMetadata(int index)
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
-
getPubsubMetadataBuilder
public PubsubSnapshotMetadata.Builder getPubsubMetadataBuilder(int index)
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
-
getPubsubMetadataOrBuilder
public PubsubSnapshotMetadataOrBuilder getPubsubMetadataOrBuilder(int index)
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;- Specified by:
getPubsubMetadataOrBuilderin interfaceSnapshotOrBuilder
-
getPubsubMetadataOrBuilderList
public List<? extends PubsubSnapshotMetadataOrBuilder> getPubsubMetadataOrBuilderList()
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;- Specified by:
getPubsubMetadataOrBuilderListin interfaceSnapshotOrBuilder
-
addPubsubMetadataBuilder
public PubsubSnapshotMetadata.Builder addPubsubMetadataBuilder()
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
-
addPubsubMetadataBuilder
public PubsubSnapshotMetadata.Builder addPubsubMetadataBuilder(int index)
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
-
getPubsubMetadataBuilderList
public List<PubsubSnapshotMetadata.Builder> getPubsubMetadataBuilderList()
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
-
getDescription
public String getDescription()
User specified description of the snapshot. Maybe empty.
string description = 8;- Specified by:
getDescriptionin interfaceSnapshotOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
User specified description of the snapshot. Maybe empty.
string description = 8;- Specified by:
getDescriptionBytesin interfaceSnapshotOrBuilder- Returns:
- The bytes for description.
-
setDescription
public Snapshot.Builder setDescription(String value)
User specified description of the snapshot. Maybe empty.
string description = 8;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Snapshot.Builder clearDescription()
User specified description of the snapshot. Maybe empty.
string description = 8;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Snapshot.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
User specified description of the snapshot. Maybe empty.
string description = 8;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getDiskSizeBytes
public long getDiskSizeBytes()
The disk byte size of the snapshot. Only available for snapshots in READY state.
int64 disk_size_bytes = 9;- Specified by:
getDiskSizeBytesin interfaceSnapshotOrBuilder- Returns:
- The diskSizeBytes.
-
setDiskSizeBytes
public Snapshot.Builder setDiskSizeBytes(long value)
The disk byte size of the snapshot. Only available for snapshots in READY state.
int64 disk_size_bytes = 9;- Parameters:
value- The diskSizeBytes to set.- Returns:
- This builder for chaining.
-
clearDiskSizeBytes
public Snapshot.Builder clearDiskSizeBytes()
The disk byte size of the snapshot. Only available for snapshots in READY state.
int64 disk_size_bytes = 9;- Returns:
- This builder for chaining.
-
getRegion
public String getRegion()
Cloud region where this snapshot lives in, e.g., "us-central1".
string region = 10;- Specified by:
getRegionin interfaceSnapshotOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()
Cloud region where this snapshot lives in, e.g., "us-central1".
string region = 10;- Specified by:
getRegionBytesin interfaceSnapshotOrBuilder- Returns:
- The bytes for region.
-
setRegion
public Snapshot.Builder setRegion(String value)
Cloud region where this snapshot lives in, e.g., "us-central1".
string region = 10;- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
public Snapshot.Builder clearRegion()
Cloud region where this snapshot lives in, e.g., "us-central1".
string region = 10;- Returns:
- This builder for chaining.
-
setRegionBytes
public Snapshot.Builder setRegionBytes(com.google.protobuf.ByteString value)
Cloud region where this snapshot lives in, e.g., "us-central1".
string region = 10;- Parameters:
value- The bytes for region to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Snapshot.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Snapshot.Builder>
-
mergeUnknownFields
public final Snapshot.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Snapshot.Builder>
-
-