Interface GcsDestinationConfigOrBuilder (1.35.0)

public interface GcsDestinationConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAvroFileFormat()

public abstract AvroFileFormat getAvroFileFormat()

AVRO file format configuration.

.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;

Returns
TypeDescription
AvroFileFormat

The avroFileFormat.

getAvroFileFormatOrBuilder()

public abstract AvroFileFormatOrBuilder getAvroFileFormatOrBuilder()

AVRO file format configuration.

.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;

Returns
TypeDescription
AvroFileFormatOrBuilder

getFileFormatCase()

public abstract GcsDestinationConfig.FileFormatCase getFileFormatCase()
Returns
TypeDescription
GcsDestinationConfig.FileFormatCase

getFileRotationInterval()

public abstract 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
TypeDescription
Duration

The fileRotationInterval.

getFileRotationIntervalOrBuilder()

public abstract 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;

Returns
TypeDescription
DurationOrBuilder

getFileRotationMb()

public abstract int getFileRotationMb()

The maximum file size to be saved in the bucket.

int32 file_rotation_mb = 2;

Returns
TypeDescription
int

The fileRotationMb.

getJsonFileFormat()

public abstract JsonFileFormat getJsonFileFormat()

JSON file format configuration.

.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;

Returns
TypeDescription
JsonFileFormat

The jsonFileFormat.

getJsonFileFormatOrBuilder()

public abstract JsonFileFormatOrBuilder getJsonFileFormatOrBuilder()

JSON file format configuration.

.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;

Returns
TypeDescription
JsonFileFormatOrBuilder

getPath()

public abstract String getPath()

Path inside the Cloud Storage bucket to write data to.

string path = 1;

Returns
TypeDescription
String

The path.

getPathBytes()

public abstract ByteString getPathBytes()

Path inside the Cloud Storage bucket to write data to.

string path = 1;

Returns
TypeDescription
ByteString

The bytes for path.

hasAvroFileFormat()

public abstract boolean hasAvroFileFormat()

AVRO file format configuration.

.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;

Returns
TypeDescription
boolean

Whether the avroFileFormat field is set.

hasFileRotationInterval()

public abstract 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
TypeDescription
boolean

Whether the fileRotationInterval field is set.

hasJsonFileFormat()

public abstract boolean hasJsonFileFormat()

JSON file format configuration.

.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;

Returns
TypeDescription
boolean

Whether the jsonFileFormat field is set.