Package com.google.pubsub.v1
Interface GetSnapshotRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GetSnapshotRequest
,GetSnapshotRequest.Builder
public interface GetSnapshotRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteString
Required.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSnapshot
String getSnapshot()Required. The name of the snapshot to get. Format is `projects/{project}/snapshots/{snap}`.
string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The snapshot.
-
getSnapshotBytes
com.google.protobuf.ByteString getSnapshotBytes()Required. The name of the snapshot to get. Format is `projects/{project}/snapshots/{snap}`.
string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for snapshot.
-