public static final class GcsDestinationConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GcsDestinationConfig.Builder> implements GcsDestinationConfigOrBuilder
Google Cloud Storage destination configurationProtobuf type
google.cloud.datastream.v1.GcsDestinationConfig| Modifier and Type | Method and Description |
|---|---|
GcsDestinationConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GcsDestinationConfig |
build() |
GcsDestinationConfig |
buildPartial() |
GcsDestinationConfig.Builder |
clear() |
GcsDestinationConfig.Builder |
clearAvroFileFormat()
AVRO file format configuration.
|
GcsDestinationConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
GcsDestinationConfig.Builder |
clearFileFormat() |
GcsDestinationConfig.Builder |
clearFileRotationInterval()
The maximum duration for which new events are added before a file is
closed and a new file is created.
|
GcsDestinationConfig.Builder |
clearFileRotationMb()
The maximum file size to be saved in the bucket.
|
GcsDestinationConfig.Builder |
clearJsonFileFormat()
JSON file format configuration.
|
GcsDestinationConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GcsDestinationConfig.Builder |
clearPath()
Path inside the Cloud Storage bucket to write data to.
|
GcsDestinationConfig.Builder |
clone() |
AvroFileFormat |
getAvroFileFormat()
AVRO file format configuration.
|
AvroFileFormat.Builder |
getAvroFileFormatBuilder()
AVRO file format configuration.
|
AvroFileFormatOrBuilder |
getAvroFileFormatOrBuilder()
AVRO file format configuration.
|
GcsDestinationConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
GcsDestinationConfig.FileFormatCase |
getFileFormatCase() |
com.google.protobuf.Duration |
getFileRotationInterval()
The maximum duration for which new events are added before a file is
closed and a new file is created.
|
com.google.protobuf.Duration.Builder |
getFileRotationIntervalBuilder()
The maximum duration for which new events are added before a file is
closed and a new file is created.
|
com.google.protobuf.DurationOrBuilder |
getFileRotationIntervalOrBuilder()
The maximum duration for which new events are added before a file is
closed and a new file is created.
|
int |
getFileRotationMb()
The maximum file size to be saved in the bucket.
|
JsonFileFormat |
getJsonFileFormat()
JSON file format configuration.
|
JsonFileFormat.Builder |
getJsonFileFormatBuilder()
JSON file format configuration.
|
JsonFileFormatOrBuilder |
getJsonFileFormatOrBuilder()
JSON file format configuration.
|
String |
getPath()
Path inside the Cloud Storage bucket to write data to.
|
com.google.protobuf.ByteString |
getPathBytes()
Path inside the Cloud Storage bucket to write data to.
|
boolean |
hasAvroFileFormat()
AVRO file format configuration.
|
boolean |
hasFileRotationInterval()
The maximum duration for which new events are added before a file is
closed and a new file is created.
|
boolean |
hasJsonFileFormat()
JSON file format configuration.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GcsDestinationConfig.Builder |
mergeAvroFileFormat(AvroFileFormat value)
AVRO file format configuration.
|
GcsDestinationConfig.Builder |
mergeFileRotationInterval(com.google.protobuf.Duration value)
The maximum duration for which new events are added before a file is
closed and a new file is created.
|
GcsDestinationConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GcsDestinationConfig.Builder |
mergeFrom(GcsDestinationConfig other) |
GcsDestinationConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
GcsDestinationConfig.Builder |
mergeJsonFileFormat(JsonFileFormat value)
JSON file format configuration.
|
GcsDestinationConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GcsDestinationConfig.Builder |
setAvroFileFormat(AvroFileFormat.Builder builderForValue)
AVRO file format configuration.
|
GcsDestinationConfig.Builder |
setAvroFileFormat(AvroFileFormat value)
AVRO file format configuration.
|
GcsDestinationConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GcsDestinationConfig.Builder |
setFileRotationInterval(com.google.protobuf.Duration.Builder builderForValue)
The maximum duration for which new events are added before a file is
closed and a new file is created.
|
GcsDestinationConfig.Builder |
setFileRotationInterval(com.google.protobuf.Duration value)
The maximum duration for which new events are added before a file is
closed and a new file is created.
|
GcsDestinationConfig.Builder |
setFileRotationMb(int value)
The maximum file size to be saved in the bucket.
|
GcsDestinationConfig.Builder |
setJsonFileFormat(JsonFileFormat.Builder builderForValue)
JSON file format configuration.
|
GcsDestinationConfig.Builder |
setJsonFileFormat(JsonFileFormat value)
JSON file format configuration.
|
GcsDestinationConfig.Builder |
setPath(String value)
Path inside the Cloud Storage bucket to write data to.
|
GcsDestinationConfig.Builder |
setPathBytes(com.google.protobuf.ByteString value)
Path inside the Cloud Storage bucket to write data to.
|
GcsDestinationConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
GcsDestinationConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GcsDestinationConfig.Builder>public GcsDestinationConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<GcsDestinationConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GcsDestinationConfig.Builder>public GcsDestinationConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GcsDestinationConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GcsDestinationConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GcsDestinationConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<GcsDestinationConfig.Builder>public GcsDestinationConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<GcsDestinationConfig.Builder>public GcsDestinationConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<GcsDestinationConfig.Builder>public GcsDestinationConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GcsDestinationConfig.Builder>public GcsDestinationConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GcsDestinationConfig.Builder>public GcsDestinationConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GcsDestinationConfig.Builder>public GcsDestinationConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GcsDestinationConfig.Builder>public GcsDestinationConfig.Builder mergeFrom(GcsDestinationConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GcsDestinationConfig.Builder>public GcsDestinationConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GcsDestinationConfig.Builder>IOExceptionpublic GcsDestinationConfig.FileFormatCase getFileFormatCase()
getFileFormatCase in interface GcsDestinationConfigOrBuilderpublic GcsDestinationConfig.Builder clearFileFormat()
public String getPath()
Path inside the Cloud Storage bucket to write data to.
string path = 1;getPath in interface GcsDestinationConfigOrBuilderpublic com.google.protobuf.ByteString getPathBytes()
Path inside the Cloud Storage bucket to write data to.
string path = 1;getPathBytes in interface GcsDestinationConfigOrBuilderpublic GcsDestinationConfig.Builder setPath(String value)
Path inside the Cloud Storage bucket to write data to.
string path = 1;value - The path to set.public GcsDestinationConfig.Builder clearPath()
Path inside the Cloud Storage bucket to write data to.
string path = 1;public GcsDestinationConfig.Builder setPathBytes(com.google.protobuf.ByteString value)
Path inside the Cloud Storage bucket to write data to.
string path = 1;value - The bytes for path to set.public int getFileRotationMb()
The maximum file size to be saved in the bucket.
int32 file_rotation_mb = 2;getFileRotationMb in interface GcsDestinationConfigOrBuilderpublic GcsDestinationConfig.Builder setFileRotationMb(int value)
The maximum file size to be saved in the bucket.
int32 file_rotation_mb = 2;value - The fileRotationMb to set.public GcsDestinationConfig.Builder clearFileRotationMb()
The maximum file size to be saved in the bucket.
int32 file_rotation_mb = 2;public 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 = 3;hasFileRotationInterval in interface GcsDestinationConfigOrBuilderpublic com.google.protobuf.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 = 3;getFileRotationInterval in interface GcsDestinationConfigOrBuilderpublic GcsDestinationConfig.Builder setFileRotationInterval(com.google.protobuf.Duration value)
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 = 3;public GcsDestinationConfig.Builder setFileRotationInterval(com.google.protobuf.Duration.Builder builderForValue)
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 = 3;public GcsDestinationConfig.Builder mergeFileRotationInterval(com.google.protobuf.Duration value)
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 = 3;public GcsDestinationConfig.Builder clearFileRotationInterval()
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 = 3;public com.google.protobuf.Duration.Builder getFileRotationIntervalBuilder()
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 = 3;public com.google.protobuf.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 = 3;getFileRotationIntervalOrBuilder in interface GcsDestinationConfigOrBuilderpublic boolean hasAvroFileFormat()
AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;hasAvroFileFormat in interface GcsDestinationConfigOrBuilderpublic AvroFileFormat getAvroFileFormat()
AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;getAvroFileFormat in interface GcsDestinationConfigOrBuilderpublic GcsDestinationConfig.Builder setAvroFileFormat(AvroFileFormat value)
AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;public GcsDestinationConfig.Builder setAvroFileFormat(AvroFileFormat.Builder builderForValue)
AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;public GcsDestinationConfig.Builder mergeAvroFileFormat(AvroFileFormat value)
AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;public GcsDestinationConfig.Builder clearAvroFileFormat()
AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;public AvroFileFormat.Builder getAvroFileFormatBuilder()
AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;public AvroFileFormatOrBuilder getAvroFileFormatOrBuilder()
AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;getAvroFileFormatOrBuilder in interface GcsDestinationConfigOrBuilderpublic boolean hasJsonFileFormat()
JSON file format configuration.
.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;hasJsonFileFormat in interface GcsDestinationConfigOrBuilderpublic JsonFileFormat getJsonFileFormat()
JSON file format configuration.
.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;getJsonFileFormat in interface GcsDestinationConfigOrBuilderpublic GcsDestinationConfig.Builder setJsonFileFormat(JsonFileFormat value)
JSON file format configuration.
.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;public GcsDestinationConfig.Builder setJsonFileFormat(JsonFileFormat.Builder builderForValue)
JSON file format configuration.
.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;public GcsDestinationConfig.Builder mergeJsonFileFormat(JsonFileFormat value)
JSON file format configuration.
.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;public GcsDestinationConfig.Builder clearJsonFileFormat()
JSON file format configuration.
.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;public JsonFileFormat.Builder getJsonFileFormatBuilder()
JSON file format configuration.
.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;public JsonFileFormatOrBuilder getJsonFileFormatOrBuilder()
JSON file format configuration.
.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;getJsonFileFormatOrBuilder in interface GcsDestinationConfigOrBuilderpublic final GcsDestinationConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GcsDestinationConfig.Builder>public final GcsDestinationConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GcsDestinationConfig.Builder>Copyright © 2022 Google LLC. All rights reserved.