Class CloudStorageConfigBuilder (2.15.1)
Stay organized with collections
Save and categorize content based on your preferences.
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 |
Name |
Description |
bucket |
std::string
|
Returns |
Type |
Description |
CloudStorageConfigBuilder & |
|
set_bucket(std::string) &&
Setters for each protocol buffer field.
Parameter |
Name |
Description |
bucket |
std::string
|
Returns |
Type |
Description |
CloudStorageConfigBuilder && |
|
set_filename_prefix(std::string) &
Setters for each protocol buffer field.
Parameter |
Name |
Description |
filename_prefix |
std::string
|
Returns |
Type |
Description |
CloudStorageConfigBuilder & |
|
set_filename_prefix(std::string) &&
Setters for each protocol buffer field.
Parameter |
Name |
Description |
filename_prefix |
std::string
|
Returns |
Type |
Description |
CloudStorageConfigBuilder && |
|
set_filename_suffix(std::string) &
Setters for each protocol buffer field.
Parameter |
Name |
Description |
filename_suffix |
std::string
|
Returns |
Type |
Description |
CloudStorageConfigBuilder & |
|
set_filename_suffix(std::string) &&
Setters for each protocol buffer field.
Parameter |
Name |
Description |
filename_suffix |
std::string
|
Returns |
Type |
Description |
CloudStorageConfigBuilder && |
|
set_avro_config(google::pubsub::v1::CloudStorageConfig::AvroConfig) &
Setters for each protocol buffer field.
Parameter |
Name |
Description |
avro_config |
google::pubsub::v1::CloudStorageConfig::AvroConfig
|
Returns |
Type |
Description |
CloudStorageConfigBuilder & |
|
set_avro_config(google::pubsub::v1::CloudStorageConfig::AvroConfig) &&
Setters for each protocol buffer field.
Parameter |
Name |
Description |
avro_config |
google::pubsub::v1::CloudStorageConfig::AvroConfig
|
Returns |
Type |
Description |
CloudStorageConfigBuilder && |
|
set_max_duration(std::chrono::duration< Rep, Period >) &
Setters for each protocol buffer field.
Parameters |
Name |
Description |
d |
std::chrono::duration< Rep, Period >
|
typename Rep |
|
typename Period |
|
Returns |
Type |
Description |
CloudStorageConfigBuilder & |
|
set_max_duration(std::chrono::duration< Rep, Period >) &&
Setters for each protocol buffer field.
Parameters |
Name |
Description |
d |
std::chrono::duration< Rep, Period >
|
typename Rep |
|
typename Period |
|
Returns |
Type |
Description |
CloudStorageConfigBuilder && |
|
set_max_duration(google::protobuf::Duration const &) &
Setters for each protocol buffer field.
Parameter |
Name |
Description |
d |
google::protobuf::Duration const &
|
Returns |
Type |
Description |
CloudStorageConfigBuilder & |
|
set_max_duration(google::protobuf::Duration const &) &&
Setters for each protocol buffer field.
Parameter |
Name |
Description |
d |
google::protobuf::Duration const &
|
Returns |
Type |
Description |
CloudStorageConfigBuilder && |
|
set_max_bytes(int) &
Setters for each protocol buffer field.
Parameter |
Name |
Description |
v |
int
|
Returns |
Type |
Description |
CloudStorageConfigBuilder & |
|
set_max_bytes(int) &&
Setters for each protocol buffer field.
Parameter |
Name |
Description |
v |
int
|
Returns |
Type |
Description |
CloudStorageConfigBuilder && |
|
static MakeAvroConfig(bool)
Setters for each protocol buffer field.
Parameter |
Name |
Description |
write_metadata |
bool
|
Returns |
Type |
Description |
google::pubsub::v1::CloudStorageConfig::AvroConfig |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-10 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-09-10 UTC."}