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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CloudResourceProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CloudResourceProperties build()
Returns
buildPartial()
public CloudResourceProperties buildPartial()
Returns
clear()
public CloudResourceProperties.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CloudResourceProperties.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudResourceProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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];
Returns
clone()
public CloudResourceProperties.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CloudResourceProperties getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CloudResourceProperties other)
public CloudResourceProperties.Builder mergeFrom(CloudResourceProperties other)
Parameter
Returns
public CloudResourceProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CloudResourceProperties.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudResourceProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CloudResourceProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloudResourceProperties.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudResourceProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides