Class ListSnapshotsResponse.Builder (0.99.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class ListSnapshotsResponse.Builder extends GeneratedMessage.Builder<ListSnapshotsResponse.Builder> implements ListSnapshotsResponseOrBuilder
List of snapshots.
Protobuf type google.dataflow.v1beta3.ListSnapshotsResponse
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllSnapshots(Iterable<? extends Snapshot> values)
public ListSnapshotsResponse.Builder addAllSnapshots(Iterable<? extends Snapshot> values)
Returned snapshots.
repeated .google.dataflow.v1beta3.Snapshot snapshots = 1;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.dataflow.v1beta3.Snapshot>
|
addSnapshots(Snapshot value)
public ListSnapshotsResponse.Builder addSnapshots(Snapshot value)
Returned snapshots.
repeated .google.dataflow.v1beta3.Snapshot snapshots = 1;
| Parameter |
| Name |
Description |
value |
Snapshot
|
addSnapshots(Snapshot.Builder builderForValue)
public ListSnapshotsResponse.Builder addSnapshots(Snapshot.Builder builderForValue)
Returned snapshots.
repeated .google.dataflow.v1beta3.Snapshot snapshots = 1;
addSnapshots(int index, Snapshot value)
public ListSnapshotsResponse.Builder addSnapshots(int index, Snapshot value)
Returned snapshots.
repeated .google.dataflow.v1beta3.Snapshot snapshots = 1;
addSnapshots(int index, Snapshot.Builder builderForValue)
public ListSnapshotsResponse.Builder addSnapshots(int index, Snapshot.Builder builderForValue)
Returned snapshots.
repeated .google.dataflow.v1beta3.Snapshot snapshots = 1;
addSnapshotsBuilder()
public Snapshot.Builder addSnapshotsBuilder()
Returned snapshots.
repeated .google.dataflow.v1beta3.Snapshot snapshots = 1;
addSnapshotsBuilder(int index)
public Snapshot.Builder addSnapshotsBuilder(int index)
Returned snapshots.
repeated .google.dataflow.v1beta3.Snapshot snapshots = 1;
| Parameter |
| Name |
Description |
index |
int
|
build()
public ListSnapshotsResponse build()
buildPartial()
public ListSnapshotsResponse buildPartial()
clear()
public ListSnapshotsResponse.Builder clear()
Overrides
clearSnapshots()
public ListSnapshotsResponse.Builder clearSnapshots()
Returned snapshots.
repeated .google.dataflow.v1beta3.Snapshot snapshots = 1;
getDefaultInstanceForType()
public ListSnapshotsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSnapshots(int index)
public Snapshot getSnapshots(int index)
Returned snapshots.
repeated .google.dataflow.v1beta3.Snapshot snapshots = 1;
| Parameter |
| Name |
Description |
index |
int
|
getSnapshotsBuilder(int index)
public Snapshot.Builder getSnapshotsBuilder(int index)
Returned snapshots.
repeated .google.dataflow.v1beta3.Snapshot snapshots = 1;
| Parameter |
| Name |
Description |
index |
int
|
getSnapshotsBuilderList()
public List<Snapshot.Builder> getSnapshotsBuilderList()
Returned snapshots.
repeated .google.dataflow.v1beta3.Snapshot snapshots = 1;
getSnapshotsCount()
public int getSnapshotsCount()
Returned snapshots.
repeated .google.dataflow.v1beta3.Snapshot snapshots = 1;
| Returns |
| Type |
Description |
int |
|
getSnapshotsList()
public List<Snapshot> getSnapshotsList()
Returned snapshots.
repeated .google.dataflow.v1beta3.Snapshot snapshots = 1;
getSnapshotsOrBuilder(int index)
public SnapshotOrBuilder getSnapshotsOrBuilder(int index)
Returned snapshots.
repeated .google.dataflow.v1beta3.Snapshot snapshots = 1;
| Parameter |
| Name |
Description |
index |
int
|
getSnapshotsOrBuilderList()
public List<? extends SnapshotOrBuilder> getSnapshotsOrBuilderList()
Returned snapshots.
repeated .google.dataflow.v1beta3.Snapshot snapshots = 1;
| Returns |
| Type |
Description |
List<? extends com.google.dataflow.v1beta3.SnapshotOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListSnapshotsResponse other)
public ListSnapshotsResponse.Builder mergeFrom(ListSnapshotsResponse other)
public ListSnapshotsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListSnapshotsResponse.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeSnapshots(int index)
public ListSnapshotsResponse.Builder removeSnapshots(int index)
Returned snapshots.
repeated .google.dataflow.v1beta3.Snapshot snapshots = 1;
| Parameter |
| Name |
Description |
index |
int
|
setSnapshots(int index, Snapshot value)
public ListSnapshotsResponse.Builder setSnapshots(int index, Snapshot value)
Returned snapshots.
repeated .google.dataflow.v1beta3.Snapshot snapshots = 1;
setSnapshots(int index, Snapshot.Builder builderForValue)
public ListSnapshotsResponse.Builder setSnapshots(int index, Snapshot.Builder builderForValue)
Returned snapshots.
repeated .google.dataflow.v1beta3.Snapshot snapshots = 1;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-04 UTC.
[null,null,["Last updated 2026-08-04 UTC."],[],[]]