- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.6
- 2.4.0
- 2.2.4
- 2.1.11
public static final class SparkProperties.Builder extends GeneratedMessageV3.Builder<SparkProperties.Builder> implements SparkPropertiesOrBuilder
Container for connection properties to execute stored procedures for Apache Spark.
Protobuf type google.cloud.bigquery.connection.v1.SparkProperties
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SparkProperties.BuilderImplements
SparkPropertiesOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SparkProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
SparkProperties.Builder |
build()
public SparkProperties build()
Returns | |
---|---|
Type | Description |
SparkProperties |
buildPartial()
public SparkProperties buildPartial()
Returns | |
---|---|
Type | Description |
SparkProperties |
clear()
public SparkProperties.Builder clear()
Returns | |
---|---|
Type | Description |
SparkProperties.Builder |
clearField(Descriptors.FieldDescriptor field)
public SparkProperties.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
SparkProperties.Builder |
clearMetastoreServiceConfig()
public SparkProperties.Builder clearMetastoreServiceConfig()
Optional. Dataproc Metastore Service configuration for the connection.
.google.cloud.bigquery.connection.v1.MetastoreServiceConfig metastore_service_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SparkProperties.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SparkProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
SparkProperties.Builder |
clearServiceAccountId()
public SparkProperties.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 a stored procedure for Apache Spark in BigQuery, the service account is used to connect to the desired resources in Google Cloud.
The account ID is in the form of: bqcx-<projectnumber>-<uniqueid>@gcp-sa-bigquery-consp.iam.gserviceaccount.com
string service_account_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
SparkProperties.Builder | This builder for chaining. |
clearSparkHistoryServerConfig()
public SparkProperties.Builder clearSparkHistoryServerConfig()
Optional. Spark History Server configuration for the connection.
.google.cloud.bigquery.connection.v1.SparkHistoryServerConfig spark_history_server_config = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SparkProperties.Builder |
clone()
public SparkProperties.Builder clone()
Returns | |
---|---|
Type | Description |
SparkProperties.Builder |
getDefaultInstanceForType()
public SparkProperties getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SparkProperties |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMetastoreServiceConfig()
public MetastoreServiceConfig getMetastoreServiceConfig()
Optional. Dataproc Metastore Service configuration for the connection.
.google.cloud.bigquery.connection.v1.MetastoreServiceConfig metastore_service_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MetastoreServiceConfig | The metastoreServiceConfig. |
getMetastoreServiceConfigBuilder()
public MetastoreServiceConfig.Builder getMetastoreServiceConfigBuilder()
Optional. Dataproc Metastore Service configuration for the connection.
.google.cloud.bigquery.connection.v1.MetastoreServiceConfig metastore_service_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MetastoreServiceConfig.Builder |
getMetastoreServiceConfigOrBuilder()
public MetastoreServiceConfigOrBuilder getMetastoreServiceConfigOrBuilder()
Optional. Dataproc Metastore Service configuration for the connection.
.google.cloud.bigquery.connection.v1.MetastoreServiceConfig metastore_service_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MetastoreServiceConfigOrBuilder |
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 a stored procedure for Apache Spark in BigQuery, the service account is used to connect to the desired resources in Google Cloud.
The account ID is in the form of: bqcx-<projectnumber>-<uniqueid>@gcp-sa-bigquery-consp.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 a stored procedure for Apache Spark in BigQuery, the service account is used to connect to the desired resources in Google Cloud.
The account ID is in the form of: bqcx-<projectnumber>-<uniqueid>@gcp-sa-bigquery-consp.iam.gserviceaccount.com
string service_account_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for serviceAccountId. |
getSparkHistoryServerConfig()
public SparkHistoryServerConfig getSparkHistoryServerConfig()
Optional. Spark History Server configuration for the connection.
.google.cloud.bigquery.connection.v1.SparkHistoryServerConfig spark_history_server_config = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SparkHistoryServerConfig | The sparkHistoryServerConfig. |
getSparkHistoryServerConfigBuilder()
public SparkHistoryServerConfig.Builder getSparkHistoryServerConfigBuilder()
Optional. Spark History Server configuration for the connection.
.google.cloud.bigquery.connection.v1.SparkHistoryServerConfig spark_history_server_config = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SparkHistoryServerConfig.Builder |
getSparkHistoryServerConfigOrBuilder()
public SparkHistoryServerConfigOrBuilder getSparkHistoryServerConfigOrBuilder()
Optional. Spark History Server configuration for the connection.
.google.cloud.bigquery.connection.v1.SparkHistoryServerConfig spark_history_server_config = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SparkHistoryServerConfigOrBuilder |
hasMetastoreServiceConfig()
public boolean hasMetastoreServiceConfig()
Optional. Dataproc Metastore Service configuration for the connection.
.google.cloud.bigquery.connection.v1.MetastoreServiceConfig metastore_service_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the metastoreServiceConfig field is set. |
hasSparkHistoryServerConfig()
public boolean hasSparkHistoryServerConfig()
Optional. Spark History Server configuration for the connection.
.google.cloud.bigquery.connection.v1.SparkHistoryServerConfig spark_history_server_config = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the sparkHistoryServerConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(SparkProperties other)
public SparkProperties.Builder mergeFrom(SparkProperties other)
Parameter | |
---|---|
Name | Description |
other | SparkProperties |
Returns | |
---|---|
Type | Description |
SparkProperties.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SparkProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SparkProperties.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SparkProperties.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
SparkProperties.Builder |
mergeMetastoreServiceConfig(MetastoreServiceConfig value)
public SparkProperties.Builder mergeMetastoreServiceConfig(MetastoreServiceConfig value)
Optional. Dataproc Metastore Service configuration for the connection.
.google.cloud.bigquery.connection.v1.MetastoreServiceConfig metastore_service_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | MetastoreServiceConfig |
Returns | |
---|---|
Type | Description |
SparkProperties.Builder |
mergeSparkHistoryServerConfig(SparkHistoryServerConfig value)
public SparkProperties.Builder mergeSparkHistoryServerConfig(SparkHistoryServerConfig value)
Optional. Spark History Server configuration for the connection.
.google.cloud.bigquery.connection.v1.SparkHistoryServerConfig spark_history_server_config = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | SparkHistoryServerConfig |
Returns | |
---|---|
Type | Description |
SparkProperties.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SparkProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SparkProperties.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SparkProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
SparkProperties.Builder |
setMetastoreServiceConfig(MetastoreServiceConfig value)
public SparkProperties.Builder setMetastoreServiceConfig(MetastoreServiceConfig value)
Optional. Dataproc Metastore Service configuration for the connection.
.google.cloud.bigquery.connection.v1.MetastoreServiceConfig metastore_service_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | MetastoreServiceConfig |
Returns | |
---|---|
Type | Description |
SparkProperties.Builder |
setMetastoreServiceConfig(MetastoreServiceConfig.Builder builderForValue)
public SparkProperties.Builder setMetastoreServiceConfig(MetastoreServiceConfig.Builder builderForValue)
Optional. Dataproc Metastore Service configuration for the connection.
.google.cloud.bigquery.connection.v1.MetastoreServiceConfig metastore_service_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue | MetastoreServiceConfig.Builder |
Returns | |
---|---|
Type | Description |
SparkProperties.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SparkProperties.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
SparkProperties.Builder |
setServiceAccountId(String value)
public SparkProperties.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 a stored procedure for Apache Spark in BigQuery, the service account is used to connect to the desired resources in Google Cloud.
The account ID is in the form of: bqcx-<projectnumber>-<uniqueid>@gcp-sa-bigquery-consp.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 |
SparkProperties.Builder | This builder for chaining. |
setServiceAccountIdBytes(ByteString value)
public SparkProperties.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 a stored procedure for Apache Spark in BigQuery, the service account is used to connect to the desired resources in Google Cloud.
The account ID is in the form of: bqcx-<projectnumber>-<uniqueid>@gcp-sa-bigquery-consp.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 |
SparkProperties.Builder | This builder for chaining. |
setSparkHistoryServerConfig(SparkHistoryServerConfig value)
public SparkProperties.Builder setSparkHistoryServerConfig(SparkHistoryServerConfig value)
Optional. Spark History Server configuration for the connection.
.google.cloud.bigquery.connection.v1.SparkHistoryServerConfig spark_history_server_config = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | SparkHistoryServerConfig |
Returns | |
---|---|
Type | Description |
SparkProperties.Builder |
setSparkHistoryServerConfig(SparkHistoryServerConfig.Builder builderForValue)
public SparkProperties.Builder setSparkHistoryServerConfig(SparkHistoryServerConfig.Builder builderForValue)
Optional. Spark History Server configuration for the connection.
.google.cloud.bigquery.connection.v1.SparkHistoryServerConfig spark_history_server_config = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue | SparkHistoryServerConfig.Builder |
Returns | |
---|---|
Type | Description |
SparkProperties.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SparkProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SparkProperties.Builder |