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(Iterable<? extends Snapshot> values)
The resulting snapshots.
|
ListSnapshotsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
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() |
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.
|
List<Snapshot.Builder> |
getSnapshotsBuilderList()
The resulting snapshots.
|
int |
getSnapshotsCount()
The resulting snapshots.
|
List<Snapshot> |
getSnapshotsList()
The resulting snapshots.
|
SnapshotOrBuilder |
getSnapshotsOrBuilder(int index)
The resulting snapshots.
|
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,
Object value) |
ListSnapshotsResponse.Builder |
setNextPageToken(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,
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, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>
public ListSnapshotsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ListSnapshotsResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ListSnapshotsResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ListSnapshotsResponse.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>
public ListSnapshotsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>
public ListSnapshotsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>
public ListSnapshotsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>
public ListSnapshotsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListSnapshotsResponse.Builder>
IOException
public List<Snapshot> getSnapshotsList()
The resulting snapshots.
repeated .google.pubsub.v1.Snapshot snapshots = 1;
getSnapshotsList
in interface ListSnapshotsResponseOrBuilder
public int getSnapshotsCount()
The resulting snapshots.
repeated .google.pubsub.v1.Snapshot snapshots = 1;
getSnapshotsCount
in interface ListSnapshotsResponseOrBuilder
public Snapshot getSnapshots(int index)
The resulting snapshots.
repeated .google.pubsub.v1.Snapshot snapshots = 1;
getSnapshots
in interface ListSnapshotsResponseOrBuilder
public 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(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 ListSnapshotsResponseOrBuilder
public List<? extends SnapshotOrBuilder> getSnapshotsOrBuilderList()
The resulting snapshots.
repeated .google.pubsub.v1.Snapshot snapshots = 1;
getSnapshotsOrBuilderList
in interface ListSnapshotsResponseOrBuilder
public 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 List<Snapshot.Builder> getSnapshotsBuilderList()
The resulting snapshots.
repeated .google.pubsub.v1.Snapshot snapshots = 1;
public 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 ListSnapshotsResponseOrBuilder
public 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 ListSnapshotsResponseOrBuilder
public ListSnapshotsResponse.Builder setNextPageToken(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;
value
- The nextPageToken to set.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;
value
- The bytes for nextPageToken to set.public final ListSnapshotsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>
Copyright © 2023 Google LLC. All rights reserved.