All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.netflix.genie.proto.ReserveJobIdResponse Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: genie.proto
package com.netflix.genie.proto;
/**
* Protobuf type {@code com.netflix.genie.proto.ReserveJobIdResponse}
*/
public final class ReserveJobIdResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.netflix.genie.proto.ReserveJobIdResponse)
ReserveJobIdResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ReserveJobIdResponse.newBuilder() to construct.
private ReserveJobIdResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ReserveJobIdResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ReserveJobIdResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ReserveJobIdResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
responseCase_ = 1;
response_ = s;
break;
}
case 18: {
com.netflix.genie.proto.ReserveJobIdError.Builder subBuilder = null;
if (responseCase_ == 2) {
subBuilder = ((com.netflix.genie.proto.ReserveJobIdError) response_).toBuilder();
}
response_ =
input.readMessage(com.netflix.genie.proto.ReserveJobIdError.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.netflix.genie.proto.ReserveJobIdError) response_);
response_ = subBuilder.buildPartial();
}
responseCase_ = 2;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.genie.proto.GenieProto.internal_static_com_netflix_genie_proto_ReserveJobIdResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.genie.proto.GenieProto.internal_static_com_netflix_genie_proto_ReserveJobIdResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.genie.proto.ReserveJobIdResponse.class, com.netflix.genie.proto.ReserveJobIdResponse.Builder.class);
}
private int responseCase_ = 0;
private java.lang.Object response_;
public enum ResponseCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
ID(1),
ERROR(2),
RESPONSE_NOT_SET(0);
private final int value;
private ResponseCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ResponseCase valueOf(int value) {
return forNumber(value);
}
public static ResponseCase forNumber(int value) {
switch (value) {
case 1: return ID;
case 2: return ERROR;
case 0: return RESPONSE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ResponseCase
getResponseCase() {
return ResponseCase.forNumber(
responseCase_);
}
public static final int ID_FIELD_NUMBER = 1;
/**
* string id = 1;
* @return Whether the id field is set.
*/
public boolean hasId() {
return responseCase_ == 1;
}
/**
* string id = 1;
* @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = "";
if (responseCase_ == 1) {
ref = response_;
}
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();
if (responseCase_ == 1) {
response_ = s;
}
return s;
}
}
/**
* string id = 1;
* @return The bytes for id.
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = "";
if (responseCase_ == 1) {
ref = response_;
}
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (responseCase_ == 1) {
response_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ERROR_FIELD_NUMBER = 2;
/**
* .com.netflix.genie.proto.ReserveJobIdError error = 2;
* @return Whether the error field is set.
*/
@java.lang.Override
public boolean hasError() {
return responseCase_ == 2;
}
/**
* .com.netflix.genie.proto.ReserveJobIdError error = 2;
* @return The error.
*/
@java.lang.Override
public com.netflix.genie.proto.ReserveJobIdError getError() {
if (responseCase_ == 2) {
return (com.netflix.genie.proto.ReserveJobIdError) response_;
}
return com.netflix.genie.proto.ReserveJobIdError.getDefaultInstance();
}
/**
* .com.netflix.genie.proto.ReserveJobIdError error = 2;
*/
@java.lang.Override
public com.netflix.genie.proto.ReserveJobIdErrorOrBuilder getErrorOrBuilder() {
if (responseCase_ == 2) {
return (com.netflix.genie.proto.ReserveJobIdError) response_;
}
return com.netflix.genie.proto.ReserveJobIdError.getDefaultInstance();
}
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 (responseCase_ == 1) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, response_);
}
if (responseCase_ == 2) {
output.writeMessage(2, (com.netflix.genie.proto.ReserveJobIdError) response_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (responseCase_ == 1) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, response_);
}
if (responseCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (com.netflix.genie.proto.ReserveJobIdError) response_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.netflix.genie.proto.ReserveJobIdResponse)) {
return super.equals(obj);
}
com.netflix.genie.proto.ReserveJobIdResponse other = (com.netflix.genie.proto.ReserveJobIdResponse) obj;
if (!getResponseCase().equals(other.getResponseCase())) return false;
switch (responseCase_) {
case 1:
if (!getId()
.equals(other.getId())) return false;
break;
case 2:
if (!getError()
.equals(other.getError())) return false;
break;
case 0:
default:
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
switch (responseCase_) {
case 1:
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
break;
case 2:
hash = (37 * hash) + ERROR_FIELD_NUMBER;
hash = (53 * hash) + getError().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.netflix.genie.proto.ReserveJobIdResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.genie.proto.ReserveJobIdResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.genie.proto.ReserveJobIdResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.genie.proto.ReserveJobIdResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.genie.proto.ReserveJobIdResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.genie.proto.ReserveJobIdResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.genie.proto.ReserveJobIdResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.genie.proto.ReserveJobIdResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.netflix.genie.proto.ReserveJobIdResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.netflix.genie.proto.ReserveJobIdResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.netflix.genie.proto.ReserveJobIdResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.genie.proto.ReserveJobIdResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.netflix.genie.proto.ReserveJobIdResponse 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.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.netflix.genie.proto.ReserveJobIdResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.netflix.genie.proto.ReserveJobIdResponse)
com.netflix.genie.proto.ReserveJobIdResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.genie.proto.GenieProto.internal_static_com_netflix_genie_proto_ReserveJobIdResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.genie.proto.GenieProto.internal_static_com_netflix_genie_proto_ReserveJobIdResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.genie.proto.ReserveJobIdResponse.class, com.netflix.genie.proto.ReserveJobIdResponse.Builder.class);
}
// Construct using com.netflix.genie.proto.ReserveJobIdResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
responseCase_ = 0;
response_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.netflix.genie.proto.GenieProto.internal_static_com_netflix_genie_proto_ReserveJobIdResponse_descriptor;
}
@java.lang.Override
public com.netflix.genie.proto.ReserveJobIdResponse getDefaultInstanceForType() {
return com.netflix.genie.proto.ReserveJobIdResponse.getDefaultInstance();
}
@java.lang.Override
public com.netflix.genie.proto.ReserveJobIdResponse build() {
com.netflix.genie.proto.ReserveJobIdResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.netflix.genie.proto.ReserveJobIdResponse buildPartial() {
com.netflix.genie.proto.ReserveJobIdResponse result = new com.netflix.genie.proto.ReserveJobIdResponse(this);
if (responseCase_ == 1) {
result.response_ = response_;
}
if (responseCase_ == 2) {
if (errorBuilder_ == null) {
result.response_ = response_;
} else {
result.response_ = errorBuilder_.build();
}
}
result.responseCase_ = responseCase_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.netflix.genie.proto.ReserveJobIdResponse) {
return mergeFrom((com.netflix.genie.proto.ReserveJobIdResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.netflix.genie.proto.ReserveJobIdResponse other) {
if (other == com.netflix.genie.proto.ReserveJobIdResponse.getDefaultInstance()) return this;
switch (other.getResponseCase()) {
case ID: {
responseCase_ = 1;
response_ = other.response_;
onChanged();
break;
}
case ERROR: {
mergeError(other.getError());
break;
}
case RESPONSE_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.unknownFields);
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 {
com.netflix.genie.proto.ReserveJobIdResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.netflix.genie.proto.ReserveJobIdResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int responseCase_ = 0;
private java.lang.Object response_;
public ResponseCase
getResponseCase() {
return ResponseCase.forNumber(
responseCase_);
}
public Builder clearResponse() {
responseCase_ = 0;
response_ = null;
onChanged();
return this;
}
/**
* string id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return responseCase_ == 1;
}
/**
* string id = 1;
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
java.lang.Object ref = "";
if (responseCase_ == 1) {
ref = response_;
}
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (responseCase_ == 1) {
response_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string id = 1;
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = "";
if (responseCase_ == 1) {
ref = response_;
}
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (responseCase_ == 1) {
response_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
responseCase_ = 1;
response_ = value;
onChanged();
return this;
}
/**
* string id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
if (responseCase_ == 1) {
responseCase_ = 0;
response_ = null;
onChanged();
}
return this;
}
/**
* string id = 1;
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
responseCase_ = 1;
response_ = value;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.netflix.genie.proto.ReserveJobIdError, com.netflix.genie.proto.ReserveJobIdError.Builder, com.netflix.genie.proto.ReserveJobIdErrorOrBuilder> errorBuilder_;
/**
* .com.netflix.genie.proto.ReserveJobIdError error = 2;
* @return Whether the error field is set.
*/
@java.lang.Override
public boolean hasError() {
return responseCase_ == 2;
}
/**
* .com.netflix.genie.proto.ReserveJobIdError error = 2;
* @return The error.
*/
@java.lang.Override
public com.netflix.genie.proto.ReserveJobIdError getError() {
if (errorBuilder_ == null) {
if (responseCase_ == 2) {
return (com.netflix.genie.proto.ReserveJobIdError) response_;
}
return com.netflix.genie.proto.ReserveJobIdError.getDefaultInstance();
} else {
if (responseCase_ == 2) {
return errorBuilder_.getMessage();
}
return com.netflix.genie.proto.ReserveJobIdError.getDefaultInstance();
}
}
/**
* .com.netflix.genie.proto.ReserveJobIdError error = 2;
*/
public Builder setError(com.netflix.genie.proto.ReserveJobIdError value) {
if (errorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
errorBuilder_.setMessage(value);
}
responseCase_ = 2;
return this;
}
/**
* .com.netflix.genie.proto.ReserveJobIdError error = 2;
*/
public Builder setError(
com.netflix.genie.proto.ReserveJobIdError.Builder builderForValue) {
if (errorBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
errorBuilder_.setMessage(builderForValue.build());
}
responseCase_ = 2;
return this;
}
/**
* .com.netflix.genie.proto.ReserveJobIdError error = 2;
*/
public Builder mergeError(com.netflix.genie.proto.ReserveJobIdError value) {
if (errorBuilder_ == null) {
if (responseCase_ == 2 &&
response_ != com.netflix.genie.proto.ReserveJobIdError.getDefaultInstance()) {
response_ = com.netflix.genie.proto.ReserveJobIdError.newBuilder((com.netflix.genie.proto.ReserveJobIdError) response_)
.mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
if (responseCase_ == 2) {
errorBuilder_.mergeFrom(value);
}
errorBuilder_.setMessage(value);
}
responseCase_ = 2;
return this;
}
/**
* .com.netflix.genie.proto.ReserveJobIdError error = 2;
*/
public Builder clearError() {
if (errorBuilder_ == null) {
if (responseCase_ == 2) {
responseCase_ = 0;
response_ = null;
onChanged();
}
} else {
if (responseCase_ == 2) {
responseCase_ = 0;
response_ = null;
}
errorBuilder_.clear();
}
return this;
}
/**
* .com.netflix.genie.proto.ReserveJobIdError error = 2;
*/
public com.netflix.genie.proto.ReserveJobIdError.Builder getErrorBuilder() {
return getErrorFieldBuilder().getBuilder();
}
/**
* .com.netflix.genie.proto.ReserveJobIdError error = 2;
*/
@java.lang.Override
public com.netflix.genie.proto.ReserveJobIdErrorOrBuilder getErrorOrBuilder() {
if ((responseCase_ == 2) && (errorBuilder_ != null)) {
return errorBuilder_.getMessageOrBuilder();
} else {
if (responseCase_ == 2) {
return (com.netflix.genie.proto.ReserveJobIdError) response_;
}
return com.netflix.genie.proto.ReserveJobIdError.getDefaultInstance();
}
}
/**
* .com.netflix.genie.proto.ReserveJobIdError error = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.netflix.genie.proto.ReserveJobIdError, com.netflix.genie.proto.ReserveJobIdError.Builder, com.netflix.genie.proto.ReserveJobIdErrorOrBuilder>
getErrorFieldBuilder() {
if (errorBuilder_ == null) {
if (!(responseCase_ == 2)) {
response_ = com.netflix.genie.proto.ReserveJobIdError.getDefaultInstance();
}
errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.netflix.genie.proto.ReserveJobIdError, com.netflix.genie.proto.ReserveJobIdError.Builder, com.netflix.genie.proto.ReserveJobIdErrorOrBuilder>(
(com.netflix.genie.proto.ReserveJobIdError) response_,
getParentForChildren(),
isClean());
response_ = null;
}
responseCase_ = 2;
onChanged();;
return errorBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.netflix.genie.proto.ReserveJobIdResponse)
}
// @@protoc_insertion_point(class_scope:com.netflix.genie.proto.ReserveJobIdResponse)
private static final com.netflix.genie.proto.ReserveJobIdResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.netflix.genie.proto.ReserveJobIdResponse();
}
public static com.netflix.genie.proto.ReserveJobIdResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ReserveJobIdResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ReserveJobIdResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.netflix.genie.proto.ReserveJobIdResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}