com.google.cloud.bigquery.connection.v1.Connection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-bigqueryconnection-v1 Show documentation
Show all versions of proto-google-cloud-bigqueryconnection-v1 Show documentation
PROTO library for proto-google-cloud-bigqueryconnection-v1
/*
* Copyright 2024 Google LLC
*
* 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
*
* https://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.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/bigquery/connection/v1/connection.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.bigquery.connection.v1;
/**
*
*
*
* Configuration parameters to establish connection with an external data
* source, except the credential attributes.
*
*
* Protobuf type {@code google.cloud.bigquery.connection.v1.Connection}
*/
public final class Connection extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.cloud.bigquery.connection.v1.Connection)
ConnectionOrBuilder {
private static final long serialVersionUID = 0L;
// Use Connection.newBuilder() to construct.
private Connection(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Connection() {
name_ = "";
friendlyName_ = "";
description_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new Connection();
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.cloud.bigquery.connection.v1.ConnectionOuterClass
.internal_static_google_cloud_bigquery_connection_v1_Connection_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.cloud.bigquery.connection.v1.ConnectionOuterClass
.internal_static_google_cloud_bigquery_connection_v1_Connection_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.bigquery.connection.v1.Connection.class,
com.google.cloud.bigquery.connection.v1.Connection.Builder.class);
}
private int propertiesCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object properties_;
public enum PropertiesCase
implements
com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
CLOUD_SQL(4),
AWS(8),
AZURE(11),
CLOUD_SPANNER(21),
CLOUD_RESOURCE(22),
SPARK(23),
SALESFORCE_DATA_CLOUD(24),
PROPERTIES_NOT_SET(0);
private final int value;
private PropertiesCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static PropertiesCase valueOf(int value) {
return forNumber(value);
}
public static PropertiesCase forNumber(int value) {
switch (value) {
case 4:
return CLOUD_SQL;
case 8:
return AWS;
case 11:
return AZURE;
case 21:
return CLOUD_SPANNER;
case 22:
return CLOUD_RESOURCE;
case 23:
return SPARK;
case 24:
return SALESFORCE_DATA_CLOUD;
case 0:
return PROPERTIES_NOT_SET;
default:
return null;
}
}
public int getNumber() {
return this.value;
}
};
public PropertiesCase getPropertiesCase() {
return PropertiesCase.forNumber(propertiesCase_);
}
public static final int NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
*
*
*
* The resource name of the connection in the form of:
* `projects/{project_id}/locations/{location_id}/connections/{connection_id}`
*
*
* string name = 1;
*
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
*
*
*
* The resource name of the connection in the form of:
* `projects/{project_id}/locations/{location_id}/connections/{connection_id}`
*
*
* string name = 1;
*
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FRIENDLY_NAME_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object friendlyName_ = "";
/**
*
*
*
* User provided display name for the connection.
*
*
* string friendly_name = 2;
*
* @return The friendlyName.
*/
@java.lang.Override
public java.lang.String getFriendlyName() {
java.lang.Object ref = friendlyName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
friendlyName_ = s;
return s;
}
}
/**
*
*
*
* User provided display name for the connection.
*
*
* string friendly_name = 2;
*
* @return The bytes for friendlyName.
*/
@java.lang.Override
public com.google.protobuf.ByteString getFriendlyNameBytes() {
java.lang.Object ref = friendlyName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
friendlyName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DESCRIPTION_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object description_ = "";
/**
*
*
*
* User provided description.
*
*
* string description = 3;
*
* @return The description.
*/
@java.lang.Override
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
description_ = s;
return s;
}
}
/**
*
*
*
* User provided description.
*
*
* string description = 3;
*
* @return The bytes for description.
*/
@java.lang.Override
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CLOUD_SQL_FIELD_NUMBER = 4;
/**
*
*
*
* Cloud SQL properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudSqlProperties cloud_sql = 4;
*
* @return Whether the cloudSql field is set.
*/
@java.lang.Override
public boolean hasCloudSql() {
return propertiesCase_ == 4;
}
/**
*
*
*
* Cloud SQL properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudSqlProperties cloud_sql = 4;
*
* @return The cloudSql.
*/
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.CloudSqlProperties getCloudSql() {
if (propertiesCase_ == 4) {
return (com.google.cloud.bigquery.connection.v1.CloudSqlProperties) properties_;
}
return com.google.cloud.bigquery.connection.v1.CloudSqlProperties.getDefaultInstance();
}
/**
*
*
*
* Cloud SQL properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudSqlProperties cloud_sql = 4;
*/
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.CloudSqlPropertiesOrBuilder
getCloudSqlOrBuilder() {
if (propertiesCase_ == 4) {
return (com.google.cloud.bigquery.connection.v1.CloudSqlProperties) properties_;
}
return com.google.cloud.bigquery.connection.v1.CloudSqlProperties.getDefaultInstance();
}
public static final int AWS_FIELD_NUMBER = 8;
/**
*
*
*
* Amazon Web Services (AWS) properties.
*
*
* .google.cloud.bigquery.connection.v1.AwsProperties aws = 8;
*
* @return Whether the aws field is set.
*/
@java.lang.Override
public boolean hasAws() {
return propertiesCase_ == 8;
}
/**
*
*
*
* Amazon Web Services (AWS) properties.
*
*
* .google.cloud.bigquery.connection.v1.AwsProperties aws = 8;
*
* @return The aws.
*/
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.AwsProperties getAws() {
if (propertiesCase_ == 8) {
return (com.google.cloud.bigquery.connection.v1.AwsProperties) properties_;
}
return com.google.cloud.bigquery.connection.v1.AwsProperties.getDefaultInstance();
}
/**
*
*
*
* Amazon Web Services (AWS) properties.
*
*
* .google.cloud.bigquery.connection.v1.AwsProperties aws = 8;
*/
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.AwsPropertiesOrBuilder getAwsOrBuilder() {
if (propertiesCase_ == 8) {
return (com.google.cloud.bigquery.connection.v1.AwsProperties) properties_;
}
return com.google.cloud.bigquery.connection.v1.AwsProperties.getDefaultInstance();
}
public static final int AZURE_FIELD_NUMBER = 11;
/**
*
*
*
* Azure properties.
*
*
* .google.cloud.bigquery.connection.v1.AzureProperties azure = 11;
*
* @return Whether the azure field is set.
*/
@java.lang.Override
public boolean hasAzure() {
return propertiesCase_ == 11;
}
/**
*
*
*
* Azure properties.
*
*
* .google.cloud.bigquery.connection.v1.AzureProperties azure = 11;
*
* @return The azure.
*/
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.AzureProperties getAzure() {
if (propertiesCase_ == 11) {
return (com.google.cloud.bigquery.connection.v1.AzureProperties) properties_;
}
return com.google.cloud.bigquery.connection.v1.AzureProperties.getDefaultInstance();
}
/**
*
*
*
* Azure properties.
*
*
* .google.cloud.bigquery.connection.v1.AzureProperties azure = 11;
*/
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.AzurePropertiesOrBuilder getAzureOrBuilder() {
if (propertiesCase_ == 11) {
return (com.google.cloud.bigquery.connection.v1.AzureProperties) properties_;
}
return com.google.cloud.bigquery.connection.v1.AzureProperties.getDefaultInstance();
}
public static final int CLOUD_SPANNER_FIELD_NUMBER = 21;
/**
*
*
*
* Cloud Spanner properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudSpannerProperties cloud_spanner = 21;
*
* @return Whether the cloudSpanner field is set.
*/
@java.lang.Override
public boolean hasCloudSpanner() {
return propertiesCase_ == 21;
}
/**
*
*
*
* Cloud Spanner properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudSpannerProperties cloud_spanner = 21;
*
* @return The cloudSpanner.
*/
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.CloudSpannerProperties getCloudSpanner() {
if (propertiesCase_ == 21) {
return (com.google.cloud.bigquery.connection.v1.CloudSpannerProperties) properties_;
}
return com.google.cloud.bigquery.connection.v1.CloudSpannerProperties.getDefaultInstance();
}
/**
*
*
*
* Cloud Spanner properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudSpannerProperties cloud_spanner = 21;
*/
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.CloudSpannerPropertiesOrBuilder
getCloudSpannerOrBuilder() {
if (propertiesCase_ == 21) {
return (com.google.cloud.bigquery.connection.v1.CloudSpannerProperties) properties_;
}
return com.google.cloud.bigquery.connection.v1.CloudSpannerProperties.getDefaultInstance();
}
public static final int CLOUD_RESOURCE_FIELD_NUMBER = 22;
/**
*
*
*
* Cloud Resource properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudResourceProperties cloud_resource = 22;
*
* @return Whether the cloudResource field is set.
*/
@java.lang.Override
public boolean hasCloudResource() {
return propertiesCase_ == 22;
}
/**
*
*
*
* Cloud Resource properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudResourceProperties cloud_resource = 22;
*
* @return The cloudResource.
*/
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.CloudResourceProperties getCloudResource() {
if (propertiesCase_ == 22) {
return (com.google.cloud.bigquery.connection.v1.CloudResourceProperties) properties_;
}
return com.google.cloud.bigquery.connection.v1.CloudResourceProperties.getDefaultInstance();
}
/**
*
*
*
* Cloud Resource properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudResourceProperties cloud_resource = 22;
*/
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.CloudResourcePropertiesOrBuilder
getCloudResourceOrBuilder() {
if (propertiesCase_ == 22) {
return (com.google.cloud.bigquery.connection.v1.CloudResourceProperties) properties_;
}
return com.google.cloud.bigquery.connection.v1.CloudResourceProperties.getDefaultInstance();
}
public static final int SPARK_FIELD_NUMBER = 23;
/**
*
*
*
* Spark properties.
*
*
* .google.cloud.bigquery.connection.v1.SparkProperties spark = 23;
*
* @return Whether the spark field is set.
*/
@java.lang.Override
public boolean hasSpark() {
return propertiesCase_ == 23;
}
/**
*
*
*
* Spark properties.
*
*
* .google.cloud.bigquery.connection.v1.SparkProperties spark = 23;
*
* @return The spark.
*/
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.SparkProperties getSpark() {
if (propertiesCase_ == 23) {
return (com.google.cloud.bigquery.connection.v1.SparkProperties) properties_;
}
return com.google.cloud.bigquery.connection.v1.SparkProperties.getDefaultInstance();
}
/**
*
*
*
* Spark properties.
*
*
* .google.cloud.bigquery.connection.v1.SparkProperties spark = 23;
*/
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.SparkPropertiesOrBuilder getSparkOrBuilder() {
if (propertiesCase_ == 23) {
return (com.google.cloud.bigquery.connection.v1.SparkProperties) properties_;
}
return com.google.cloud.bigquery.connection.v1.SparkProperties.getDefaultInstance();
}
public static final int SALESFORCE_DATA_CLOUD_FIELD_NUMBER = 24;
/**
*
*
*
* Optional. Salesforce DataCloud properties. This field is intended for
* use only by Salesforce partner projects. This field contains properties
* for your Salesforce DataCloud connection.
*
*
*
* .google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties salesforce_data_cloud = 24 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the salesforceDataCloud field is set.
*/
@java.lang.Override
public boolean hasSalesforceDataCloud() {
return propertiesCase_ == 24;
}
/**
*
*
*
* Optional. Salesforce DataCloud properties. This field is intended for
* use only by Salesforce partner projects. This field contains properties
* for your Salesforce DataCloud connection.
*
*
*
* .google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties salesforce_data_cloud = 24 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The salesforceDataCloud.
*/
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties
getSalesforceDataCloud() {
if (propertiesCase_ == 24) {
return (com.google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties) properties_;
}
return com.google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties
.getDefaultInstance();
}
/**
*
*
*
* Optional. Salesforce DataCloud properties. This field is intended for
* use only by Salesforce partner projects. This field contains properties
* for your Salesforce DataCloud connection.
*
*
*
* .google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties salesforce_data_cloud = 24 [(.google.api.field_behavior) = OPTIONAL];
*
*/
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.SalesforceDataCloudPropertiesOrBuilder
getSalesforceDataCloudOrBuilder() {
if (propertiesCase_ == 24) {
return (com.google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties) properties_;
}
return com.google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties
.getDefaultInstance();
}
public static final int CREATION_TIME_FIELD_NUMBER = 5;
private long creationTime_ = 0L;
/**
*
*
*
* Output only. The creation timestamp of the connection.
*
*
* int64 creation_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The creationTime.
*/
@java.lang.Override
public long getCreationTime() {
return creationTime_;
}
public static final int LAST_MODIFIED_TIME_FIELD_NUMBER = 6;
private long lastModifiedTime_ = 0L;
/**
*
*
*
* Output only. The last update timestamp of the connection.
*
*
* int64 last_modified_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The lastModifiedTime.
*/
@java.lang.Override
public long getLastModifiedTime() {
return lastModifiedTime_;
}
public static final int HAS_CREDENTIAL_FIELD_NUMBER = 7;
private boolean hasCredential_ = false;
/**
*
*
*
* Output only. True, if credential is configured for this connection.
*
*
* bool has_credential = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The hasCredential.
*/
@java.lang.Override
public boolean getHasCredential() {
return hasCredential_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(friendlyName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, friendlyName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_);
}
if (propertiesCase_ == 4) {
output.writeMessage(
4, (com.google.cloud.bigquery.connection.v1.CloudSqlProperties) properties_);
}
if (creationTime_ != 0L) {
output.writeInt64(5, creationTime_);
}
if (lastModifiedTime_ != 0L) {
output.writeInt64(6, lastModifiedTime_);
}
if (hasCredential_ != false) {
output.writeBool(7, hasCredential_);
}
if (propertiesCase_ == 8) {
output.writeMessage(8, (com.google.cloud.bigquery.connection.v1.AwsProperties) properties_);
}
if (propertiesCase_ == 11) {
output.writeMessage(
11, (com.google.cloud.bigquery.connection.v1.AzureProperties) properties_);
}
if (propertiesCase_ == 21) {
output.writeMessage(
21, (com.google.cloud.bigquery.connection.v1.CloudSpannerProperties) properties_);
}
if (propertiesCase_ == 22) {
output.writeMessage(
22, (com.google.cloud.bigquery.connection.v1.CloudResourceProperties) properties_);
}
if (propertiesCase_ == 23) {
output.writeMessage(
23, (com.google.cloud.bigquery.connection.v1.SparkProperties) properties_);
}
if (propertiesCase_ == 24) {
output.writeMessage(
24, (com.google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties) properties_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(friendlyName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, friendlyName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_);
}
if (propertiesCase_ == 4) {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(
4, (com.google.cloud.bigquery.connection.v1.CloudSqlProperties) properties_);
}
if (creationTime_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, creationTime_);
}
if (lastModifiedTime_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, lastModifiedTime_);
}
if (hasCredential_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, hasCredential_);
}
if (propertiesCase_ == 8) {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(
8, (com.google.cloud.bigquery.connection.v1.AwsProperties) properties_);
}
if (propertiesCase_ == 11) {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(
11, (com.google.cloud.bigquery.connection.v1.AzureProperties) properties_);
}
if (propertiesCase_ == 21) {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(
21, (com.google.cloud.bigquery.connection.v1.CloudSpannerProperties) properties_);
}
if (propertiesCase_ == 22) {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(
22, (com.google.cloud.bigquery.connection.v1.CloudResourceProperties) properties_);
}
if (propertiesCase_ == 23) {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(
23, (com.google.cloud.bigquery.connection.v1.SparkProperties) properties_);
}
if (propertiesCase_ == 24) {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(
24,
(com.google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties) properties_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.cloud.bigquery.connection.v1.Connection)) {
return super.equals(obj);
}
com.google.cloud.bigquery.connection.v1.Connection other =
(com.google.cloud.bigquery.connection.v1.Connection) obj;
if (!getName().equals(other.getName())) return false;
if (!getFriendlyName().equals(other.getFriendlyName())) return false;
if (!getDescription().equals(other.getDescription())) return false;
if (getCreationTime() != other.getCreationTime()) return false;
if (getLastModifiedTime() != other.getLastModifiedTime()) return false;
if (getHasCredential() != other.getHasCredential()) return false;
if (!getPropertiesCase().equals(other.getPropertiesCase())) return false;
switch (propertiesCase_) {
case 4:
if (!getCloudSql().equals(other.getCloudSql())) return false;
break;
case 8:
if (!getAws().equals(other.getAws())) return false;
break;
case 11:
if (!getAzure().equals(other.getAzure())) return false;
break;
case 21:
if (!getCloudSpanner().equals(other.getCloudSpanner())) return false;
break;
case 22:
if (!getCloudResource().equals(other.getCloudResource())) return false;
break;
case 23:
if (!getSpark().equals(other.getSpark())) return false;
break;
case 24:
if (!getSalesforceDataCloud().equals(other.getSalesforceDataCloud())) return false;
break;
case 0:
default:
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + FRIENDLY_NAME_FIELD_NUMBER;
hash = (53 * hash) + getFriendlyName().hashCode();
hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDescription().hashCode();
hash = (37 * hash) + CREATION_TIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCreationTime());
hash = (37 * hash) + LAST_MODIFIED_TIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLastModifiedTime());
hash = (37 * hash) + HAS_CREDENTIAL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHasCredential());
switch (propertiesCase_) {
case 4:
hash = (37 * hash) + CLOUD_SQL_FIELD_NUMBER;
hash = (53 * hash) + getCloudSql().hashCode();
break;
case 8:
hash = (37 * hash) + AWS_FIELD_NUMBER;
hash = (53 * hash) + getAws().hashCode();
break;
case 11:
hash = (37 * hash) + AZURE_FIELD_NUMBER;
hash = (53 * hash) + getAzure().hashCode();
break;
case 21:
hash = (37 * hash) + CLOUD_SPANNER_FIELD_NUMBER;
hash = (53 * hash) + getCloudSpanner().hashCode();
break;
case 22:
hash = (37 * hash) + CLOUD_RESOURCE_FIELD_NUMBER;
hash = (53 * hash) + getCloudResource().hashCode();
break;
case 23:
hash = (37 * hash) + SPARK_FIELD_NUMBER;
hash = (53 * hash) + getSpark().hashCode();
break;
case 24:
hash = (37 * hash) + SALESFORCE_DATA_CLOUD_FIELD_NUMBER;
hash = (53 * hash) + getSalesforceDataCloud().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.cloud.bigquery.connection.v1.Connection parseFrom(
java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.cloud.bigquery.connection.v1.Connection parseFrom(
java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.cloud.bigquery.connection.v1.Connection parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.cloud.bigquery.connection.v1.Connection parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.cloud.bigquery.connection.v1.Connection parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.cloud.bigquery.connection.v1.Connection parseFrom(
byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.cloud.bigquery.connection.v1.Connection parseFrom(
java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static com.google.cloud.bigquery.connection.v1.Connection parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.cloud.bigquery.connection.v1.Connection parseDelimitedFrom(
java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.cloud.bigquery.connection.v1.Connection parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.cloud.bigquery.connection.v1.Connection parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static com.google.cloud.bigquery.connection.v1.Connection parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() {
return newBuilder();
}
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.cloud.bigquery.connection.v1.Connection prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
*
*
* Configuration parameters to establish connection with an external data
* source, except the credential attributes.
*
*
* Protobuf type {@code google.cloud.bigquery.connection.v1.Connection}
*/
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
implements
// @@protoc_insertion_point(builder_implements:google.cloud.bigquery.connection.v1.Connection)
com.google.cloud.bigquery.connection.v1.ConnectionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.cloud.bigquery.connection.v1.ConnectionOuterClass
.internal_static_google_cloud_bigquery_connection_v1_Connection_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.cloud.bigquery.connection.v1.ConnectionOuterClass
.internal_static_google_cloud_bigquery_connection_v1_Connection_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.bigquery.connection.v1.Connection.class,
com.google.cloud.bigquery.connection.v1.Connection.Builder.class);
}
// Construct using com.google.cloud.bigquery.connection.v1.Connection.newBuilder()
private Builder() {}
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
friendlyName_ = "";
description_ = "";
if (cloudSqlBuilder_ != null) {
cloudSqlBuilder_.clear();
}
if (awsBuilder_ != null) {
awsBuilder_.clear();
}
if (azureBuilder_ != null) {
azureBuilder_.clear();
}
if (cloudSpannerBuilder_ != null) {
cloudSpannerBuilder_.clear();
}
if (cloudResourceBuilder_ != null) {
cloudResourceBuilder_.clear();
}
if (sparkBuilder_ != null) {
sparkBuilder_.clear();
}
if (salesforceDataCloudBuilder_ != null) {
salesforceDataCloudBuilder_.clear();
}
creationTime_ = 0L;
lastModifiedTime_ = 0L;
hasCredential_ = false;
propertiesCase_ = 0;
properties_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return com.google.cloud.bigquery.connection.v1.ConnectionOuterClass
.internal_static_google_cloud_bigquery_connection_v1_Connection_descriptor;
}
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.Connection getDefaultInstanceForType() {
return com.google.cloud.bigquery.connection.v1.Connection.getDefaultInstance();
}
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.Connection build() {
com.google.cloud.bigquery.connection.v1.Connection result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.Connection buildPartial() {
com.google.cloud.bigquery.connection.v1.Connection result =
new com.google.cloud.bigquery.connection.v1.Connection(this);
if (bitField0_ != 0) {
buildPartial0(result);
}
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartial0(com.google.cloud.bigquery.connection.v1.Connection result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.friendlyName_ = friendlyName_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.description_ = description_;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.creationTime_ = creationTime_;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.lastModifiedTime_ = lastModifiedTime_;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.hasCredential_ = hasCredential_;
}
}
private void buildPartialOneofs(com.google.cloud.bigquery.connection.v1.Connection result) {
result.propertiesCase_ = propertiesCase_;
result.properties_ = this.properties_;
if (propertiesCase_ == 4 && cloudSqlBuilder_ != null) {
result.properties_ = cloudSqlBuilder_.build();
}
if (propertiesCase_ == 8 && awsBuilder_ != null) {
result.properties_ = awsBuilder_.build();
}
if (propertiesCase_ == 11 && azureBuilder_ != null) {
result.properties_ = azureBuilder_.build();
}
if (propertiesCase_ == 21 && cloudSpannerBuilder_ != null) {
result.properties_ = cloudSpannerBuilder_.build();
}
if (propertiesCase_ == 22 && cloudResourceBuilder_ != null) {
result.properties_ = cloudResourceBuilder_.build();
}
if (propertiesCase_ == 23 && sparkBuilder_ != null) {
result.properties_ = sparkBuilder_.build();
}
if (propertiesCase_ == 24 && salesforceDataCloudBuilder_ != null) {
result.properties_ = salesforceDataCloudBuilder_.build();
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.cloud.bigquery.connection.v1.Connection) {
return mergeFrom((com.google.cloud.bigquery.connection.v1.Connection) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.cloud.bigquery.connection.v1.Connection other) {
if (other == com.google.cloud.bigquery.connection.v1.Connection.getDefaultInstance())
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getFriendlyName().isEmpty()) {
friendlyName_ = other.friendlyName_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getDescription().isEmpty()) {
description_ = other.description_;
bitField0_ |= 0x00000004;
onChanged();
}
if (other.getCreationTime() != 0L) {
setCreationTime(other.getCreationTime());
}
if (other.getLastModifiedTime() != 0L) {
setLastModifiedTime(other.getLastModifiedTime());
}
if (other.getHasCredential() != false) {
setHasCredential(other.getHasCredential());
}
switch (other.getPropertiesCase()) {
case CLOUD_SQL:
{
mergeCloudSql(other.getCloudSql());
break;
}
case AWS:
{
mergeAws(other.getAws());
break;
}
case AZURE:
{
mergeAzure(other.getAzure());
break;
}
case CLOUD_SPANNER:
{
mergeCloudSpanner(other.getCloudSpanner());
break;
}
case CLOUD_RESOURCE:
{
mergeCloudResource(other.getCloudResource());
break;
}
case SPARK:
{
mergeSpark(other.getSpark());
break;
}
case SALESFORCE_DATA_CLOUD:
{
mergeSalesforceDataCloud(other.getSalesforceDataCloud());
break;
}
case PROPERTIES_NOT_SET:
{
break;
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10:
{
name_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
friendlyName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26:
{
description_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34:
{
input.readMessage(getCloudSqlFieldBuilder().getBuilder(), extensionRegistry);
propertiesCase_ = 4;
break;
} // case 34
case 40:
{
creationTime_ = input.readInt64();
bitField0_ |= 0x00000400;
break;
} // case 40
case 48:
{
lastModifiedTime_ = input.readInt64();
bitField0_ |= 0x00000800;
break;
} // case 48
case 56:
{
hasCredential_ = input.readBool();
bitField0_ |= 0x00001000;
break;
} // case 56
case 66:
{
input.readMessage(getAwsFieldBuilder().getBuilder(), extensionRegistry);
propertiesCase_ = 8;
break;
} // case 66
case 90:
{
input.readMessage(getAzureFieldBuilder().getBuilder(), extensionRegistry);
propertiesCase_ = 11;
break;
} // case 90
case 170:
{
input.readMessage(getCloudSpannerFieldBuilder().getBuilder(), extensionRegistry);
propertiesCase_ = 21;
break;
} // case 170
case 178:
{
input.readMessage(getCloudResourceFieldBuilder().getBuilder(), extensionRegistry);
propertiesCase_ = 22;
break;
} // case 178
case 186:
{
input.readMessage(getSparkFieldBuilder().getBuilder(), extensionRegistry);
propertiesCase_ = 23;
break;
} // case 186
case 194:
{
input.readMessage(
getSalesforceDataCloudFieldBuilder().getBuilder(), extensionRegistry);
propertiesCase_ = 24;
break;
} // case 194
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int propertiesCase_ = 0;
private java.lang.Object properties_;
public PropertiesCase getPropertiesCase() {
return PropertiesCase.forNumber(propertiesCase_);
}
public Builder clearProperties() {
propertiesCase_ = 0;
properties_ = null;
onChanged();
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
*
*
*
* The resource name of the connection in the form of:
* `projects/{project_id}/locations/{location_id}/connections/{connection_id}`
*
*
* string name = 1;
*
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*
*
* The resource name of the connection in the form of:
* `projects/{project_id}/locations/{location_id}/connections/{connection_id}`
*
*
* string name = 1;
*
* @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*
*
* The resource name of the connection in the form of:
* `projects/{project_id}/locations/{location_id}/connections/{connection_id}`
*
*
* string name = 1;
*
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
*
*
* The resource name of the connection in the form of:
* `projects/{project_id}/locations/{location_id}/connections/{connection_id}`
*
*
* string name = 1;
*
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
*
*
* The resource name of the connection in the form of:
* `projects/{project_id}/locations/{location_id}/connections/{connection_id}`
*
*
* string name = 1;
*
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object friendlyName_ = "";
/**
*
*
*
* User provided display name for the connection.
*
*
* string friendly_name = 2;
*
* @return The friendlyName.
*/
public java.lang.String getFriendlyName() {
java.lang.Object ref = friendlyName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
friendlyName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*
*
* User provided display name for the connection.
*
*
* string friendly_name = 2;
*
* @return The bytes for friendlyName.
*/
public com.google.protobuf.ByteString getFriendlyNameBytes() {
java.lang.Object ref = friendlyName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
friendlyName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*
*
* User provided display name for the connection.
*
*
* string friendly_name = 2;
*
* @param value The friendlyName to set.
* @return This builder for chaining.
*/
public Builder setFriendlyName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
friendlyName_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
*
*
* User provided display name for the connection.
*
*
* string friendly_name = 2;
*
* @return This builder for chaining.
*/
public Builder clearFriendlyName() {
friendlyName_ = getDefaultInstance().getFriendlyName();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
*
*
*
* User provided display name for the connection.
*
*
* string friendly_name = 2;
*
* @param value The bytes for friendlyName to set.
* @return This builder for chaining.
*/
public Builder setFriendlyNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
friendlyName_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object description_ = "";
/**
*
*
*
* User provided description.
*
*
* string description = 3;
*
* @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
description_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*
*
* User provided description.
*
*
* string description = 3;
*
* @return The bytes for description.
*/
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*
*
* User provided description.
*
*
* string description = 3;
*
* @param value The description to set.
* @return This builder for chaining.
*/
public Builder setDescription(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
description_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
*
*
* User provided description.
*
*
* string description = 3;
*
* @return This builder for chaining.
*/
public Builder clearDescription() {
description_ = getDefaultInstance().getDescription();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
*
*
*
* User provided description.
*
*
* string description = 3;
*
* @param value The bytes for description to set.
* @return This builder for chaining.
*/
public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
description_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.bigquery.connection.v1.CloudSqlProperties,
com.google.cloud.bigquery.connection.v1.CloudSqlProperties.Builder,
com.google.cloud.bigquery.connection.v1.CloudSqlPropertiesOrBuilder>
cloudSqlBuilder_;
/**
*
*
*
* Cloud SQL properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudSqlProperties cloud_sql = 4;
*
* @return Whether the cloudSql field is set.
*/
@java.lang.Override
public boolean hasCloudSql() {
return propertiesCase_ == 4;
}
/**
*
*
*
* Cloud SQL properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudSqlProperties cloud_sql = 4;
*
* @return The cloudSql.
*/
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.CloudSqlProperties getCloudSql() {
if (cloudSqlBuilder_ == null) {
if (propertiesCase_ == 4) {
return (com.google.cloud.bigquery.connection.v1.CloudSqlProperties) properties_;
}
return com.google.cloud.bigquery.connection.v1.CloudSqlProperties.getDefaultInstance();
} else {
if (propertiesCase_ == 4) {
return cloudSqlBuilder_.getMessage();
}
return com.google.cloud.bigquery.connection.v1.CloudSqlProperties.getDefaultInstance();
}
}
/**
*
*
*
* Cloud SQL properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudSqlProperties cloud_sql = 4;
*/
public Builder setCloudSql(com.google.cloud.bigquery.connection.v1.CloudSqlProperties value) {
if (cloudSqlBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
properties_ = value;
onChanged();
} else {
cloudSqlBuilder_.setMessage(value);
}
propertiesCase_ = 4;
return this;
}
/**
*
*
*
* Cloud SQL properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudSqlProperties cloud_sql = 4;
*/
public Builder setCloudSql(
com.google.cloud.bigquery.connection.v1.CloudSqlProperties.Builder builderForValue) {
if (cloudSqlBuilder_ == null) {
properties_ = builderForValue.build();
onChanged();
} else {
cloudSqlBuilder_.setMessage(builderForValue.build());
}
propertiesCase_ = 4;
return this;
}
/**
*
*
*
* Cloud SQL properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudSqlProperties cloud_sql = 4;
*/
public Builder mergeCloudSql(com.google.cloud.bigquery.connection.v1.CloudSqlProperties value) {
if (cloudSqlBuilder_ == null) {
if (propertiesCase_ == 4
&& properties_
!= com.google.cloud.bigquery.connection.v1.CloudSqlProperties
.getDefaultInstance()) {
properties_ =
com.google.cloud.bigquery.connection.v1.CloudSqlProperties.newBuilder(
(com.google.cloud.bigquery.connection.v1.CloudSqlProperties) properties_)
.mergeFrom(value)
.buildPartial();
} else {
properties_ = value;
}
onChanged();
} else {
if (propertiesCase_ == 4) {
cloudSqlBuilder_.mergeFrom(value);
} else {
cloudSqlBuilder_.setMessage(value);
}
}
propertiesCase_ = 4;
return this;
}
/**
*
*
*
* Cloud SQL properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudSqlProperties cloud_sql = 4;
*/
public Builder clearCloudSql() {
if (cloudSqlBuilder_ == null) {
if (propertiesCase_ == 4) {
propertiesCase_ = 0;
properties_ = null;
onChanged();
}
} else {
if (propertiesCase_ == 4) {
propertiesCase_ = 0;
properties_ = null;
}
cloudSqlBuilder_.clear();
}
return this;
}
/**
*
*
*
* Cloud SQL properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudSqlProperties cloud_sql = 4;
*/
public com.google.cloud.bigquery.connection.v1.CloudSqlProperties.Builder getCloudSqlBuilder() {
return getCloudSqlFieldBuilder().getBuilder();
}
/**
*
*
*
* Cloud SQL properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudSqlProperties cloud_sql = 4;
*/
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.CloudSqlPropertiesOrBuilder
getCloudSqlOrBuilder() {
if ((propertiesCase_ == 4) && (cloudSqlBuilder_ != null)) {
return cloudSqlBuilder_.getMessageOrBuilder();
} else {
if (propertiesCase_ == 4) {
return (com.google.cloud.bigquery.connection.v1.CloudSqlProperties) properties_;
}
return com.google.cloud.bigquery.connection.v1.CloudSqlProperties.getDefaultInstance();
}
}
/**
*
*
*
* Cloud SQL properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudSqlProperties cloud_sql = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.bigquery.connection.v1.CloudSqlProperties,
com.google.cloud.bigquery.connection.v1.CloudSqlProperties.Builder,
com.google.cloud.bigquery.connection.v1.CloudSqlPropertiesOrBuilder>
getCloudSqlFieldBuilder() {
if (cloudSqlBuilder_ == null) {
if (!(propertiesCase_ == 4)) {
properties_ =
com.google.cloud.bigquery.connection.v1.CloudSqlProperties.getDefaultInstance();
}
cloudSqlBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.bigquery.connection.v1.CloudSqlProperties,
com.google.cloud.bigquery.connection.v1.CloudSqlProperties.Builder,
com.google.cloud.bigquery.connection.v1.CloudSqlPropertiesOrBuilder>(
(com.google.cloud.bigquery.connection.v1.CloudSqlProperties) properties_,
getParentForChildren(),
isClean());
properties_ = null;
}
propertiesCase_ = 4;
onChanged();
return cloudSqlBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.bigquery.connection.v1.AwsProperties,
com.google.cloud.bigquery.connection.v1.AwsProperties.Builder,
com.google.cloud.bigquery.connection.v1.AwsPropertiesOrBuilder>
awsBuilder_;
/**
*
*
*
* Amazon Web Services (AWS) properties.
*
*
* .google.cloud.bigquery.connection.v1.AwsProperties aws = 8;
*
* @return Whether the aws field is set.
*/
@java.lang.Override
public boolean hasAws() {
return propertiesCase_ == 8;
}
/**
*
*
*
* Amazon Web Services (AWS) properties.
*
*
* .google.cloud.bigquery.connection.v1.AwsProperties aws = 8;
*
* @return The aws.
*/
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.AwsProperties getAws() {
if (awsBuilder_ == null) {
if (propertiesCase_ == 8) {
return (com.google.cloud.bigquery.connection.v1.AwsProperties) properties_;
}
return com.google.cloud.bigquery.connection.v1.AwsProperties.getDefaultInstance();
} else {
if (propertiesCase_ == 8) {
return awsBuilder_.getMessage();
}
return com.google.cloud.bigquery.connection.v1.AwsProperties.getDefaultInstance();
}
}
/**
*
*
*
* Amazon Web Services (AWS) properties.
*
*
* .google.cloud.bigquery.connection.v1.AwsProperties aws = 8;
*/
public Builder setAws(com.google.cloud.bigquery.connection.v1.AwsProperties value) {
if (awsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
properties_ = value;
onChanged();
} else {
awsBuilder_.setMessage(value);
}
propertiesCase_ = 8;
return this;
}
/**
*
*
*
* Amazon Web Services (AWS) properties.
*
*
* .google.cloud.bigquery.connection.v1.AwsProperties aws = 8;
*/
public Builder setAws(
com.google.cloud.bigquery.connection.v1.AwsProperties.Builder builderForValue) {
if (awsBuilder_ == null) {
properties_ = builderForValue.build();
onChanged();
} else {
awsBuilder_.setMessage(builderForValue.build());
}
propertiesCase_ = 8;
return this;
}
/**
*
*
*
* Amazon Web Services (AWS) properties.
*
*
* .google.cloud.bigquery.connection.v1.AwsProperties aws = 8;
*/
public Builder mergeAws(com.google.cloud.bigquery.connection.v1.AwsProperties value) {
if (awsBuilder_ == null) {
if (propertiesCase_ == 8
&& properties_
!= com.google.cloud.bigquery.connection.v1.AwsProperties.getDefaultInstance()) {
properties_ =
com.google.cloud.bigquery.connection.v1.AwsProperties.newBuilder(
(com.google.cloud.bigquery.connection.v1.AwsProperties) properties_)
.mergeFrom(value)
.buildPartial();
} else {
properties_ = value;
}
onChanged();
} else {
if (propertiesCase_ == 8) {
awsBuilder_.mergeFrom(value);
} else {
awsBuilder_.setMessage(value);
}
}
propertiesCase_ = 8;
return this;
}
/**
*
*
*
* Amazon Web Services (AWS) properties.
*
*
* .google.cloud.bigquery.connection.v1.AwsProperties aws = 8;
*/
public Builder clearAws() {
if (awsBuilder_ == null) {
if (propertiesCase_ == 8) {
propertiesCase_ = 0;
properties_ = null;
onChanged();
}
} else {
if (propertiesCase_ == 8) {
propertiesCase_ = 0;
properties_ = null;
}
awsBuilder_.clear();
}
return this;
}
/**
*
*
*
* Amazon Web Services (AWS) properties.
*
*
* .google.cloud.bigquery.connection.v1.AwsProperties aws = 8;
*/
public com.google.cloud.bigquery.connection.v1.AwsProperties.Builder getAwsBuilder() {
return getAwsFieldBuilder().getBuilder();
}
/**
*
*
*
* Amazon Web Services (AWS) properties.
*
*
* .google.cloud.bigquery.connection.v1.AwsProperties aws = 8;
*/
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.AwsPropertiesOrBuilder getAwsOrBuilder() {
if ((propertiesCase_ == 8) && (awsBuilder_ != null)) {
return awsBuilder_.getMessageOrBuilder();
} else {
if (propertiesCase_ == 8) {
return (com.google.cloud.bigquery.connection.v1.AwsProperties) properties_;
}
return com.google.cloud.bigquery.connection.v1.AwsProperties.getDefaultInstance();
}
}
/**
*
*
*
* Amazon Web Services (AWS) properties.
*
*
* .google.cloud.bigquery.connection.v1.AwsProperties aws = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.bigquery.connection.v1.AwsProperties,
com.google.cloud.bigquery.connection.v1.AwsProperties.Builder,
com.google.cloud.bigquery.connection.v1.AwsPropertiesOrBuilder>
getAwsFieldBuilder() {
if (awsBuilder_ == null) {
if (!(propertiesCase_ == 8)) {
properties_ = com.google.cloud.bigquery.connection.v1.AwsProperties.getDefaultInstance();
}
awsBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.bigquery.connection.v1.AwsProperties,
com.google.cloud.bigquery.connection.v1.AwsProperties.Builder,
com.google.cloud.bigquery.connection.v1.AwsPropertiesOrBuilder>(
(com.google.cloud.bigquery.connection.v1.AwsProperties) properties_,
getParentForChildren(),
isClean());
properties_ = null;
}
propertiesCase_ = 8;
onChanged();
return awsBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.bigquery.connection.v1.AzureProperties,
com.google.cloud.bigquery.connection.v1.AzureProperties.Builder,
com.google.cloud.bigquery.connection.v1.AzurePropertiesOrBuilder>
azureBuilder_;
/**
*
*
*
* Azure properties.
*
*
* .google.cloud.bigquery.connection.v1.AzureProperties azure = 11;
*
* @return Whether the azure field is set.
*/
@java.lang.Override
public boolean hasAzure() {
return propertiesCase_ == 11;
}
/**
*
*
*
* Azure properties.
*
*
* .google.cloud.bigquery.connection.v1.AzureProperties azure = 11;
*
* @return The azure.
*/
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.AzureProperties getAzure() {
if (azureBuilder_ == null) {
if (propertiesCase_ == 11) {
return (com.google.cloud.bigquery.connection.v1.AzureProperties) properties_;
}
return com.google.cloud.bigquery.connection.v1.AzureProperties.getDefaultInstance();
} else {
if (propertiesCase_ == 11) {
return azureBuilder_.getMessage();
}
return com.google.cloud.bigquery.connection.v1.AzureProperties.getDefaultInstance();
}
}
/**
*
*
*
* Azure properties.
*
*
* .google.cloud.bigquery.connection.v1.AzureProperties azure = 11;
*/
public Builder setAzure(com.google.cloud.bigquery.connection.v1.AzureProperties value) {
if (azureBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
properties_ = value;
onChanged();
} else {
azureBuilder_.setMessage(value);
}
propertiesCase_ = 11;
return this;
}
/**
*
*
*
* Azure properties.
*
*
* .google.cloud.bigquery.connection.v1.AzureProperties azure = 11;
*/
public Builder setAzure(
com.google.cloud.bigquery.connection.v1.AzureProperties.Builder builderForValue) {
if (azureBuilder_ == null) {
properties_ = builderForValue.build();
onChanged();
} else {
azureBuilder_.setMessage(builderForValue.build());
}
propertiesCase_ = 11;
return this;
}
/**
*
*
*
* Azure properties.
*
*
* .google.cloud.bigquery.connection.v1.AzureProperties azure = 11;
*/
public Builder mergeAzure(com.google.cloud.bigquery.connection.v1.AzureProperties value) {
if (azureBuilder_ == null) {
if (propertiesCase_ == 11
&& properties_
!= com.google.cloud.bigquery.connection.v1.AzureProperties.getDefaultInstance()) {
properties_ =
com.google.cloud.bigquery.connection.v1.AzureProperties.newBuilder(
(com.google.cloud.bigquery.connection.v1.AzureProperties) properties_)
.mergeFrom(value)
.buildPartial();
} else {
properties_ = value;
}
onChanged();
} else {
if (propertiesCase_ == 11) {
azureBuilder_.mergeFrom(value);
} else {
azureBuilder_.setMessage(value);
}
}
propertiesCase_ = 11;
return this;
}
/**
*
*
*
* Azure properties.
*
*
* .google.cloud.bigquery.connection.v1.AzureProperties azure = 11;
*/
public Builder clearAzure() {
if (azureBuilder_ == null) {
if (propertiesCase_ == 11) {
propertiesCase_ = 0;
properties_ = null;
onChanged();
}
} else {
if (propertiesCase_ == 11) {
propertiesCase_ = 0;
properties_ = null;
}
azureBuilder_.clear();
}
return this;
}
/**
*
*
*
* Azure properties.
*
*
* .google.cloud.bigquery.connection.v1.AzureProperties azure = 11;
*/
public com.google.cloud.bigquery.connection.v1.AzureProperties.Builder getAzureBuilder() {
return getAzureFieldBuilder().getBuilder();
}
/**
*
*
*
* Azure properties.
*
*
* .google.cloud.bigquery.connection.v1.AzureProperties azure = 11;
*/
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.AzurePropertiesOrBuilder getAzureOrBuilder() {
if ((propertiesCase_ == 11) && (azureBuilder_ != null)) {
return azureBuilder_.getMessageOrBuilder();
} else {
if (propertiesCase_ == 11) {
return (com.google.cloud.bigquery.connection.v1.AzureProperties) properties_;
}
return com.google.cloud.bigquery.connection.v1.AzureProperties.getDefaultInstance();
}
}
/**
*
*
*
* Azure properties.
*
*
* .google.cloud.bigquery.connection.v1.AzureProperties azure = 11;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.bigquery.connection.v1.AzureProperties,
com.google.cloud.bigquery.connection.v1.AzureProperties.Builder,
com.google.cloud.bigquery.connection.v1.AzurePropertiesOrBuilder>
getAzureFieldBuilder() {
if (azureBuilder_ == null) {
if (!(propertiesCase_ == 11)) {
properties_ =
com.google.cloud.bigquery.connection.v1.AzureProperties.getDefaultInstance();
}
azureBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.bigquery.connection.v1.AzureProperties,
com.google.cloud.bigquery.connection.v1.AzureProperties.Builder,
com.google.cloud.bigquery.connection.v1.AzurePropertiesOrBuilder>(
(com.google.cloud.bigquery.connection.v1.AzureProperties) properties_,
getParentForChildren(),
isClean());
properties_ = null;
}
propertiesCase_ = 11;
onChanged();
return azureBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.bigquery.connection.v1.CloudSpannerProperties,
com.google.cloud.bigquery.connection.v1.CloudSpannerProperties.Builder,
com.google.cloud.bigquery.connection.v1.CloudSpannerPropertiesOrBuilder>
cloudSpannerBuilder_;
/**
*
*
*
* Cloud Spanner properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudSpannerProperties cloud_spanner = 21;
*
* @return Whether the cloudSpanner field is set.
*/
@java.lang.Override
public boolean hasCloudSpanner() {
return propertiesCase_ == 21;
}
/**
*
*
*
* Cloud Spanner properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudSpannerProperties cloud_spanner = 21;
*
* @return The cloudSpanner.
*/
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.CloudSpannerProperties getCloudSpanner() {
if (cloudSpannerBuilder_ == null) {
if (propertiesCase_ == 21) {
return (com.google.cloud.bigquery.connection.v1.CloudSpannerProperties) properties_;
}
return com.google.cloud.bigquery.connection.v1.CloudSpannerProperties.getDefaultInstance();
} else {
if (propertiesCase_ == 21) {
return cloudSpannerBuilder_.getMessage();
}
return com.google.cloud.bigquery.connection.v1.CloudSpannerProperties.getDefaultInstance();
}
}
/**
*
*
*
* Cloud Spanner properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudSpannerProperties cloud_spanner = 21;
*/
public Builder setCloudSpanner(
com.google.cloud.bigquery.connection.v1.CloudSpannerProperties value) {
if (cloudSpannerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
properties_ = value;
onChanged();
} else {
cloudSpannerBuilder_.setMessage(value);
}
propertiesCase_ = 21;
return this;
}
/**
*
*
*
* Cloud Spanner properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudSpannerProperties cloud_spanner = 21;
*/
public Builder setCloudSpanner(
com.google.cloud.bigquery.connection.v1.CloudSpannerProperties.Builder builderForValue) {
if (cloudSpannerBuilder_ == null) {
properties_ = builderForValue.build();
onChanged();
} else {
cloudSpannerBuilder_.setMessage(builderForValue.build());
}
propertiesCase_ = 21;
return this;
}
/**
*
*
*
* Cloud Spanner properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudSpannerProperties cloud_spanner = 21;
*/
public Builder mergeCloudSpanner(
com.google.cloud.bigquery.connection.v1.CloudSpannerProperties value) {
if (cloudSpannerBuilder_ == null) {
if (propertiesCase_ == 21
&& properties_
!= com.google.cloud.bigquery.connection.v1.CloudSpannerProperties
.getDefaultInstance()) {
properties_ =
com.google.cloud.bigquery.connection.v1.CloudSpannerProperties.newBuilder(
(com.google.cloud.bigquery.connection.v1.CloudSpannerProperties) properties_)
.mergeFrom(value)
.buildPartial();
} else {
properties_ = value;
}
onChanged();
} else {
if (propertiesCase_ == 21) {
cloudSpannerBuilder_.mergeFrom(value);
} else {
cloudSpannerBuilder_.setMessage(value);
}
}
propertiesCase_ = 21;
return this;
}
/**
*
*
*
* Cloud Spanner properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudSpannerProperties cloud_spanner = 21;
*/
public Builder clearCloudSpanner() {
if (cloudSpannerBuilder_ == null) {
if (propertiesCase_ == 21) {
propertiesCase_ = 0;
properties_ = null;
onChanged();
}
} else {
if (propertiesCase_ == 21) {
propertiesCase_ = 0;
properties_ = null;
}
cloudSpannerBuilder_.clear();
}
return this;
}
/**
*
*
*
* Cloud Spanner properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudSpannerProperties cloud_spanner = 21;
*/
public com.google.cloud.bigquery.connection.v1.CloudSpannerProperties.Builder
getCloudSpannerBuilder() {
return getCloudSpannerFieldBuilder().getBuilder();
}
/**
*
*
*
* Cloud Spanner properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudSpannerProperties cloud_spanner = 21;
*/
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.CloudSpannerPropertiesOrBuilder
getCloudSpannerOrBuilder() {
if ((propertiesCase_ == 21) && (cloudSpannerBuilder_ != null)) {
return cloudSpannerBuilder_.getMessageOrBuilder();
} else {
if (propertiesCase_ == 21) {
return (com.google.cloud.bigquery.connection.v1.CloudSpannerProperties) properties_;
}
return com.google.cloud.bigquery.connection.v1.CloudSpannerProperties.getDefaultInstance();
}
}
/**
*
*
*
* Cloud Spanner properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudSpannerProperties cloud_spanner = 21;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.bigquery.connection.v1.CloudSpannerProperties,
com.google.cloud.bigquery.connection.v1.CloudSpannerProperties.Builder,
com.google.cloud.bigquery.connection.v1.CloudSpannerPropertiesOrBuilder>
getCloudSpannerFieldBuilder() {
if (cloudSpannerBuilder_ == null) {
if (!(propertiesCase_ == 21)) {
properties_ =
com.google.cloud.bigquery.connection.v1.CloudSpannerProperties.getDefaultInstance();
}
cloudSpannerBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.bigquery.connection.v1.CloudSpannerProperties,
com.google.cloud.bigquery.connection.v1.CloudSpannerProperties.Builder,
com.google.cloud.bigquery.connection.v1.CloudSpannerPropertiesOrBuilder>(
(com.google.cloud.bigquery.connection.v1.CloudSpannerProperties) properties_,
getParentForChildren(),
isClean());
properties_ = null;
}
propertiesCase_ = 21;
onChanged();
return cloudSpannerBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.bigquery.connection.v1.CloudResourceProperties,
com.google.cloud.bigquery.connection.v1.CloudResourceProperties.Builder,
com.google.cloud.bigquery.connection.v1.CloudResourcePropertiesOrBuilder>
cloudResourceBuilder_;
/**
*
*
*
* Cloud Resource properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudResourceProperties cloud_resource = 22;
*
*
* @return Whether the cloudResource field is set.
*/
@java.lang.Override
public boolean hasCloudResource() {
return propertiesCase_ == 22;
}
/**
*
*
*
* Cloud Resource properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudResourceProperties cloud_resource = 22;
*
*
* @return The cloudResource.
*/
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.CloudResourceProperties getCloudResource() {
if (cloudResourceBuilder_ == null) {
if (propertiesCase_ == 22) {
return (com.google.cloud.bigquery.connection.v1.CloudResourceProperties) properties_;
}
return com.google.cloud.bigquery.connection.v1.CloudResourceProperties.getDefaultInstance();
} else {
if (propertiesCase_ == 22) {
return cloudResourceBuilder_.getMessage();
}
return com.google.cloud.bigquery.connection.v1.CloudResourceProperties.getDefaultInstance();
}
}
/**
*
*
*
* Cloud Resource properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudResourceProperties cloud_resource = 22;
*
*/
public Builder setCloudResource(
com.google.cloud.bigquery.connection.v1.CloudResourceProperties value) {
if (cloudResourceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
properties_ = value;
onChanged();
} else {
cloudResourceBuilder_.setMessage(value);
}
propertiesCase_ = 22;
return this;
}
/**
*
*
*
* Cloud Resource properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudResourceProperties cloud_resource = 22;
*
*/
public Builder setCloudResource(
com.google.cloud.bigquery.connection.v1.CloudResourceProperties.Builder builderForValue) {
if (cloudResourceBuilder_ == null) {
properties_ = builderForValue.build();
onChanged();
} else {
cloudResourceBuilder_.setMessage(builderForValue.build());
}
propertiesCase_ = 22;
return this;
}
/**
*
*
*
* Cloud Resource properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudResourceProperties cloud_resource = 22;
*
*/
public Builder mergeCloudResource(
com.google.cloud.bigquery.connection.v1.CloudResourceProperties value) {
if (cloudResourceBuilder_ == null) {
if (propertiesCase_ == 22
&& properties_
!= com.google.cloud.bigquery.connection.v1.CloudResourceProperties
.getDefaultInstance()) {
properties_ =
com.google.cloud.bigquery.connection.v1.CloudResourceProperties.newBuilder(
(com.google.cloud.bigquery.connection.v1.CloudResourceProperties) properties_)
.mergeFrom(value)
.buildPartial();
} else {
properties_ = value;
}
onChanged();
} else {
if (propertiesCase_ == 22) {
cloudResourceBuilder_.mergeFrom(value);
} else {
cloudResourceBuilder_.setMessage(value);
}
}
propertiesCase_ = 22;
return this;
}
/**
*
*
*
* Cloud Resource properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudResourceProperties cloud_resource = 22;
*
*/
public Builder clearCloudResource() {
if (cloudResourceBuilder_ == null) {
if (propertiesCase_ == 22) {
propertiesCase_ = 0;
properties_ = null;
onChanged();
}
} else {
if (propertiesCase_ == 22) {
propertiesCase_ = 0;
properties_ = null;
}
cloudResourceBuilder_.clear();
}
return this;
}
/**
*
*
*
* Cloud Resource properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudResourceProperties cloud_resource = 22;
*
*/
public com.google.cloud.bigquery.connection.v1.CloudResourceProperties.Builder
getCloudResourceBuilder() {
return getCloudResourceFieldBuilder().getBuilder();
}
/**
*
*
*
* Cloud Resource properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudResourceProperties cloud_resource = 22;
*
*/
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.CloudResourcePropertiesOrBuilder
getCloudResourceOrBuilder() {
if ((propertiesCase_ == 22) && (cloudResourceBuilder_ != null)) {
return cloudResourceBuilder_.getMessageOrBuilder();
} else {
if (propertiesCase_ == 22) {
return (com.google.cloud.bigquery.connection.v1.CloudResourceProperties) properties_;
}
return com.google.cloud.bigquery.connection.v1.CloudResourceProperties.getDefaultInstance();
}
}
/**
*
*
*
* Cloud Resource properties.
*
*
* .google.cloud.bigquery.connection.v1.CloudResourceProperties cloud_resource = 22;
*
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.bigquery.connection.v1.CloudResourceProperties,
com.google.cloud.bigquery.connection.v1.CloudResourceProperties.Builder,
com.google.cloud.bigquery.connection.v1.CloudResourcePropertiesOrBuilder>
getCloudResourceFieldBuilder() {
if (cloudResourceBuilder_ == null) {
if (!(propertiesCase_ == 22)) {
properties_ =
com.google.cloud.bigquery.connection.v1.CloudResourceProperties.getDefaultInstance();
}
cloudResourceBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.bigquery.connection.v1.CloudResourceProperties,
com.google.cloud.bigquery.connection.v1.CloudResourceProperties.Builder,
com.google.cloud.bigquery.connection.v1.CloudResourcePropertiesOrBuilder>(
(com.google.cloud.bigquery.connection.v1.CloudResourceProperties) properties_,
getParentForChildren(),
isClean());
properties_ = null;
}
propertiesCase_ = 22;
onChanged();
return cloudResourceBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.bigquery.connection.v1.SparkProperties,
com.google.cloud.bigquery.connection.v1.SparkProperties.Builder,
com.google.cloud.bigquery.connection.v1.SparkPropertiesOrBuilder>
sparkBuilder_;
/**
*
*
*
* Spark properties.
*
*
* .google.cloud.bigquery.connection.v1.SparkProperties spark = 23;
*
* @return Whether the spark field is set.
*/
@java.lang.Override
public boolean hasSpark() {
return propertiesCase_ == 23;
}
/**
*
*
*
* Spark properties.
*
*
* .google.cloud.bigquery.connection.v1.SparkProperties spark = 23;
*
* @return The spark.
*/
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.SparkProperties getSpark() {
if (sparkBuilder_ == null) {
if (propertiesCase_ == 23) {
return (com.google.cloud.bigquery.connection.v1.SparkProperties) properties_;
}
return com.google.cloud.bigquery.connection.v1.SparkProperties.getDefaultInstance();
} else {
if (propertiesCase_ == 23) {
return sparkBuilder_.getMessage();
}
return com.google.cloud.bigquery.connection.v1.SparkProperties.getDefaultInstance();
}
}
/**
*
*
*
* Spark properties.
*
*
* .google.cloud.bigquery.connection.v1.SparkProperties spark = 23;
*/
public Builder setSpark(com.google.cloud.bigquery.connection.v1.SparkProperties value) {
if (sparkBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
properties_ = value;
onChanged();
} else {
sparkBuilder_.setMessage(value);
}
propertiesCase_ = 23;
return this;
}
/**
*
*
*
* Spark properties.
*
*
* .google.cloud.bigquery.connection.v1.SparkProperties spark = 23;
*/
public Builder setSpark(
com.google.cloud.bigquery.connection.v1.SparkProperties.Builder builderForValue) {
if (sparkBuilder_ == null) {
properties_ = builderForValue.build();
onChanged();
} else {
sparkBuilder_.setMessage(builderForValue.build());
}
propertiesCase_ = 23;
return this;
}
/**
*
*
*
* Spark properties.
*
*
* .google.cloud.bigquery.connection.v1.SparkProperties spark = 23;
*/
public Builder mergeSpark(com.google.cloud.bigquery.connection.v1.SparkProperties value) {
if (sparkBuilder_ == null) {
if (propertiesCase_ == 23
&& properties_
!= com.google.cloud.bigquery.connection.v1.SparkProperties.getDefaultInstance()) {
properties_ =
com.google.cloud.bigquery.connection.v1.SparkProperties.newBuilder(
(com.google.cloud.bigquery.connection.v1.SparkProperties) properties_)
.mergeFrom(value)
.buildPartial();
} else {
properties_ = value;
}
onChanged();
} else {
if (propertiesCase_ == 23) {
sparkBuilder_.mergeFrom(value);
} else {
sparkBuilder_.setMessage(value);
}
}
propertiesCase_ = 23;
return this;
}
/**
*
*
*
* Spark properties.
*
*
* .google.cloud.bigquery.connection.v1.SparkProperties spark = 23;
*/
public Builder clearSpark() {
if (sparkBuilder_ == null) {
if (propertiesCase_ == 23) {
propertiesCase_ = 0;
properties_ = null;
onChanged();
}
} else {
if (propertiesCase_ == 23) {
propertiesCase_ = 0;
properties_ = null;
}
sparkBuilder_.clear();
}
return this;
}
/**
*
*
*
* Spark properties.
*
*
* .google.cloud.bigquery.connection.v1.SparkProperties spark = 23;
*/
public com.google.cloud.bigquery.connection.v1.SparkProperties.Builder getSparkBuilder() {
return getSparkFieldBuilder().getBuilder();
}
/**
*
*
*
* Spark properties.
*
*
* .google.cloud.bigquery.connection.v1.SparkProperties spark = 23;
*/
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.SparkPropertiesOrBuilder getSparkOrBuilder() {
if ((propertiesCase_ == 23) && (sparkBuilder_ != null)) {
return sparkBuilder_.getMessageOrBuilder();
} else {
if (propertiesCase_ == 23) {
return (com.google.cloud.bigquery.connection.v1.SparkProperties) properties_;
}
return com.google.cloud.bigquery.connection.v1.SparkProperties.getDefaultInstance();
}
}
/**
*
*
*
* Spark properties.
*
*
* .google.cloud.bigquery.connection.v1.SparkProperties spark = 23;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.bigquery.connection.v1.SparkProperties,
com.google.cloud.bigquery.connection.v1.SparkProperties.Builder,
com.google.cloud.bigquery.connection.v1.SparkPropertiesOrBuilder>
getSparkFieldBuilder() {
if (sparkBuilder_ == null) {
if (!(propertiesCase_ == 23)) {
properties_ =
com.google.cloud.bigquery.connection.v1.SparkProperties.getDefaultInstance();
}
sparkBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.bigquery.connection.v1.SparkProperties,
com.google.cloud.bigquery.connection.v1.SparkProperties.Builder,
com.google.cloud.bigquery.connection.v1.SparkPropertiesOrBuilder>(
(com.google.cloud.bigquery.connection.v1.SparkProperties) properties_,
getParentForChildren(),
isClean());
properties_ = null;
}
propertiesCase_ = 23;
onChanged();
return sparkBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties,
com.google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties.Builder,
com.google.cloud.bigquery.connection.v1.SalesforceDataCloudPropertiesOrBuilder>
salesforceDataCloudBuilder_;
/**
*
*
*
* Optional. Salesforce DataCloud properties. This field is intended for
* use only by Salesforce partner projects. This field contains properties
* for your Salesforce DataCloud connection.
*
*
*
* .google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties salesforce_data_cloud = 24 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the salesforceDataCloud field is set.
*/
@java.lang.Override
public boolean hasSalesforceDataCloud() {
return propertiesCase_ == 24;
}
/**
*
*
*
* Optional. Salesforce DataCloud properties. This field is intended for
* use only by Salesforce partner projects. This field contains properties
* for your Salesforce DataCloud connection.
*
*
*
* .google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties salesforce_data_cloud = 24 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The salesforceDataCloud.
*/
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties
getSalesforceDataCloud() {
if (salesforceDataCloudBuilder_ == null) {
if (propertiesCase_ == 24) {
return (com.google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties)
properties_;
}
return com.google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties
.getDefaultInstance();
} else {
if (propertiesCase_ == 24) {
return salesforceDataCloudBuilder_.getMessage();
}
return com.google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties
.getDefaultInstance();
}
}
/**
*
*
*
* Optional. Salesforce DataCloud properties. This field is intended for
* use only by Salesforce partner projects. This field contains properties
* for your Salesforce DataCloud connection.
*
*
*
* .google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties salesforce_data_cloud = 24 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder setSalesforceDataCloud(
com.google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties value) {
if (salesforceDataCloudBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
properties_ = value;
onChanged();
} else {
salesforceDataCloudBuilder_.setMessage(value);
}
propertiesCase_ = 24;
return this;
}
/**
*
*
*
* Optional. Salesforce DataCloud properties. This field is intended for
* use only by Salesforce partner projects. This field contains properties
* for your Salesforce DataCloud connection.
*
*
*
* .google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties salesforce_data_cloud = 24 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder setSalesforceDataCloud(
com.google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties.Builder
builderForValue) {
if (salesforceDataCloudBuilder_ == null) {
properties_ = builderForValue.build();
onChanged();
} else {
salesforceDataCloudBuilder_.setMessage(builderForValue.build());
}
propertiesCase_ = 24;
return this;
}
/**
*
*
*
* Optional. Salesforce DataCloud properties. This field is intended for
* use only by Salesforce partner projects. This field contains properties
* for your Salesforce DataCloud connection.
*
*
*
* .google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties salesforce_data_cloud = 24 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder mergeSalesforceDataCloud(
com.google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties value) {
if (salesforceDataCloudBuilder_ == null) {
if (propertiesCase_ == 24
&& properties_
!= com.google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties
.getDefaultInstance()) {
properties_ =
com.google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties.newBuilder(
(com.google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties)
properties_)
.mergeFrom(value)
.buildPartial();
} else {
properties_ = value;
}
onChanged();
} else {
if (propertiesCase_ == 24) {
salesforceDataCloudBuilder_.mergeFrom(value);
} else {
salesforceDataCloudBuilder_.setMessage(value);
}
}
propertiesCase_ = 24;
return this;
}
/**
*
*
*
* Optional. Salesforce DataCloud properties. This field is intended for
* use only by Salesforce partner projects. This field contains properties
* for your Salesforce DataCloud connection.
*
*
*
* .google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties salesforce_data_cloud = 24 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder clearSalesforceDataCloud() {
if (salesforceDataCloudBuilder_ == null) {
if (propertiesCase_ == 24) {
propertiesCase_ = 0;
properties_ = null;
onChanged();
}
} else {
if (propertiesCase_ == 24) {
propertiesCase_ = 0;
properties_ = null;
}
salesforceDataCloudBuilder_.clear();
}
return this;
}
/**
*
*
*
* Optional. Salesforce DataCloud properties. This field is intended for
* use only by Salesforce partner projects. This field contains properties
* for your Salesforce DataCloud connection.
*
*
*
* .google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties salesforce_data_cloud = 24 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public com.google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties.Builder
getSalesforceDataCloudBuilder() {
return getSalesforceDataCloudFieldBuilder().getBuilder();
}
/**
*
*
*
* Optional. Salesforce DataCloud properties. This field is intended for
* use only by Salesforce partner projects. This field contains properties
* for your Salesforce DataCloud connection.
*
*
*
* .google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties salesforce_data_cloud = 24 [(.google.api.field_behavior) = OPTIONAL];
*
*/
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.SalesforceDataCloudPropertiesOrBuilder
getSalesforceDataCloudOrBuilder() {
if ((propertiesCase_ == 24) && (salesforceDataCloudBuilder_ != null)) {
return salesforceDataCloudBuilder_.getMessageOrBuilder();
} else {
if (propertiesCase_ == 24) {
return (com.google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties)
properties_;
}
return com.google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties
.getDefaultInstance();
}
}
/**
*
*
*
* Optional. Salesforce DataCloud properties. This field is intended for
* use only by Salesforce partner projects. This field contains properties
* for your Salesforce DataCloud connection.
*
*
*
* .google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties salesforce_data_cloud = 24 [(.google.api.field_behavior) = OPTIONAL];
*
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties,
com.google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties.Builder,
com.google.cloud.bigquery.connection.v1.SalesforceDataCloudPropertiesOrBuilder>
getSalesforceDataCloudFieldBuilder() {
if (salesforceDataCloudBuilder_ == null) {
if (!(propertiesCase_ == 24)) {
properties_ =
com.google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties
.getDefaultInstance();
}
salesforceDataCloudBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties,
com.google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties.Builder,
com.google.cloud.bigquery.connection.v1.SalesforceDataCloudPropertiesOrBuilder>(
(com.google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties) properties_,
getParentForChildren(),
isClean());
properties_ = null;
}
propertiesCase_ = 24;
onChanged();
return salesforceDataCloudBuilder_;
}
private long creationTime_;
/**
*
*
*
* Output only. The creation timestamp of the connection.
*
*
* int64 creation_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The creationTime.
*/
@java.lang.Override
public long getCreationTime() {
return creationTime_;
}
/**
*
*
*
* Output only. The creation timestamp of the connection.
*
*
* int64 creation_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @param value The creationTime to set.
* @return This builder for chaining.
*/
public Builder setCreationTime(long value) {
creationTime_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
*
*
*
* Output only. The creation timestamp of the connection.
*
*
* int64 creation_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return This builder for chaining.
*/
public Builder clearCreationTime() {
bitField0_ = (bitField0_ & ~0x00000400);
creationTime_ = 0L;
onChanged();
return this;
}
private long lastModifiedTime_;
/**
*
*
*
* Output only. The last update timestamp of the connection.
*
*
* int64 last_modified_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The lastModifiedTime.
*/
@java.lang.Override
public long getLastModifiedTime() {
return lastModifiedTime_;
}
/**
*
*
*
* Output only. The last update timestamp of the connection.
*
*
* int64 last_modified_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @param value The lastModifiedTime to set.
* @return This builder for chaining.
*/
public Builder setLastModifiedTime(long value) {
lastModifiedTime_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
*
*
*
* Output only. The last update timestamp of the connection.
*
*
* int64 last_modified_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return This builder for chaining.
*/
public Builder clearLastModifiedTime() {
bitField0_ = (bitField0_ & ~0x00000800);
lastModifiedTime_ = 0L;
onChanged();
return this;
}
private boolean hasCredential_;
/**
*
*
*
* Output only. True, if credential is configured for this connection.
*
*
* bool has_credential = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The hasCredential.
*/
@java.lang.Override
public boolean getHasCredential() {
return hasCredential_;
}
/**
*
*
*
* Output only. True, if credential is configured for this connection.
*
*
* bool has_credential = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @param value The hasCredential to set.
* @return This builder for chaining.
*/
public Builder setHasCredential(boolean value) {
hasCredential_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
*
*
*
* Output only. True, if credential is configured for this connection.
*
*
* bool has_credential = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return This builder for chaining.
*/
public Builder clearHasCredential() {
bitField0_ = (bitField0_ & ~0x00001000);
hasCredential_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:google.cloud.bigquery.connection.v1.Connection)
}
// @@protoc_insertion_point(class_scope:google.cloud.bigquery.connection.v1.Connection)
private static final com.google.cloud.bigquery.connection.v1.Connection DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.cloud.bigquery.connection.v1.Connection();
}
public static com.google.cloud.bigquery.connection.v1.Connection getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Connection parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.cloud.bigquery.connection.v1.Connection getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy