com.google.api.services.dataplex.v1.model.GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions Maven / Gradle / Ivy
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/
package com.google.api.services.dataplex.v1.model;
/**
* Describe JSON data format.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Cloud Dataplex API. For a detailed explanation see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions extends com.google.api.client.json.GenericJson {
/**
* Optional. Whether to disable the inference of data type for Json data. If true, all columns
* will be registered as their primitive types (strings, number or boolean).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean disableTypeInference;
/**
* Optional. The character encoding of the data. The default is UTF-8.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String encoding;
/**
* Optional. Whether to disable the inference of data type for Json data. If true, all columns
* will be registered as their primitive types (strings, number or boolean).
* @return value or {@code null} for none
*/
public java.lang.Boolean getDisableTypeInference() {
return disableTypeInference;
}
/**
* Optional. Whether to disable the inference of data type for Json data. If true, all columns
* will be registered as their primitive types (strings, number or boolean).
* @param disableTypeInference disableTypeInference or {@code null} for none
*/
public GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions setDisableTypeInference(java.lang.Boolean disableTypeInference) {
this.disableTypeInference = disableTypeInference;
return this;
}
/**
* Optional. The character encoding of the data. The default is UTF-8.
* @return value or {@code null} for none
*/
public java.lang.String getEncoding() {
return encoding;
}
/**
* Optional. The character encoding of the data. The default is UTF-8.
* @param encoding encoding or {@code null} for none
*/
public GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions setEncoding(java.lang.String encoding) {
this.encoding = encoding;
return this;
}
@Override
public GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions set(String fieldName, Object value) {
return (GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions) super.set(fieldName, value);
}
@Override
public GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions clone() {
return (GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy