org.finos.tracdap.api.JobStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tracdap-api-services Show documentation
Show all versions of tracdap-api-services Show documentation
TRAC D.A.P. platform API, contains service API definitions for the TRAC platform services
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: tracdap/api/orchestrator.proto
// Protobuf Java Version: 4.28.2
package org.finos.tracdap.api;
/**
*
* *
* Provides the status of a new or existing job in the platform
*
*
* Protobuf type {@code tracdap.api.JobStatus}
*/
public final class JobStatus extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:tracdap.api.JobStatus)
JobStatusOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 2,
/* suffix= */ "",
JobStatus.class.getName());
}
// Use JobStatus.newBuilder() to construct.
private JobStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private JobStatus() {
statusCode_ = 0;
statusMessage_ = "";
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.finos.tracdap.api.Orchestrator.internal_static_tracdap_api_JobStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.finos.tracdap.api.Orchestrator.internal_static_tracdap_api_JobStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.finos.tracdap.api.JobStatus.class, org.finos.tracdap.api.JobStatus.Builder.class);
}
private int bitField0_;
public static final int JOBID_FIELD_NUMBER = 1;
private org.finos.tracdap.metadata.TagHeader jobId_;
/**
* .tracdap.metadata.TagHeader jobId = 1;
* @return Whether the jobId field is set.
*/
@java.lang.Override
public boolean hasJobId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .tracdap.metadata.TagHeader jobId = 1;
* @return The jobId.
*/
@java.lang.Override
public org.finos.tracdap.metadata.TagHeader getJobId() {
return jobId_ == null ? org.finos.tracdap.metadata.TagHeader.getDefaultInstance() : jobId_;
}
/**
* .tracdap.metadata.TagHeader jobId = 1;
*/
@java.lang.Override
public org.finos.tracdap.metadata.TagHeaderOrBuilder getJobIdOrBuilder() {
return jobId_ == null ? org.finos.tracdap.metadata.TagHeader.getDefaultInstance() : jobId_;
}
public static final int STATUSCODE_FIELD_NUMBER = 2;
private int statusCode_ = 0;
/**
* .tracdap.metadata.JobStatusCode statusCode = 2;
* @return The enum numeric value on the wire for statusCode.
*/
@java.lang.Override public int getStatusCodeValue() {
return statusCode_;
}
/**
* .tracdap.metadata.JobStatusCode statusCode = 2;
* @return The statusCode.
*/
@java.lang.Override public org.finos.tracdap.metadata.JobStatusCode getStatusCode() {
org.finos.tracdap.metadata.JobStatusCode result = org.finos.tracdap.metadata.JobStatusCode.forNumber(statusCode_);
return result == null ? org.finos.tracdap.metadata.JobStatusCode.UNRECOGNIZED : result;
}
public static final int STATUSMESSAGE_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object statusMessage_ = "";
/**
* string statusMessage = 3;
* @return The statusMessage.
*/
@java.lang.Override
public java.lang.String getStatusMessage() {
java.lang.Object ref = statusMessage_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
statusMessage_ = s;
return s;
}
}
/**
* string statusMessage = 3;
* @return The bytes for statusMessage.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStatusMessageBytes() {
java.lang.Object ref = statusMessage_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
statusMessage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getJobId());
}
if (statusCode_ != org.finos.tracdap.metadata.JobStatusCode.JOB_STATUS_CODE_NOT_SET.getNumber()) {
output.writeEnum(2, statusCode_);
}
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(statusMessage_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 3, statusMessage_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getJobId());
}
if (statusCode_ != org.finos.tracdap.metadata.JobStatusCode.JOB_STATUS_CODE_NOT_SET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, statusCode_);
}
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(statusMessage_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(3, statusMessage_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.finos.tracdap.api.JobStatus)) {
return super.equals(obj);
}
org.finos.tracdap.api.JobStatus other = (org.finos.tracdap.api.JobStatus) obj;
if (hasJobId() != other.hasJobId()) return false;
if (hasJobId()) {
if (!getJobId()
.equals(other.getJobId())) return false;
}
if (statusCode_ != other.statusCode_) return false;
if (!getStatusMessage()
.equals(other.getStatusMessage())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasJobId()) {
hash = (37 * hash) + JOBID_FIELD_NUMBER;
hash = (53 * hash) + getJobId().hashCode();
}
hash = (37 * hash) + STATUSCODE_FIELD_NUMBER;
hash = (53 * hash) + statusCode_;
hash = (37 * hash) + STATUSMESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getStatusMessage().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.finos.tracdap.api.JobStatus parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.finos.tracdap.api.JobStatus parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.finos.tracdap.api.JobStatus parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.finos.tracdap.api.JobStatus parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.finos.tracdap.api.JobStatus parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.finos.tracdap.api.JobStatus parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.finos.tracdap.api.JobStatus parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static org.finos.tracdap.api.JobStatus parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.finos.tracdap.api.JobStatus parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static org.finos.tracdap.api.JobStatus parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.finos.tracdap.api.JobStatus parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static org.finos.tracdap.api.JobStatus parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.finos.tracdap.api.JobStatus prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* *
* Provides the status of a new or existing job in the platform
*
*
* Protobuf type {@code tracdap.api.JobStatus}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:tracdap.api.JobStatus)
org.finos.tracdap.api.JobStatusOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.finos.tracdap.api.Orchestrator.internal_static_tracdap_api_JobStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.finos.tracdap.api.Orchestrator.internal_static_tracdap_api_JobStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.finos.tracdap.api.JobStatus.class, org.finos.tracdap.api.JobStatus.Builder.class);
}
// Construct using org.finos.tracdap.api.JobStatus.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage
.alwaysUseFieldBuilders) {
getJobIdFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
jobId_ = null;
if (jobIdBuilder_ != null) {
jobIdBuilder_.dispose();
jobIdBuilder_ = null;
}
statusCode_ = 0;
statusMessage_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.finos.tracdap.api.Orchestrator.internal_static_tracdap_api_JobStatus_descriptor;
}
@java.lang.Override
public org.finos.tracdap.api.JobStatus getDefaultInstanceForType() {
return org.finos.tracdap.api.JobStatus.getDefaultInstance();
}
@java.lang.Override
public org.finos.tracdap.api.JobStatus build() {
org.finos.tracdap.api.JobStatus result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.finos.tracdap.api.JobStatus buildPartial() {
org.finos.tracdap.api.JobStatus result = new org.finos.tracdap.api.JobStatus(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.finos.tracdap.api.JobStatus result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.jobId_ = jobIdBuilder_ == null
? jobId_
: jobIdBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.statusCode_ = statusCode_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.statusMessage_ = statusMessage_;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.finos.tracdap.api.JobStatus) {
return mergeFrom((org.finos.tracdap.api.JobStatus)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.finos.tracdap.api.JobStatus other) {
if (other == org.finos.tracdap.api.JobStatus.getDefaultInstance()) return this;
if (other.hasJobId()) {
mergeJobId(other.getJobId());
}
if (other.statusCode_ != 0) {
setStatusCodeValue(other.getStatusCodeValue());
}
if (!other.getStatusMessage().isEmpty()) {
statusMessage_ = other.statusMessage_;
bitField0_ |= 0x00000004;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getJobIdFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
statusCode_ = input.readEnum();
bitField0_ |= 0x00000002;
break;
} // case 16
case 26: {
statusMessage_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.finos.tracdap.metadata.TagHeader jobId_;
private com.google.protobuf.SingleFieldBuilder<
org.finos.tracdap.metadata.TagHeader, org.finos.tracdap.metadata.TagHeader.Builder, org.finos.tracdap.metadata.TagHeaderOrBuilder> jobIdBuilder_;
/**
* .tracdap.metadata.TagHeader jobId = 1;
* @return Whether the jobId field is set.
*/
public boolean hasJobId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .tracdap.metadata.TagHeader jobId = 1;
* @return The jobId.
*/
public org.finos.tracdap.metadata.TagHeader getJobId() {
if (jobIdBuilder_ == null) {
return jobId_ == null ? org.finos.tracdap.metadata.TagHeader.getDefaultInstance() : jobId_;
} else {
return jobIdBuilder_.getMessage();
}
}
/**
* .tracdap.metadata.TagHeader jobId = 1;
*/
public Builder setJobId(org.finos.tracdap.metadata.TagHeader value) {
if (jobIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
jobId_ = value;
} else {
jobIdBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .tracdap.metadata.TagHeader jobId = 1;
*/
public Builder setJobId(
org.finos.tracdap.metadata.TagHeader.Builder builderForValue) {
if (jobIdBuilder_ == null) {
jobId_ = builderForValue.build();
} else {
jobIdBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .tracdap.metadata.TagHeader jobId = 1;
*/
public Builder mergeJobId(org.finos.tracdap.metadata.TagHeader value) {
if (jobIdBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
jobId_ != null &&
jobId_ != org.finos.tracdap.metadata.TagHeader.getDefaultInstance()) {
getJobIdBuilder().mergeFrom(value);
} else {
jobId_ = value;
}
} else {
jobIdBuilder_.mergeFrom(value);
}
if (jobId_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* .tracdap.metadata.TagHeader jobId = 1;
*/
public Builder clearJobId() {
bitField0_ = (bitField0_ & ~0x00000001);
jobId_ = null;
if (jobIdBuilder_ != null) {
jobIdBuilder_.dispose();
jobIdBuilder_ = null;
}
onChanged();
return this;
}
/**
* .tracdap.metadata.TagHeader jobId = 1;
*/
public org.finos.tracdap.metadata.TagHeader.Builder getJobIdBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getJobIdFieldBuilder().getBuilder();
}
/**
* .tracdap.metadata.TagHeader jobId = 1;
*/
public org.finos.tracdap.metadata.TagHeaderOrBuilder getJobIdOrBuilder() {
if (jobIdBuilder_ != null) {
return jobIdBuilder_.getMessageOrBuilder();
} else {
return jobId_ == null ?
org.finos.tracdap.metadata.TagHeader.getDefaultInstance() : jobId_;
}
}
/**
* .tracdap.metadata.TagHeader jobId = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
org.finos.tracdap.metadata.TagHeader, org.finos.tracdap.metadata.TagHeader.Builder, org.finos.tracdap.metadata.TagHeaderOrBuilder>
getJobIdFieldBuilder() {
if (jobIdBuilder_ == null) {
jobIdBuilder_ = new com.google.protobuf.SingleFieldBuilder<
org.finos.tracdap.metadata.TagHeader, org.finos.tracdap.metadata.TagHeader.Builder, org.finos.tracdap.metadata.TagHeaderOrBuilder>(
getJobId(),
getParentForChildren(),
isClean());
jobId_ = null;
}
return jobIdBuilder_;
}
private int statusCode_ = 0;
/**
* .tracdap.metadata.JobStatusCode statusCode = 2;
* @return The enum numeric value on the wire for statusCode.
*/
@java.lang.Override public int getStatusCodeValue() {
return statusCode_;
}
/**
* .tracdap.metadata.JobStatusCode statusCode = 2;
* @param value The enum numeric value on the wire for statusCode to set.
* @return This builder for chaining.
*/
public Builder setStatusCodeValue(int value) {
statusCode_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .tracdap.metadata.JobStatusCode statusCode = 2;
* @return The statusCode.
*/
@java.lang.Override
public org.finos.tracdap.metadata.JobStatusCode getStatusCode() {
org.finos.tracdap.metadata.JobStatusCode result = org.finos.tracdap.metadata.JobStatusCode.forNumber(statusCode_);
return result == null ? org.finos.tracdap.metadata.JobStatusCode.UNRECOGNIZED : result;
}
/**
* .tracdap.metadata.JobStatusCode statusCode = 2;
* @param value The statusCode to set.
* @return This builder for chaining.
*/
public Builder setStatusCode(org.finos.tracdap.metadata.JobStatusCode value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
statusCode_ = value.getNumber();
onChanged();
return this;
}
/**
* .tracdap.metadata.JobStatusCode statusCode = 2;
* @return This builder for chaining.
*/
public Builder clearStatusCode() {
bitField0_ = (bitField0_ & ~0x00000002);
statusCode_ = 0;
onChanged();
return this;
}
private java.lang.Object statusMessage_ = "";
/**
* string statusMessage = 3;
* @return The statusMessage.
*/
public java.lang.String getStatusMessage() {
java.lang.Object ref = statusMessage_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
statusMessage_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string statusMessage = 3;
* @return The bytes for statusMessage.
*/
public com.google.protobuf.ByteString
getStatusMessageBytes() {
java.lang.Object ref = statusMessage_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
statusMessage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string statusMessage = 3;
* @param value The statusMessage to set.
* @return This builder for chaining.
*/
public Builder setStatusMessage(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
statusMessage_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* string statusMessage = 3;
* @return This builder for chaining.
*/
public Builder clearStatusMessage() {
statusMessage_ = getDefaultInstance().getStatusMessage();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* string statusMessage = 3;
* @param value The bytes for statusMessage to set.
* @return This builder for chaining.
*/
public Builder setStatusMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
statusMessage_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:tracdap.api.JobStatus)
}
// @@protoc_insertion_point(class_scope:tracdap.api.JobStatus)
private static final org.finos.tracdap.api.JobStatus DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.finos.tracdap.api.JobStatus();
}
public static org.finos.tracdap.api.JobStatus getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public JobStatus parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.finos.tracdap.api.JobStatus getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}