public static final class CloudStorageConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CloudStorageConfig.Builder> implements CloudStorageConfigOrBuilder
Configuration for a Cloud Storage subscription.Protobuf type
google.pubsub.v1.CloudStorageConfig
Modifier and Type | Method and Description |
---|---|
CloudStorageConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CloudStorageConfig |
build() |
CloudStorageConfig |
buildPartial() |
CloudStorageConfig.Builder |
clear() |
CloudStorageConfig.Builder |
clearAvroConfig()
If set, message data will be written to Cloud Storage in Avro format.
|
CloudStorageConfig.Builder |
clearBucket()
Required.
|
CloudStorageConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CloudStorageConfig.Builder |
clearFilenamePrefix()
User-provided prefix for Cloud Storage filename.
|
CloudStorageConfig.Builder |
clearFilenameSuffix()
User-provided suffix for Cloud Storage filename.
|
CloudStorageConfig.Builder |
clearMaxBytes()
The maximum bytes that can be written to a Cloud Storage file before a new
file is created.
|
CloudStorageConfig.Builder |
clearMaxDuration()
The maximum duration that can elapse before a new Cloud Storage file is
created.
|
CloudStorageConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CloudStorageConfig.Builder |
clearOutputFormat() |
CloudStorageConfig.Builder |
clearState()
Output only.
|
CloudStorageConfig.Builder |
clearTextConfig()
If set, message data will be written to Cloud Storage in text format.
|
CloudStorageConfig.Builder |
clone() |
CloudStorageConfig.AvroConfig |
getAvroConfig()
If set, message data will be written to Cloud Storage in Avro format.
|
CloudStorageConfig.AvroConfig.Builder |
getAvroConfigBuilder()
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.
|
CloudStorageConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.Duration.Builder |
getMaxDurationBuilder()
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.TextConfig.Builder |
getTextConfigBuilder()
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CloudStorageConfig.Builder |
mergeAvroConfig(CloudStorageConfig.AvroConfig value)
If set, message data will be written to Cloud Storage in Avro format.
|
CloudStorageConfig.Builder |
mergeFrom(CloudStorageConfig other) |
CloudStorageConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CloudStorageConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
CloudStorageConfig.Builder |
mergeMaxDuration(com.google.protobuf.Duration value)
The maximum duration that can elapse before a new Cloud Storage file is
created.
|
CloudStorageConfig.Builder |
mergeTextConfig(CloudStorageConfig.TextConfig value)
If set, message data will be written to Cloud Storage in text format.
|
CloudStorageConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CloudStorageConfig.Builder |
setAvroConfig(CloudStorageConfig.AvroConfig.Builder builderForValue)
If set, message data will be written to Cloud Storage in Avro format.
|
CloudStorageConfig.Builder |
setAvroConfig(CloudStorageConfig.AvroConfig value)
If set, message data will be written to Cloud Storage in Avro format.
|
CloudStorageConfig.Builder |
setBucket(String value)
Required.
|
CloudStorageConfig.Builder |
setBucketBytes(com.google.protobuf.ByteString value)
Required.
|
CloudStorageConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CloudStorageConfig.Builder |
setFilenamePrefix(String value)
User-provided prefix for Cloud Storage filename.
|
CloudStorageConfig.Builder |
setFilenamePrefixBytes(com.google.protobuf.ByteString value)
User-provided prefix for Cloud Storage filename.
|
CloudStorageConfig.Builder |
setFilenameSuffix(String value)
User-provided suffix for Cloud Storage filename.
|
CloudStorageConfig.Builder |
setFilenameSuffixBytes(com.google.protobuf.ByteString value)
User-provided suffix for Cloud Storage filename.
|
CloudStorageConfig.Builder |
setMaxBytes(long value)
The maximum bytes that can be written to a Cloud Storage file before a new
file is created.
|
CloudStorageConfig.Builder |
setMaxDuration(com.google.protobuf.Duration.Builder builderForValue)
The maximum duration that can elapse before a new Cloud Storage file is
created.
|
CloudStorageConfig.Builder |
setMaxDuration(com.google.protobuf.Duration value)
The maximum duration that can elapse before a new Cloud Storage file is
created.
|
CloudStorageConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CloudStorageConfig.Builder |
setState(CloudStorageConfig.State value)
Output only.
|
CloudStorageConfig.Builder |
setStateValue(int value)
Output only.
|
CloudStorageConfig.Builder |
setTextConfig(CloudStorageConfig.TextConfig.Builder builderForValue)
If set, message data will be written to Cloud Storage in text format.
|
CloudStorageConfig.Builder |
setTextConfig(CloudStorageConfig.TextConfig value)
If set, message data will be written to Cloud Storage in text format.
|
CloudStorageConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<CloudStorageConfig.Builder>
public CloudStorageConfig.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<CloudStorageConfig.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<CloudStorageConfig.Builder>
public CloudStorageConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CloudStorageConfig build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CloudStorageConfig buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CloudStorageConfig.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<CloudStorageConfig.Builder>
public CloudStorageConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<CloudStorageConfig.Builder>
public CloudStorageConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<CloudStorageConfig.Builder>
public CloudStorageConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<CloudStorageConfig.Builder>
public CloudStorageConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CloudStorageConfig.Builder>
public CloudStorageConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CloudStorageConfig.Builder>
public CloudStorageConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CloudStorageConfig.Builder>
public CloudStorageConfig.Builder mergeFrom(CloudStorageConfig other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<CloudStorageConfig.Builder>
public CloudStorageConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CloudStorageConfig.Builder>
IOException
public CloudStorageConfig.OutputFormatCase getOutputFormatCase()
getOutputFormatCase
in interface CloudStorageConfigOrBuilder
public CloudStorageConfig.Builder clearOutputFormat()
public 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];
getBucket
in interface CloudStorageConfigOrBuilder
public 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];
getBucketBytes
in interface CloudStorageConfigOrBuilder
public CloudStorageConfig.Builder setBucket(String value)
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];
value
- The bucket to set.public CloudStorageConfig.Builder clearBucket()
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];
public CloudStorageConfig.Builder setBucketBytes(com.google.protobuf.ByteString value)
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];
value
- The bytes for bucket to set.public 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;
getFilenamePrefix
in interface CloudStorageConfigOrBuilder
public 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;
getFilenamePrefixBytes
in interface CloudStorageConfigOrBuilder
public CloudStorageConfig.Builder setFilenamePrefix(String value)
User-provided prefix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming).
string filename_prefix = 2;
value
- The filenamePrefix to set.public CloudStorageConfig.Builder clearFilenamePrefix()
User-provided prefix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming).
string filename_prefix = 2;
public CloudStorageConfig.Builder setFilenamePrefixBytes(com.google.protobuf.ByteString value)
User-provided prefix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming).
string filename_prefix = 2;
value
- The bytes for filenamePrefix to set.public 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;
getFilenameSuffix
in interface CloudStorageConfigOrBuilder
public 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;
getFilenameSuffixBytes
in interface CloudStorageConfigOrBuilder
public CloudStorageConfig.Builder setFilenameSuffix(String value)
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;
value
- The filenameSuffix to set.public CloudStorageConfig.Builder clearFilenameSuffix()
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;
public CloudStorageConfig.Builder setFilenameSuffixBytes(com.google.protobuf.ByteString value)
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;
value
- The bytes for filenameSuffix to set.public boolean hasTextConfig()
If set, message data will be written to Cloud Storage in text format.
.google.pubsub.v1.CloudStorageConfig.TextConfig text_config = 4;
hasTextConfig
in interface CloudStorageConfigOrBuilder
public CloudStorageConfig.TextConfig getTextConfig()
If set, message data will be written to Cloud Storage in text format.
.google.pubsub.v1.CloudStorageConfig.TextConfig text_config = 4;
getTextConfig
in interface CloudStorageConfigOrBuilder
public CloudStorageConfig.Builder setTextConfig(CloudStorageConfig.TextConfig value)
If set, message data will be written to Cloud Storage in text format.
.google.pubsub.v1.CloudStorageConfig.TextConfig text_config = 4;
public CloudStorageConfig.Builder setTextConfig(CloudStorageConfig.TextConfig.Builder builderForValue)
If set, message data will be written to Cloud Storage in text format.
.google.pubsub.v1.CloudStorageConfig.TextConfig text_config = 4;
public CloudStorageConfig.Builder mergeTextConfig(CloudStorageConfig.TextConfig value)
If set, message data will be written to Cloud Storage in text format.
.google.pubsub.v1.CloudStorageConfig.TextConfig text_config = 4;
public CloudStorageConfig.Builder clearTextConfig()
If set, message data will be written to Cloud Storage in text format.
.google.pubsub.v1.CloudStorageConfig.TextConfig text_config = 4;
public CloudStorageConfig.TextConfig.Builder getTextConfigBuilder()
If set, message data will be written to Cloud Storage in text format.
.google.pubsub.v1.CloudStorageConfig.TextConfig text_config = 4;
public CloudStorageConfig.TextConfigOrBuilder getTextConfigOrBuilder()
If set, message data will be written to Cloud Storage in text format.
.google.pubsub.v1.CloudStorageConfig.TextConfig text_config = 4;
getTextConfigOrBuilder
in interface CloudStorageConfigOrBuilder
public boolean hasAvroConfig()
If set, message data will be written to Cloud Storage in Avro format.
.google.pubsub.v1.CloudStorageConfig.AvroConfig avro_config = 5;
hasAvroConfig
in interface CloudStorageConfigOrBuilder
public CloudStorageConfig.AvroConfig getAvroConfig()
If set, message data will be written to Cloud Storage in Avro format.
.google.pubsub.v1.CloudStorageConfig.AvroConfig avro_config = 5;
getAvroConfig
in interface CloudStorageConfigOrBuilder
public CloudStorageConfig.Builder setAvroConfig(CloudStorageConfig.AvroConfig value)
If set, message data will be written to Cloud Storage in Avro format.
.google.pubsub.v1.CloudStorageConfig.AvroConfig avro_config = 5;
public CloudStorageConfig.Builder setAvroConfig(CloudStorageConfig.AvroConfig.Builder builderForValue)
If set, message data will be written to Cloud Storage in Avro format.
.google.pubsub.v1.CloudStorageConfig.AvroConfig avro_config = 5;
public CloudStorageConfig.Builder mergeAvroConfig(CloudStorageConfig.AvroConfig value)
If set, message data will be written to Cloud Storage in Avro format.
.google.pubsub.v1.CloudStorageConfig.AvroConfig avro_config = 5;
public CloudStorageConfig.Builder clearAvroConfig()
If set, message data will be written to Cloud Storage in Avro format.
.google.pubsub.v1.CloudStorageConfig.AvroConfig avro_config = 5;
public CloudStorageConfig.AvroConfig.Builder getAvroConfigBuilder()
If set, message data will be written to Cloud Storage in Avro format.
.google.pubsub.v1.CloudStorageConfig.AvroConfig avro_config = 5;
public CloudStorageConfig.AvroConfigOrBuilder getAvroConfigOrBuilder()
If set, message data will be written to Cloud Storage in Avro format.
.google.pubsub.v1.CloudStorageConfig.AvroConfig avro_config = 5;
getAvroConfigOrBuilder
in interface CloudStorageConfigOrBuilder
public 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;
hasMaxDuration
in interface CloudStorageConfigOrBuilder
public 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;
getMaxDuration
in interface CloudStorageConfigOrBuilder
public CloudStorageConfig.Builder setMaxDuration(com.google.protobuf.Duration value)
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;
public CloudStorageConfig.Builder setMaxDuration(com.google.protobuf.Duration.Builder builderForValue)
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;
public CloudStorageConfig.Builder mergeMaxDuration(com.google.protobuf.Duration value)
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;
public CloudStorageConfig.Builder clearMaxDuration()
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;
public com.google.protobuf.Duration.Builder getMaxDurationBuilder()
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;
public 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;
getMaxDurationOrBuilder
in interface CloudStorageConfigOrBuilder
public 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;
getMaxBytes
in interface CloudStorageConfigOrBuilder
public CloudStorageConfig.Builder setMaxBytes(long value)
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;
value
- The maxBytes to set.public CloudStorageConfig.Builder clearMaxBytes()
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;
public 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];
getStateValue
in interface CloudStorageConfigOrBuilder
public CloudStorageConfig.Builder setStateValue(int value)
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];
value
- The enum numeric value on the wire for state to set.public 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];
getState
in interface CloudStorageConfigOrBuilder
public CloudStorageConfig.Builder setState(CloudStorageConfig.State value)
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];
value
- The state to set.public CloudStorageConfig.Builder clearState()
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];
public final CloudStorageConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CloudStorageConfig.Builder>
public final CloudStorageConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CloudStorageConfig.Builder>
Copyright © 2023 Google LLC. All rights reserved.