Class CloudResourceProperties.Builder (2.54.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CloudResourceProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CloudResourceProperties.Builder
Overrides

build()

public CloudResourceProperties build()
Returns
Type Description
CloudResourceProperties

buildPartial()

public CloudResourceProperties buildPartial()
Returns
Type Description
CloudResourceProperties

clear()

public CloudResourceProperties.Builder clear()
Returns
Type Description
CloudResourceProperties.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CloudResourceProperties.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CloudResourceProperties.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CloudResourceProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CloudResourceProperties.Builder
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
Type Description
CloudResourceProperties.Builder

This builder for chaining.

clone()

public CloudResourceProperties.Builder clone()
Returns
Type Description
CloudResourceProperties.Builder
Overrides

getDefaultInstanceForType()

public CloudResourceProperties getDefaultInstanceForType()
Returns
Type Description
CloudResourceProperties

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CloudResourceProperties other)

public CloudResourceProperties.Builder mergeFrom(CloudResourceProperties other)
Parameter
Name Description
other CloudResourceProperties
Returns
Type Description
CloudResourceProperties.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CloudResourceProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudResourceProperties.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CloudResourceProperties.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CloudResourceProperties.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CloudResourceProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CloudResourceProperties.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CloudResourceProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CloudResourceProperties.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CloudResourceProperties.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CloudResourceProperties.Builder
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
Type Description
CloudResourceProperties.Builder

This builder for chaining.

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
Type Description
CloudResourceProperties.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CloudResourceProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CloudResourceProperties.Builder
Overrides