Package com.google.cloud.datastream.v1
Interface GcsDestinationConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GcsDestinationConfig,GcsDestinationConfig.Builder
public interface GcsDestinationConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AvroFileFormatgetAvroFileFormat()AVRO file format configuration.AvroFileFormatOrBuildergetAvroFileFormatOrBuilder()AVRO file format configuration.GcsDestinationConfig.FileFormatCasegetFileFormatCase()com.google.protobuf.DurationgetFileRotationInterval()The maximum duration for which new events are added before a file is closed and a new file is created.com.google.protobuf.DurationOrBuildergetFileRotationIntervalOrBuilder()The maximum duration for which new events are added before a file is closed and a new file is created.intgetFileRotationMb()The maximum file size to be saved in the bucket.JsonFileFormatgetJsonFileFormat()JSON file format configuration.JsonFileFormatOrBuildergetJsonFileFormatOrBuilder()JSON file format configuration.StringgetPath()Path inside the Cloud Storage bucket to write data to.com.google.protobuf.ByteStringgetPathBytes()Path inside the Cloud Storage bucket to write data to.booleanhasAvroFileFormat()AVRO file format configuration.booleanhasFileRotationInterval()The maximum duration for which new events are added before a file is closed and a new file is created.booleanhasJsonFileFormat()JSON file format configuration.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getPath
String getPath()
Path inside the Cloud Storage bucket to write data to.
string path = 1;- Returns:
- The path.
-
getPathBytes
com.google.protobuf.ByteString getPathBytes()
Path inside the Cloud Storage bucket to write data to.
string path = 1;- Returns:
- The bytes for path.
-
getFileRotationMb
int getFileRotationMb()
The maximum file size to be saved in the bucket.
int32 file_rotation_mb = 2;- Returns:
- The fileRotationMb.
-
hasFileRotationInterval
boolean hasFileRotationInterval()
The maximum duration for which new events are added before a file is closed and a new file is created. Values within the range of 15-60 seconds are allowed.
.google.protobuf.Duration file_rotation_interval = 3;- Returns:
- Whether the fileRotationInterval field is set.
-
getFileRotationInterval
com.google.protobuf.Duration getFileRotationInterval()
The maximum duration for which new events are added before a file is closed and a new file is created. Values within the range of 15-60 seconds are allowed.
.google.protobuf.Duration file_rotation_interval = 3;- Returns:
- The fileRotationInterval.
-
getFileRotationIntervalOrBuilder
com.google.protobuf.DurationOrBuilder getFileRotationIntervalOrBuilder()
The maximum duration for which new events are added before a file is closed and a new file is created. Values within the range of 15-60 seconds are allowed.
.google.protobuf.Duration file_rotation_interval = 3;
-
hasAvroFileFormat
boolean hasAvroFileFormat()
AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;- Returns:
- Whether the avroFileFormat field is set.
-
getAvroFileFormat
AvroFileFormat getAvroFileFormat()
AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;- Returns:
- The avroFileFormat.
-
getAvroFileFormatOrBuilder
AvroFileFormatOrBuilder getAvroFileFormatOrBuilder()
AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;
-
hasJsonFileFormat
boolean hasJsonFileFormat()
JSON file format configuration.
.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;- Returns:
- Whether the jsonFileFormat field is set.
-
getJsonFileFormat
JsonFileFormat getJsonFileFormat()
JSON file format configuration.
.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;- Returns:
- The jsonFileFormat.
-
getJsonFileFormatOrBuilder
JsonFileFormatOrBuilder getJsonFileFormatOrBuilder()
JSON file format configuration.
.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;
-
getFileFormatCase
GcsDestinationConfig.FileFormatCase getFileFormatCase()
-
-