public static final class ListSnapshotsResponse.Builder extends GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder> implements ListSnapshotsResponseOrBuilder
Response for the `ListSnapshots` method.Protobuf type
google.pubsub.v1.ListSnapshotsResponse
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>
public ListSnapshotsResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>
public ListSnapshotsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListSnapshotsResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListSnapshotsResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListSnapshotsResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>
public ListSnapshotsResponse.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>
public ListSnapshotsResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>
public ListSnapshotsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>
public ListSnapshotsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>
public ListSnapshotsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>
public ListSnapshotsResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListSnapshotsResponse.Builder>
public ListSnapshotsResponse.Builder mergeFrom(ListSnapshotsResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>
public ListSnapshotsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListSnapshotsResponse.Builder>
java.io.IOException
public java.util.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(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 ListSnapshotsResponseOrBuilder
public java.util.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 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 ListSnapshotsResponseOrBuilder
public 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(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.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>
public final ListSnapshotsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListSnapshotsResponse.Builder>