public interface GcsDestinationConfigOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAvroFileFormat()
public abstract AvroFileFormat getAvroFileFormat()AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;
| Returns | |
|---|---|
| Type | Description |
AvroFileFormat |
The avroFileFormat. |
getAvroFileFormatOrBuilder()
public abstract AvroFileFormatOrBuilder getAvroFileFormatOrBuilder()AVRO file format configuration.
.google.cloud.datastream.v1.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. Values within the range of 15-60 seconds are allowed.
.google.protobuf.Duration file_rotation_interval = 3;
| 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. Values within the range of 15-60 seconds are allowed.
.google.protobuf.Duration file_rotation_interval = 3;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getFileRotationMb()
public abstract int getFileRotationMb()The maximum file size to be saved in the bucket.
int32 file_rotation_mb = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The fileRotationMb. |
getJsonFileFormat()
public abstract JsonFileFormat getJsonFileFormat()JSON file format configuration.
.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;
| Returns | |
|---|---|
| Type | Description |
JsonFileFormat |
The jsonFileFormat. |
getJsonFileFormatOrBuilder()
public abstract JsonFileFormatOrBuilder getJsonFileFormatOrBuilder()JSON file format configuration.
.google.cloud.datastream.v1.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.v1.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. Values within the range of 15-60 seconds are allowed.
.google.protobuf.Duration file_rotation_interval = 3;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
boolean |
Whether the jsonFileFormat field is set. |