public interface CloudStorageConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
CloudStorageConfig.AvroConfig |
getAvroConfig()
If set, message data will be written to Cloud Storage in Avro format.
|
CloudStorageConfig.AvroConfigOrBuilder |
getAvroConfigOrBuilder()
If set, message data will be written to Cloud Storage in Avro format.
|
String |
getBucket()
Required.
|
com.google.protobuf.ByteString |
getBucketBytes()
Required.
|
String |
getFilenamePrefix()
User-provided prefix for Cloud Storage filename.
|
com.google.protobuf.ByteString |
getFilenamePrefixBytes()
User-provided prefix for Cloud Storage filename.
|
String |
getFilenameSuffix()
User-provided suffix for Cloud Storage filename.
|
com.google.protobuf.ByteString |
getFilenameSuffixBytes()
User-provided suffix for Cloud Storage filename.
|
long |
getMaxBytes()
The maximum bytes that can be written to a Cloud Storage file before a new
file is created.
|
com.google.protobuf.Duration |
getMaxDuration()
The maximum duration that can elapse before a new Cloud Storage file is
created.
|
com.google.protobuf.DurationOrBuilder |
getMaxDurationOrBuilder()
The maximum duration that can elapse before a new Cloud Storage file is
created.
|
CloudStorageConfig.OutputFormatCase |
getOutputFormatCase() |
CloudStorageConfig.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
CloudStorageConfig.TextConfig |
getTextConfig()
If set, message data will be written to Cloud Storage in text format.
|
CloudStorageConfig.TextConfigOrBuilder |
getTextConfigOrBuilder()
If set, message data will be written to Cloud Storage in text format.
|
boolean |
hasAvroConfig()
If set, message data will be written to Cloud Storage in Avro format.
|
boolean |
hasMaxDuration()
The maximum duration that can elapse before a new Cloud Storage file is
created.
|
boolean |
hasTextConfig()
If set, message data will be written to Cloud Storage in text format.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
String getBucket()
Required. User-provided name for the Cloud Storage bucket. The bucket must be created by the user. The bucket name must be without any prefix like "gs://". See the [bucket naming requirements] (https://cloud.google.com/storage/docs/buckets#naming).
string bucket = 1 [(.google.api.field_behavior) = REQUIRED];
com.google.protobuf.ByteString getBucketBytes()
Required. User-provided name for the Cloud Storage bucket. The bucket must be created by the user. The bucket name must be without any prefix like "gs://". See the [bucket naming requirements] (https://cloud.google.com/storage/docs/buckets#naming).
string bucket = 1 [(.google.api.field_behavior) = REQUIRED];
String getFilenamePrefix()
User-provided prefix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming).
string filename_prefix = 2;
com.google.protobuf.ByteString getFilenamePrefixBytes()
User-provided prefix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming).
string filename_prefix = 2;
String getFilenameSuffix()
User-provided suffix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming). Must not end in "/".
string filename_suffix = 3;
com.google.protobuf.ByteString getFilenameSuffixBytes()
User-provided suffix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming). Must not end in "/".
string filename_suffix = 3;
boolean hasTextConfig()
If set, message data will be written to Cloud Storage in text format.
.google.pubsub.v1.CloudStorageConfig.TextConfig text_config = 4;
CloudStorageConfig.TextConfig getTextConfig()
If set, message data will be written to Cloud Storage in text format.
.google.pubsub.v1.CloudStorageConfig.TextConfig text_config = 4;
CloudStorageConfig.TextConfigOrBuilder getTextConfigOrBuilder()
If set, message data will be written to Cloud Storage in text format.
.google.pubsub.v1.CloudStorageConfig.TextConfig text_config = 4;
boolean hasAvroConfig()
If set, message data will be written to Cloud Storage in Avro format.
.google.pubsub.v1.CloudStorageConfig.AvroConfig avro_config = 5;
CloudStorageConfig.AvroConfig getAvroConfig()
If set, message data will be written to Cloud Storage in Avro format.
.google.pubsub.v1.CloudStorageConfig.AvroConfig avro_config = 5;
CloudStorageConfig.AvroConfigOrBuilder getAvroConfigOrBuilder()
If set, message data will be written to Cloud Storage in Avro format.
.google.pubsub.v1.CloudStorageConfig.AvroConfig avro_config = 5;
boolean hasMaxDuration()
The maximum duration that can elapse before a new Cloud Storage file is created. Min 1 minute, max 10 minutes, default 5 minutes. May not exceed the subscription's acknowledgement deadline.
.google.protobuf.Duration max_duration = 6;
com.google.protobuf.Duration getMaxDuration()
The maximum duration that can elapse before a new Cloud Storage file is created. Min 1 minute, max 10 minutes, default 5 minutes. May not exceed the subscription's acknowledgement deadline.
.google.protobuf.Duration max_duration = 6;
com.google.protobuf.DurationOrBuilder getMaxDurationOrBuilder()
The maximum duration that can elapse before a new Cloud Storage file is created. Min 1 minute, max 10 minutes, default 5 minutes. May not exceed the subscription's acknowledgement deadline.
.google.protobuf.Duration max_duration = 6;
long getMaxBytes()
The maximum bytes that can be written to a Cloud Storage file before a new file is created. Min 1 KB, max 10 GiB. The max_bytes limit may be exceeded in cases where messages are larger than the limit.
int64 max_bytes = 7;
int getStateValue()
Output only. An output-only field that indicates whether or not the subscription can receive messages.
.google.pubsub.v1.CloudStorageConfig.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
CloudStorageConfig.State getState()
Output only. An output-only field that indicates whether or not the subscription can receive messages.
.google.pubsub.v1.CloudStorageConfig.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
CloudStorageConfig.OutputFormatCase getOutputFormatCase()
Copyright © 2023 Google LLC. All rights reserved.