public static final class ListSnapshotsRequest.Builder extends GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder> implements ListSnapshotsRequestOrBuilder
Request for the `ListSnapshots` method.Protobuf type
google.pubsub.v1.ListSnapshotsRequest| Modifier and Type | Method and Description |
|---|---|
ListSnapshotsRequest.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
ListSnapshotsRequest |
build() |
ListSnapshotsRequest |
buildPartial() |
ListSnapshotsRequest.Builder |
clear() |
ListSnapshotsRequest.Builder |
clearField(Descriptors.FieldDescriptor field) |
ListSnapshotsRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
ListSnapshotsRequest.Builder |
clearPageSize()
Maximum number of snapshots to return.
|
ListSnapshotsRequest.Builder |
clearPageToken()
The value returned by the last `ListSnapshotsResponse`; indicates that this
is a continuation of a prior `ListSnapshots` call, and that the system
should return the next page of data.
|
ListSnapshotsRequest.Builder |
clearProject()
The name of the cloud project that snapshots belong to.
|
ListSnapshotsRequest.Builder |
clone() |
ListSnapshotsRequest |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
int |
getPageSize()
Maximum number of snapshots to return.
|
java.lang.String |
getPageToken()
The value returned by the last `ListSnapshotsResponse`; indicates that this
is a continuation of a prior `ListSnapshots` call, and that the system
should return the next page of data.
|
ByteString |
getPageTokenBytes()
The value returned by the last `ListSnapshotsResponse`; indicates that this
is a continuation of a prior `ListSnapshots` call, and that the system
should return the next page of data.
|
java.lang.String |
getProject()
The name of the cloud project that snapshots belong to.
|
ByteString |
getProjectBytes()
The name of the cloud project that snapshots belong to.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListSnapshotsRequest.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ListSnapshotsRequest.Builder |
mergeFrom(ListSnapshotsRequest other) |
ListSnapshotsRequest.Builder |
mergeFrom(Message other) |
ListSnapshotsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ListSnapshotsRequest.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
ListSnapshotsRequest.Builder |
setPageSize(int value)
Maximum number of snapshots to return.
|
ListSnapshotsRequest.Builder |
setPageToken(java.lang.String value)
The value returned by the last `ListSnapshotsResponse`; indicates that this
is a continuation of a prior `ListSnapshots` call, and that the system
should return the next page of data.
|
ListSnapshotsRequest.Builder |
setPageTokenBytes(ByteString value)
The value returned by the last `ListSnapshotsResponse`; indicates that this
is a continuation of a prior `ListSnapshots` call, and that the system
should return the next page of data.
|
ListSnapshotsRequest.Builder |
setProject(java.lang.String value)
The name of the cloud project that snapshots belong to.
|
ListSnapshotsRequest.Builder |
setProjectBytes(ByteString value)
The name of the cloud project that snapshots belong to.
|
ListSnapshotsRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ListSnapshotsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, 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<ListSnapshotsRequest.Builder>public ListSnapshotsRequest.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>public ListSnapshotsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic ListSnapshotsRequest build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic ListSnapshotsRequest buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic ListSnapshotsRequest.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>public ListSnapshotsRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>public ListSnapshotsRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>public ListSnapshotsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>public ListSnapshotsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>public ListSnapshotsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>public ListSnapshotsRequest.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<ListSnapshotsRequest.Builder>public ListSnapshotsRequest.Builder mergeFrom(ListSnapshotsRequest other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>public ListSnapshotsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<ListSnapshotsRequest.Builder>java.io.IOExceptionpublic java.lang.String getProject()
The name of the cloud project that snapshots belong to.
Format is `projects/{project}`.
string project = 1;getProject in interface ListSnapshotsRequestOrBuilderpublic ByteString getProjectBytes()
The name of the cloud project that snapshots belong to.
Format is `projects/{project}`.
string project = 1;getProjectBytes in interface ListSnapshotsRequestOrBuilderpublic ListSnapshotsRequest.Builder setProject(java.lang.String value)
The name of the cloud project that snapshots belong to.
Format is `projects/{project}`.
string project = 1;public ListSnapshotsRequest.Builder clearProject()
The name of the cloud project that snapshots belong to.
Format is `projects/{project}`.
string project = 1;public ListSnapshotsRequest.Builder setProjectBytes(ByteString value)
The name of the cloud project that snapshots belong to.
Format is `projects/{project}`.
string project = 1;public int getPageSize()
Maximum number of snapshots to return.
int32 page_size = 2;getPageSize in interface ListSnapshotsRequestOrBuilderpublic ListSnapshotsRequest.Builder setPageSize(int value)
Maximum number of snapshots to return.
int32 page_size = 2;public ListSnapshotsRequest.Builder clearPageSize()
Maximum number of snapshots to return.
int32 page_size = 2;public java.lang.String getPageToken()
The value returned by the last `ListSnapshotsResponse`; indicates that this is a continuation of a prior `ListSnapshots` call, and that the system should return the next page of data.
string page_token = 3;getPageToken in interface ListSnapshotsRequestOrBuilderpublic ByteString getPageTokenBytes()
The value returned by the last `ListSnapshotsResponse`; indicates that this is a continuation of a prior `ListSnapshots` call, and that the system should return the next page of data.
string page_token = 3;getPageTokenBytes in interface ListSnapshotsRequestOrBuilderpublic ListSnapshotsRequest.Builder setPageToken(java.lang.String value)
The value returned by the last `ListSnapshotsResponse`; indicates that this is a continuation of a prior `ListSnapshots` call, and that the system should return the next page of data.
string page_token = 3;public ListSnapshotsRequest.Builder clearPageToken()
The value returned by the last `ListSnapshotsResponse`; indicates that this is a continuation of a prior `ListSnapshots` call, and that the system should return the next page of data.
string page_token = 3;public ListSnapshotsRequest.Builder setPageTokenBytes(ByteString value)
The value returned by the last `ListSnapshotsResponse`; indicates that this is a continuation of a prior `ListSnapshots` call, and that the system should return the next page of data.
string page_token = 3;public final ListSnapshotsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>public final ListSnapshotsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>