public final class JsonFileFormat extends GeneratedMessageV3 implements JsonFileFormatOrBuilder
JSON file format configuration.
Protobuf type google.cloud.datastream.v1.JsonFileFormat
Static Fields
public static final int COMPRESSION_FIELD_NUMBER
Field Value
public static final int SCHEMA_FILE_FORMAT_FIELD_NUMBER
Field Value
Static Methods
public static JsonFileFormat getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static JsonFileFormat.Builder newBuilder()
Returns
public static JsonFileFormat.Builder newBuilder(JsonFileFormat prototype)
Parameter
Returns
public static JsonFileFormat parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static JsonFileFormat parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static JsonFileFormat parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static JsonFileFormat parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static JsonFileFormat parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static JsonFileFormat parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static JsonFileFormat parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static JsonFileFormat parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static JsonFileFormat parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static JsonFileFormat parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static JsonFileFormat parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static JsonFileFormat parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<JsonFileFormat> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
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 Parser<JsonFileFormat> getParserForType()
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.
|
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public JsonFileFormat.Builder newBuilderForType()
Returns
protected JsonFileFormat.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public JsonFileFormat.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions