Class CloudStorageConfigBuilder (2.21.0-rc)

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:

  • Use a fluent API to set multiple values when constructing complex objects.
  • Automatically compute the set of paths for update requests.

Constructors

CloudStorageConfigBuilder()

Functions

set_bucket(std::string) &

Setters for each protocol buffer field.

Parameter
NameDescription
bucket std::string
Returns
TypeDescription
CloudStorageConfigBuilder &

set_bucket(std::string) &&

Setters for each protocol buffer field.

Parameter
NameDescription
bucket std::string
Returns
TypeDescription
CloudStorageConfigBuilder &&

set_filename_prefix(std::string) &

Setters for each protocol buffer field.

Parameter
NameDescription
filename_prefix std::string
Returns
TypeDescription
CloudStorageConfigBuilder &

set_filename_prefix(std::string) &&

Setters for each protocol buffer field.

Parameter
NameDescription
filename_prefix std::string
Returns
TypeDescription
CloudStorageConfigBuilder &&

set_filename_suffix(std::string) &

Setters for each protocol buffer field.

Parameter
NameDescription
filename_suffix std::string
Returns
TypeDescription
CloudStorageConfigBuilder &

set_filename_suffix(std::string) &&

Setters for each protocol buffer field.

Parameter
NameDescription
filename_suffix std::string
Returns
TypeDescription
CloudStorageConfigBuilder &&

set_avro_config(google::pubsub::v1::CloudStorageConfig::AvroConfig) &

Setters for each protocol buffer field.

Parameter
NameDescription
avro_config google::pubsub::v1::CloudStorageConfig::AvroConfig
Returns
TypeDescription
CloudStorageConfigBuilder &

set_avro_config(google::pubsub::v1::CloudStorageConfig::AvroConfig) &&

Setters for each protocol buffer field.

Parameter
NameDescription
avro_config google::pubsub::v1::CloudStorageConfig::AvroConfig
Returns
TypeDescription
CloudStorageConfigBuilder &&

set_max_duration(std::chrono::duration< Rep, Period >) &

Setters for each protocol buffer field.

Parameters
NameDescription
d std::chrono::duration< Rep, Period >
typename Rep
typename Period
Returns
TypeDescription
CloudStorageConfigBuilder &

set_max_duration(std::chrono::duration< Rep, Period >) &&

Setters for each protocol buffer field.

Parameters
NameDescription
d std::chrono::duration< Rep, Period >
typename Rep
typename Period
Returns
TypeDescription
CloudStorageConfigBuilder &&

set_max_duration(google::protobuf::Duration const &) &

Setters for each protocol buffer field.

Parameter
NameDescription
d google::protobuf::Duration const &
Returns
TypeDescription
CloudStorageConfigBuilder &

set_max_duration(google::protobuf::Duration const &) &&

Setters for each protocol buffer field.

Parameter
NameDescription
d google::protobuf::Duration const &
Returns
TypeDescription
CloudStorageConfigBuilder &&

set_max_bytes(int) &

Setters for each protocol buffer field.

Parameter
NameDescription
v int
Returns
TypeDescription
CloudStorageConfigBuilder &

set_max_bytes(int) &&

Setters for each protocol buffer field.

Parameter
NameDescription
v int
Returns
TypeDescription
CloudStorageConfigBuilder &&

static MakeAvroConfig(bool)

Setters for each protocol buffer field.

Parameter
NameDescription
write_metadata bool
Returns
TypeDescription
google::pubsub::v1::CloudStorageConfig::AvroConfig