com.google.pubsub.v1.SnapshotOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-pubsub-v1 Show documentation
Show all versions of proto-google-cloud-pubsub-v1 Show documentation
PROTO library for proto-google-cloud-pubsub-v1
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
package com.google.pubsub.v1;
public interface SnapshotOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.pubsub.v1.Snapshot)
com.google.protobuf.MessageOrBuilder {
/**
*
* The name of the snapshot.
*
*
* optional string name = 1;
*/
java.lang.String getName();
/**
*
* The name of the snapshot.
*
*
* optional string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* The name of the topic from which this snapshot is retaining messages.
*
*
* optional string topic = 2;
*/
java.lang.String getTopic();
/**
*
* The name of the topic from which this snapshot is retaining messages.
*
*
* optional string topic = 2;
*/
com.google.protobuf.ByteString
getTopicBytes();
/**
*
* The snapshot is guaranteed to exist up until this time.
* A newly-created snapshot expires no later than 7 days from the time of its
* creation. Its exact lifetime is determined at creation by the existing
* backlog in the source subscription. Specifically, the lifetime of the
* snapshot is `7 days - (age of oldest unacked message in the subscription)`.
* For example, consider a subscription whose oldest unacked message is 3 days
* old. If a snapshot is created from this subscription, the snapshot -- which
* will always capture this 3-day-old backlog as long as the snapshot
* exists -- will expire in 4 days.
*
*
* optional .google.protobuf.Timestamp expire_time = 3;
*/
boolean hasExpireTime();
/**
*
* The snapshot is guaranteed to exist up until this time.
* A newly-created snapshot expires no later than 7 days from the time of its
* creation. Its exact lifetime is determined at creation by the existing
* backlog in the source subscription. Specifically, the lifetime of the
* snapshot is `7 days - (age of oldest unacked message in the subscription)`.
* For example, consider a subscription whose oldest unacked message is 3 days
* old. If a snapshot is created from this subscription, the snapshot -- which
* will always capture this 3-day-old backlog as long as the snapshot
* exists -- will expire in 4 days.
*
*
* optional .google.protobuf.Timestamp expire_time = 3;
*/
com.google.protobuf.Timestamp getExpireTime();
/**
*
* The snapshot is guaranteed to exist up until this time.
* A newly-created snapshot expires no later than 7 days from the time of its
* creation. Its exact lifetime is determined at creation by the existing
* backlog in the source subscription. Specifically, the lifetime of the
* snapshot is `7 days - (age of oldest unacked message in the subscription)`.
* For example, consider a subscription whose oldest unacked message is 3 days
* old. If a snapshot is created from this subscription, the snapshot -- which
* will always capture this 3-day-old backlog as long as the snapshot
* exists -- will expire in 4 days.
*
*
* optional .google.protobuf.Timestamp expire_time = 3;
*/
com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy