public static final class JsonFileFormat.Builder extends GeneratedMessageV3.Builder<JsonFileFormat.Builder> implements JsonFileFormatOrBuilder
JSON file format configuration.
Protobuf type google.cloud.datastream.v1.JsonFileFormat
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public JsonFileFormat.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public JsonFileFormat build()
Returns
public JsonFileFormat buildPartial()
Returns
public JsonFileFormat.Builder clear()
Returns
Overrides
public JsonFileFormat.Builder clearCompression()
Compression of the loaded JSON file.
.google.cloud.datastream.v1.JsonFileFormat.JsonCompression compression = 2;
Returns
public JsonFileFormat.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public JsonFileFormat.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public JsonFileFormat.Builder clearSchemaFileFormat()
The schema file format along JSON data files.
.google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat schema_file_format = 1;
Returns
public JsonFileFormat.Builder clone()
Returns
Overrides
public JsonFileFormat.JsonCompression getCompression()
Compression of the loaded JSON file.
.google.cloud.datastream.v1.JsonFileFormat.JsonCompression compression = 2;
Returns
public int getCompressionValue()
Compression of the loaded JSON file.
.google.cloud.datastream.v1.JsonFileFormat.JsonCompression compression = 2;
Returns
Type | Description |
int | The enum numeric value on the wire for compression.
|
public JsonFileFormat getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public JsonFileFormat.SchemaFileFormat getSchemaFileFormat()
The schema file format along JSON data files.
.google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat schema_file_format = 1;
Returns
public int getSchemaFileFormatValue()
The schema file format along JSON data files.
.google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat schema_file_format = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for schemaFileFormat.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public JsonFileFormat.Builder mergeFrom(JsonFileFormat other)
Parameter
Returns
public JsonFileFormat.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public JsonFileFormat.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final JsonFileFormat.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public JsonFileFormat.Builder setCompression(JsonFileFormat.JsonCompression value)
Compression of the loaded JSON file.
.google.cloud.datastream.v1.JsonFileFormat.JsonCompression compression = 2;
Parameter
Returns
public JsonFileFormat.Builder setCompressionValue(int value)
Compression of the loaded JSON file.
.google.cloud.datastream.v1.JsonFileFormat.JsonCompression compression = 2;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for compression to set.
|
Returns
public JsonFileFormat.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public JsonFileFormat.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public JsonFileFormat.Builder setSchemaFileFormat(JsonFileFormat.SchemaFileFormat value)
The schema file format along JSON data files.
.google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat schema_file_format = 1;
Parameter
Returns
public JsonFileFormat.Builder setSchemaFileFormatValue(int value)
The schema file format along JSON data files.
.google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat schema_file_format = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for schemaFileFormat to set.
|
Returns
public final JsonFileFormat.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides