Send feedback
Class JsonFileFormat.Builder (1.22.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.22.0 keyboard_arrow_down
public static final class JsonFileFormat . Builder extends GeneratedMessageV3 . Builder<JsonFileFormat . Builder > implements JsonFileFormatOrBuilder
JSON file format configuration.
Protobuf type google.cloud.datastream.v1alpha1.JsonFileFormat
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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.v1alpha1.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.v1alpha1.SchemaFileFormat schema_file_format = 1;
public JsonFileFormat . Builder clone ()
Overrides
public JsonFileFormat . JsonCompression getCompression ()
Compression of the loaded JSON file.
.google.cloud.datastream.v1alpha1.JsonFileFormat.JsonCompression compression = 2;
public int getCompressionValue ()
Compression of the loaded JSON file.
.google.cloud.datastream.v1alpha1.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 SchemaFileFormat getSchemaFileFormat ()
The schema file format along JSON data files.
.google.cloud.datastream.v1alpha1.SchemaFileFormat schema_file_format = 1;
public int getSchemaFileFormatValue ()
The schema file format along JSON data files.
.google.cloud.datastream.v1alpha1.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.v1alpha1.JsonFileFormat.JsonCompression compression = 2;
public JsonFileFormat . Builder setCompressionValue ( int value )
Compression of the loaded JSON file.
.google.cloud.datastream.v1alpha1.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 ( SchemaFileFormat value )
The schema file format along JSON data files.
.google.cloud.datastream.v1alpha1.SchemaFileFormat schema_file_format = 1;
public JsonFileFormat . Builder setSchemaFileFormatValue ( int value )
The schema file format along JSON data files.
.google.cloud.datastream.v1alpha1.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
Send feedback
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-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]