Google Cloud Pub/Sub C++ Client 2.13.0
A C++ Client Library for Google Cloud Pub/Sub
|
A helper class to build google::pubsub::v1::CloudStorageConfig
protos.
More...
#include <google/cloud/pubsub/subscription_builder.h>
Public Member Functions | |
CloudStorageConfigBuilder ()=default | |
Friends | |
class | SubscriptionBuilder |
Setters for each protocol buffer field. | |
CloudStorageConfigBuilder & | set_bucket (std::string bucket) & |
CloudStorageConfigBuilder && | set_bucket (std::string bucket) && |
CloudStorageConfigBuilder & | set_filename_prefix (std::string filename_prefix) & |
CloudStorageConfigBuilder && | set_filename_prefix (std::string filename_prefix) && |
CloudStorageConfigBuilder & | set_filename_suffix (std::string filename_suffix) & |
CloudStorageConfigBuilder && | set_filename_suffix (std::string filename_suffix) && |
CloudStorageConfigBuilder & | set_avro_config (google::pubsub::v1::CloudStorageConfig::AvroConfig avro_config) & |
CloudStorageConfigBuilder && | set_avro_config (google::pubsub::v1::CloudStorageConfig::AvroConfig avro_config) && |
template<typename Rep , typename Period > | |
CloudStorageConfigBuilder & | set_max_duration (std::chrono::duration< Rep, Period > d) & |
template<typename Rep , typename Period > | |
CloudStorageConfigBuilder && | set_max_duration (std::chrono::duration< Rep, Period > d) && |
CloudStorageConfigBuilder & | set_max_duration (google::protobuf::Duration const &d) & |
CloudStorageConfigBuilder && | set_max_duration (google::protobuf::Duration const &d) && |
CloudStorageConfigBuilder & | set_max_bytes (int v) & |
CloudStorageConfigBuilder && | set_max_bytes (int v) && |
static google::pubsub::v1::CloudStorageConfig::AvroConfig | MakeAvroConfig (bool write_metadata) |
A helper class to build google::pubsub::v1::CloudStorageConfig
protos.
Makes it easier to create the protobuf messages consumed by SubscriptionAdminClient
. The main advantages are:
|
default |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |