public final class JsonFileFormat extends GeneratedMessageV3 implements JsonFileFormatOrBuilder
JSON file format configuration.
Protobuf type google.events.cloud.datastream.v1.JsonFileFormat
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > JsonFileFormatImplements
JsonFileFormatOrBuilderStatic Fields
COMPRESSION_FIELD_NUMBER
public static final int COMPRESSION_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SCHEMA_FILE_FORMAT_FIELD_NUMBER
public static final int SCHEMA_FILE_FORMAT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static JsonFileFormat getDefaultInstance()
Returns | |
---|---|
Type | Description |
JsonFileFormat |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static JsonFileFormat.Builder newBuilder()
Returns | |
---|---|
Type | Description |
JsonFileFormat.Builder |
newBuilder(JsonFileFormat prototype)
public static JsonFileFormat.Builder newBuilder(JsonFileFormat prototype)
Parameter | |
---|---|
Name | Description |
prototype |
JsonFileFormat |
Returns | |
---|---|
Type | Description |
JsonFileFormat.Builder |
parseDelimitedFrom(InputStream input)
public static JsonFileFormat parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
JsonFileFormat |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static JsonFileFormat parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
JsonFileFormat |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static JsonFileFormat parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
JsonFileFormat |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static JsonFileFormat parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
JsonFileFormat |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static JsonFileFormat parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
JsonFileFormat |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static JsonFileFormat parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
JsonFileFormat |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static JsonFileFormat parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
JsonFileFormat |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static JsonFileFormat parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
JsonFileFormat |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static JsonFileFormat parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
JsonFileFormat |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static JsonFileFormat parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
JsonFileFormat |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static JsonFileFormat parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
JsonFileFormat |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static JsonFileFormat parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
JsonFileFormat |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<JsonFileFormat> parser()
Returns | |
---|---|
Type | Description |
Parser<JsonFileFormat> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getCompression()
public JsonFileFormat.JsonCompression getCompression()
Compression of the loaded JSON file.
.google.events.cloud.datastream.v1.JsonFileFormat.JsonCompression compression = 2;
Returns | |
---|---|
Type | Description |
JsonFileFormat.JsonCompression |
The compression. |
getCompressionValue()
public int getCompressionValue()
Compression of the loaded JSON file.
.google.events.cloud.datastream.v1.JsonFileFormat.JsonCompression compression = 2;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for compression. |
getDefaultInstanceForType()
public JsonFileFormat getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
JsonFileFormat |
getParserForType()
public Parser<JsonFileFormat> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<JsonFileFormat> |
getSchemaFileFormat()
public JsonFileFormat.SchemaFileFormat getSchemaFileFormat()
The schema file format along JSON data files.
.google.events.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat schema_file_format = 1;
Returns | |
---|---|
Type | Description |
JsonFileFormat.SchemaFileFormat |
The schemaFileFormat. |
getSchemaFileFormatValue()
public int getSchemaFileFormatValue()
The schema file format along JSON data files.
.google.events.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat schema_file_format = 1;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for schemaFileFormat. |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns | |
---|---|
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public JsonFileFormat.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
JsonFileFormat.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected JsonFileFormat.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
JsonFileFormat.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public JsonFileFormat.Builder toBuilder()
Returns | |
---|---|
Type | Description |
JsonFileFormat.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |