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 Deprecated Methods Modifier and Type Method Description AvroFileFormat
getAvroFileFormat()
AVRO file format configuration.AvroFileFormatOrBuilder
getAvroFileFormatOrBuilder()
AVRO file format configuration.GcsDestinationConfig.FileFormatCase
getFileFormatCase()
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.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.int
getFileRotationMb()
The maximum file size to be saved in the bucket.GcsFileFormat
getGcsFileFormat()
Deprecated.google.cloud.datastream.v1alpha1.GcsDestinationConfig.gcs_file_format is deprecated.int
getGcsFileFormatValue()
Deprecated.google.cloud.datastream.v1alpha1.GcsDestinationConfig.gcs_file_format is deprecated.JsonFileFormat
getJsonFileFormat()
JSON file format configuration.JsonFileFormatOrBuilder
getJsonFileFormatOrBuilder()
JSON file format configuration.String
getPath()
Path inside the Cloud Storage bucket to write data to.com.google.protobuf.ByteString
getPathBytes()
Path inside the Cloud Storage bucket to write data to.boolean
hasAvroFileFormat()
AVRO file format configuration.boolean
hasFileRotationInterval()
The maximum duration for which new events are added before a file is closed and a new file is created.boolean
hasJsonFileFormat()
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.
-
getGcsFileFormatValue
@Deprecated int getGcsFileFormatValue()
Deprecated.google.cloud.datastream.v1alpha1.GcsDestinationConfig.gcs_file_format is deprecated. See google/cloud/datastream/v1alpha1/datastream_resources.proto;l=476File format that data should be written in. Deprecated field - use file_format instead.
.google.cloud.datastream.v1alpha1.GcsFileFormat gcs_file_format = 2 [deprecated = true];
- Returns:
- The enum numeric value on the wire for gcsFileFormat.
-
getGcsFileFormat
@Deprecated GcsFileFormat getGcsFileFormat()
Deprecated.google.cloud.datastream.v1alpha1.GcsDestinationConfig.gcs_file_format is deprecated. See google/cloud/datastream/v1alpha1/datastream_resources.proto;l=476File format that data should be written in. Deprecated field - use file_format instead.
.google.cloud.datastream.v1alpha1.GcsFileFormat gcs_file_format = 2 [deprecated = true];
- Returns:
- The gcsFileFormat.
-
getFileRotationMb
int getFileRotationMb()
The maximum file size to be saved in the bucket.
int32 file_rotation_mb = 3;
- 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.
.google.protobuf.Duration file_rotation_interval = 4;
- 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.
.google.protobuf.Duration file_rotation_interval = 4;
- 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.
.google.protobuf.Duration file_rotation_interval = 4;
-
hasAvroFileFormat
boolean hasAvroFileFormat()
AVRO file format configuration.
.google.cloud.datastream.v1alpha1.AvroFileFormat avro_file_format = 100;
- Returns:
- Whether the avroFileFormat field is set.
-
getAvroFileFormat
AvroFileFormat getAvroFileFormat()
AVRO file format configuration.
.google.cloud.datastream.v1alpha1.AvroFileFormat avro_file_format = 100;
- Returns:
- The avroFileFormat.
-
getAvroFileFormatOrBuilder
AvroFileFormatOrBuilder getAvroFileFormatOrBuilder()
AVRO file format configuration.
.google.cloud.datastream.v1alpha1.AvroFileFormat avro_file_format = 100;
-
hasJsonFileFormat
boolean hasJsonFileFormat()
JSON file format configuration.
.google.cloud.datastream.v1alpha1.JsonFileFormat json_file_format = 101;
- Returns:
- Whether the jsonFileFormat field is set.
-
getJsonFileFormat
JsonFileFormat getJsonFileFormat()
JSON file format configuration.
.google.cloud.datastream.v1alpha1.JsonFileFormat json_file_format = 101;
- Returns:
- The jsonFileFormat.
-
getJsonFileFormatOrBuilder
JsonFileFormatOrBuilder getJsonFileFormatOrBuilder()
JSON file format configuration.
.google.cloud.datastream.v1alpha1.JsonFileFormat json_file_format = 101;
-
getFileFormatCase
GcsDestinationConfig.FileFormatCase getFileFormatCase()
-
-