target.apidocs.com.google.api.services.dataproc.model.DiagnoseClusterRequest.html Maven / Gradle / Ivy
DiagnoseClusterRequest (Cloud Dataproc API v1-rev20241025-2.0.0)
com.google.api.services.dataproc.model
Class DiagnoseClusterRequest
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.dataproc.model.DiagnoseClusterRequest
-
public final class DiagnoseClusterRequest
extends com.google.api.client.json.GenericJson
A request to collect cluster diagnostic information.
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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
DiagnoseClusterRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
DiagnoseClusterRequest
clone()
Interval
getDiagnosisInterval()
Optional.
String
getJob()
Optional.
List<String>
getJobs()
Optional.
String
getTarballAccess()
Optional.
String
getTarballGcsDir()
Optional.
String
getYarnApplicationId()
Optional.
List<String>
getYarnApplicationIds()
Optional.
DiagnoseClusterRequest
set(String fieldName,
Object value)
DiagnoseClusterRequest
setDiagnosisInterval(Interval diagnosisInterval)
Optional.
DiagnoseClusterRequest
setJob(String job)
Optional.
DiagnoseClusterRequest
setJobs(List<String> jobs)
Optional.
DiagnoseClusterRequest
setTarballAccess(String tarballAccess)
Optional.
DiagnoseClusterRequest
setTarballGcsDir(String tarballGcsDir)
Optional.
DiagnoseClusterRequest
setYarnApplicationId(String yarnApplicationId)
Optional.
DiagnoseClusterRequest
setYarnApplicationIds(List<String> yarnApplicationIds)
Optional.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getDiagnosisInterval
public Interval getDiagnosisInterval()
Optional. Time interval in which diagnosis should be carried out on the cluster.
- Returns:
- value or
null
for none
-
setDiagnosisInterval
public DiagnoseClusterRequest setDiagnosisInterval(Interval diagnosisInterval)
Optional. Time interval in which diagnosis should be carried out on the cluster.
- Parameters:
diagnosisInterval
- diagnosisInterval or null
for none
-
getJob
public String getJob()
Optional. DEPRECATED Specifies the job on which diagnosis is to be performed. Format:
projects/{project}/regions/{region}/jobs/{job}
- Returns:
- value or
null
for none
-
setJob
public DiagnoseClusterRequest setJob(String job)
Optional. DEPRECATED Specifies the job on which diagnosis is to be performed. Format:
projects/{project}/regions/{region}/jobs/{job}
- Parameters:
job
- job or null
for none
-
getJobs
public List<String> getJobs()
Optional. Specifies a list of jobs on which diagnosis is to be performed. Format:
projects/{project}/regions/{region}/jobs/{job}
- Returns:
- value or
null
for none
-
setJobs
public DiagnoseClusterRequest setJobs(List<String> jobs)
Optional. Specifies a list of jobs on which diagnosis is to be performed. Format:
projects/{project}/regions/{region}/jobs/{job}
- Parameters:
jobs
- jobs or null
for none
-
getTarballAccess
public String getTarballAccess()
Optional. (Optional) The access type to the diagnostic tarball. If not specified, falls back to
default access of the bucket
- Returns:
- value or
null
for none
-
setTarballAccess
public DiagnoseClusterRequest setTarballAccess(String tarballAccess)
Optional. (Optional) The access type to the diagnostic tarball. If not specified, falls back to
default access of the bucket
- Parameters:
tarballAccess
- tarballAccess or null
for none
-
getTarballGcsDir
public String getTarballGcsDir()
Optional. (Optional) The output Cloud Storage directory for the diagnostic tarball. If not
specified, a task-specific directory in the cluster's staging bucket will be used.
- Returns:
- value or
null
for none
-
setTarballGcsDir
public DiagnoseClusterRequest setTarballGcsDir(String tarballGcsDir)
Optional. (Optional) The output Cloud Storage directory for the diagnostic tarball. If not
specified, a task-specific directory in the cluster's staging bucket will be used.
- Parameters:
tarballGcsDir
- tarballGcsDir or null
for none
-
getYarnApplicationId
public String getYarnApplicationId()
Optional. DEPRECATED Specifies the yarn application on which diagnosis is to be performed.
- Returns:
- value or
null
for none
-
setYarnApplicationId
public DiagnoseClusterRequest setYarnApplicationId(String yarnApplicationId)
Optional. DEPRECATED Specifies the yarn application on which diagnosis is to be performed.
- Parameters:
yarnApplicationId
- yarnApplicationId or null
for none
-
getYarnApplicationIds
public List<String> getYarnApplicationIds()
Optional. Specifies a list of yarn applications on which diagnosis is to be performed.
- Returns:
- value or
null
for none
-
setYarnApplicationIds
public DiagnoseClusterRequest setYarnApplicationIds(List<String> yarnApplicationIds)
Optional. Specifies a list of yarn applications on which diagnosis is to be performed.
- Parameters:
yarnApplicationIds
- yarnApplicationIds or null
for none
-
set
public DiagnoseClusterRequest set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public DiagnoseClusterRequest 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