Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
Class JsonFileFormat.Builder (1.66.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_arrow_down
public static final class JsonFileFormat . Builder extends GeneratedMessageV3 . Builder<JsonFileFormat . Builder > implements JsonFileFormatOrBuilder
JSON file format configuration.
Protobuf type google.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.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.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.cloud.datastream.v1.JsonFileFormat.JsonCompression compression = 2;
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 ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
public JsonFileFormat . SchemaFileFormat getSchemaFileFormat ()
The schema file format along JSON data files.
.google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat schema_file_format = 1;
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 ()
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.cloud.datastream.v1.JsonFileFormat.JsonCompression compression = 2;
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.
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.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat schema_file_format = 1;
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.
public final JsonFileFormat . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-02 UTC."],[],[]]