Interface GcsDestinationConfigOrBuilder (1.48.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
Type Description
AvroFileFormat

The avroFileFormat.

getAvroFileFormatOrBuilder()

public abstract AvroFileFormatOrBuilder getAvroFileFormatOrBuilder()

AVRO file format configuration.

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

Returns
Type Description
AvroFileFormatOrBuilder

getFileFormatCase()

public abstract GcsDestinationConfig.FileFormatCase getFileFormatCase()
Returns
Type Description
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
Type Description
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
Type Description
DurationOrBuilder

getFileRotationMb()

public abstract int getFileRotationMb()

The maximum file size to be saved in the bucket.

int32 file_rotation_mb = 3;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
JsonFileFormat

The jsonFileFormat.

getJsonFileFormatOrBuilder()

public abstract JsonFileFormatOrBuilder getJsonFileFormatOrBuilder()

JSON file format configuration.

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

Returns
Type Description
JsonFileFormatOrBuilder

getPath()

public abstract String getPath()

Path inside the Cloud Storage bucket to write data to.

string path = 1;

Returns
Type Description
String

The path.

getPathBytes()

public abstract ByteString getPathBytes()

Path inside the Cloud Storage bucket to write data to.

string path = 1;

Returns
Type Description
ByteString

The bytes for path.

hasAvroFileFormat()

public abstract boolean hasAvroFileFormat()

AVRO file format configuration.

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

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the jsonFileFormat field is set.