public static final class CloudResourceProperties.Builder extends GeneratedMessageV3.Builder<CloudResourceProperties.Builder> implements CloudResourcePropertiesOrBuilder
Container for connection properties for delegation of access to GCP
resources.
Protobuf type google.cloud.bigquery.connection.v1.CloudResourceProperties
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CloudResourceProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CloudResourceProperties build()
buildPartial()
public CloudResourceProperties buildPartial()
clear()
public CloudResourceProperties.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CloudResourceProperties.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudResourceProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearServiceAccountId()
public CloudResourceProperties.Builder clearServiceAccountId()
Output only. The account ID of the service created for the purpose of this
connection.
The service account does not have any permissions associated with it
when it is created. After creation, customers delegate permissions
to the service account. When the connection is used in the context of an
operation in BigQuery, the service account will be used to connect to the
desired resources in GCP.
The account ID is in the form of:
<service-1234>@gcp-sa-bigquery-cloudresource.iam.gserviceaccount.com
string service_account_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clone()
public CloudResourceProperties.Builder clone()
Overrides
getDefaultInstanceForType()
public CloudResourceProperties getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getServiceAccountId()
public String getServiceAccountId()
Output only. The account ID of the service created for the purpose of this
connection.
The service account does not have any permissions associated with it
when it is created. After creation, customers delegate permissions
to the service account. When the connection is used in the context of an
operation in BigQuery, the service account will be used to connect to the
desired resources in GCP.
The account ID is in the form of:
<service-1234>@gcp-sa-bigquery-cloudresource.iam.gserviceaccount.com
string service_account_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The serviceAccountId.
|
getServiceAccountIdBytes()
public ByteString getServiceAccountIdBytes()
Output only. The account ID of the service created for the purpose of this
connection.
The service account does not have any permissions associated with it
when it is created. After creation, customers delegate permissions
to the service account. When the connection is used in the context of an
operation in BigQuery, the service account will be used to connect to the
desired resources in GCP.
The account ID is in the form of:
<service-1234>@gcp-sa-bigquery-cloudresource.iam.gserviceaccount.com
string service_account_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for serviceAccountId.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CloudResourceProperties other)
public CloudResourceProperties.Builder mergeFrom(CloudResourceProperties other)
public CloudResourceProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CloudResourceProperties.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudResourceProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CloudResourceProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloudResourceProperties.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setServiceAccountId(String value)
public CloudResourceProperties.Builder setServiceAccountId(String value)
Output only. The account ID of the service created for the purpose of this
connection.
The service account does not have any permissions associated with it
when it is created. After creation, customers delegate permissions
to the service account. When the connection is used in the context of an
operation in BigQuery, the service account will be used to connect to the
desired resources in GCP.
The account ID is in the form of:
<service-1234>@gcp-sa-bigquery-cloudresource.iam.gserviceaccount.com
string service_account_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
String
The serviceAccountId to set.
|
setServiceAccountIdBytes(ByteString value)
public CloudResourceProperties.Builder setServiceAccountIdBytes(ByteString value)
Output only. The account ID of the service created for the purpose of this
connection.
The service account does not have any permissions associated with it
when it is created. After creation, customers delegate permissions
to the service account. When the connection is used in the context of an
operation in BigQuery, the service account will be used to connect to the
desired resources in GCP.
The account ID is in the form of:
<service-1234>@gcp-sa-bigquery-cloudresource.iam.gserviceaccount.com
string service_account_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
ByteString
The bytes for serviceAccountId to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudResourceProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides