Package com.google.cloud.dataproc.v1
Class ClusterConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dataproc.v1.ClusterConfig
-
- All Implemented Interfaces:
ClusterConfigOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class ClusterConfig extends com.google.protobuf.GeneratedMessageV3 implements ClusterConfigOrBuilder
The cluster config.
Protobuf typegoogle.cloud.dataproc.v1.ClusterConfig
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClusterConfig.Builder
The cluster config.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
AUTOSCALING_CONFIG_FIELD_NUMBER
static int
AUXILIARY_NODE_GROUPS_FIELD_NUMBER
static int
CONFIG_BUCKET_FIELD_NUMBER
static int
DATAPROC_METRIC_CONFIG_FIELD_NUMBER
static int
ENCRYPTION_CONFIG_FIELD_NUMBER
static int
ENDPOINT_CONFIG_FIELD_NUMBER
static int
GCE_CLUSTER_CONFIG_FIELD_NUMBER
static int
INITIALIZATION_ACTIONS_FIELD_NUMBER
static int
LIFECYCLE_CONFIG_FIELD_NUMBER
static int
MASTER_CONFIG_FIELD_NUMBER
static int
METASTORE_CONFIG_FIELD_NUMBER
static int
SECONDARY_WORKER_CONFIG_FIELD_NUMBER
static int
SECURITY_CONFIG_FIELD_NUMBER
static int
SOFTWARE_CONFIG_FIELD_NUMBER
static int
TEMP_BUCKET_FIELD_NUMBER
static int
WORKER_CONFIG_FIELD_NUMBER
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
CONFIG_BUCKET_FIELD_NUMBER
public static final int CONFIG_BUCKET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TEMP_BUCKET_FIELD_NUMBER
public static final int TEMP_BUCKET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GCE_CLUSTER_CONFIG_FIELD_NUMBER
public static final int GCE_CLUSTER_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MASTER_CONFIG_FIELD_NUMBER
public static final int MASTER_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKER_CONFIG_FIELD_NUMBER
public static final int WORKER_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SECONDARY_WORKER_CONFIG_FIELD_NUMBER
public static final int SECONDARY_WORKER_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOFTWARE_CONFIG_FIELD_NUMBER
public static final int SOFTWARE_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INITIALIZATION_ACTIONS_FIELD_NUMBER
public static final int INITIALIZATION_ACTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENCRYPTION_CONFIG_FIELD_NUMBER
public static final int ENCRYPTION_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUTOSCALING_CONFIG_FIELD_NUMBER
public static final int AUTOSCALING_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SECURITY_CONFIG_FIELD_NUMBER
public static final int SECURITY_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LIFECYCLE_CONFIG_FIELD_NUMBER
public static final int LIFECYCLE_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENDPOINT_CONFIG_FIELD_NUMBER
public static final int ENDPOINT_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METASTORE_CONFIG_FIELD_NUMBER
public static final int METASTORE_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATAPROC_METRIC_CONFIG_FIELD_NUMBER
public static final int DATAPROC_METRIC_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUXILIARY_NODE_GROUPS_FIELD_NUMBER
public static final int AUXILIARY_NODE_GROUPS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
getConfigBucket
public String getConfigBucket()
Optional. A Cloud Storage bucket used to stage job dependencies, config files, and job driver console output. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket (see [Dataproc staging and temp buckets](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)). **This field requires a Cloud Storage bucket name, not a `gs://...` URI to a Cloud Storage bucket.**
string config_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getConfigBucket
in interfaceClusterConfigOrBuilder
- Returns:
- The configBucket.
-
getConfigBucketBytes
public com.google.protobuf.ByteString getConfigBucketBytes()
Optional. A Cloud Storage bucket used to stage job dependencies, config files, and job driver console output. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket (see [Dataproc staging and temp buckets](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)). **This field requires a Cloud Storage bucket name, not a `gs://...` URI to a Cloud Storage bucket.**
string config_bucket = 1 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getConfigBucketBytes
in interfaceClusterConfigOrBuilder
- Returns:
- The bytes for configBucket.
-
getTempBucket
public String getTempBucket()
Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data, such as Spark and MapReduce history files. If you do not specify a temp bucket, Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's temp bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket. The default bucket has a TTL of 90 days, but you can use any TTL (or none) if you specify a bucket (see [Dataproc staging and temp buckets](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)). **This field requires a Cloud Storage bucket name, not a `gs://...` URI to a Cloud Storage bucket.**
string temp_bucket = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getTempBucket
in interfaceClusterConfigOrBuilder
- Returns:
- The tempBucket.
-
getTempBucketBytes
public com.google.protobuf.ByteString getTempBucketBytes()
Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data, such as Spark and MapReduce history files. If you do not specify a temp bucket, Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's temp bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket. The default bucket has a TTL of 90 days, but you can use any TTL (or none) if you specify a bucket (see [Dataproc staging and temp buckets](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)). **This field requires a Cloud Storage bucket name, not a `gs://...` URI to a Cloud Storage bucket.**
string temp_bucket = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getTempBucketBytes
in interfaceClusterConfigOrBuilder
- Returns:
- The bytes for tempBucket.
-
hasGceClusterConfig
public boolean hasGceClusterConfig()
Optional. The shared Compute Engine config settings for all instances in a cluster.
.google.cloud.dataproc.v1.GceClusterConfig gce_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasGceClusterConfig
in interfaceClusterConfigOrBuilder
- Returns:
- Whether the gceClusterConfig field is set.
-
getGceClusterConfig
public GceClusterConfig getGceClusterConfig()
Optional. The shared Compute Engine config settings for all instances in a cluster.
.google.cloud.dataproc.v1.GceClusterConfig gce_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getGceClusterConfig
in interfaceClusterConfigOrBuilder
- Returns:
- The gceClusterConfig.
-
getGceClusterConfigOrBuilder
public GceClusterConfigOrBuilder getGceClusterConfigOrBuilder()
Optional. The shared Compute Engine config settings for all instances in a cluster.
.google.cloud.dataproc.v1.GceClusterConfig gce_cluster_config = 8 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getGceClusterConfigOrBuilder
in interfaceClusterConfigOrBuilder
-
hasMasterConfig
public boolean hasMasterConfig()
Optional. The Compute Engine config settings for the cluster's master instance.
.google.cloud.dataproc.v1.InstanceGroupConfig master_config = 9 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasMasterConfig
in interfaceClusterConfigOrBuilder
- Returns:
- Whether the masterConfig field is set.
-
getMasterConfig
public InstanceGroupConfig getMasterConfig()
Optional. The Compute Engine config settings for the cluster's master instance.
.google.cloud.dataproc.v1.InstanceGroupConfig master_config = 9 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getMasterConfig
in interfaceClusterConfigOrBuilder
- Returns:
- The masterConfig.
-
getMasterConfigOrBuilder
public InstanceGroupConfigOrBuilder getMasterConfigOrBuilder()
Optional. The Compute Engine config settings for the cluster's master instance.
.google.cloud.dataproc.v1.InstanceGroupConfig master_config = 9 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getMasterConfigOrBuilder
in interfaceClusterConfigOrBuilder
-
hasWorkerConfig
public boolean hasWorkerConfig()
Optional. The Compute Engine config settings for the cluster's worker instances.
.google.cloud.dataproc.v1.InstanceGroupConfig worker_config = 10 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasWorkerConfig
in interfaceClusterConfigOrBuilder
- Returns:
- Whether the workerConfig field is set.
-
getWorkerConfig
public InstanceGroupConfig getWorkerConfig()
Optional. The Compute Engine config settings for the cluster's worker instances.
.google.cloud.dataproc.v1.InstanceGroupConfig worker_config = 10 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getWorkerConfig
in interfaceClusterConfigOrBuilder
- Returns:
- The workerConfig.
-
getWorkerConfigOrBuilder
public InstanceGroupConfigOrBuilder getWorkerConfigOrBuilder()
Optional. The Compute Engine config settings for the cluster's worker instances.
.google.cloud.dataproc.v1.InstanceGroupConfig worker_config = 10 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getWorkerConfigOrBuilder
in interfaceClusterConfigOrBuilder
-
hasSecondaryWorkerConfig
public boolean hasSecondaryWorkerConfig()
Optional. The Compute Engine config settings for a cluster's secondary worker instances
.google.cloud.dataproc.v1.InstanceGroupConfig secondary_worker_config = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasSecondaryWorkerConfig
in interfaceClusterConfigOrBuilder
- Returns:
- Whether the secondaryWorkerConfig field is set.
-
getSecondaryWorkerConfig
public InstanceGroupConfig getSecondaryWorkerConfig()
Optional. The Compute Engine config settings for a cluster's secondary worker instances
.google.cloud.dataproc.v1.InstanceGroupConfig secondary_worker_config = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSecondaryWorkerConfig
in interfaceClusterConfigOrBuilder
- Returns:
- The secondaryWorkerConfig.
-
getSecondaryWorkerConfigOrBuilder
public InstanceGroupConfigOrBuilder getSecondaryWorkerConfigOrBuilder()
Optional. The Compute Engine config settings for a cluster's secondary worker instances
.google.cloud.dataproc.v1.InstanceGroupConfig secondary_worker_config = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSecondaryWorkerConfigOrBuilder
in interfaceClusterConfigOrBuilder
-
hasSoftwareConfig
public boolean hasSoftwareConfig()
Optional. The config settings for cluster software.
.google.cloud.dataproc.v1.SoftwareConfig software_config = 13 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasSoftwareConfig
in interfaceClusterConfigOrBuilder
- Returns:
- Whether the softwareConfig field is set.
-
getSoftwareConfig
public SoftwareConfig getSoftwareConfig()
Optional. The config settings for cluster software.
.google.cloud.dataproc.v1.SoftwareConfig software_config = 13 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSoftwareConfig
in interfaceClusterConfigOrBuilder
- Returns:
- The softwareConfig.
-
getSoftwareConfigOrBuilder
public SoftwareConfigOrBuilder getSoftwareConfigOrBuilder()
Optional. The config settings for cluster software.
.google.cloud.dataproc.v1.SoftwareConfig software_config = 13 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSoftwareConfigOrBuilder
in interfaceClusterConfigOrBuilder
-
getInitializationActionsList
public List<NodeInitializationAction> getInitializationActionsList()
Optional. Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a node's `role` metadata to run an executable on a master or worker node, as shown below using `curl` (you can also use `wget`): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role) if [[ "${ROLE}" == 'Master' ]]; then ... master specific actions ... else ... worker specific actions ... fi
repeated .google.cloud.dataproc.v1.NodeInitializationAction initialization_actions = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getInitializationActionsList
in interfaceClusterConfigOrBuilder
-
getInitializationActionsOrBuilderList
public List<? extends NodeInitializationActionOrBuilder> getInitializationActionsOrBuilderList()
Optional. Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a node's `role` metadata to run an executable on a master or worker node, as shown below using `curl` (you can also use `wget`): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role) if [[ "${ROLE}" == 'Master' ]]; then ... master specific actions ... else ... worker specific actions ... fi
repeated .google.cloud.dataproc.v1.NodeInitializationAction initialization_actions = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getInitializationActionsOrBuilderList
in interfaceClusterConfigOrBuilder
-
getInitializationActionsCount
public int getInitializationActionsCount()
Optional. Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a node's `role` metadata to run an executable on a master or worker node, as shown below using `curl` (you can also use `wget`): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role) if [[ "${ROLE}" == 'Master' ]]; then ... master specific actions ... else ... worker specific actions ... fi
repeated .google.cloud.dataproc.v1.NodeInitializationAction initialization_actions = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getInitializationActionsCount
in interfaceClusterConfigOrBuilder
-
getInitializationActions
public NodeInitializationAction getInitializationActions(int index)
Optional. Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a node's `role` metadata to run an executable on a master or worker node, as shown below using `curl` (you can also use `wget`): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role) if [[ "${ROLE}" == 'Master' ]]; then ... master specific actions ... else ... worker specific actions ... fi
repeated .google.cloud.dataproc.v1.NodeInitializationAction initialization_actions = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getInitializationActions
in interfaceClusterConfigOrBuilder
-
getInitializationActionsOrBuilder
public NodeInitializationActionOrBuilder getInitializationActionsOrBuilder(int index)
Optional. Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a node's `role` metadata to run an executable on a master or worker node, as shown below using `curl` (you can also use `wget`): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role) if [[ "${ROLE}" == 'Master' ]]; then ... master specific actions ... else ... worker specific actions ... fi
repeated .google.cloud.dataproc.v1.NodeInitializationAction initialization_actions = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getInitializationActionsOrBuilder
in interfaceClusterConfigOrBuilder
-
hasEncryptionConfig
public boolean hasEncryptionConfig()
Optional. Encryption settings for the cluster.
.google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasEncryptionConfig
in interfaceClusterConfigOrBuilder
- Returns:
- Whether the encryptionConfig field is set.
-
getEncryptionConfig
public EncryptionConfig getEncryptionConfig()
Optional. Encryption settings for the cluster.
.google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getEncryptionConfig
in interfaceClusterConfigOrBuilder
- Returns:
- The encryptionConfig.
-
getEncryptionConfigOrBuilder
public EncryptionConfigOrBuilder getEncryptionConfigOrBuilder()
Optional. Encryption settings for the cluster.
.google.cloud.dataproc.v1.EncryptionConfig encryption_config = 15 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getEncryptionConfigOrBuilder
in interfaceClusterConfigOrBuilder
-
hasAutoscalingConfig
public boolean hasAutoscalingConfig()
Optional. Autoscaling config for the policy associated with the cluster. Cluster does not autoscale if this field is unset.
.google.cloud.dataproc.v1.AutoscalingConfig autoscaling_config = 18 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasAutoscalingConfig
in interfaceClusterConfigOrBuilder
- Returns:
- Whether the autoscalingConfig field is set.
-
getAutoscalingConfig
public AutoscalingConfig getAutoscalingConfig()
Optional. Autoscaling config for the policy associated with the cluster. Cluster does not autoscale if this field is unset.
.google.cloud.dataproc.v1.AutoscalingConfig autoscaling_config = 18 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAutoscalingConfig
in interfaceClusterConfigOrBuilder
- Returns:
- The autoscalingConfig.
-
getAutoscalingConfigOrBuilder
public AutoscalingConfigOrBuilder getAutoscalingConfigOrBuilder()
Optional. Autoscaling config for the policy associated with the cluster. Cluster does not autoscale if this field is unset.
.google.cloud.dataproc.v1.AutoscalingConfig autoscaling_config = 18 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAutoscalingConfigOrBuilder
in interfaceClusterConfigOrBuilder
-
hasSecurityConfig
public boolean hasSecurityConfig()
Optional. Security settings for the cluster.
.google.cloud.dataproc.v1.SecurityConfig security_config = 16 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasSecurityConfig
in interfaceClusterConfigOrBuilder
- Returns:
- Whether the securityConfig field is set.
-
getSecurityConfig
public SecurityConfig getSecurityConfig()
Optional. Security settings for the cluster.
.google.cloud.dataproc.v1.SecurityConfig security_config = 16 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSecurityConfig
in interfaceClusterConfigOrBuilder
- Returns:
- The securityConfig.
-
getSecurityConfigOrBuilder
public SecurityConfigOrBuilder getSecurityConfigOrBuilder()
Optional. Security settings for the cluster.
.google.cloud.dataproc.v1.SecurityConfig security_config = 16 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSecurityConfigOrBuilder
in interfaceClusterConfigOrBuilder
-
hasLifecycleConfig
public boolean hasLifecycleConfig()
Optional. Lifecycle setting for the cluster.
.google.cloud.dataproc.v1.LifecycleConfig lifecycle_config = 17 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasLifecycleConfig
in interfaceClusterConfigOrBuilder
- Returns:
- Whether the lifecycleConfig field is set.
-
getLifecycleConfig
public LifecycleConfig getLifecycleConfig()
Optional. Lifecycle setting for the cluster.
.google.cloud.dataproc.v1.LifecycleConfig lifecycle_config = 17 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLifecycleConfig
in interfaceClusterConfigOrBuilder
- Returns:
- The lifecycleConfig.
-
getLifecycleConfigOrBuilder
public LifecycleConfigOrBuilder getLifecycleConfigOrBuilder()
Optional. Lifecycle setting for the cluster.
.google.cloud.dataproc.v1.LifecycleConfig lifecycle_config = 17 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLifecycleConfigOrBuilder
in interfaceClusterConfigOrBuilder
-
hasEndpointConfig
public boolean hasEndpointConfig()
Optional. Port/endpoint configuration for this cluster
.google.cloud.dataproc.v1.EndpointConfig endpoint_config = 19 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasEndpointConfig
in interfaceClusterConfigOrBuilder
- Returns:
- Whether the endpointConfig field is set.
-
getEndpointConfig
public EndpointConfig getEndpointConfig()
Optional. Port/endpoint configuration for this cluster
.google.cloud.dataproc.v1.EndpointConfig endpoint_config = 19 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getEndpointConfig
in interfaceClusterConfigOrBuilder
- Returns:
- The endpointConfig.
-
getEndpointConfigOrBuilder
public EndpointConfigOrBuilder getEndpointConfigOrBuilder()
Optional. Port/endpoint configuration for this cluster
.google.cloud.dataproc.v1.EndpointConfig endpoint_config = 19 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getEndpointConfigOrBuilder
in interfaceClusterConfigOrBuilder
-
hasMetastoreConfig
public boolean hasMetastoreConfig()
Optional. Metastore configuration.
.google.cloud.dataproc.v1.MetastoreConfig metastore_config = 20 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasMetastoreConfig
in interfaceClusterConfigOrBuilder
- Returns:
- Whether the metastoreConfig field is set.
-
getMetastoreConfig
public MetastoreConfig getMetastoreConfig()
Optional. Metastore configuration.
.google.cloud.dataproc.v1.MetastoreConfig metastore_config = 20 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getMetastoreConfig
in interfaceClusterConfigOrBuilder
- Returns:
- The metastoreConfig.
-
getMetastoreConfigOrBuilder
public MetastoreConfigOrBuilder getMetastoreConfigOrBuilder()
Optional. Metastore configuration.
.google.cloud.dataproc.v1.MetastoreConfig metastore_config = 20 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getMetastoreConfigOrBuilder
in interfaceClusterConfigOrBuilder
-
hasDataprocMetricConfig
public boolean hasDataprocMetricConfig()
Optional. The config for Dataproc metrics.
.google.cloud.dataproc.v1.DataprocMetricConfig dataproc_metric_config = 23 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasDataprocMetricConfig
in interfaceClusterConfigOrBuilder
- Returns:
- Whether the dataprocMetricConfig field is set.
-
getDataprocMetricConfig
public DataprocMetricConfig getDataprocMetricConfig()
Optional. The config for Dataproc metrics.
.google.cloud.dataproc.v1.DataprocMetricConfig dataproc_metric_config = 23 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDataprocMetricConfig
in interfaceClusterConfigOrBuilder
- Returns:
- The dataprocMetricConfig.
-
getDataprocMetricConfigOrBuilder
public DataprocMetricConfigOrBuilder getDataprocMetricConfigOrBuilder()
Optional. The config for Dataproc metrics.
.google.cloud.dataproc.v1.DataprocMetricConfig dataproc_metric_config = 23 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDataprocMetricConfigOrBuilder
in interfaceClusterConfigOrBuilder
-
getAuxiliaryNodeGroupsList
public List<AuxiliaryNodeGroup> getAuxiliaryNodeGroupsList()
Optional. The node group settings.
repeated .google.cloud.dataproc.v1.AuxiliaryNodeGroup auxiliary_node_groups = 25 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAuxiliaryNodeGroupsList
in interfaceClusterConfigOrBuilder
-
getAuxiliaryNodeGroupsOrBuilderList
public List<? extends AuxiliaryNodeGroupOrBuilder> getAuxiliaryNodeGroupsOrBuilderList()
Optional. The node group settings.
repeated .google.cloud.dataproc.v1.AuxiliaryNodeGroup auxiliary_node_groups = 25 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAuxiliaryNodeGroupsOrBuilderList
in interfaceClusterConfigOrBuilder
-
getAuxiliaryNodeGroupsCount
public int getAuxiliaryNodeGroupsCount()
Optional. The node group settings.
repeated .google.cloud.dataproc.v1.AuxiliaryNodeGroup auxiliary_node_groups = 25 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAuxiliaryNodeGroupsCount
in interfaceClusterConfigOrBuilder
-
getAuxiliaryNodeGroups
public AuxiliaryNodeGroup getAuxiliaryNodeGroups(int index)
Optional. The node group settings.
repeated .google.cloud.dataproc.v1.AuxiliaryNodeGroup auxiliary_node_groups = 25 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAuxiliaryNodeGroups
in interfaceClusterConfigOrBuilder
-
getAuxiliaryNodeGroupsOrBuilder
public AuxiliaryNodeGroupOrBuilder getAuxiliaryNodeGroupsOrBuilder(int index)
Optional. The node group settings.
repeated .google.cloud.dataproc.v1.AuxiliaryNodeGroup auxiliary_node_groups = 25 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAuxiliaryNodeGroupsOrBuilder
in interfaceClusterConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ClusterConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClusterConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClusterConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClusterConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClusterConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClusterConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClusterConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ClusterConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ClusterConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ClusterConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ClusterConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ClusterConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ClusterConfig.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ClusterConfig.Builder newBuilder()
-
newBuilder
public static ClusterConfig.Builder newBuilder(ClusterConfig prototype)
-
toBuilder
public ClusterConfig.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ClusterConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ClusterConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ClusterConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<ClusterConfig> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ClusterConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-