Send feedback
Class PeripheralsConfig.Builder (4.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.6.0 keyboard_arrow_down
public static final class PeripheralsConfig . Builder extends GeneratedMessageV3 . Builder<PeripheralsConfig . Builder > implements PeripheralsConfigOrBuilder
Auxiliary services configuration for a workload.
Protobuf type google.cloud.dataproc.v1.PeripheralsConfig
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 ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PeripheralsConfig . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public PeripheralsConfig build ()
Returns
buildPartial()
public PeripheralsConfig buildPartial ()
Returns
clear()
public PeripheralsConfig . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public PeripheralsConfig . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
public PeripheralsConfig . Builder clearMetastoreService ()
Optional. Resource name of an existing Dataproc Metastore service.
Example:
projects/[project_id]/locations/[region]/services/[service_id]
string metastore_service = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public PeripheralsConfig . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearSparkHistoryServerConfig()
public PeripheralsConfig . Builder clearSparkHistoryServerConfig ()
Optional. The Spark History Server configuration for the workload.
.google.cloud.dataproc.v1.SparkHistoryServerConfig spark_history_server_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
clone()
public PeripheralsConfig . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public PeripheralsConfig getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
public String getMetastoreService ()
Optional. Resource name of an existing Dataproc Metastore service.
Example:
projects/[project_id]/locations/[region]/services/[service_id]
string metastore_service = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type Description String
The metastoreService.
public ByteString getMetastoreServiceBytes ()
Optional. Resource name of an existing Dataproc Metastore service.
Example:
projects/[project_id]/locations/[region]/services/[service_id]
string metastore_service = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type Description ByteString
The bytes for metastoreService.
getSparkHistoryServerConfig()
public SparkHistoryServerConfig getSparkHistoryServerConfig ()
Optional. The Spark History Server configuration for the workload.
.google.cloud.dataproc.v1.SparkHistoryServerConfig spark_history_server_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getSparkHistoryServerConfigBuilder()
public SparkHistoryServerConfig . Builder getSparkHistoryServerConfigBuilder ()
Optional. The Spark History Server configuration for the workload.
.google.cloud.dataproc.v1.SparkHistoryServerConfig spark_history_server_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getSparkHistoryServerConfigOrBuilder()
public SparkHistoryServerConfigOrBuilder getSparkHistoryServerConfigOrBuilder ()
Optional. The Spark History Server configuration for the workload.
.google.cloud.dataproc.v1.SparkHistoryServerConfig spark_history_server_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
hasSparkHistoryServerConfig()
public boolean hasSparkHistoryServerConfig ()
Optional. The Spark History Server configuration for the workload.
.google.cloud.dataproc.v1.SparkHistoryServerConfig spark_history_server_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type Description boolean
Whether the sparkHistoryServerConfig field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(PeripheralsConfig other)
public PeripheralsConfig . Builder mergeFrom ( PeripheralsConfig other )
Parameter
Returns
public PeripheralsConfig . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public PeripheralsConfig . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeSparkHistoryServerConfig(SparkHistoryServerConfig value)
public PeripheralsConfig . Builder mergeSparkHistoryServerConfig ( SparkHistoryServerConfig value )
Optional. The Spark History Server configuration for the workload.
.google.cloud.dataproc.v1.SparkHistoryServerConfig spark_history_server_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PeripheralsConfig . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public PeripheralsConfig . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public PeripheralsConfig . Builder setMetastoreService ( String value )
Optional. Resource name of an existing Dataproc Metastore service.
Example:
projects/[project_id]/locations/[region]/services/[service_id]
string metastore_service = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name Description value
String
The metastoreService to set.
Returns
public PeripheralsConfig . Builder setMetastoreServiceBytes ( ByteString value )
Optional. Resource name of an existing Dataproc Metastore service.
Example:
projects/[project_id]/locations/[region]/services/[service_id]
string metastore_service = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name Description value
ByteString
The bytes for metastoreService to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PeripheralsConfig . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setSparkHistoryServerConfig(SparkHistoryServerConfig value)
public PeripheralsConfig . Builder setSparkHistoryServerConfig ( SparkHistoryServerConfig value )
Optional. The Spark History Server configuration for the workload.
.google.cloud.dataproc.v1.SparkHistoryServerConfig spark_history_server_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setSparkHistoryServerConfig(SparkHistoryServerConfig.Builder builderForValue)
public PeripheralsConfig . Builder setSparkHistoryServerConfig ( SparkHistoryServerConfig . Builder builderForValue )
Optional. The Spark History Server configuration for the workload.
.google.cloud.dataproc.v1.SparkHistoryServerConfig spark_history_server_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final PeripheralsConfig . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]