All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.dataproc.model.ClusterMetrics.html Maven / Gradle / Ivy







ClusterMetrics (Cloud Dataproc API v1-rev20240605-2.0.0)












com.google.api.services.dataproc.model

Class ClusterMetrics

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class ClusterMetrics
    extends com.google.api.client.json.GenericJson
    Contains cluster daemon metrics, such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only. It may be changed before final release.

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Dataproc API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • ClusterMetrics

        public ClusterMetrics()
    • Method Detail

      • getHdfsMetrics

        public Map<String,Long> getHdfsMetrics()
        The HDFS metrics.
        Returns:
        value or null for none
      • setHdfsMetrics

        public ClusterMetrics setHdfsMetrics(Map<String,Long> hdfsMetrics)
        The HDFS metrics.
        Parameters:
        hdfsMetrics - hdfsMetrics or null for none
      • getYarnMetrics

        public Map<String,Long> getYarnMetrics()
        YARN metrics.
        Returns:
        value or null for none
      • setYarnMetrics

        public ClusterMetrics setYarnMetrics(Map<String,Long> yarnMetrics)
        YARN metrics.
        Parameters:
        yarnMetrics - yarnMetrics or null for none
      • set

        public ClusterMetrics set(String fieldName,
                                  Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public ClusterMetrics clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy