diff --git a/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/AwsProperties.java b/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/AwsProperties.java index 19dd4ee923e3..e615099fc895 100644 --- a/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/AwsProperties.java +++ b/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/AwsProperties.java @@ -153,6 +153,7 @@ public enum AuthenticationMethodCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { + @java.lang.Deprecated CROSS_ACCOUNT_ROLE(2), ACCESS_ROLE(3), AUTHENTICATIONMETHOD_NOT_SET(0); @@ -200,13 +201,19 @@ public AuthenticationMethodCase getAuthenticationMethodCase() { *
* Authentication using Google owned AWS IAM user's access key to assume * into customer's AWS IAM Role. + * Deprecated, do not use. ** - *
.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;
+ *
+ * .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
+ *
*
+ * @deprecated google.cloud.bigquery.connection.v1.AwsProperties.cross_account_role is deprecated.
+ * See google/cloud/bigquery/connection/v1/connection.proto;l=314
* @return Whether the crossAccountRole field is set.
*/
@java.lang.Override
+ @java.lang.Deprecated
public boolean hasCrossAccountRole() {
return authenticationMethodCase_ == 2;
}
@@ -216,13 +223,19 @@ public boolean hasCrossAccountRole() {
* * Authentication using Google owned AWS IAM user's access key to assume * into customer's AWS IAM Role. + * Deprecated, do not use. ** - *
.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;
+ *
+ * .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
+ *
*
+ * @deprecated google.cloud.bigquery.connection.v1.AwsProperties.cross_account_role is deprecated.
+ * See google/cloud/bigquery/connection/v1/connection.proto;l=314
* @return The crossAccountRole.
*/
@java.lang.Override
+ @java.lang.Deprecated
public com.google.cloud.bigquery.connection.v1.AwsCrossAccountRole getCrossAccountRole() {
if (authenticationMethodCase_ == 2) {
return (com.google.cloud.bigquery.connection.v1.AwsCrossAccountRole) authenticationMethod_;
@@ -235,11 +248,15 @@ public com.google.cloud.bigquery.connection.v1.AwsCrossAccountRole getCrossAccou
* * Authentication using Google owned AWS IAM user's access key to assume * into customer's AWS IAM Role. + * Deprecated, do not use. ** - *
.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;
+ *
+ * .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
+ *
*/
@java.lang.Override
+ @java.lang.Deprecated
public com.google.cloud.bigquery.connection.v1.AwsCrossAccountRoleOrBuilder
getCrossAccountRoleOrBuilder() {
if (authenticationMethodCase_ == 2) {
@@ -705,13 +722,19 @@ public Builder clearAuthenticationMethod() {
* * Authentication using Google owned AWS IAM user's access key to assume * into customer's AWS IAM Role. + * Deprecated, do not use. ** - *
.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;
+ *
+ * .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
+ *
*
+ * @deprecated google.cloud.bigquery.connection.v1.AwsProperties.cross_account_role is
+ * deprecated. See google/cloud/bigquery/connection/v1/connection.proto;l=314
* @return Whether the crossAccountRole field is set.
*/
@java.lang.Override
+ @java.lang.Deprecated
public boolean hasCrossAccountRole() {
return authenticationMethodCase_ == 2;
}
@@ -721,13 +744,19 @@ public boolean hasCrossAccountRole() {
* * Authentication using Google owned AWS IAM user's access key to assume * into customer's AWS IAM Role. + * Deprecated, do not use. ** - *
.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;
+ *
+ * .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
+ *
*
+ * @deprecated google.cloud.bigquery.connection.v1.AwsProperties.cross_account_role is
+ * deprecated. See google/cloud/bigquery/connection/v1/connection.proto;l=314
* @return The crossAccountRole.
*/
@java.lang.Override
+ @java.lang.Deprecated
public com.google.cloud.bigquery.connection.v1.AwsCrossAccountRole getCrossAccountRole() {
if (crossAccountRoleBuilder_ == null) {
if (authenticationMethodCase_ == 2) {
@@ -748,10 +777,14 @@ public com.google.cloud.bigquery.connection.v1.AwsCrossAccountRole getCrossAccou
* * Authentication using Google owned AWS IAM user's access key to assume * into customer's AWS IAM Role. + * Deprecated, do not use. ** - *
.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;
+ *
+ * .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
+ *
*/
+ @java.lang.Deprecated
public Builder setCrossAccountRole(
com.google.cloud.bigquery.connection.v1.AwsCrossAccountRole value) {
if (crossAccountRoleBuilder_ == null) {
@@ -772,10 +805,14 @@ public Builder setCrossAccountRole(
* * Authentication using Google owned AWS IAM user's access key to assume * into customer's AWS IAM Role. + * Deprecated, do not use. ** - *
.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;
+ *
+ * .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
+ *
*/
+ @java.lang.Deprecated
public Builder setCrossAccountRole(
com.google.cloud.bigquery.connection.v1.AwsCrossAccountRole.Builder builderForValue) {
if (crossAccountRoleBuilder_ == null) {
@@ -793,10 +830,14 @@ public Builder setCrossAccountRole(
* * Authentication using Google owned AWS IAM user's access key to assume * into customer's AWS IAM Role. + * Deprecated, do not use. ** - *
.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;
+ *
+ * .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
+ *
*/
+ @java.lang.Deprecated
public Builder mergeCrossAccountRole(
com.google.cloud.bigquery.connection.v1.AwsCrossAccountRole value) {
if (crossAccountRoleBuilder_ == null) {
@@ -830,10 +871,14 @@ public Builder mergeCrossAccountRole(
* * Authentication using Google owned AWS IAM user's access key to assume * into customer's AWS IAM Role. + * Deprecated, do not use. ** - *
.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;
+ *
+ * .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
+ *
*/
+ @java.lang.Deprecated
public Builder clearCrossAccountRole() {
if (crossAccountRoleBuilder_ == null) {
if (authenticationMethodCase_ == 2) {
@@ -856,10 +901,14 @@ public Builder clearCrossAccountRole() {
* * Authentication using Google owned AWS IAM user's access key to assume * into customer's AWS IAM Role. + * Deprecated, do not use. ** - *
.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;
+ *
+ * .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
+ *
*/
+ @java.lang.Deprecated
public com.google.cloud.bigquery.connection.v1.AwsCrossAccountRole.Builder
getCrossAccountRoleBuilder() {
return getCrossAccountRoleFieldBuilder().getBuilder();
@@ -870,11 +919,15 @@ public Builder clearCrossAccountRole() {
* * Authentication using Google owned AWS IAM user's access key to assume * into customer's AWS IAM Role. + * Deprecated, do not use. ** - *
.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;
+ *
+ * .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
+ *
*/
@java.lang.Override
+ @java.lang.Deprecated
public com.google.cloud.bigquery.connection.v1.AwsCrossAccountRoleOrBuilder
getCrossAccountRoleOrBuilder() {
if ((authenticationMethodCase_ == 2) && (crossAccountRoleBuilder_ != null)) {
@@ -893,9 +946,12 @@ public Builder clearCrossAccountRole() {
* * Authentication using Google owned AWS IAM user's access key to assume * into customer's AWS IAM Role. + * Deprecated, do not use. ** - *
.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;
+ *
+ * .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
+ *
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.bigquery.connection.v1.AwsCrossAccountRole,
diff --git a/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/AwsPropertiesOrBuilder.java b/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/AwsPropertiesOrBuilder.java
index 41ed383b86e4..414cd370efd8 100644
--- a/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/AwsPropertiesOrBuilder.java
+++ b/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/AwsPropertiesOrBuilder.java
@@ -29,12 +29,18 @@ public interface AwsPropertiesOrBuilder
* * Authentication using Google owned AWS IAM user's access key to assume * into customer's AWS IAM Role. + * Deprecated, do not use. ** - *
.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;
+ *
+ * .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
+ *
*
+ * @deprecated google.cloud.bigquery.connection.v1.AwsProperties.cross_account_role is deprecated.
+ * See google/cloud/bigquery/connection/v1/connection.proto;l=314
* @return Whether the crossAccountRole field is set.
*/
+ @java.lang.Deprecated
boolean hasCrossAccountRole();
/**
*
@@ -42,12 +48,18 @@ public interface AwsPropertiesOrBuilder
* * Authentication using Google owned AWS IAM user's access key to assume * into customer's AWS IAM Role. + * Deprecated, do not use. ** - *
.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;
+ *
+ * .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
+ *
*
+ * @deprecated google.cloud.bigquery.connection.v1.AwsProperties.cross_account_role is deprecated.
+ * See google/cloud/bigquery/connection/v1/connection.proto;l=314
* @return The crossAccountRole.
*/
+ @java.lang.Deprecated
com.google.cloud.bigquery.connection.v1.AwsCrossAccountRole getCrossAccountRole();
/**
*
@@ -55,10 +67,14 @@ public interface AwsPropertiesOrBuilder
* * Authentication using Google owned AWS IAM user's access key to assume * into customer's AWS IAM Role. + * Deprecated, do not use. ** - *
.google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2;
+ *
+ * .google.cloud.bigquery.connection.v1.AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
+ *
*/
+ @java.lang.Deprecated
com.google.cloud.bigquery.connection.v1.AwsCrossAccountRoleOrBuilder
getCrossAccountRoleOrBuilder();
diff --git a/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/AzureProperties.java b/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/AzureProperties.java
new file mode 100644
index 000000000000..6a73ccfb4cc8
--- /dev/null
+++ b/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/AzureProperties.java
@@ -0,0 +1,1744 @@
+/*
+ * Copyright 2020 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
+
+package com.google.cloud.bigquery.connection.v1;
+
+/**
+ *
+ *
+ * + * Container for connection properties specific to Azure. + *+ * + * Protobuf type {@code google.cloud.bigquery.connection.v1.AzureProperties} + */ +public final class AzureProperties extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.bigquery.connection.v1.AzureProperties) + AzurePropertiesOrBuilder { + private static final long serialVersionUID = 0L; + // Use AzureProperties.newBuilder() to construct. + private AzureProperties(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private AzureProperties() { + application_ = ""; + clientId_ = ""; + objectId_ = ""; + customerTenantId_ = ""; + redirectUri_ = ""; + federatedApplicationClientId_ = ""; + identity_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AzureProperties(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private AzureProperties( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + application_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + clientId_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + objectId_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + + customerTenantId_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + + redirectUri_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + + federatedApplicationClientId_ = s; + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); + + identity_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.connection.v1.ConnectionOuterClass + .internal_static_google_cloud_bigquery_connection_v1_AzureProperties_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_AzureProperties_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.bigquery.connection.v1.AzureProperties.class, + com.google.cloud.bigquery.connection.v1.AzureProperties.Builder.class); + } + + public static final int APPLICATION_FIELD_NUMBER = 1; + private volatile java.lang.Object application_; + /** + * + * + *
+ * Output only. The name of the Azure Active Directory Application. + *+ * + *
string application = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The application.
+ */
+ @java.lang.Override
+ public java.lang.String getApplication() {
+ java.lang.Object ref = application_;
+ 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();
+ application_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. The name of the Azure Active Directory Application. + *+ * + *
string application = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for application.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getApplicationBytes() {
+ java.lang.Object ref = application_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ application_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int CLIENT_ID_FIELD_NUMBER = 2;
+ private volatile java.lang.Object clientId_;
+ /**
+ *
+ *
+ * + * Output only. The client id of the Azure Active Directory Application. + *+ * + *
string client_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The clientId.
+ */
+ @java.lang.Override
+ public java.lang.String getClientId() {
+ java.lang.Object ref = clientId_;
+ 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();
+ clientId_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. The client id of the Azure Active Directory Application. + *+ * + *
string client_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for clientId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getClientIdBytes() {
+ java.lang.Object ref = clientId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ clientId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int OBJECT_ID_FIELD_NUMBER = 3;
+ private volatile java.lang.Object objectId_;
+ /**
+ *
+ *
+ * + * Output only. The object id of the Azure Active Directory Application. + *+ * + *
string object_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The objectId.
+ */
+ @java.lang.Override
+ public java.lang.String getObjectId() {
+ java.lang.Object ref = objectId_;
+ 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();
+ objectId_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. The object id of the Azure Active Directory Application. + *+ * + *
string object_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for objectId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getObjectIdBytes() {
+ java.lang.Object ref = objectId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ objectId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int CUSTOMER_TENANT_ID_FIELD_NUMBER = 4;
+ private volatile java.lang.Object customerTenantId_;
+ /**
+ *
+ *
+ * + * The id of customer's directory that host the data. + *+ * + *
string customer_tenant_id = 4;
+ *
+ * @return The customerTenantId.
+ */
+ @java.lang.Override
+ public java.lang.String getCustomerTenantId() {
+ java.lang.Object ref = customerTenantId_;
+ 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();
+ customerTenantId_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * The id of customer's directory that host the data. + *+ * + *
string customer_tenant_id = 4;
+ *
+ * @return The bytes for customerTenantId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getCustomerTenantIdBytes() {
+ java.lang.Object ref = customerTenantId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ customerTenantId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int REDIRECT_URI_FIELD_NUMBER = 5;
+ private volatile java.lang.Object redirectUri_;
+ /**
+ *
+ *
+ * + * The URL user will be redirected to after granting consent during connection + * setup. + *+ * + *
string redirect_uri = 5;
+ *
+ * @return The redirectUri.
+ */
+ @java.lang.Override
+ public java.lang.String getRedirectUri() {
+ java.lang.Object ref = redirectUri_;
+ 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();
+ redirectUri_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * The URL user will be redirected to after granting consent during connection + * setup. + *+ * + *
string redirect_uri = 5;
+ *
+ * @return The bytes for redirectUri.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getRedirectUriBytes() {
+ java.lang.Object ref = redirectUri_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ redirectUri_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int FEDERATED_APPLICATION_CLIENT_ID_FIELD_NUMBER = 6;
+ private volatile java.lang.Object federatedApplicationClientId_;
+ /**
+ *
+ *
+ * + * The client id of the user's Azure Active Directory Application used for a + * federated connection. + *+ * + *
string federated_application_client_id = 6;
+ *
+ * @return The federatedApplicationClientId.
+ */
+ @java.lang.Override
+ public java.lang.String getFederatedApplicationClientId() {
+ java.lang.Object ref = federatedApplicationClientId_;
+ 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();
+ federatedApplicationClientId_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * The client id of the user's Azure Active Directory Application used for a + * federated connection. + *+ * + *
string federated_application_client_id = 6;
+ *
+ * @return The bytes for federatedApplicationClientId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getFederatedApplicationClientIdBytes() {
+ java.lang.Object ref = federatedApplicationClientId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ federatedApplicationClientId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int IDENTITY_FIELD_NUMBER = 7;
+ private volatile java.lang.Object identity_;
+ /**
+ *
+ *
+ * + * Output only. A unique Google-owned and Google-generated identity for the Connection. + * This identity will be used to access the user's Azure Active Directory + * Application. + *+ * + *
string identity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The identity.
+ */
+ @java.lang.Override
+ public java.lang.String getIdentity() {
+ java.lang.Object ref = identity_;
+ 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();
+ identity_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. A unique Google-owned and Google-generated identity for the Connection. + * This identity will be used to access the user's Azure Active Directory + * Application. + *+ * + *
string identity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for identity.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getIdentityBytes() {
+ java.lang.Object ref = identity_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ identity_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ 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(application_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, application_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientId_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, clientId_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(objectId_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, objectId_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(customerTenantId_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, customerTenantId_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(redirectUri_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 5, redirectUri_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(federatedApplicationClientId_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 6, federatedApplicationClientId_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(identity_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 7, identity_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(application_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, application_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientId_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clientId_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(objectId_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, objectId_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(customerTenantId_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, customerTenantId_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(redirectUri_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, redirectUri_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(federatedApplicationClientId_)) {
+ size +=
+ com.google.protobuf.GeneratedMessageV3.computeStringSize(
+ 6, federatedApplicationClientId_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(identity_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, identity_);
+ }
+ size += unknownFields.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.AzureProperties)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.bigquery.connection.v1.AzureProperties other =
+ (com.google.cloud.bigquery.connection.v1.AzureProperties) obj;
+
+ if (!getApplication().equals(other.getApplication())) return false;
+ if (!getClientId().equals(other.getClientId())) return false;
+ if (!getObjectId().equals(other.getObjectId())) return false;
+ if (!getCustomerTenantId().equals(other.getCustomerTenantId())) return false;
+ if (!getRedirectUri().equals(other.getRedirectUri())) return false;
+ if (!getFederatedApplicationClientId().equals(other.getFederatedApplicationClientId()))
+ return false;
+ if (!getIdentity().equals(other.getIdentity())) return false;
+ if (!unknownFields.equals(other.unknownFields)) 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) + APPLICATION_FIELD_NUMBER;
+ hash = (53 * hash) + getApplication().hashCode();
+ hash = (37 * hash) + CLIENT_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getClientId().hashCode();
+ hash = (37 * hash) + OBJECT_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getObjectId().hashCode();
+ hash = (37 * hash) + CUSTOMER_TENANT_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getCustomerTenantId().hashCode();
+ hash = (37 * hash) + REDIRECT_URI_FIELD_NUMBER;
+ hash = (53 * hash) + getRedirectUri().hashCode();
+ hash = (37 * hash) + FEDERATED_APPLICATION_CLIENT_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getFederatedApplicationClientId().hashCode();
+ hash = (37 * hash) + IDENTITY_FIELD_NUMBER;
+ hash = (53 * hash) + getIdentity().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.bigquery.connection.v1.AzureProperties parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.bigquery.connection.v1.AzureProperties 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.AzureProperties parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.bigquery.connection.v1.AzureProperties 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.AzureProperties parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.bigquery.connection.v1.AzureProperties 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.AzureProperties 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.AzureProperties 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.AzureProperties 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.AzureProperties 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.AzureProperties 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.AzureProperties 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.AzureProperties 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;
+ }
+ /**
+ *
+ *
+ * + * Container for connection properties specific to Azure. + *+ * + * Protobuf type {@code google.cloud.bigquery.connection.v1.AzureProperties} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Output only. The name of the Azure Active Directory Application. + *+ * + *
string application = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The application.
+ */
+ public java.lang.String getApplication() {
+ java.lang.Object ref = application_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ application_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. The name of the Azure Active Directory Application. + *+ * + *
string application = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for application.
+ */
+ public com.google.protobuf.ByteString getApplicationBytes() {
+ java.lang.Object ref = application_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ application_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. The name of the Azure Active Directory Application. + *+ * + *
string application = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The application to set.
+ * @return This builder for chaining.
+ */
+ public Builder setApplication(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ application_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. The name of the Azure Active Directory Application. + *+ * + *
string application = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearApplication() {
+
+ application_ = getDefaultInstance().getApplication();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. The name of the Azure Active Directory Application. + *+ * + *
string application = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The bytes for application to set.
+ * @return This builder for chaining.
+ */
+ public Builder setApplicationBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ application_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object clientId_ = "";
+ /**
+ *
+ *
+ * + * Output only. The client id of the Azure Active Directory Application. + *+ * + *
string client_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The clientId.
+ */
+ public java.lang.String getClientId() {
+ java.lang.Object ref = clientId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ clientId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. The client id of the Azure Active Directory Application. + *+ * + *
string client_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for clientId.
+ */
+ public com.google.protobuf.ByteString getClientIdBytes() {
+ java.lang.Object ref = clientId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ clientId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. The client id of the Azure Active Directory Application. + *+ * + *
string client_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The clientId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setClientId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ clientId_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. The client id of the Azure Active Directory Application. + *+ * + *
string client_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearClientId() {
+
+ clientId_ = getDefaultInstance().getClientId();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. The client id of the Azure Active Directory Application. + *+ * + *
string client_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The bytes for clientId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setClientIdBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ clientId_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object objectId_ = "";
+ /**
+ *
+ *
+ * + * Output only. The object id of the Azure Active Directory Application. + *+ * + *
string object_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The objectId.
+ */
+ public java.lang.String getObjectId() {
+ java.lang.Object ref = objectId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ objectId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. The object id of the Azure Active Directory Application. + *+ * + *
string object_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for objectId.
+ */
+ public com.google.protobuf.ByteString getObjectIdBytes() {
+ java.lang.Object ref = objectId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ objectId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. The object id of the Azure Active Directory Application. + *+ * + *
string object_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The objectId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setObjectId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ objectId_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. The object id of the Azure Active Directory Application. + *+ * + *
string object_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearObjectId() {
+
+ objectId_ = getDefaultInstance().getObjectId();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. The object id of the Azure Active Directory Application. + *+ * + *
string object_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The bytes for objectId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setObjectIdBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ objectId_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object customerTenantId_ = "";
+ /**
+ *
+ *
+ * + * The id of customer's directory that host the data. + *+ * + *
string customer_tenant_id = 4;
+ *
+ * @return The customerTenantId.
+ */
+ public java.lang.String getCustomerTenantId() {
+ java.lang.Object ref = customerTenantId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ customerTenantId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The id of customer's directory that host the data. + *+ * + *
string customer_tenant_id = 4;
+ *
+ * @return The bytes for customerTenantId.
+ */
+ public com.google.protobuf.ByteString getCustomerTenantIdBytes() {
+ java.lang.Object ref = customerTenantId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ customerTenantId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The id of customer's directory that host the data. + *+ * + *
string customer_tenant_id = 4;
+ *
+ * @param value The customerTenantId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCustomerTenantId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ customerTenantId_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The id of customer's directory that host the data. + *+ * + *
string customer_tenant_id = 4;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearCustomerTenantId() {
+
+ customerTenantId_ = getDefaultInstance().getCustomerTenantId();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The id of customer's directory that host the data. + *+ * + *
string customer_tenant_id = 4;
+ *
+ * @param value The bytes for customerTenantId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCustomerTenantIdBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ customerTenantId_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object redirectUri_ = "";
+ /**
+ *
+ *
+ * + * The URL user will be redirected to after granting consent during connection + * setup. + *+ * + *
string redirect_uri = 5;
+ *
+ * @return The redirectUri.
+ */
+ public java.lang.String getRedirectUri() {
+ java.lang.Object ref = redirectUri_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ redirectUri_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The URL user will be redirected to after granting consent during connection + * setup. + *+ * + *
string redirect_uri = 5;
+ *
+ * @return The bytes for redirectUri.
+ */
+ public com.google.protobuf.ByteString getRedirectUriBytes() {
+ java.lang.Object ref = redirectUri_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ redirectUri_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The URL user will be redirected to after granting consent during connection + * setup. + *+ * + *
string redirect_uri = 5;
+ *
+ * @param value The redirectUri to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRedirectUri(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ redirectUri_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The URL user will be redirected to after granting consent during connection + * setup. + *+ * + *
string redirect_uri = 5;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearRedirectUri() {
+
+ redirectUri_ = getDefaultInstance().getRedirectUri();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The URL user will be redirected to after granting consent during connection + * setup. + *+ * + *
string redirect_uri = 5;
+ *
+ * @param value The bytes for redirectUri to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRedirectUriBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ redirectUri_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object federatedApplicationClientId_ = "";
+ /**
+ *
+ *
+ * + * The client id of the user's Azure Active Directory Application used for a + * federated connection. + *+ * + *
string federated_application_client_id = 6;
+ *
+ * @return The federatedApplicationClientId.
+ */
+ public java.lang.String getFederatedApplicationClientId() {
+ java.lang.Object ref = federatedApplicationClientId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ federatedApplicationClientId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The client id of the user's Azure Active Directory Application used for a + * federated connection. + *+ * + *
string federated_application_client_id = 6;
+ *
+ * @return The bytes for federatedApplicationClientId.
+ */
+ public com.google.protobuf.ByteString getFederatedApplicationClientIdBytes() {
+ java.lang.Object ref = federatedApplicationClientId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ federatedApplicationClientId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The client id of the user's Azure Active Directory Application used for a + * federated connection. + *+ * + *
string federated_application_client_id = 6;
+ *
+ * @param value The federatedApplicationClientId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFederatedApplicationClientId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ federatedApplicationClientId_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The client id of the user's Azure Active Directory Application used for a + * federated connection. + *+ * + *
string federated_application_client_id = 6;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearFederatedApplicationClientId() {
+
+ federatedApplicationClientId_ = getDefaultInstance().getFederatedApplicationClientId();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The client id of the user's Azure Active Directory Application used for a + * federated connection. + *+ * + *
string federated_application_client_id = 6;
+ *
+ * @param value The bytes for federatedApplicationClientId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFederatedApplicationClientIdBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ federatedApplicationClientId_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object identity_ = "";
+ /**
+ *
+ *
+ * + * Output only. A unique Google-owned and Google-generated identity for the Connection. + * This identity will be used to access the user's Azure Active Directory + * Application. + *+ * + *
string identity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The identity.
+ */
+ public java.lang.String getIdentity() {
+ java.lang.Object ref = identity_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ identity_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. A unique Google-owned and Google-generated identity for the Connection. + * This identity will be used to access the user's Azure Active Directory + * Application. + *+ * + *
string identity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for identity.
+ */
+ public com.google.protobuf.ByteString getIdentityBytes() {
+ java.lang.Object ref = identity_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ identity_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. A unique Google-owned and Google-generated identity for the Connection. + * This identity will be used to access the user's Azure Active Directory + * Application. + *+ * + *
string identity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The identity to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIdentity(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ identity_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. A unique Google-owned and Google-generated identity for the Connection. + * This identity will be used to access the user's Azure Active Directory + * Application. + *+ * + *
string identity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearIdentity() {
+
+ identity_ = getDefaultInstance().getIdentity();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. A unique Google-owned and Google-generated identity for the Connection. + * This identity will be used to access the user's Azure Active Directory + * Application. + *+ * + *
string identity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The bytes for identity to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIdentityBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ identity_ = value;
+ 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.AzureProperties)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.bigquery.connection.v1.AzureProperties)
+ private static final com.google.cloud.bigquery.connection.v1.AzureProperties DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.bigquery.connection.v1.AzureProperties();
+ }
+
+ public static com.google.cloud.bigquery.connection.v1.AzureProperties getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Output only. The name of the Azure Active Directory Application. + *+ * + *
string application = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The application.
+ */
+ java.lang.String getApplication();
+ /**
+ *
+ *
+ * + * Output only. The name of the Azure Active Directory Application. + *+ * + *
string application = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for application.
+ */
+ com.google.protobuf.ByteString getApplicationBytes();
+
+ /**
+ *
+ *
+ * + * Output only. The client id of the Azure Active Directory Application. + *+ * + *
string client_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The clientId.
+ */
+ java.lang.String getClientId();
+ /**
+ *
+ *
+ * + * Output only. The client id of the Azure Active Directory Application. + *+ * + *
string client_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for clientId.
+ */
+ com.google.protobuf.ByteString getClientIdBytes();
+
+ /**
+ *
+ *
+ * + * Output only. The object id of the Azure Active Directory Application. + *+ * + *
string object_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The objectId.
+ */
+ java.lang.String getObjectId();
+ /**
+ *
+ *
+ * + * Output only. The object id of the Azure Active Directory Application. + *+ * + *
string object_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for objectId.
+ */
+ com.google.protobuf.ByteString getObjectIdBytes();
+
+ /**
+ *
+ *
+ * + * The id of customer's directory that host the data. + *+ * + *
string customer_tenant_id = 4;
+ *
+ * @return The customerTenantId.
+ */
+ java.lang.String getCustomerTenantId();
+ /**
+ *
+ *
+ * + * The id of customer's directory that host the data. + *+ * + *
string customer_tenant_id = 4;
+ *
+ * @return The bytes for customerTenantId.
+ */
+ com.google.protobuf.ByteString getCustomerTenantIdBytes();
+
+ /**
+ *
+ *
+ * + * The URL user will be redirected to after granting consent during connection + * setup. + *+ * + *
string redirect_uri = 5;
+ *
+ * @return The redirectUri.
+ */
+ java.lang.String getRedirectUri();
+ /**
+ *
+ *
+ * + * The URL user will be redirected to after granting consent during connection + * setup. + *+ * + *
string redirect_uri = 5;
+ *
+ * @return The bytes for redirectUri.
+ */
+ com.google.protobuf.ByteString getRedirectUriBytes();
+
+ /**
+ *
+ *
+ * + * The client id of the user's Azure Active Directory Application used for a + * federated connection. + *+ * + *
string federated_application_client_id = 6;
+ *
+ * @return The federatedApplicationClientId.
+ */
+ java.lang.String getFederatedApplicationClientId();
+ /**
+ *
+ *
+ * + * The client id of the user's Azure Active Directory Application used for a + * federated connection. + *+ * + *
string federated_application_client_id = 6;
+ *
+ * @return The bytes for federatedApplicationClientId.
+ */
+ com.google.protobuf.ByteString getFederatedApplicationClientIdBytes();
+
+ /**
+ *
+ *
+ * + * Output only. A unique Google-owned and Google-generated identity for the Connection. + * This identity will be used to access the user's Azure Active Directory + * Application. + *+ * + *
string identity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The identity.
+ */
+ java.lang.String getIdentity();
+ /**
+ *
+ *
+ * + * Output only. A unique Google-owned and Google-generated identity for the Connection. + * This identity will be used to access the user's Azure Active Directory + * Application. + *+ * + *
string identity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for identity.
+ */
+ com.google.protobuf.ByteString getIdentityBytes();
+}
diff --git a/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/Connection.java b/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/Connection.java
index 98644480e95b..f70b9712e284 100644
--- a/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/Connection.java
+++ b/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/Connection.java
@@ -149,6 +149,26 @@ private Connection(
propertiesCase_ = 8;
break;
}
+ case 90:
+ {
+ com.google.cloud.bigquery.connection.v1.AzureProperties.Builder subBuilder = null;
+ if (propertiesCase_ == 11) {
+ subBuilder =
+ ((com.google.cloud.bigquery.connection.v1.AzureProperties) properties_)
+ .toBuilder();
+ }
+ properties_ =
+ input.readMessage(
+ com.google.cloud.bigquery.connection.v1.AzureProperties.parser(),
+ extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(
+ (com.google.cloud.bigquery.connection.v1.AzureProperties) properties_);
+ properties_ = subBuilder.buildPartial();
+ }
+ propertiesCase_ = 11;
+ break;
+ }
case 170:
{
com.google.cloud.bigquery.connection.v1.CloudSpannerProperties.Builder subBuilder =
@@ -236,6 +256,7 @@ public enum PropertiesCase
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
CLOUD_SQL(4),
AWS(8),
+ AZURE(11),
CLOUD_SPANNER(21),
CLOUD_RESOURCE(22),
PROPERTIES_NOT_SET(0);
@@ -260,6 +281,8 @@ public static PropertiesCase forNumber(int value) {
return CLOUD_SQL;
case 8:
return AWS;
+ case 11:
+ return AZURE;
case 21:
return CLOUD_SPANNER;
case 22:
@@ -532,6 +555,57 @@ public com.google.cloud.bigquery.connection.v1.AwsPropertiesOrBuilder getAwsOrBu
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;
/**
*
@@ -729,6 +803,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
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_);
@@ -774,6 +852,11 @@ public int getSerializedSize() {
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(
@@ -814,6 +897,9 @@ public boolean equals(final java.lang.Object obj) {
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;
@@ -855,6 +941,10 @@ public int hashCode() {
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();
@@ -1070,6 +1160,13 @@ public com.google.cloud.bigquery.connection.v1.Connection buildPartial() {
result.properties_ = awsBuilder_.build();
}
}
+ if (propertiesCase_ == 11) {
+ if (azureBuilder_ == null) {
+ result.properties_ = properties_;
+ } else {
+ result.properties_ = azureBuilder_.build();
+ }
+ }
if (propertiesCase_ == 21) {
if (cloudSpannerBuilder_ == null) {
result.properties_ = properties_;
@@ -1170,6 +1267,11 @@ public Builder mergeFrom(com.google.cloud.bigquery.connection.v1.Connection othe
mergeAws(other.getAws());
break;
}
+ case AZURE:
+ {
+ mergeAzure(other.getAzure());
+ break;
+ }
case CLOUD_SPANNER:
{
mergeCloudSpanner(other.getCloudSpanner());
@@ -1977,6 +2079,218 @@ public com.google.cloud.bigquery.connection.v1.AwsPropertiesOrBuilder getAwsOrBu
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,
diff --git a/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/ConnectionOrBuilder.java b/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/ConnectionOrBuilder.java
index 9e3e7a5b1afc..352f95edf309 100644
--- a/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/ConnectionOrBuilder.java
+++ b/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/ConnectionOrBuilder.java
@@ -170,6 +170,41 @@ public interface ConnectionOrBuilder
*/
com.google.cloud.bigquery.connection.v1.AwsPropertiesOrBuilder getAwsOrBuilder();
+ /**
+ *
+ *
+ * + * Azure properties. + *+ * + *
.google.cloud.bigquery.connection.v1.AzureProperties azure = 11;
+ *
+ * @return Whether the azure field is set.
+ */
+ boolean hasAzure();
+ /**
+ *
+ *
+ * + * Azure properties. + *+ * + *
.google.cloud.bigquery.connection.v1.AzureProperties azure = 11;
+ *
+ * @return The azure.
+ */
+ com.google.cloud.bigquery.connection.v1.AzureProperties getAzure();
+ /**
+ *
+ *
+ * + * Azure properties. + *+ * + *
.google.cloud.bigquery.connection.v1.AzureProperties azure = 11;
+ */
+ com.google.cloud.bigquery.connection.v1.AzurePropertiesOrBuilder getAzureOrBuilder();
+
/**
*
*
diff --git a/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/ConnectionOuterClass.java b/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/ConnectionOuterClass.java
index 879a3cbc9aa9..01d693f7215b 100644
--- a/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/ConnectionOuterClass.java
+++ b/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/ConnectionOuterClass.java
@@ -79,6 +79,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_bigquery_connection_v1_AwsAccessRole_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_bigquery_connection_v1_AwsAccessRole_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_bigquery_connection_v1_AzureProperties_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_bigquery_connection_v1_AzureProperties_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_bigquery_connection_v1_CloudResourceProperties_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -121,93 +125,100 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "e_mask\030\003 \001(\0132\032.google.protobuf.FieldMask"
+ "B\003\340A\002\"]\n\027DeleteConnectionRequest\022B\n\004name"
+ "\030\001 \001(\tB4\340A\002\372A.\n,bigqueryconnection.googl"
- + "eapis.com/Connection\"\342\004\n\nConnection\022\014\n\004n"
+ + "eapis.com/Connection\"\251\005\n\nConnection\022\014\n\004n"
+ "ame\030\001 \001(\t\022\025\n\rfriendly_name\030\002 \001(\t\022\023\n\013desc"
+ "ription\030\003 \001(\t\022L\n\tcloud_sql\030\004 \001(\01327.googl"
+ "e.cloud.bigquery.connection.v1.CloudSqlP"
+ "ropertiesH\000\022A\n\003aws\030\010 \001(\01322.google.cloud."
- + "bigquery.connection.v1.AwsPropertiesH\000\022T"
- + "\n\rcloud_spanner\030\025 \001(\0132;.google.cloud.big"
- + "query.connection.v1.CloudSpannerProperti"
- + "esH\000\022V\n\016cloud_resource\030\026 \001(\0132<.google.cl"
- + "oud.bigquery.connection.v1.CloudResource"
- + "PropertiesH\000\022\032\n\rcreation_time\030\005 \001(\003B\003\340A\003"
- + "\022\037\n\022last_modified_time\030\006 \001(\003B\003\340A\003\022\033\n\016has"
- + "_credential\030\007 \001(\010B\003\340A\003:s\352Ap\n,bigquerycon"
- + "nection.googleapis.com/Connection\022@proje"
- + "cts/{project}/locations/{location}/conne"
- + "ctions/{connection}B\014\n\nproperties\"\312\002\n\022Cl"
- + "oudSqlProperties\022\023\n\013instance_id\030\001 \001(\t\022\020\n"
- + "\010database\030\002 \001(\t\022R\n\004type\030\003 \001(\0162D.google.c"
- + "loud.bigquery.connection.v1.CloudSqlProp"
- + "erties.DatabaseType\022P\n\ncredential\030\004 \001(\0132"
- + "7.google.cloud.bigquery.connection.v1.Cl"
- + "oudSqlCredentialB\003\340A\004\022\037\n\022service_account"
- + "_id\030\005 \001(\tB\003\340A\003\"F\n\014DatabaseType\022\035\n\031DATABA"
- + "SE_TYPE_UNSPECIFIED\020\000\022\014\n\010POSTGRES\020\001\022\t\n\005M"
- + "YSQL\020\002\"8\n\022CloudSqlCredential\022\020\n\010username"
- + "\030\001 \001(\t\022\020\n\010password\030\002 \001(\t\"C\n\026CloudSpanner"
- + "Properties\022\020\n\010database\030\001 \001(\t\022\027\n\017use_para"
- + "llelism\030\002 \001(\010\"\313\001\n\rAwsProperties\022V\n\022cross"
- + "_account_role\030\002 \001(\01328.google.cloud.bigqu"
- + "ery.connection.v1.AwsCrossAccountRoleH\000\022"
- + "I\n\013access_role\030\003 \001(\01322.google.cloud.bigq"
- + "uery.connection.v1.AwsAccessRoleH\000B\027\n\025au"
- + "thentication_method\"^\n\023AwsCrossAccountRo"
- + "le\022\023\n\013iam_role_id\030\001 \001(\t\022\030\n\013iam_user_id\030\002"
- + " \001(\tB\003\340A\003\022\030\n\013external_id\030\003 \001(\tB\003\340A\003\"6\n\rA"
- + "wsAccessRole\022\023\n\013iam_role_id\030\001 \001(\t\022\020\n\010ide"
- + "ntity\030\002 \001(\t\":\n\027CloudResourceProperties\022\037"
- + "\n\022service_account_id\030\001 \001(\tB\003\340A\0032\314\r\n\021Conn"
- + "ectionService\022\350\001\n\020CreateConnection\022<.goo"
- + "gle.cloud.bigquery.connection.v1.CreateC"
- + "onnectionRequest\032/.google.cloud.bigquery"
- + ".connection.v1.Connection\"e\202\323\344\223\002=\"//v1/{"
- + "parent=projects/*/locations/*}/connectio"
- + "ns:\nconnection\332A\037parent,connection,conne"
- + "ction_id\022\273\001\n\rGetConnection\0229.google.clou"
- + "d.bigquery.connection.v1.GetConnectionRe"
- + "quest\032/.google.cloud.bigquery.connection"
- + ".v1.Connection\">\202\323\344\223\0021\022//v1/{name=projec"
- + "ts/*/locations/*/connections/*}\332A\004name\022\316"
- + "\001\n\017ListConnections\022;.google.cloud.bigque"
- + "ry.connection.v1.ListConnectionsRequest\032"
- + "<.google.cloud.bigquery.connection.v1.Li"
- + "stConnectionsResponse\"@\202\323\344\223\0021\022//v1/{pare"
- + "nt=projects/*/locations/*}/connections\332A"
- + "\006parent\022\344\001\n\020UpdateConnection\022<.google.cl"
- + "oud.bigquery.connection.v1.UpdateConnect"
- + "ionRequest\032/.google.cloud.bigquery.conne"
- + "ction.v1.Connection\"a\202\323\344\223\002=2//v1/{name=p"
- + "rojects/*/locations/*/connections/*}:\nco"
- + "nnection\332A\033name,connection,update_mask\022\250"
- + "\001\n\020DeleteConnection\022<.google.cloud.bigqu"
- + "ery.connection.v1.DeleteConnectionReques"
- + "t\032\026.google.protobuf.Empty\">\202\323\344\223\0021*//v1/{"
- + "name=projects/*/locations/*/connections/"
- + "*}\332A\004name\022\251\001\n\014GetIamPolicy\022\".google.iam."
- + "v1.GetIamPolicyRequest\032\025.google.iam.v1.P"
- + "olicy\"^\202\323\344\223\002E\"@/v1/{resource=projects/*/"
- + "locations/*/connections/*}:getIamPolicy:"
- + "\001*\332A\020resource,options\022\250\001\n\014SetIamPolicy\022\""
- + ".google.iam.v1.SetIamPolicyRequest\032\025.goo"
- + "gle.iam.v1.Policy\"]\202\323\344\223\002E\"@/v1/{resource"
- + "=projects/*/locations/*/connections/*}:s"
- + "etIamPolicy:\001*\332A\017resource,policy\022\323\001\n\022Tes"
- + "tIamPermissions\022(.google.iam.v1.TestIamP"
- + "ermissionsRequest\032).google.iam.v1.TestIa"
- + "mPermissionsResponse\"h\202\323\344\223\002K\"F/v1/{resou"
+ + "bigquery.connection.v1.AwsPropertiesH\000\022E"
+ + "\n\005azure\030\013 \001(\01324.google.cloud.bigquery.co"
+ + "nnection.v1.AzurePropertiesH\000\022T\n\rcloud_s"
+ + "panner\030\025 \001(\0132;.google.cloud.bigquery.con"
+ + "nection.v1.CloudSpannerPropertiesH\000\022V\n\016c"
+ + "loud_resource\030\026 \001(\0132<.google.cloud.bigqu"
+ + "ery.connection.v1.CloudResourcePropertie"
+ + "sH\000\022\032\n\rcreation_time\030\005 \001(\003B\003\340A\003\022\037\n\022last_"
+ + "modified_time\030\006 \001(\003B\003\340A\003\022\033\n\016has_credenti"
+ + "al\030\007 \001(\010B\003\340A\003:s\352Ap\n,bigqueryconnection.g"
+ + "oogleapis.com/Connection\022@projects/{proj"
+ + "ect}/locations/{location}/connections/{c"
+ + "onnection}B\014\n\nproperties\"\312\002\n\022CloudSqlPro"
+ + "perties\022\023\n\013instance_id\030\001 \001(\t\022\020\n\010database"
+ + "\030\002 \001(\t\022R\n\004type\030\003 \001(\0162D.google.cloud.bigq"
+ + "uery.connection.v1.CloudSqlProperties.Da"
+ + "tabaseType\022P\n\ncredential\030\004 \001(\01327.google."
+ + "cloud.bigquery.connection.v1.CloudSqlCre"
+ + "dentialB\003\340A\004\022\037\n\022service_account_id\030\005 \001(\t"
+ + "B\003\340A\003\"F\n\014DatabaseType\022\035\n\031DATABASE_TYPE_U"
+ + "NSPECIFIED\020\000\022\014\n\010POSTGRES\020\001\022\t\n\005MYSQL\020\002\"8\n"
+ + "\022CloudSqlCredential\022\020\n\010username\030\001 \001(\t\022\020\n"
+ + "\010password\030\002 \001(\t\"C\n\026CloudSpannerPropertie"
+ + "s\022\020\n\010database\030\001 \001(\t\022\027\n\017use_parallelism\030\002"
+ + " \001(\010\"\317\001\n\rAwsProperties\022Z\n\022cross_account_"
+ + "role\030\002 \001(\01328.google.cloud.bigquery.conne"
+ + "ction.v1.AwsCrossAccountRoleB\002\030\001H\000\022I\n\013ac"
+ + "cess_role\030\003 \001(\01322.google.cloud.bigquery."
+ + "connection.v1.AwsAccessRoleH\000B\027\n\025authent"
+ + "ication_method\"^\n\023AwsCrossAccountRole\022\023\n"
+ + "\013iam_role_id\030\001 \001(\t\022\030\n\013iam_user_id\030\002 \001(\tB"
+ + "\003\340A\003\022\030\n\013external_id\030\003 \001(\tB\003\340A\003\"6\n\rAwsAcc"
+ + "essRole\022\023\n\013iam_role_id\030\001 \001(\t\022\020\n\010identity"
+ + "\030\002 \001(\t\"\315\001\n\017AzureProperties\022\030\n\013applicatio"
+ + "n\030\001 \001(\tB\003\340A\003\022\026\n\tclient_id\030\002 \001(\tB\003\340A\003\022\026\n\t"
+ + "object_id\030\003 \001(\tB\003\340A\003\022\032\n\022customer_tenant_"
+ + "id\030\004 \001(\t\022\024\n\014redirect_uri\030\005 \001(\t\022\'\n\037federa"
+ + "ted_application_client_id\030\006 \001(\t\022\025\n\010ident"
+ + "ity\030\007 \001(\tB\003\340A\003\":\n\027CloudResourcePropertie"
+ + "s\022\037\n\022service_account_id\030\001 \001(\tB\003\340A\0032\314\r\n\021C"
+ + "onnectionService\022\350\001\n\020CreateConnection\022<."
+ + "google.cloud.bigquery.connection.v1.Crea"
+ + "teConnectionRequest\032/.google.cloud.bigqu"
+ + "ery.connection.v1.Connection\"e\202\323\344\223\002=\"//v"
+ + "1/{parent=projects/*/locations/*}/connec"
+ + "tions:\nconnection\332A\037parent,connection,co"
+ + "nnection_id\022\273\001\n\rGetConnection\0229.google.c"
+ + "loud.bigquery.connection.v1.GetConnectio"
+ + "nRequest\032/.google.cloud.bigquery.connect"
+ + "ion.v1.Connection\">\202\323\344\223\0021\022//v1/{name=pro"
+ + "jects/*/locations/*/connections/*}\332A\004nam"
+ + "e\022\316\001\n\017ListConnections\022;.google.cloud.big"
+ + "query.connection.v1.ListConnectionsReque"
+ + "st\032<.google.cloud.bigquery.connection.v1"
+ + ".ListConnectionsResponse\"@\202\323\344\223\0021\022//v1/{p"
+ + "arent=projects/*/locations/*}/connection"
+ + "s\332A\006parent\022\344\001\n\020UpdateConnection\022<.google"
+ + ".cloud.bigquery.connection.v1.UpdateConn"
+ + "ectionRequest\032/.google.cloud.bigquery.co"
+ + "nnection.v1.Connection\"a\202\323\344\223\002=2//v1/{nam"
+ + "e=projects/*/locations/*/connections/*}:"
+ + "\nconnection\332A\033name,connection,update_mas"
+ + "k\022\250\001\n\020DeleteConnection\022<.google.cloud.bi"
+ + "gquery.connection.v1.DeleteConnectionReq"
+ + "uest\032\026.google.protobuf.Empty\">\202\323\344\223\0021*//v"
+ + "1/{name=projects/*/locations/*/connectio"
+ + "ns/*}\332A\004name\022\251\001\n\014GetIamPolicy\022\".google.i"
+ + "am.v1.GetIamPolicyRequest\032\025.google.iam.v"
+ + "1.Policy\"^\202\323\344\223\002E\"@/v1/{resource=projects"
+ + "/*/locations/*/connections/*}:getIamPoli"
+ + "cy:\001*\332A\020resource,options\022\250\001\n\014SetIamPolic"
+ + "y\022\".google.iam.v1.SetIamPolicyRequest\032\025."
+ + "google.iam.v1.Policy\"]\202\323\344\223\002E\"@/v1/{resou"
+ "rce=projects/*/locations/*/connections/*"
- + "}:testIamPermissions:\001*\332A\024resource,permi"
- + "ssions\032~\312A!bigqueryconnection.googleapis"
- + ".com\322AWhttps://www.googleapis.com/auth/b"
- + "igquery,https://www.googleapis.com/auth/"
- + "cloud-platformB\306\001\n\'com.google.cloud.bigq"
- + "uery.connection.v1P\001ZMgoogle.golang.org/"
- + "genproto/googleapis/cloud/bigquery/conne"
- + "ction/v1;connection\252\002#Google.Cloud.BigQu"
- + "ery.Connection.V1\312\002#Google\\Cloud\\BigQuer"
- + "y\\Connection\\V1b\006proto3"
+ + "}:setIamPolicy:\001*\332A\017resource,policy\022\323\001\n\022"
+ + "TestIamPermissions\022(.google.iam.v1.TestI"
+ + "amPermissionsRequest\032).google.iam.v1.Tes"
+ + "tIamPermissionsResponse\"h\202\323\344\223\002K\"F/v1/{re"
+ + "source=projects/*/locations/*/connection"
+ + "s/*}:testIamPermissions:\001*\332A\024resource,pe"
+ + "rmissions\032~\312A!bigqueryconnection.googlea"
+ + "pis.com\322AWhttps://www.googleapis.com/aut"
+ + "h/bigquery,https://www.googleapis.com/au"
+ + "th/cloud-platformB\306\001\n\'com.google.cloud.b"
+ + "igquery.connection.v1P\001ZMgoogle.golang.o"
+ + "rg/genproto/googleapis/cloud/bigquery/co"
+ + "nnection/v1;connection\252\002#Google.Cloud.Bi"
+ + "gQuery.Connection.V1\312\002#Google\\Cloud\\BigQ"
+ + "uery\\Connection\\V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -281,6 +292,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Description",
"CloudSql",
"Aws",
+ "Azure",
"CloudSpanner",
"CloudResource",
"CreationTime",
@@ -336,8 +348,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"IamRoleId", "Identity",
});
- internal_static_google_cloud_bigquery_connection_v1_CloudResourceProperties_descriptor =
+ internal_static_google_cloud_bigquery_connection_v1_AzureProperties_descriptor =
getDescriptor().getMessageTypes().get(13);
+ internal_static_google_cloud_bigquery_connection_v1_AzureProperties_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_bigquery_connection_v1_AzureProperties_descriptor,
+ new java.lang.String[] {
+ "Application",
+ "ClientId",
+ "ObjectId",
+ "CustomerTenantId",
+ "RedirectUri",
+ "FederatedApplicationClientId",
+ "Identity",
+ });
+ internal_static_google_cloud_bigquery_connection_v1_CloudResourceProperties_descriptor =
+ getDescriptor().getMessageTypes().get(14);
internal_static_google_cloud_bigquery_connection_v1_CloudResourceProperties_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_bigquery_connection_v1_CloudResourceProperties_descriptor,
diff --git a/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/proto/google/cloud/bigquery/connection/v1/connection.proto b/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/proto/google/cloud/bigquery/connection/v1/connection.proto
index cf4b5e29ee6e..ee0dba14ad83 100644
--- a/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/proto/google/cloud/bigquery/connection/v1/connection.proto
+++ b/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/proto/google/cloud/bigquery/connection/v1/connection.proto
@@ -233,6 +233,9 @@ message Connection {
// Amazon Web Services (AWS) properties.
AwsProperties aws = 8;
+ // Azure properties.
+ AzureProperties azure = 11;
+
// Cloud Spanner properties.
CloudSpannerProperties cloud_spanner = 21;
@@ -308,7 +311,8 @@ message AwsProperties {
oneof authentication_method {
// Authentication using Google owned AWS IAM user's access key to assume
// into customer's AWS IAM Role.
- AwsCrossAccountRole cross_account_role = 2;
+ // Deprecated, do not use.
+ AwsCrossAccountRole cross_account_role = 2 [deprecated = true];
// Authentication using Google owned service account to assume into
// customer's AWS IAM Role.
@@ -344,6 +348,34 @@ message AwsAccessRole {
string identity = 2;
}
+// Container for connection properties specific to Azure.
+message AzureProperties {
+ // Output only. The name of the Azure Active Directory Application.
+ string application = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The client id of the Azure Active Directory Application.
+ string client_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The object id of the Azure Active Directory Application.
+ string object_id = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The id of customer's directory that host the data.
+ string customer_tenant_id = 4;
+
+ // The URL user will be redirected to after granting consent during connection
+ // setup.
+ string redirect_uri = 5;
+
+ // The client id of the user's Azure Active Directory Application used for a
+ // federated connection.
+ string federated_application_client_id = 6;
+
+ // Output only. A unique Google-owned and Google-generated identity for the Connection.
+ // This identity will be used to access the user's Azure Active Directory
+ // Application.
+ string identity = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
// Container for connection properties for delegation of access to GCP
// resources.
message CloudResourceProperties {