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