- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.2
- 1.1.1
- 1.0.0
- 0.4.2
public static final class GcsDestinationConfig.Builder extends GeneratedMessageV3.Builder<GcsDestinationConfig.Builder> implements GcsDestinationConfigOrBuilder
Google 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GcsDestinationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
GcsDestinationConfig.Builder |
build()
public GcsDestinationConfig build()
Returns | |
---|---|
Type | Description |
GcsDestinationConfig |
buildPartial()
public GcsDestinationConfig buildPartial()
Returns | |
---|---|
Type | Description |
GcsDestinationConfig |
clear()
public GcsDestinationConfig.Builder clear()
Returns | |
---|---|
Type | Description |
GcsDestinationConfig.Builder |
clearAvroFileFormat()
public GcsDestinationConfig.Builder clearAvroFileFormat()
AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;
Returns | |
---|---|
Type | Description |
GcsDestinationConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public GcsDestinationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
GcsDestinationConfig.Builder |
clearFileFormat()
public GcsDestinationConfig.Builder clearFileFormat()
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
GcsDestinationConfig.Builder |
clearFileRotationMb()
public GcsDestinationConfig.Builder clearFileRotationMb()
The maximum file size to be saved in the bucket.
int32 file_rotation_mb = 2;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
GcsDestinationConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public GcsDestinationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
GcsDestinationConfig.Builder |
clearPath()
public GcsDestinationConfig.Builder clearPath()
Path inside the Cloud Storage bucket to write data to.
string path = 1;
Returns | |
---|---|
Type | Description |
GcsDestinationConfig.Builder | This builder for chaining. |
clone()
public GcsDestinationConfig.Builder clone()
Returns | |
---|---|
Type | Description |
GcsDestinationConfig.Builder |
getAvroFileFormat()
public AvroFileFormat getAvroFileFormat()
AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;
Returns | |
---|---|
Type | Description |
AvroFileFormat | The avroFileFormat. |
getAvroFileFormatBuilder()
public AvroFileFormat.Builder getAvroFileFormatBuilder()
AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;
Returns | |
---|---|
Type | Description |
AvroFileFormat.Builder |
getAvroFileFormatOrBuilder()
public AvroFileFormatOrBuilder getAvroFileFormatOrBuilder()
AVRO file format configuration.
.google.cloud.datastream.v1.AvroFileFormat avro_file_format = 100;
Returns | |
---|---|
Type | Description |
AvroFileFormatOrBuilder |
getDefaultInstanceForType()
public GcsDestinationConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GcsDestinationConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFileFormatCase()
public GcsDestinationConfig.FileFormatCase getFileFormatCase()
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
getFileRotationMb()
public 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 JsonFileFormat getJsonFileFormat()
JSON file format configuration.
.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;
Returns | |
---|---|
Type | Description |
JsonFileFormat | The jsonFileFormat. |
getJsonFileFormatBuilder()
public JsonFileFormat.Builder getJsonFileFormatBuilder()
JSON file format configuration.
.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;
Returns | |
---|---|
Type | Description |
JsonFileFormat.Builder |
getJsonFileFormatOrBuilder()
public JsonFileFormatOrBuilder getJsonFileFormatOrBuilder()
JSON file format configuration.
.google.cloud.datastream.v1.JsonFileFormat json_file_format = 101;
Returns | |
---|---|
Type | Description |
JsonFileFormatOrBuilder |
getPath()
public String getPath()
Path inside the Cloud Storage bucket to write data to.
string path = 1;
Returns | |
---|---|
Type | Description |
String | The path. |
getPathBytes()
public 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 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 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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the jsonFileFormat field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | AvroFileFormat |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Duration |
Returns | |
---|---|
Type | Description |
GcsDestinationConfig.Builder |
mergeFrom(GcsDestinationConfig other)
public GcsDestinationConfig.Builder mergeFrom(GcsDestinationConfig other)
Parameter | |
---|---|
Name | Description |
other | GcsDestinationConfig |
Returns | |
---|---|
Type | Description |
GcsDestinationConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GcsDestinationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GcsDestinationConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GcsDestinationConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | JsonFileFormat |
Returns | |
---|---|
Type | Description |
GcsDestinationConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GcsDestinationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | AvroFileFormat |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | AvroFileFormat.Builder |
Returns | |
---|---|
Type | Description |
GcsDestinationConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GcsDestinationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Duration |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | int The fileRotationMb to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | JsonFileFormat |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | JsonFileFormat.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The path to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for path to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
GcsDestinationConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GcsDestinationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GcsDestinationConfig.Builder |