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.v1alpha1.AvroFileFormat avro_file_format = 100;

Returns
TypeDescription
AvroFileFormat

The avroFileFormat.

getAvroFileFormatOrBuilder()

public abstract AvroFileFormatOrBuilder getAvroFileFormatOrBuilder()

AVRO file format configuration.

.google.cloud.datastream.v1alpha1.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.

.google.protobuf.Duration file_rotation_interval = 4;

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.

.google.protobuf.Duration file_rotation_interval = 4;

Returns
TypeDescription
DurationOrBuilder

getFileRotationMb()

public abstract int getFileRotationMb()

The maximum file size to be saved in the bucket.

int32 file_rotation_mb = 3;

Returns
TypeDescription
int

The fileRotationMb.

getGcsFileFormat() (deprecated)

public abstract GcsFileFormat getGcsFileFormat()

Deprecated. google.cloud.datastream.v1alpha1.GcsDestinationConfig.gcs_file_format is deprecated. See google/cloud/datastream/v1alpha1/datastream_resources.proto;l=476

File 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
TypeDescription
GcsFileFormat

The gcsFileFormat.

getGcsFileFormatValue() (deprecated)

public abstract int getGcsFileFormatValue()

Deprecated. google.cloud.datastream.v1alpha1.GcsDestinationConfig.gcs_file_format is deprecated. See google/cloud/datastream/v1alpha1/datastream_resources.proto;l=476

File 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
TypeDescription
int

The enum numeric value on the wire for gcsFileFormat.

getJsonFileFormat()

public abstract JsonFileFormat getJsonFileFormat()

JSON file format configuration.

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

Returns
TypeDescription
JsonFileFormat

The jsonFileFormat.

getJsonFileFormatOrBuilder()

public abstract JsonFileFormatOrBuilder getJsonFileFormatOrBuilder()

JSON file format configuration.

.google.cloud.datastream.v1alpha1.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.v1alpha1.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.

.google.protobuf.Duration file_rotation_interval = 4;

Returns
TypeDescription
boolean

Whether the fileRotationInterval field is set.

hasJsonFileFormat()

public abstract boolean hasJsonFileFormat()

JSON file format configuration.

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

Returns
TypeDescription
boolean

Whether the jsonFileFormat field is set.