public static final class ListSnapshotsResponse.Builder extends GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder> implements ListSnapshotsResponseOrBuilder
Response for the `ListSnapshots` method.Protobuf type
google.pubsub.v1.ListSnapshotsResponsegetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>public ListSnapshotsResponse.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>public ListSnapshotsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic ListSnapshotsResponse build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic ListSnapshotsResponse buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic ListSnapshotsResponse.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>public ListSnapshotsResponse.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>public ListSnapshotsResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>public ListSnapshotsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>public ListSnapshotsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>public ListSnapshotsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>public ListSnapshotsResponse.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<ListSnapshotsResponse.Builder>public ListSnapshotsResponse.Builder mergeFrom(ListSnapshotsResponse other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>public ListSnapshotsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<ListSnapshotsResponse.Builder>java.io.IOExceptionpublic java.util.List<Snapshot> getSnapshotsList()
The resulting snapshots.
repeated .google.pubsub.v1.Snapshot snapshots = 1;getSnapshotsList in interface ListSnapshotsResponseOrBuilderpublic int getSnapshotsCount()
The resulting snapshots.
repeated .google.pubsub.v1.Snapshot snapshots = 1;getSnapshotsCount in interface ListSnapshotsResponseOrBuilderpublic Snapshot getSnapshots(int index)
The resulting snapshots.
repeated .google.pubsub.v1.Snapshot snapshots = 1;getSnapshots in interface ListSnapshotsResponseOrBuilderpublic ListSnapshotsResponse.Builder setSnapshots(int index, Snapshot value)
The resulting snapshots.
repeated .google.pubsub.v1.Snapshot snapshots = 1;public ListSnapshotsResponse.Builder setSnapshots(int index, Snapshot.Builder builderForValue)
The resulting snapshots.
repeated .google.pubsub.v1.Snapshot snapshots = 1;public ListSnapshotsResponse.Builder addSnapshots(Snapshot value)
The resulting snapshots.
repeated .google.pubsub.v1.Snapshot snapshots = 1;public ListSnapshotsResponse.Builder addSnapshots(int index, Snapshot value)
The resulting snapshots.
repeated .google.pubsub.v1.Snapshot snapshots = 1;public ListSnapshotsResponse.Builder addSnapshots(Snapshot.Builder builderForValue)
The resulting snapshots.
repeated .google.pubsub.v1.Snapshot snapshots = 1;public ListSnapshotsResponse.Builder addSnapshots(int index, Snapshot.Builder builderForValue)
The resulting snapshots.
repeated .google.pubsub.v1.Snapshot snapshots = 1;public ListSnapshotsResponse.Builder addAllSnapshots(java.lang.Iterable<? extends Snapshot> values)
The resulting snapshots.
repeated .google.pubsub.v1.Snapshot snapshots = 1;public ListSnapshotsResponse.Builder clearSnapshots()
The resulting snapshots.
repeated .google.pubsub.v1.Snapshot snapshots = 1;public ListSnapshotsResponse.Builder removeSnapshots(int index)
The resulting snapshots.
repeated .google.pubsub.v1.Snapshot snapshots = 1;public Snapshot.Builder getSnapshotsBuilder(int index)
The resulting snapshots.
repeated .google.pubsub.v1.Snapshot snapshots = 1;public SnapshotOrBuilder getSnapshotsOrBuilder(int index)
The resulting snapshots.
repeated .google.pubsub.v1.Snapshot snapshots = 1;getSnapshotsOrBuilder in interface ListSnapshotsResponseOrBuilderpublic java.util.List<? extends SnapshotOrBuilder> getSnapshotsOrBuilderList()
The resulting snapshots.
repeated .google.pubsub.v1.Snapshot snapshots = 1;getSnapshotsOrBuilderList in interface ListSnapshotsResponseOrBuilderpublic Snapshot.Builder addSnapshotsBuilder()
The resulting snapshots.
repeated .google.pubsub.v1.Snapshot snapshots = 1;public Snapshot.Builder addSnapshotsBuilder(int index)
The resulting snapshots.
repeated .google.pubsub.v1.Snapshot snapshots = 1;public java.util.List<Snapshot.Builder> getSnapshotsBuilderList()
The resulting snapshots.
repeated .google.pubsub.v1.Snapshot snapshots = 1;public java.lang.String getNextPageToken()
If not empty, indicates that there may be more snapshot that match the request; this value should be passed in a new `ListSnapshotsRequest`.
string next_page_token = 2;getNextPageToken in interface ListSnapshotsResponseOrBuilderpublic ByteString getNextPageTokenBytes()
If not empty, indicates that there may be more snapshot that match the request; this value should be passed in a new `ListSnapshotsRequest`.
string next_page_token = 2;getNextPageTokenBytes in interface ListSnapshotsResponseOrBuilderpublic ListSnapshotsResponse.Builder setNextPageToken(java.lang.String value)
If not empty, indicates that there may be more snapshot that match the request; this value should be passed in a new `ListSnapshotsRequest`.
string next_page_token = 2;public ListSnapshotsResponse.Builder clearNextPageToken()
If not empty, indicates that there may be more snapshot that match the request; this value should be passed in a new `ListSnapshotsRequest`.
string next_page_token = 2;public ListSnapshotsResponse.Builder setNextPageTokenBytes(ByteString value)
If not empty, indicates that there may be more snapshot that match the request; this value should be passed in a new `ListSnapshotsRequest`.
string next_page_token = 2;public final ListSnapshotsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>public final ListSnapshotsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>