[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface GcsDestinationConfigOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.datastream.v1.GcsDestinationConfigOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.datastream.v1.GcsDestinationConfigOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.datastream.v1.GcsDestinationConfigOrBuilder) \n\n public interface GcsDestinationConfigOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getAvroFileFormat()\n\n public abstract AvroFileFormat getAvroFileFormat()\n\nAVRO file format configuration.\n\n`.google.events.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;`\n\n### getAvroFileFormatOrBuilder()\n\n public abstract AvroFileFormatOrBuilder getAvroFileFormatOrBuilder()\n\nAVRO file format configuration.\n\n`.google.events.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;`\n\n### getFileFormatCase()\n\n public abstract GcsDestinationConfig.FileFormatCase getFileFormatCase()\n\n### getFileRotationInterval()\n\n public abstract Duration getFileRotationInterval()\n\nThe maximum duration for which new events are added before a file is\nclosed and a new file is created.\n\n`.google.protobuf.Duration file_rotation_interval = 3;`\n\n### getFileRotationIntervalOrBuilder()\n\n public abstract DurationOrBuilder getFileRotationIntervalOrBuilder()\n\nThe maximum duration for which new events are added before a file is\nclosed and a new file is created.\n\n`.google.protobuf.Duration file_rotation_interval = 3;`\n\n### getFileRotationMb()\n\n public abstract int getFileRotationMb()\n\nThe maximum file size to be saved in the bucket.\n\n`int32 file_rotation_mb = 2;`\n\n### getJsonFileFormat()\n\n public abstract JsonFileFormat getJsonFileFormat()\n\nJSON file format configuration.\n\n`.google.events.cloud.datastream.v1.JsonFileFormat json_file_format = 101;`\n\n### getJsonFileFormatOrBuilder()\n\n public abstract JsonFileFormatOrBuilder getJsonFileFormatOrBuilder()\n\nJSON file format configuration.\n\n`.google.events.cloud.datastream.v1.JsonFileFormat json_file_format = 101;`\n\n### getPath()\n\n public abstract String getPath()\n\nPath inside the Cloud Storage bucket to write data to.\n\n`string path = 1;`\n\n### getPathBytes()\n\n public abstract ByteString getPathBytes()\n\nPath inside the Cloud Storage bucket to write data to.\n\n`string path = 1;`\n\n### hasAvroFileFormat()\n\n public abstract boolean hasAvroFileFormat()\n\nAVRO file format configuration.\n\n`.google.events.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;`\n\n### hasFileRotationInterval()\n\n public abstract boolean hasFileRotationInterval()\n\nThe maximum duration for which new events are added before a file is\nclosed and a new file is created.\n\n`.google.protobuf.Duration file_rotation_interval = 3;`\n\n### hasJsonFileFormat()\n\n public abstract boolean hasJsonFileFormat()\n\nJSON file format configuration.\n\n`.google.events.cloud.datastream.v1.JsonFileFormat json_file_format = 101;`"]]