public interface CreateSnapshotRequestOrBuilder extends MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Optional user-provided name for this snapshot.
|
ByteString |
getNameBytes()
Optional user-provided name for this snapshot.
|
java.lang.String |
getSubscription()
The subscription whose backlog the snapshot retains.
|
ByteString |
getSubscriptionBytes()
The subscription whose backlog the snapshot retains.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedjava.lang.String getName()
Optional user-provided name for this snapshot.
If the name is not provided in the request, the server will assign a random
name for this snapshot on the same project as the subscription.
Note that for REST API requests, you must specify a name.
Format is `projects/{project}/snapshots/{snap}`.
string name = 1;ByteString getNameBytes()
Optional user-provided name for this snapshot.
If the name is not provided in the request, the server will assign a random
name for this snapshot on the same project as the subscription.
Note that for REST API requests, you must specify a name.
Format is `projects/{project}/snapshots/{snap}`.
string name = 1;java.lang.String getSubscription()
The subscription whose backlog the snapshot retains.
Specifically, the created snapshot is guaranteed to retain:
(a) The existing backlog on the subscription. More precisely, this is
defined as the messages in the subscription's backlog that are
unacknowledged upon the successful completion of the
`CreateSnapshot` request; as well as:
(b) Any messages published to the subscription's topic following the
successful completion of the CreateSnapshot request.
Format is `projects/{project}/subscriptions/{sub}`.
string subscription = 2;ByteString getSubscriptionBytes()
The subscription whose backlog the snapshot retains.
Specifically, the created snapshot is guaranteed to retain:
(a) The existing backlog on the subscription. More precisely, this is
defined as the messages in the subscription's backlog that are
unacknowledged upon the successful completion of the
`CreateSnapshot` request; as well as:
(b) Any messages published to the subscription's topic following the
successful completion of the CreateSnapshot request.
Format is `projects/{project}/subscriptions/{sub}`.
string subscription = 2;