Class JobOperationResult (2.41.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static JobOperationResult getDefaultInstance()
Returns
TypeDescription
JobOperationResult

getDescriptor()

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

newBuilder()

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

newBuilder(JobOperationResult prototype)

public static JobOperationResult.Builder newBuilder(JobOperationResult prototype)
Parameter
NameDescription
prototypeJobOperationResult
Returns
TypeDescription
JobOperationResult.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public JobOperationResult getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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