Interface JobOrBuilder (2.76.0)

public interface JobOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getErrorCode()

public abstract int getErrorCode()

Optional. If the job did not complete successfully, this field describes why.

int32 error_code = 3;

Returns
Type Description
int

The errorCode.

getLocation()

public abstract String getLocation()

Optional. Gives the location where the job ran, such as US or europe-west1

string location = 4;

Returns
Type Description
String

The location.

getLocationBytes()

public abstract ByteString getLocationBytes()

Optional. Gives the location where the job ran, such as US or europe-west1

string location = 4;

Returns
Type Description
ByteString

The bytes for location.

getName()

public abstract String getName()

The fully-qualified name for a job. e.g. projects/<project_id>/jobs/<job_id>

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The fully-qualified name for a job. e.g. projects/<project_id>/jobs/<job_id>

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getState()

public abstract JobState getState()

Output only. State of the job, such as RUNNING or PENDING.

.google.cloud.securitycenter.v2.JobState state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
JobState

The state.

getStateValue()

public abstract int getStateValue()

Output only. State of the job, such as RUNNING or PENDING.

.google.cloud.securitycenter.v2.JobState state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.