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.Builder
addAllPubsubMetadata(Iterable<? extends PubsubSnapshotMetadata> values)
Pub/Sub snapshot metadata.Snapshot.Builder
addPubsubMetadata(int index, PubsubSnapshotMetadata value)
Pub/Sub snapshot metadata.Snapshot.Builder
addPubsubMetadata(int index, PubsubSnapshotMetadata.Builder builderForValue)
Pub/Sub snapshot metadata.Snapshot.Builder
addPubsubMetadata(PubsubSnapshotMetadata value)
Pub/Sub snapshot metadata.Snapshot.Builder
addPubsubMetadata(PubsubSnapshotMetadata.Builder builderForValue)
Pub/Sub snapshot metadata.PubsubSnapshotMetadata.Builder
addPubsubMetadataBuilder()
Pub/Sub snapshot metadata.PubsubSnapshotMetadata.Builder
addPubsubMetadataBuilder(int index)
Pub/Sub snapshot metadata.Snapshot.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Snapshot
build()
Snapshot
buildPartial()
Snapshot.Builder
clear()
Snapshot.Builder
clearCreationTime()
The time this snapshot was created.Snapshot.Builder
clearDescription()
User specified description of the snapshot.Snapshot.Builder
clearDiskSizeBytes()
The disk byte size of the snapshot.Snapshot.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Snapshot.Builder
clearId()
The unique ID of this snapshot.Snapshot.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Snapshot.Builder
clearProjectId()
The project this snapshot belongs to.Snapshot.Builder
clearPubsubMetadata()
Pub/Sub snapshot metadata.Snapshot.Builder
clearRegion()
Cloud region where this snapshot lives in, e.g., "us-central1".Snapshot.Builder
clearSourceJobId()
The job this snapshot was created from.Snapshot.Builder
clearState()
State of the snapshot.Snapshot.Builder
clearTtl()
The time after which this snapshot will be automatically deleted.Snapshot.Builder
clone()
com.google.protobuf.Timestamp
getCreationTime()
The time this snapshot was created.com.google.protobuf.Timestamp.Builder
getCreationTimeBuilder()
The time this snapshot was created.com.google.protobuf.TimestampOrBuilder
getCreationTimeOrBuilder()
The time this snapshot was created.Snapshot
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()
long
getDiskSizeBytes()
The disk byte size of the snapshot.String
getId()
The unique ID of this snapshot.com.google.protobuf.ByteString
getIdBytes()
The unique ID of this snapshot.String
getProjectId()
The project this snapshot belongs to.com.google.protobuf.ByteString
getProjectIdBytes()
The project this snapshot belongs to.PubsubSnapshotMetadata
getPubsubMetadata(int index)
Pub/Sub snapshot metadata.PubsubSnapshotMetadata.Builder
getPubsubMetadataBuilder(int index)
Pub/Sub snapshot metadata.List<PubsubSnapshotMetadata.Builder>
getPubsubMetadataBuilderList()
Pub/Sub snapshot metadata.int
getPubsubMetadataCount()
Pub/Sub snapshot metadata.List<PubsubSnapshotMetadata>
getPubsubMetadataList()
Pub/Sub snapshot metadata.PubsubSnapshotMetadataOrBuilder
getPubsubMetadataOrBuilder(int index)
Pub/Sub snapshot metadata.List<? extends PubsubSnapshotMetadataOrBuilder>
getPubsubMetadataOrBuilderList()
Pub/Sub snapshot metadata.String
getRegion()
Cloud region where this snapshot lives in, e.g., "us-central1".com.google.protobuf.ByteString
getRegionBytes()
Cloud region where this snapshot lives in, e.g., "us-central1".String
getSourceJobId()
The job this snapshot was created from.com.google.protobuf.ByteString
getSourceJobIdBytes()
The job this snapshot was created from.SnapshotState
getState()
State of the snapshot.int
getStateValue()
State of the snapshot.com.google.protobuf.Duration
getTtl()
The time after which this snapshot will be automatically deleted.com.google.protobuf.Duration.Builder
getTtlBuilder()
The time after which this snapshot will be automatically deleted.com.google.protobuf.DurationOrBuilder
getTtlOrBuilder()
The time after which this snapshot will be automatically deleted.boolean
hasCreationTime()
The time this snapshot was created.boolean
hasTtl()
The time after which this snapshot will be automatically deleted.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Snapshot.Builder
mergeCreationTime(com.google.protobuf.Timestamp value)
The time this snapshot was created.Snapshot.Builder
mergeFrom(Snapshot other)
Snapshot.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Snapshot.Builder
mergeFrom(com.google.protobuf.Message other)
Snapshot.Builder
mergeTtl(com.google.protobuf.Duration value)
The time after which this snapshot will be automatically deleted.Snapshot.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Snapshot.Builder
removePubsubMetadata(int index)
Pub/Sub snapshot metadata.Snapshot.Builder
setCreationTime(com.google.protobuf.Timestamp value)
The time this snapshot was created.Snapshot.Builder
setCreationTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time this snapshot was created.Snapshot.Builder
setDescription(String value)
User specified description of the snapshot.Snapshot.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
User specified description of the snapshot.Snapshot.Builder
setDiskSizeBytes(long value)
The disk byte size of the snapshot.Snapshot.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Snapshot.Builder
setId(String value)
The unique ID of this snapshot.Snapshot.Builder
setIdBytes(com.google.protobuf.ByteString value)
The unique ID of this snapshot.Snapshot.Builder
setProjectId(String value)
The project this snapshot belongs to.Snapshot.Builder
setProjectIdBytes(com.google.protobuf.ByteString value)
The project this snapshot belongs to.Snapshot.Builder
setPubsubMetadata(int index, PubsubSnapshotMetadata value)
Pub/Sub snapshot metadata.Snapshot.Builder
setPubsubMetadata(int index, PubsubSnapshotMetadata.Builder builderForValue)
Pub/Sub snapshot metadata.Snapshot.Builder
setRegion(String value)
Cloud region where this snapshot lives in, e.g., "us-central1".Snapshot.Builder
setRegionBytes(com.google.protobuf.ByteString value)
Cloud region where this snapshot lives in, e.g., "us-central1".Snapshot.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Snapshot.Builder
setSourceJobId(String value)
The job this snapshot was created from.Snapshot.Builder
setSourceJobIdBytes(com.google.protobuf.ByteString value)
The job this snapshot was created from.Snapshot.Builder
setState(SnapshotState value)
State of the snapshot.Snapshot.Builder
setStateValue(int value)
State of the snapshot.Snapshot.Builder
setTtl(com.google.protobuf.Duration value)
The time after which this snapshot will be automatically deleted.Snapshot.Builder
setTtl(com.google.protobuf.Duration.Builder builderForValue)
The time after which this snapshot will be automatically deleted.Snapshot.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<Snapshot.Builder>
-
clear
public Snapshot.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<Snapshot.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<Snapshot.Builder>
-
getDefaultInstanceForType
public Snapshot getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Snapshot build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Snapshot buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Snapshot.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<Snapshot.Builder>
-
setField
public Snapshot.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<Snapshot.Builder>
-
clearField
public Snapshot.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<Snapshot.Builder>
-
clearOneof
public Snapshot.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<Snapshot.Builder>
-
setRepeatedField
public Snapshot.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<Snapshot.Builder>
-
addRepeatedField
public Snapshot.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<Snapshot.Builder>
-
mergeFrom
public Snapshot.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Snapshot.Builder>
-
mergeFrom
public Snapshot.Builder mergeFrom(Snapshot other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Snapshot.Builder>
- Throws:
IOException
-
getId
public String getId()
The unique ID of this snapshot.
string id = 1;
- Specified by:
getId
in interfaceSnapshotOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
The unique ID of this snapshot.
string id = 1;
- Specified by:
getIdBytes
in 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:
getProjectId
in interfaceSnapshotOrBuilder
- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()
The project this snapshot belongs to.
string project_id = 2;
- Specified by:
getProjectIdBytes
in 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:
getSourceJobId
in 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:
getSourceJobIdBytes
in 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:
hasCreationTime
in 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:
getCreationTime
in 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:
getCreationTimeOrBuilder
in interfaceSnapshotOrBuilder
-
hasTtl
public boolean hasTtl()
The time after which this snapshot will be automatically deleted.
.google.protobuf.Duration ttl = 5;
- Specified by:
hasTtl
in 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:
getTtl
in 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:
getTtlOrBuilder
in interfaceSnapshotOrBuilder
-
getStateValue
public int getStateValue()
State of the snapshot.
.google.dataflow.v1beta3.SnapshotState state = 6;
- Specified by:
getStateValue
in 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:
getState
in 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:
getPubsubMetadataList
in interfaceSnapshotOrBuilder
-
getPubsubMetadataCount
public int getPubsubMetadataCount()
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
- Specified by:
getPubsubMetadataCount
in interfaceSnapshotOrBuilder
-
getPubsubMetadata
public PubsubSnapshotMetadata getPubsubMetadata(int index)
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
- Specified by:
getPubsubMetadata
in 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:
getPubsubMetadataOrBuilder
in interfaceSnapshotOrBuilder
-
getPubsubMetadataOrBuilderList
public List<? extends PubsubSnapshotMetadataOrBuilder> getPubsubMetadataOrBuilderList()
Pub/Sub snapshot metadata.
repeated .google.dataflow.v1beta3.PubsubSnapshotMetadata pubsub_metadata = 7;
- Specified by:
getPubsubMetadataOrBuilderList
in 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:
getDescription
in interfaceSnapshotOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
User specified description of the snapshot. Maybe empty.
string description = 8;
- Specified by:
getDescriptionBytes
in 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:
getDiskSizeBytes
in 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:
getRegion
in 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:
getRegionBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Snapshot.Builder>
-
mergeUnknownFields
public final Snapshot.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Snapshot.Builder>
-
-