Google Cloud Pub/Sub C++ Client  2.1.0
A C++ Client Library for Google Cloud Pub/Sub
Public Member Functions | Friends | List of all members
google::cloud::pubsub::BigQueryConfigBuilder Class Reference

A helper class to build google::pubsub::v1::BigQueryConfig protos. More...

#include <google/cloud/pubsub/subscription_builder.h>

Public Member Functions

 BigQueryConfigBuilder ()=default
 
Setters for each protocol buffer field.
BigQueryConfigBuilderset_table (std::string full_path) &
 
BigQueryConfigBuilder && set_table (std::string full_path) &&
 
BigQueryConfigBuilderset_table (std::string const &project_id, std::string const &data_set_id, std::string const &table_id) &
 
BigQueryConfigBuilder && set_table (std::string const &project_id, std::string const &data_set_id, std::string const &table_id) &&
 
BigQueryConfigBuilderset_use_topic_schema (bool v) &
 
BigQueryConfigBuilder && set_use_topic_schema (bool v) &&
 
BigQueryConfigBuilderset_write_metadata (bool v) &
 
BigQueryConfigBuilder && set_write_metadata (bool v) &&
 
BigQueryConfigBuilderset_drop_unknown_fields (bool v) &
 
BigQueryConfigBuilder && set_drop_unknown_fields (bool v) &&
 

Friends

class SubscriptionBuilder
 

Detailed Description

A helper class to build google::pubsub::v1::BigQueryConfig protos.

Makes it easier to create the protobuf messages consumed by SubscriptionAdminClient. The main advantages are:

Definition at line 145 of file subscription_builder.h.

Constructor & Destructor Documentation

◆ BigQueryConfigBuilder()

google::cloud::pubsub::BigQueryConfigBuilder::BigQueryConfigBuilder ( )
default

Member Function Documentation

◆ set_drop_unknown_fields() [1/2]

BigQueryConfigBuilder& google::cloud::pubsub::BigQueryConfigBuilder::set_drop_unknown_fields ( bool  v) &
inline

Definition at line 188 of file subscription_builder.h.

◆ set_drop_unknown_fields() [2/2]

BigQueryConfigBuilder&& google::cloud::pubsub::BigQueryConfigBuilder::set_drop_unknown_fields ( bool  v) &&
inline

Definition at line 193 of file subscription_builder.h.

◆ set_table() [1/4]

BigQueryConfigBuilder& google::cloud::pubsub::BigQueryConfigBuilder::set_table ( std::string const &  project_id,
std::string const &  data_set_id,
std::string const &  table_id 
) &
inline

Definition at line 159 of file subscription_builder.h.

◆ set_table() [2/4]

BigQueryConfigBuilder&& google::cloud::pubsub::BigQueryConfigBuilder::set_table ( std::string const &  project_id,
std::string const &  data_set_id,
std::string const &  table_id 
) &&
inline

Definition at line 164 of file subscription_builder.h.

◆ set_table() [3/4]

BigQueryConfigBuilder& google::cloud::pubsub::BigQueryConfigBuilder::set_table ( std::string  full_path) &
inline

Definition at line 151 of file subscription_builder.h.

◆ set_table() [4/4]

BigQueryConfigBuilder&& google::cloud::pubsub::BigQueryConfigBuilder::set_table ( std::string  full_path) &&
inline

Definition at line 156 of file subscription_builder.h.

◆ set_use_topic_schema() [1/2]

BigQueryConfigBuilder& google::cloud::pubsub::BigQueryConfigBuilder::set_use_topic_schema ( bool  v) &
inline

Definition at line 170 of file subscription_builder.h.

◆ set_use_topic_schema() [2/2]

BigQueryConfigBuilder&& google::cloud::pubsub::BigQueryConfigBuilder::set_use_topic_schema ( bool  v) &&
inline

Definition at line 175 of file subscription_builder.h.

◆ set_write_metadata() [1/2]

BigQueryConfigBuilder& google::cloud::pubsub::BigQueryConfigBuilder::set_write_metadata ( bool  v) &
inline

Definition at line 179 of file subscription_builder.h.

◆ set_write_metadata() [2/2]

BigQueryConfigBuilder&& google::cloud::pubsub::BigQueryConfigBuilder::set_write_metadata ( bool  v) &&
inline

Definition at line 184 of file subscription_builder.h.

Friends And Related Function Documentation

◆ SubscriptionBuilder

friend class SubscriptionBuilder
friend

Definition at line 199 of file subscription_builder.h.