Interface DiagnoseClusterRequestOrBuilder (4.43.0)

public interface DiagnoseClusterRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClusterName()

public abstract String getClusterName()

Required. The cluster name.

string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The clusterName.

getClusterNameBytes()

public abstract ByteString getClusterNameBytes()

Required. The cluster name.

string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for clusterName.

getDiagnosisInterval()

public abstract Interval getDiagnosisInterval()

Optional. Time interval in which diagnosis should be carried out on the cluster.

.google.type.Interval diagnosis_interval = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.Interval

The diagnosisInterval.

getDiagnosisIntervalOrBuilder()

public abstract IntervalOrBuilder getDiagnosisIntervalOrBuilder()

Optional. Time interval in which diagnosis should be carried out on the cluster.

.google.type.Interval diagnosis_interval = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.IntervalOrBuilder

getJobs(int index)

public abstract String getJobs(int index)

Optional. Specifies a list of jobs on which diagnosis is to be performed. Format: projects/{project}/regions/{region}/jobs/{job}

repeated string jobs = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The jobs at the given index.

getJobsBytes(int index)

public abstract ByteString getJobsBytes(int index)

Optional. Specifies a list of jobs on which diagnosis is to be performed. Format: projects/{project}/regions/{region}/jobs/{job}

repeated string jobs = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the jobs at the given index.

getJobsCount()

public abstract int getJobsCount()

Optional. Specifies a list of jobs on which diagnosis is to be performed. Format: projects/{project}/regions/{region}/jobs/{job}

repeated string jobs = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of jobs.

getJobsList()

public abstract List<String> getJobsList()

Optional. Specifies a list of jobs on which diagnosis is to be performed. Format: projects/{project}/regions/{region}/jobs/{job}

repeated string jobs = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the jobs.

getProjectId()

public abstract String getProjectId()

Required. The ID of the Google Cloud Platform project that the cluster belongs to.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public abstract ByteString getProjectIdBytes()

Required. The ID of the Google Cloud Platform project that the cluster belongs to.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for projectId.

getRegion()

public abstract String getRegion()

Required. The Dataproc region in which to handle the request.

string region = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The region.

getRegionBytes()

public abstract ByteString getRegionBytes()

Required. The Dataproc region in which to handle the request.

string region = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for region.

getTarballGcsDir()

public abstract String getTarballGcsDir()

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.

string tarball_gcs_dir = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The tarballGcsDir.

getTarballGcsDirBytes()

public abstract ByteString getTarballGcsDirBytes()

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.

string tarball_gcs_dir = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for tarballGcsDir.

getYarnApplicationIds(int index)

public abstract String getYarnApplicationIds(int index)

Optional. Specifies a list of yarn applications on which diagnosis is to be performed.

repeated string yarn_application_ids = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The yarnApplicationIds at the given index.

getYarnApplicationIdsBytes(int index)

public abstract ByteString getYarnApplicationIdsBytes(int index)

Optional. Specifies a list of yarn applications on which diagnosis is to be performed.

repeated string yarn_application_ids = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the yarnApplicationIds at the given index.

getYarnApplicationIdsCount()

public abstract int getYarnApplicationIdsCount()

Optional. Specifies a list of yarn applications on which diagnosis is to be performed.

repeated string yarn_application_ids = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of yarnApplicationIds.

getYarnApplicationIdsList()

public abstract List<String> getYarnApplicationIdsList()

Optional. Specifies a list of yarn applications on which diagnosis is to be performed.

repeated string yarn_application_ids = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the yarnApplicationIds.

hasDiagnosisInterval()

public abstract boolean hasDiagnosisInterval()

Optional. Time interval in which diagnosis should be carried out on the cluster.

.google.type.Interval diagnosis_interval = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the diagnosisInterval field is set.