Class SparkProperties.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<SparkProperties.Builder>
-
- com.google.cloud.bigquery.connection.v1.SparkProperties.Builder
-
- All Implemented Interfaces:
SparkPropertiesOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- SparkProperties
public static final class SparkProperties.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SparkProperties.Builder> implements SparkPropertiesOrBuilder
Container for connection properties to execute stored procedures for Apache Spark.
Protobuf typegoogle.cloud.bigquery.connection.v1.SparkProperties
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<SparkProperties.Builder>
-
clear
public SparkProperties.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<SparkProperties.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<SparkProperties.Builder>
-
getDefaultInstanceForType
public SparkProperties getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public SparkProperties build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SparkProperties buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SparkProperties.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<SparkProperties.Builder>
-
setField
public SparkProperties.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SparkProperties.Builder>
-
clearField
public SparkProperties.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SparkProperties.Builder>
-
clearOneof
public SparkProperties.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<SparkProperties.Builder>
-
setRepeatedField
public SparkProperties.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SparkProperties.Builder>
-
addRepeatedField
public SparkProperties.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SparkProperties.Builder>
-
mergeFrom
public SparkProperties.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SparkProperties.Builder>
-
mergeFrom
public SparkProperties.Builder mergeFrom(SparkProperties other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<SparkProperties.Builder>
-
mergeFrom
public SparkProperties.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SparkProperties.Builder>
- Throws:
IOException
-
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];
- Specified by:
getServiceAccountId
in interfaceSparkPropertiesOrBuilder
- Returns:
- The serviceAccountId.
-
getServiceAccountIdBytes
public com.google.protobuf.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];
- Specified by:
getServiceAccountIdBytes
in interfaceSparkPropertiesOrBuilder
- Returns:
- The bytes for serviceAccountId.
-
setServiceAccountId
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];
- Parameters:
value
- The serviceAccountId to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setServiceAccountIdBytes
public SparkProperties.Builder setServiceAccountIdBytes(com.google.protobuf.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];
- Parameters:
value
- The bytes for serviceAccountId to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
hasMetastoreServiceConfig
in interfaceSparkPropertiesOrBuilder
- Returns:
- Whether the metastoreServiceConfig field is set.
-
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];
- Specified by:
getMetastoreServiceConfig
in interfaceSparkPropertiesOrBuilder
- Returns:
- The metastoreServiceConfig.
-
setMetastoreServiceConfig
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];
-
setMetastoreServiceConfig
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];
-
mergeMetastoreServiceConfig
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];
-
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];
-
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];
-
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];
- Specified by:
getMetastoreServiceConfigOrBuilder
in interfaceSparkPropertiesOrBuilder
-
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];
- Specified by:
hasSparkHistoryServerConfig
in interfaceSparkPropertiesOrBuilder
- Returns:
- Whether the sparkHistoryServerConfig field is set.
-
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];
- Specified by:
getSparkHistoryServerConfig
in interfaceSparkPropertiesOrBuilder
- Returns:
- The sparkHistoryServerConfig.
-
setSparkHistoryServerConfig
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
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];
-
mergeSparkHistoryServerConfig
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];
-
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];
-
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];
- Specified by:
getSparkHistoryServerConfigOrBuilder
in interfaceSparkPropertiesOrBuilder
-
setUnknownFields
public final SparkProperties.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SparkProperties.Builder>
-
mergeUnknownFields
public final SparkProperties.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SparkProperties.Builder>
-
-