public static final class GcsDestinationConfig.Builder extends GeneratedMessageV3.Builder<GcsDestinationConfig.Builder> implements GcsDestinationConfigOrBuilderGoogle Cloud Storage destination configuration
Protobuf type google.cloud.datastream.v1.GcsDestinationConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GcsDestinationConfig.BuilderImplements
GcsDestinationConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GcsDestinationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| GcsDestinationConfig.Builder |
build()
public GcsDestinationConfig build()| Type | Description |
| GcsDestinationConfig |
buildPartial()
public GcsDestinationConfig buildPartial()| Type | Description |
| GcsDestinationConfig |
clear()
public GcsDestinationConfig.Builder clear()| Type | Description |
| GcsDestinationConfig.Builder |
clearAvroFileFormat()
public GcsDestinationConfig.Builder clearAvroFileFormat()AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;
| Type | Description |
| GcsDestinationConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public GcsDestinationConfig.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| GcsDestinationConfig.Builder |
clearFileFormat()
public GcsDestinationConfig.Builder clearFileFormat()| Type | Description |
| GcsDestinationConfig.Builder |
clearFileRotationInterval()
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;
| Type | Description |
| GcsDestinationConfig.Builder |
clearFileRotationMb()
public GcsDestinationConfig.Builder clearFileRotationMb()The maximum file size to be saved in the bucket.
int32 file_rotation_mb = 2;
| Type | Description |
| GcsDestinationConfig.Builder | This builder for chaining. |
clearJsonFileFormat()
public GcsDestinationConfig.Builder clearJsonFileFormat()JSON file format configuration.
.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;
| Type | Description |
| GcsDestinationConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public GcsDestinationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| GcsDestinationConfig.Builder |
clearPath()
public GcsDestinationConfig.Builder clearPath()Path inside the Cloud Storage bucket to write data to.
string path = 1;
| Type | Description |
| GcsDestinationConfig.Builder | This builder for chaining. |
clone()
public GcsDestinationConfig.Builder clone()| Type | Description |
| GcsDestinationConfig.Builder |
getAvroFileFormat()
public AvroFileFormat getAvroFileFormat()AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;
| Type | Description |
| AvroFileFormat | The avroFileFormat. |
getAvroFileFormatBuilder()
public AvroFileFormat.Builder getAvroFileFormatBuilder()AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;
| Type | Description |
| AvroFileFormat.Builder |
getAvroFileFormatOrBuilder()
public AvroFileFormatOrBuilder getAvroFileFormatOrBuilder()AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;
| Type | Description |
| AvroFileFormatOrBuilder |
getDefaultInstanceForType()
public GcsDestinationConfig getDefaultInstanceForType()| Type | Description |
| GcsDestinationConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getFileFormatCase()
public GcsDestinationConfig.FileFormatCase getFileFormatCase()| Type | Description |
| GcsDestinationConfig.FileFormatCase |
getFileRotationInterval()
public 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;
| Type | Description |
| Duration | The fileRotationInterval. |
getFileRotationIntervalBuilder()
public 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;
| Type | Description |
| Builder |
getFileRotationIntervalOrBuilder()
public 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;
| Type | Description |
| DurationOrBuilder |
getFileRotationMb()
public int getFileRotationMb()The maximum file size to be saved in the bucket.
int32 file_rotation_mb = 2;
| Type | Description |
| int | The fileRotationMb. |
getJsonFileFormat()
public JsonFileFormat getJsonFileFormat()JSON file format configuration.
.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;
| Type | Description |
| JsonFileFormat | The jsonFileFormat. |
getJsonFileFormatBuilder()
public JsonFileFormat.Builder getJsonFileFormatBuilder()JSON file format configuration.
.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;
| Type | Description |
| JsonFileFormat.Builder |
getJsonFileFormatOrBuilder()
public JsonFileFormatOrBuilder getJsonFileFormatOrBuilder()JSON file format configuration.
.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;
| Type | Description |
| JsonFileFormatOrBuilder |
getPath()
public String getPath()Path inside the Cloud Storage bucket to write data to.
string path = 1;
| Type | Description |
| String | The path. |
getPathBytes()
public ByteString getPathBytes()Path inside the Cloud Storage bucket to write data to.
string path = 1;
| Type | Description |
| ByteString | The bytes for path. |
hasAvroFileFormat()
public boolean hasAvroFileFormat()AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;
| Type | Description |
| boolean | Whether the avroFileFormat field is set. |
hasFileRotationInterval()
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;
| Type | Description |
| boolean | Whether the fileRotationInterval field is set. |
hasJsonFileFormat()
public boolean hasJsonFileFormat()JSON file format configuration.
.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;
| Type | Description |
| boolean | Whether the jsonFileFormat field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeAvroFileFormat(AvroFileFormat value)
public GcsDestinationConfig.Builder mergeAvroFileFormat(AvroFileFormat value)AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;
| Name | Description |
| value | AvroFileFormat |
| Type | Description |
| GcsDestinationConfig.Builder |
mergeFileRotationInterval(Duration value)
public GcsDestinationConfig.Builder mergeFileRotationInterval(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;
| Name | Description |
| value | Duration |
| Type | Description |
| GcsDestinationConfig.Builder |
mergeFrom(GcsDestinationConfig other)
public GcsDestinationConfig.Builder mergeFrom(GcsDestinationConfig other)| Name | Description |
| other | GcsDestinationConfig |
| Type | Description |
| GcsDestinationConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GcsDestinationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| GcsDestinationConfig.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public GcsDestinationConfig.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| GcsDestinationConfig.Builder |
mergeJsonFileFormat(JsonFileFormat value)
public GcsDestinationConfig.Builder mergeJsonFileFormat(JsonFileFormat value)JSON file format configuration.
.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;
| Name | Description |
| value | JsonFileFormat |
| Type | Description |
| GcsDestinationConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GcsDestinationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| GcsDestinationConfig.Builder |
setAvroFileFormat(AvroFileFormat value)
public GcsDestinationConfig.Builder setAvroFileFormat(AvroFileFormat value)AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;
| Name | Description |
| value | AvroFileFormat |
| Type | Description |
| GcsDestinationConfig.Builder |
setAvroFileFormat(AvroFileFormat.Builder builderForValue)
public GcsDestinationConfig.Builder setAvroFileFormat(AvroFileFormat.Builder builderForValue)AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;
| Name | Description |
| builderForValue | AvroFileFormat.Builder |
| Type | Description |
| GcsDestinationConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GcsDestinationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| GcsDestinationConfig.Builder |
setFileRotationInterval(Duration value)
public GcsDestinationConfig.Builder setFileRotationInterval(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;
| Name | Description |
| value | Duration |
| Type | Description |
| GcsDestinationConfig.Builder |
setFileRotationInterval(Duration.Builder builderForValue)
public GcsDestinationConfig.Builder setFileRotationInterval(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;
| Name | Description |
| builderForValue | Builder |
| Type | Description |
| GcsDestinationConfig.Builder |
setFileRotationMb(int value)
public GcsDestinationConfig.Builder setFileRotationMb(int value)The maximum file size to be saved in the bucket.
int32 file_rotation_mb = 2;
| Name | Description |
| value | intThe fileRotationMb to set. |
| Type | Description |
| GcsDestinationConfig.Builder | This builder for chaining. |
setJsonFileFormat(JsonFileFormat value)
public GcsDestinationConfig.Builder setJsonFileFormat(JsonFileFormat value)JSON file format configuration.
.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;
| Name | Description |
| value | JsonFileFormat |
| Type | Description |
| GcsDestinationConfig.Builder |
setJsonFileFormat(JsonFileFormat.Builder builderForValue)
public GcsDestinationConfig.Builder setJsonFileFormat(JsonFileFormat.Builder builderForValue)JSON file format configuration.
.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;
| Name | Description |
| builderForValue | JsonFileFormat.Builder |
| Type | Description |
| GcsDestinationConfig.Builder |
setPath(String value)
public GcsDestinationConfig.Builder setPath(String value)Path inside the Cloud Storage bucket to write data to.
string path = 1;
| Name | Description |
| value | StringThe path to set. |
| Type | Description |
| GcsDestinationConfig.Builder | This builder for chaining. |
setPathBytes(ByteString value)
public GcsDestinationConfig.Builder setPathBytes(ByteString value)Path inside the Cloud Storage bucket to write data to.
string path = 1;
| Name | Description |
| value | ByteStringThe bytes for path to set. |
| Type | Description |
| GcsDestinationConfig.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GcsDestinationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| GcsDestinationConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GcsDestinationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| GcsDestinationConfig.Builder |