Class JobResult (2.9.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
TypeDescription
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static JobResult getDefaultInstance()
Returns
TypeDescription
JobResult

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static JobResult.Builder newBuilder()
Returns
TypeDescription
JobResult.Builder

newBuilder(JobResult prototype)

public static JobResult.Builder newBuilder(JobResult prototype)
Parameter
NameDescription
prototypeJobResult
Returns
TypeDescription
JobResult.Builder

parseDelimitedFrom(InputStream input)

public static JobResult parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
JobResult
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static JobResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobResult
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static JobResult parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
JobResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static JobResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static JobResult parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
JobResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static JobResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static JobResult parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
JobResult
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static JobResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobResult
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static JobResult parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
JobResult
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static JobResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobResult
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static JobResult parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
JobResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static JobResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<JobResult> parser()
Returns
TypeDescription
Parser<JobResult>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public JobResult getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
JobOrBuilder

getParserForType()

public Parser<JobResult> getParserForType()
Returns
TypeDescription
Parser<JobResult>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
com.google.rpc.StatusOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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
TypeDescription
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
TypeDescription
boolean

Whether the status field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public JobResult.Builder newBuilderForType()
Returns
TypeDescription
JobResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected JobResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
JobResult.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public JobResult.Builder toBuilder()
Returns
TypeDescription
JobResult.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException