Class JobResult (2.52.0)

public final class JobResult extends GeneratedMessageV3 implements JobResultOrBuilder

Mutation result of a job from a batch operation.

Protobuf type google.cloud.talent.v4.JobResult

Implements

JobResultOrBuilder

Static Fields

JOB_FIELD_NUMBER

public static final int JOB_FIELD_NUMBER
Field Value
Type Description
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static JobResult getDefaultInstance()
Returns
Type Description
JobResult

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static JobResult.Builder newBuilder()
Returns
Type Description
JobResult.Builder

newBuilder(JobResult prototype)

public static JobResult.Builder newBuilder(JobResult prototype)
Parameter
Name Description
prototype JobResult
Returns
Type Description
JobResult.Builder

parseDelimitedFrom(InputStream input)

public static JobResult parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
JobResult
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static JobResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobResult
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static JobResult parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
JobResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static JobResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static JobResult parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
JobResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static JobResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static JobResult parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
JobResult
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static JobResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobResult
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static JobResult parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
JobResult
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static JobResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobResult
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static JobResult parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
JobResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static JobResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobResult
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<JobResult> parser()
Returns
Type Description
Parser<JobResult>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public JobResult getDefaultInstanceForType()
Returns
Type Description
JobResult

getJob()

public Job getJob()

Here Job only contains basic information including name, company, language_code and requisition_id, use getJob method to retrieve detailed information of the created/updated job.

.google.cloud.talent.v4.Job job = 1;

Returns
Type Description
Job

The job.

getJobOrBuilder()

public JobOrBuilder getJobOrBuilder()

Here Job only contains basic information including name, company, language_code and requisition_id, use getJob method to retrieve detailed information of the created/updated job.

.google.cloud.talent.v4.Job job = 1;

Returns
Type Description
JobOrBuilder

getParserForType()

public Parser<JobResult> getParserForType()
Returns
Type Description
Parser<JobResult>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStatus()

public Status getStatus()

The status of the job processed. This field is populated if the processing of the job fails.

.google.rpc.Status status = 2;

Returns
Type Description
com.google.rpc.Status

The status.

getStatusOrBuilder()

public StatusOrBuilder getStatusOrBuilder()

The status of the job processed. This field is populated if the processing of the job fails.

.google.rpc.Status status = 2;

Returns
Type Description
com.google.rpc.StatusOrBuilder

hasJob()

public boolean hasJob()

Here Job only contains basic information including name, company, language_code and requisition_id, use getJob method to retrieve detailed information of the created/updated job.

.google.cloud.talent.v4.Job job = 1;

Returns
Type Description
boolean

Whether the job field is set.

hasStatus()

public boolean hasStatus()

The status of the job processed. This field is populated if the processing of the job fails.

.google.rpc.Status status = 2;

Returns
Type Description
boolean

Whether the status field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public JobResult.Builder newBuilderForType()
Returns
Type Description
JobResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected JobResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
JobResult.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public JobResult.Builder toBuilder()
Returns
Type Description
JobResult.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException