public static final class ListSnapshotsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder> implements ListSnapshotsResponseOrBuilder
Response for the `ListSnapshots` method.Protobuf type
google.pubsub.v1.ListSnapshotsResponse| Modifier and Type | Method and Description |
|---|---|
ListSnapshotsResponse.Builder |
addAllSnapshots(java.lang.Iterable<? extends Snapshot> values)
The resulting snapshots.
|
ListSnapshotsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ListSnapshotsResponse.Builder |
addSnapshots(int index,
Snapshot.Builder builderForValue)
The resulting snapshots.
|
ListSnapshotsResponse.Builder |
addSnapshots(int index,
Snapshot value)
The resulting snapshots.
|
ListSnapshotsResponse.Builder |
addSnapshots(Snapshot.Builder builderForValue)
The resulting snapshots.
|
ListSnapshotsResponse.Builder |
addSnapshots(Snapshot value)
The resulting snapshots.
|
Snapshot.Builder |
addSnapshotsBuilder()
The resulting snapshots.
|
Snapshot.Builder |
addSnapshotsBuilder(int index)
The resulting snapshots.
|
ListSnapshotsResponse |
build() |
ListSnapshotsResponse |
buildPartial() |
ListSnapshotsResponse.Builder |
clear() |
ListSnapshotsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
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`.
|
ListSnapshotsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListSnapshotsResponse.Builder |
clearSnapshots()
The resulting snapshots.
|
ListSnapshotsResponse.Builder |
clone() |
ListSnapshotsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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`.
|
com.google.protobuf.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`.
|
Snapshot |
getSnapshots(int index)
The resulting snapshots.
|
Snapshot.Builder |
getSnapshotsBuilder(int index)
The resulting snapshots.
|
java.util.List<Snapshot.Builder> |
getSnapshotsBuilderList()
The resulting snapshots.
|
int |
getSnapshotsCount()
The resulting snapshots.
|
java.util.List<Snapshot> |
getSnapshotsList()
The resulting snapshots.
|
SnapshotOrBuilder |
getSnapshotsOrBuilder(int index)
The resulting snapshots.
|
java.util.List<? extends SnapshotOrBuilder> |
getSnapshotsOrBuilderList()
The resulting snapshots.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListSnapshotsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListSnapshotsResponse.Builder |
mergeFrom(ListSnapshotsResponse other) |
ListSnapshotsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListSnapshotsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListSnapshotsResponse.Builder |
removeSnapshots(int index)
The resulting snapshots.
|
ListSnapshotsResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
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`.
|
ListSnapshotsResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.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`.
|
ListSnapshotsResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ListSnapshotsResponse.Builder |
setSnapshots(int index,
Snapshot.Builder builderForValue)
The resulting snapshots.
|
ListSnapshotsResponse.Builder |
setSnapshots(int index,
Snapshot value)
The resulting snapshots.
|
ListSnapshotsResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>public ListSnapshotsResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>public ListSnapshotsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListSnapshotsResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListSnapshotsResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListSnapshotsResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>public ListSnapshotsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>public ListSnapshotsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>public ListSnapshotsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>public ListSnapshotsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>public ListSnapshotsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>public ListSnapshotsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListSnapshotsResponse.Builder>public ListSnapshotsResponse.Builder mergeFrom(ListSnapshotsResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>public ListSnapshotsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.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 com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>public final ListSnapshotsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>