Class JobOperationResult (2.47.0)

public final class JobOperationResult extends GeneratedMessageV3 implements JobOperationResultOrBuilder

The result of JobService.BatchCreateJobs or JobService.BatchUpdateJobs APIs. It's used to replace google.longrunning.Operation.response in case of success.

Protobuf type google.cloud.talent.v4beta1.JobOperationResult

Static Fields

JOB_RESULTS_FIELD_NUMBER

public static final int JOB_RESULTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static JobOperationResult getDefaultInstance()
Returns
Type Description
JobOperationResult

getDescriptor()

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

newBuilder()

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

newBuilder(JobOperationResult prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public JobOperationResult getDefaultInstanceForType()
Returns
Type Description
JobOperationResult

getJobResults(int index)

public JobOperationResult.JobResult getJobResults(int index)

List of job mutation results from a batch mutate operation. It can change until operation status is FINISHED, FAILED or CANCELLED.

repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1;

Parameter
Name Description
index int
Returns
Type Description
JobOperationResult.JobResult

getJobResultsCount()

public int getJobResultsCount()

List of job mutation results from a batch mutate operation. It can change until operation status is FINISHED, FAILED or CANCELLED.

repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1;

Returns
Type Description
int

getJobResultsList()

public List<JobOperationResult.JobResult> getJobResultsList()

List of job mutation results from a batch mutate operation. It can change until operation status is FINISHED, FAILED or CANCELLED.

repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1;

Returns
Type Description
List<JobResult>

getJobResultsOrBuilder(int index)

public JobOperationResult.JobResultOrBuilder getJobResultsOrBuilder(int index)

List of job mutation results from a batch mutate operation. It can change until operation status is FINISHED, FAILED or CANCELLED.

repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1;

Parameter
Name Description
index int
Returns
Type Description
JobOperationResult.JobResultOrBuilder

getJobResultsOrBuilderList()

public List<? extends JobOperationResult.JobResultOrBuilder> getJobResultsOrBuilderList()

List of job mutation results from a batch mutate operation. It can change until operation status is FINISHED, FAILED or CANCELLED.

repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1;

Returns
Type Description
List<? extends com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 JobOperationResult.Builder newBuilderForType()
Returns
Type Description
JobOperationResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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