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, 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<ListSnapshotsRequest.Builder>
public ListSnapshotsRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>
public ListSnapshotsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListSnapshotsRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListSnapshotsRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListSnapshotsRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>
public ListSnapshotsRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>
public ListSnapshotsRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>
public ListSnapshotsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>
public ListSnapshotsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>
public ListSnapshotsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>
public ListSnapshotsRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListSnapshotsRequest.Builder>
public ListSnapshotsRequest.Builder mergeFrom(ListSnapshotsRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>
public ListSnapshotsRequest.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<ListSnapshotsRequest.Builder>
java.io.IOException
public java.lang.String getProject()
The name of the cloud project that snapshots belong to. Format is `projects/{project}`.
string project = 1;
getProject
in interface ListSnapshotsRequestOrBuilder
public ByteString getProjectBytes()
The name of the cloud project that snapshots belong to. Format is `projects/{project}`.
string project = 1;
getProjectBytes
in interface ListSnapshotsRequestOrBuilder
public 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 ListSnapshotsRequestOrBuilder
public 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 ListSnapshotsRequestOrBuilder
public 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 ListSnapshotsRequestOrBuilder
public 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.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>
public final ListSnapshotsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>