- 1.46.0 (latest)
- 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.v1alpha1.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.v1alpha1.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 = 4;
Type | Description |
GcsDestinationConfig.Builder |
clearFileRotationMb()
public GcsDestinationConfig.Builder clearFileRotationMb()
The maximum file size to be saved in the bucket.
int32 file_rotation_mb = 3;
Type | Description |
GcsDestinationConfig.Builder | This builder for chaining. |
clearGcsFileFormat() (deprecated)
public GcsDestinationConfig.Builder clearGcsFileFormat()
Deprecated. google.cloud.datastream.v1alpha1.GcsDestinationConfig.gcs_file_format is deprecated. See google/cloud/datastream/v1alpha1/datastream_resources.proto;l=476
File format that data should be written in. Deprecated field - use file_format instead.
.google.cloud.datastream.v1alpha1.GcsFileFormat gcs_file_format = 2 [deprecated = true];
Type | Description |
GcsDestinationConfig.Builder | This builder for chaining. |
clearJsonFileFormat()
public GcsDestinationConfig.Builder clearJsonFileFormat()
JSON file format configuration.
.google.cloud.datastream.v1alpha1.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.v1alpha1.AvroFileFormat avro_file_format = 100;
Type | Description |
AvroFileFormat | The avroFileFormat. |
getAvroFileFormatBuilder()
public AvroFileFormat.Builder getAvroFileFormatBuilder()
AVRO file format configuration.
.google.cloud.datastream.v1alpha1.AvroFileFormat avro_file_format = 100;
Type | Description |
AvroFileFormat.Builder |
getAvroFileFormatOrBuilder()
public AvroFileFormatOrBuilder getAvroFileFormatOrBuilder()
AVRO file format configuration.
.google.cloud.datastream.v1alpha1.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 = 4;
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 = 4;
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 = 4;
Type | Description |
DurationOrBuilder |
getFileRotationMb()
public int getFileRotationMb()
The maximum file size to be saved in the bucket.
int32 file_rotation_mb = 3;
Type | Description |
int | The fileRotationMb. |
getGcsFileFormat() (deprecated)
public GcsFileFormat getGcsFileFormat()
Deprecated. google.cloud.datastream.v1alpha1.GcsDestinationConfig.gcs_file_format is deprecated. See google/cloud/datastream/v1alpha1/datastream_resources.proto;l=476
File format that data should be written in. Deprecated field - use file_format instead.
.google.cloud.datastream.v1alpha1.GcsFileFormat gcs_file_format = 2 [deprecated = true];
Type | Description |
GcsFileFormat | The gcsFileFormat. |
getGcsFileFormatValue() (deprecated)
public int getGcsFileFormatValue()
Deprecated. google.cloud.datastream.v1alpha1.GcsDestinationConfig.gcs_file_format is deprecated. See google/cloud/datastream/v1alpha1/datastream_resources.proto;l=476
File format that data should be written in. Deprecated field - use file_format instead.
.google.cloud.datastream.v1alpha1.GcsFileFormat gcs_file_format = 2 [deprecated = true];
Type | Description |
int | The enum numeric value on the wire for gcsFileFormat. |
getJsonFileFormat()
public JsonFileFormat getJsonFileFormat()
JSON file format configuration.
.google.cloud.datastream.v1alpha1.JsonFileFormat json_file_format = 101;
Type | Description |
JsonFileFormat | The jsonFileFormat. |
getJsonFileFormatBuilder()
public JsonFileFormat.Builder getJsonFileFormatBuilder()
JSON file format configuration.
.google.cloud.datastream.v1alpha1.JsonFileFormat json_file_format = 101;
Type | Description |
JsonFileFormat.Builder |
getJsonFileFormatOrBuilder()
public JsonFileFormatOrBuilder getJsonFileFormatOrBuilder()
JSON file format configuration.
.google.cloud.datastream.v1alpha1.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.v1alpha1.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 = 4;
Type | Description |
boolean | Whether the fileRotationInterval field is set. |
hasJsonFileFormat()
public boolean hasJsonFileFormat()
JSON file format configuration.
.google.cloud.datastream.v1alpha1.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.v1alpha1.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 = 4;
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.v1alpha1.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.v1alpha1.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.v1alpha1.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 = 4;
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 = 4;
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 = 3;
Name | Description |
value | int The fileRotationMb to set. |
Type | Description |
GcsDestinationConfig.Builder | This builder for chaining. |
setGcsFileFormat(GcsFileFormat value) (deprecated)
public GcsDestinationConfig.Builder setGcsFileFormat(GcsFileFormat value)
Deprecated. google.cloud.datastream.v1alpha1.GcsDestinationConfig.gcs_file_format is deprecated. See google/cloud/datastream/v1alpha1/datastream_resources.proto;l=476
File format that data should be written in. Deprecated field - use file_format instead.
.google.cloud.datastream.v1alpha1.GcsFileFormat gcs_file_format = 2 [deprecated = true];
Name | Description |
value | GcsFileFormat The gcsFileFormat to set. |
Type | Description |
GcsDestinationConfig.Builder | This builder for chaining. |
setGcsFileFormatValue(int value) (deprecated)
public GcsDestinationConfig.Builder setGcsFileFormatValue(int value)
Deprecated. google.cloud.datastream.v1alpha1.GcsDestinationConfig.gcs_file_format is deprecated. See google/cloud/datastream/v1alpha1/datastream_resources.proto;l=476
File format that data should be written in. Deprecated field - use file_format instead.
.google.cloud.datastream.v1alpha1.GcsFileFormat gcs_file_format = 2 [deprecated = true];
Name | Description |
value | int The enum numeric value on the wire for gcsFileFormat 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.v1alpha1.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.v1alpha1.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 | String The 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 | ByteString The 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 |