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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 SparkProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SparkProperties build()
buildPartial()
public SparkProperties buildPartial()
clear()
public SparkProperties.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SparkProperties.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public SparkProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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 will be 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];
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];
clone()
public SparkProperties.Builder clone()
Overrides
getDefaultInstanceForType()
public SparkProperties getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
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];
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];
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 will be 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 will be 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];
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SparkProperties other)
public SparkProperties.Builder mergeFrom(SparkProperties other)
public SparkProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SparkProperties.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
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];
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SparkProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SparkProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SparkProperties.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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 will be 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.
|
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 will be 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.
|
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];
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final SparkProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides