com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: v10/api/bq_repayment_service.proto
package com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice;
public final class BqRepaymentService {
private BqRepaymentService() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface ExecuteRepaymentRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.ExecuteRepaymentRequest)
com.google.protobuf.MessageOrBuilder {
/**
* string openitemmanagementId = 1;
* @return The openitemmanagementId.
*/
java.lang.String getOpenitemmanagementId();
/**
* string openitemmanagementId = 1;
* @return The bytes for openitemmanagementId.
*/
com.google.protobuf.ByteString
getOpenitemmanagementIdBytes();
/**
* string repaymentId = 2;
* @return The repaymentId.
*/
java.lang.String getRepaymentId();
/**
* string repaymentId = 2;
* @return The bytes for repaymentId.
*/
com.google.protobuf.ByteString
getRepaymentIdBytes();
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
* @return Whether the repayment field is set.
*/
boolean hasRepayment();
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
* @return The repayment.
*/
com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment getRepayment();
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
*/
com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.RepaymentOrBuilder getRepaymentOrBuilder();
}
/**
* Protobuf type {@code com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.ExecuteRepaymentRequest}
*/
public static final class ExecuteRepaymentRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.ExecuteRepaymentRequest)
ExecuteRepaymentRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ExecuteRepaymentRequest.newBuilder() to construct.
private ExecuteRepaymentRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ExecuteRepaymentRequest() {
openitemmanagementId_ = "";
repaymentId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ExecuteRepaymentRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ExecuteRepaymentRequest(
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();
openitemmanagementId_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
repaymentId_ = s;
break;
}
case 26: {
com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment.Builder subBuilder = null;
if (repayment_ != null) {
subBuilder = repayment_.toBuilder();
}
repayment_ = input.readMessage(com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(repayment_);
repayment_ = subBuilder.buildPartial();
}
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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_ExecuteRepaymentRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_ExecuteRepaymentRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest.class, com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest.Builder.class);
}
public static final int OPENITEMMANAGEMENTID_FIELD_NUMBER = 1;
private volatile java.lang.Object openitemmanagementId_;
/**
* string openitemmanagementId = 1;
* @return The openitemmanagementId.
*/
@java.lang.Override
public java.lang.String getOpenitemmanagementId() {
java.lang.Object ref = openitemmanagementId_;
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();
openitemmanagementId_ = s;
return s;
}
}
/**
* string openitemmanagementId = 1;
* @return The bytes for openitemmanagementId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOpenitemmanagementIdBytes() {
java.lang.Object ref = openitemmanagementId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
openitemmanagementId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REPAYMENTID_FIELD_NUMBER = 2;
private volatile java.lang.Object repaymentId_;
/**
* string repaymentId = 2;
* @return The repaymentId.
*/
@java.lang.Override
public java.lang.String getRepaymentId() {
java.lang.Object ref = repaymentId_;
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();
repaymentId_ = s;
return s;
}
}
/**
* string repaymentId = 2;
* @return The bytes for repaymentId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRepaymentIdBytes() {
java.lang.Object ref = repaymentId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
repaymentId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REPAYMENT_FIELD_NUMBER = 3;
private com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment repayment_;
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
* @return Whether the repayment field is set.
*/
@java.lang.Override
public boolean hasRepayment() {
return repayment_ != null;
}
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
* @return The repayment.
*/
@java.lang.Override
public com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment getRepayment() {
return repayment_ == null ? com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment.getDefaultInstance() : repayment_;
}
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
*/
@java.lang.Override
public com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.RepaymentOrBuilder getRepaymentOrBuilder() {
return getRepayment();
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(openitemmanagementId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, openitemmanagementId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(repaymentId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, repaymentId_);
}
if (repayment_ != null) {
output.writeMessage(3, getRepayment());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(openitemmanagementId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, openitemmanagementId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(repaymentId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, repaymentId_);
}
if (repayment_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getRepayment());
}
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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest)) {
return super.equals(obj);
}
com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest other = (com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest) obj;
if (!getOpenitemmanagementId()
.equals(other.getOpenitemmanagementId())) return false;
if (!getRepaymentId()
.equals(other.getRepaymentId())) return false;
if (hasRepayment() != other.hasRepayment()) return false;
if (hasRepayment()) {
if (!getRepayment()
.equals(other.getRepayment())) return false;
}
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();
hash = (37 * hash) + OPENITEMMANAGEMENTID_FIELD_NUMBER;
hash = (53 * hash) + getOpenitemmanagementId().hashCode();
hash = (37 * hash) + REPAYMENTID_FIELD_NUMBER;
hash = (53 * hash) + getRepaymentId().hashCode();
if (hasRepayment()) {
hash = (37 * hash) + REPAYMENT_FIELD_NUMBER;
hash = (53 * hash) + getRepayment().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest 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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest 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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest 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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest 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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.ExecuteRepaymentRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.ExecuteRepaymentRequest)
com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_ExecuteRepaymentRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_ExecuteRepaymentRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest.class, com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest.Builder.class);
}
// Construct using com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest.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();
openitemmanagementId_ = "";
repaymentId_ = "";
if (repaymentBuilder_ == null) {
repayment_ = null;
} else {
repayment_ = null;
repaymentBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_ExecuteRepaymentRequest_descriptor;
}
@java.lang.Override
public com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest getDefaultInstanceForType() {
return com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest.getDefaultInstance();
}
@java.lang.Override
public com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest build() {
com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest buildPartial() {
com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest result = new com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest(this);
result.openitemmanagementId_ = openitemmanagementId_;
result.repaymentId_ = repaymentId_;
if (repaymentBuilder_ == null) {
result.repayment_ = repayment_;
} else {
result.repayment_ = repaymentBuilder_.build();
}
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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest) {
return mergeFrom((com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest other) {
if (other == com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest.getDefaultInstance()) return this;
if (!other.getOpenitemmanagementId().isEmpty()) {
openitemmanagementId_ = other.openitemmanagementId_;
onChanged();
}
if (!other.getRepaymentId().isEmpty()) {
repaymentId_ = other.repaymentId_;
onChanged();
}
if (other.hasRepayment()) {
mergeRepayment(other.getRepayment());
}
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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object openitemmanagementId_ = "";
/**
* string openitemmanagementId = 1;
* @return The openitemmanagementId.
*/
public java.lang.String getOpenitemmanagementId() {
java.lang.Object ref = openitemmanagementId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
openitemmanagementId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string openitemmanagementId = 1;
* @return The bytes for openitemmanagementId.
*/
public com.google.protobuf.ByteString
getOpenitemmanagementIdBytes() {
java.lang.Object ref = openitemmanagementId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
openitemmanagementId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string openitemmanagementId = 1;
* @param value The openitemmanagementId to set.
* @return This builder for chaining.
*/
public Builder setOpenitemmanagementId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
openitemmanagementId_ = value;
onChanged();
return this;
}
/**
* string openitemmanagementId = 1;
* @return This builder for chaining.
*/
public Builder clearOpenitemmanagementId() {
openitemmanagementId_ = getDefaultInstance().getOpenitemmanagementId();
onChanged();
return this;
}
/**
* string openitemmanagementId = 1;
* @param value The bytes for openitemmanagementId to set.
* @return This builder for chaining.
*/
public Builder setOpenitemmanagementIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
openitemmanagementId_ = value;
onChanged();
return this;
}
private java.lang.Object repaymentId_ = "";
/**
* string repaymentId = 2;
* @return The repaymentId.
*/
public java.lang.String getRepaymentId() {
java.lang.Object ref = repaymentId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
repaymentId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string repaymentId = 2;
* @return The bytes for repaymentId.
*/
public com.google.protobuf.ByteString
getRepaymentIdBytes() {
java.lang.Object ref = repaymentId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
repaymentId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string repaymentId = 2;
* @param value The repaymentId to set.
* @return This builder for chaining.
*/
public Builder setRepaymentId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
repaymentId_ = value;
onChanged();
return this;
}
/**
* string repaymentId = 2;
* @return This builder for chaining.
*/
public Builder clearRepaymentId() {
repaymentId_ = getDefaultInstance().getRepaymentId();
onChanged();
return this;
}
/**
* string repaymentId = 2;
* @param value The bytes for repaymentId to set.
* @return This builder for chaining.
*/
public Builder setRepaymentIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
repaymentId_ = value;
onChanged();
return this;
}
private com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment repayment_;
private com.google.protobuf.SingleFieldBuilderV3<
com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment, com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment.Builder, com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.RepaymentOrBuilder> repaymentBuilder_;
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
* @return Whether the repayment field is set.
*/
public boolean hasRepayment() {
return repaymentBuilder_ != null || repayment_ != null;
}
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
* @return The repayment.
*/
public com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment getRepayment() {
if (repaymentBuilder_ == null) {
return repayment_ == null ? com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment.getDefaultInstance() : repayment_;
} else {
return repaymentBuilder_.getMessage();
}
}
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
*/
public Builder setRepayment(com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment value) {
if (repaymentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
repayment_ = value;
onChanged();
} else {
repaymentBuilder_.setMessage(value);
}
return this;
}
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
*/
public Builder setRepayment(
com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment.Builder builderForValue) {
if (repaymentBuilder_ == null) {
repayment_ = builderForValue.build();
onChanged();
} else {
repaymentBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
*/
public Builder mergeRepayment(com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment value) {
if (repaymentBuilder_ == null) {
if (repayment_ != null) {
repayment_ =
com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment.newBuilder(repayment_).mergeFrom(value).buildPartial();
} else {
repayment_ = value;
}
onChanged();
} else {
repaymentBuilder_.mergeFrom(value);
}
return this;
}
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
*/
public Builder clearRepayment() {
if (repaymentBuilder_ == null) {
repayment_ = null;
onChanged();
} else {
repayment_ = null;
repaymentBuilder_ = null;
}
return this;
}
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
*/
public com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment.Builder getRepaymentBuilder() {
onChanged();
return getRepaymentFieldBuilder().getBuilder();
}
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
*/
public com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.RepaymentOrBuilder getRepaymentOrBuilder() {
if (repaymentBuilder_ != null) {
return repaymentBuilder_.getMessageOrBuilder();
} else {
return repayment_ == null ?
com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment.getDefaultInstance() : repayment_;
}
}
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment, com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment.Builder, com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.RepaymentOrBuilder>
getRepaymentFieldBuilder() {
if (repaymentBuilder_ == null) {
repaymentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment, com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment.Builder, com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.RepaymentOrBuilder>(
getRepayment(),
getParentForChildren(),
isClean());
repayment_ = null;
}
return repaymentBuilder_;
}
@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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.ExecuteRepaymentRequest)
}
// @@protoc_insertion_point(class_scope:com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.ExecuteRepaymentRequest)
private static final com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest();
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ExecuteRepaymentRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ExecuteRepaymentRequest(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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface InitiateRepaymentRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.InitiateRepaymentRequest)
com.google.protobuf.MessageOrBuilder {
/**
* string openitemmanagementId = 1;
* @return The openitemmanagementId.
*/
java.lang.String getOpenitemmanagementId();
/**
* string openitemmanagementId = 1;
* @return The bytes for openitemmanagementId.
*/
com.google.protobuf.ByteString
getOpenitemmanagementIdBytes();
/**
* .com.redhat.mercury.openitemmanagement.v10.OpenItemProcedure openItemProcedure = 2;
* @return Whether the openItemProcedure field is set.
*/
boolean hasOpenItemProcedure();
/**
* .com.redhat.mercury.openitemmanagement.v10.OpenItemProcedure openItemProcedure = 2;
* @return The openItemProcedure.
*/
com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedure getOpenItemProcedure();
/**
* .com.redhat.mercury.openitemmanagement.v10.OpenItemProcedure openItemProcedure = 2;
*/
com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedureOrBuilder getOpenItemProcedureOrBuilder();
}
/**
* Protobuf type {@code com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.InitiateRepaymentRequest}
*/
public static final class InitiateRepaymentRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.InitiateRepaymentRequest)
InitiateRepaymentRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use InitiateRepaymentRequest.newBuilder() to construct.
private InitiateRepaymentRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private InitiateRepaymentRequest() {
openitemmanagementId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new InitiateRepaymentRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private InitiateRepaymentRequest(
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();
openitemmanagementId_ = s;
break;
}
case 18: {
com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedure.Builder subBuilder = null;
if (openItemProcedure_ != null) {
subBuilder = openItemProcedure_.toBuilder();
}
openItemProcedure_ = input.readMessage(com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedure.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(openItemProcedure_);
openItemProcedure_ = subBuilder.buildPartial();
}
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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_InitiateRepaymentRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_InitiateRepaymentRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest.class, com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest.Builder.class);
}
public static final int OPENITEMMANAGEMENTID_FIELD_NUMBER = 1;
private volatile java.lang.Object openitemmanagementId_;
/**
* string openitemmanagementId = 1;
* @return The openitemmanagementId.
*/
@java.lang.Override
public java.lang.String getOpenitemmanagementId() {
java.lang.Object ref = openitemmanagementId_;
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();
openitemmanagementId_ = s;
return s;
}
}
/**
* string openitemmanagementId = 1;
* @return The bytes for openitemmanagementId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOpenitemmanagementIdBytes() {
java.lang.Object ref = openitemmanagementId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
openitemmanagementId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int OPENITEMPROCEDURE_FIELD_NUMBER = 2;
private com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedure openItemProcedure_;
/**
* .com.redhat.mercury.openitemmanagement.v10.OpenItemProcedure openItemProcedure = 2;
* @return Whether the openItemProcedure field is set.
*/
@java.lang.Override
public boolean hasOpenItemProcedure() {
return openItemProcedure_ != null;
}
/**
* .com.redhat.mercury.openitemmanagement.v10.OpenItemProcedure openItemProcedure = 2;
* @return The openItemProcedure.
*/
@java.lang.Override
public com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedure getOpenItemProcedure() {
return openItemProcedure_ == null ? com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedure.getDefaultInstance() : openItemProcedure_;
}
/**
* .com.redhat.mercury.openitemmanagement.v10.OpenItemProcedure openItemProcedure = 2;
*/
@java.lang.Override
public com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedureOrBuilder getOpenItemProcedureOrBuilder() {
return getOpenItemProcedure();
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(openitemmanagementId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, openitemmanagementId_);
}
if (openItemProcedure_ != null) {
output.writeMessage(2, getOpenItemProcedure());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(openitemmanagementId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, openitemmanagementId_);
}
if (openItemProcedure_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getOpenItemProcedure());
}
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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest)) {
return super.equals(obj);
}
com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest other = (com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest) obj;
if (!getOpenitemmanagementId()
.equals(other.getOpenitemmanagementId())) return false;
if (hasOpenItemProcedure() != other.hasOpenItemProcedure()) return false;
if (hasOpenItemProcedure()) {
if (!getOpenItemProcedure()
.equals(other.getOpenItemProcedure())) return false;
}
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();
hash = (37 * hash) + OPENITEMMANAGEMENTID_FIELD_NUMBER;
hash = (53 * hash) + getOpenitemmanagementId().hashCode();
if (hasOpenItemProcedure()) {
hash = (37 * hash) + OPENITEMPROCEDURE_FIELD_NUMBER;
hash = (53 * hash) + getOpenItemProcedure().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest 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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest 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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest 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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest 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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.InitiateRepaymentRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.InitiateRepaymentRequest)
com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_InitiateRepaymentRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_InitiateRepaymentRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest.class, com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest.Builder.class);
}
// Construct using com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest.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();
openitemmanagementId_ = "";
if (openItemProcedureBuilder_ == null) {
openItemProcedure_ = null;
} else {
openItemProcedure_ = null;
openItemProcedureBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_InitiateRepaymentRequest_descriptor;
}
@java.lang.Override
public com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest getDefaultInstanceForType() {
return com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest.getDefaultInstance();
}
@java.lang.Override
public com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest build() {
com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest buildPartial() {
com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest result = new com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest(this);
result.openitemmanagementId_ = openitemmanagementId_;
if (openItemProcedureBuilder_ == null) {
result.openItemProcedure_ = openItemProcedure_;
} else {
result.openItemProcedure_ = openItemProcedureBuilder_.build();
}
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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest) {
return mergeFrom((com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest other) {
if (other == com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest.getDefaultInstance()) return this;
if (!other.getOpenitemmanagementId().isEmpty()) {
openitemmanagementId_ = other.openitemmanagementId_;
onChanged();
}
if (other.hasOpenItemProcedure()) {
mergeOpenItemProcedure(other.getOpenItemProcedure());
}
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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object openitemmanagementId_ = "";
/**
* string openitemmanagementId = 1;
* @return The openitemmanagementId.
*/
public java.lang.String getOpenitemmanagementId() {
java.lang.Object ref = openitemmanagementId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
openitemmanagementId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string openitemmanagementId = 1;
* @return The bytes for openitemmanagementId.
*/
public com.google.protobuf.ByteString
getOpenitemmanagementIdBytes() {
java.lang.Object ref = openitemmanagementId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
openitemmanagementId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string openitemmanagementId = 1;
* @param value The openitemmanagementId to set.
* @return This builder for chaining.
*/
public Builder setOpenitemmanagementId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
openitemmanagementId_ = value;
onChanged();
return this;
}
/**
* string openitemmanagementId = 1;
* @return This builder for chaining.
*/
public Builder clearOpenitemmanagementId() {
openitemmanagementId_ = getDefaultInstance().getOpenitemmanagementId();
onChanged();
return this;
}
/**
* string openitemmanagementId = 1;
* @param value The bytes for openitemmanagementId to set.
* @return This builder for chaining.
*/
public Builder setOpenitemmanagementIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
openitemmanagementId_ = value;
onChanged();
return this;
}
private com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedure openItemProcedure_;
private com.google.protobuf.SingleFieldBuilderV3<
com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedure, com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedure.Builder, com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedureOrBuilder> openItemProcedureBuilder_;
/**
* .com.redhat.mercury.openitemmanagement.v10.OpenItemProcedure openItemProcedure = 2;
* @return Whether the openItemProcedure field is set.
*/
public boolean hasOpenItemProcedure() {
return openItemProcedureBuilder_ != null || openItemProcedure_ != null;
}
/**
* .com.redhat.mercury.openitemmanagement.v10.OpenItemProcedure openItemProcedure = 2;
* @return The openItemProcedure.
*/
public com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedure getOpenItemProcedure() {
if (openItemProcedureBuilder_ == null) {
return openItemProcedure_ == null ? com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedure.getDefaultInstance() : openItemProcedure_;
} else {
return openItemProcedureBuilder_.getMessage();
}
}
/**
* .com.redhat.mercury.openitemmanagement.v10.OpenItemProcedure openItemProcedure = 2;
*/
public Builder setOpenItemProcedure(com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedure value) {
if (openItemProcedureBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
openItemProcedure_ = value;
onChanged();
} else {
openItemProcedureBuilder_.setMessage(value);
}
return this;
}
/**
* .com.redhat.mercury.openitemmanagement.v10.OpenItemProcedure openItemProcedure = 2;
*/
public Builder setOpenItemProcedure(
com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedure.Builder builderForValue) {
if (openItemProcedureBuilder_ == null) {
openItemProcedure_ = builderForValue.build();
onChanged();
} else {
openItemProcedureBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .com.redhat.mercury.openitemmanagement.v10.OpenItemProcedure openItemProcedure = 2;
*/
public Builder mergeOpenItemProcedure(com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedure value) {
if (openItemProcedureBuilder_ == null) {
if (openItemProcedure_ != null) {
openItemProcedure_ =
com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedure.newBuilder(openItemProcedure_).mergeFrom(value).buildPartial();
} else {
openItemProcedure_ = value;
}
onChanged();
} else {
openItemProcedureBuilder_.mergeFrom(value);
}
return this;
}
/**
* .com.redhat.mercury.openitemmanagement.v10.OpenItemProcedure openItemProcedure = 2;
*/
public Builder clearOpenItemProcedure() {
if (openItemProcedureBuilder_ == null) {
openItemProcedure_ = null;
onChanged();
} else {
openItemProcedure_ = null;
openItemProcedureBuilder_ = null;
}
return this;
}
/**
* .com.redhat.mercury.openitemmanagement.v10.OpenItemProcedure openItemProcedure = 2;
*/
public com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedure.Builder getOpenItemProcedureBuilder() {
onChanged();
return getOpenItemProcedureFieldBuilder().getBuilder();
}
/**
* .com.redhat.mercury.openitemmanagement.v10.OpenItemProcedure openItemProcedure = 2;
*/
public com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedureOrBuilder getOpenItemProcedureOrBuilder() {
if (openItemProcedureBuilder_ != null) {
return openItemProcedureBuilder_.getMessageOrBuilder();
} else {
return openItemProcedure_ == null ?
com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedure.getDefaultInstance() : openItemProcedure_;
}
}
/**
* .com.redhat.mercury.openitemmanagement.v10.OpenItemProcedure openItemProcedure = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedure, com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedure.Builder, com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedureOrBuilder>
getOpenItemProcedureFieldBuilder() {
if (openItemProcedureBuilder_ == null) {
openItemProcedureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedure, com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedure.Builder, com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedureOrBuilder>(
getOpenItemProcedure(),
getParentForChildren(),
isClean());
openItemProcedure_ = null;
}
return openItemProcedureBuilder_;
}
@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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.InitiateRepaymentRequest)
}
// @@protoc_insertion_point(class_scope:com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.InitiateRepaymentRequest)
private static final com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest();
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public InitiateRepaymentRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new InitiateRepaymentRequest(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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RetrieveRepaymentRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.RetrieveRepaymentRequest)
com.google.protobuf.MessageOrBuilder {
/**
* string openitemmanagementId = 1;
* @return The openitemmanagementId.
*/
java.lang.String getOpenitemmanagementId();
/**
* string openitemmanagementId = 1;
* @return The bytes for openitemmanagementId.
*/
com.google.protobuf.ByteString
getOpenitemmanagementIdBytes();
/**
* string repaymentId = 2;
* @return The repaymentId.
*/
java.lang.String getRepaymentId();
/**
* string repaymentId = 2;
* @return The bytes for repaymentId.
*/
com.google.protobuf.ByteString
getRepaymentIdBytes();
}
/**
* Protobuf type {@code com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.RetrieveRepaymentRequest}
*/
public static final class RetrieveRepaymentRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.RetrieveRepaymentRequest)
RetrieveRepaymentRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use RetrieveRepaymentRequest.newBuilder() to construct.
private RetrieveRepaymentRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RetrieveRepaymentRequest() {
openitemmanagementId_ = "";
repaymentId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RetrieveRepaymentRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RetrieveRepaymentRequest(
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();
openitemmanagementId_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
repaymentId_ = s;
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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_RetrieveRepaymentRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_RetrieveRepaymentRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest.class, com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest.Builder.class);
}
public static final int OPENITEMMANAGEMENTID_FIELD_NUMBER = 1;
private volatile java.lang.Object openitemmanagementId_;
/**
* string openitemmanagementId = 1;
* @return The openitemmanagementId.
*/
@java.lang.Override
public java.lang.String getOpenitemmanagementId() {
java.lang.Object ref = openitemmanagementId_;
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();
openitemmanagementId_ = s;
return s;
}
}
/**
* string openitemmanagementId = 1;
* @return The bytes for openitemmanagementId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOpenitemmanagementIdBytes() {
java.lang.Object ref = openitemmanagementId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
openitemmanagementId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REPAYMENTID_FIELD_NUMBER = 2;
private volatile java.lang.Object repaymentId_;
/**
* string repaymentId = 2;
* @return The repaymentId.
*/
@java.lang.Override
public java.lang.String getRepaymentId() {
java.lang.Object ref = repaymentId_;
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();
repaymentId_ = s;
return s;
}
}
/**
* string repaymentId = 2;
* @return The bytes for repaymentId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRepaymentIdBytes() {
java.lang.Object ref = repaymentId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
repaymentId_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(openitemmanagementId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, openitemmanagementId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(repaymentId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, repaymentId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(openitemmanagementId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, openitemmanagementId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(repaymentId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, repaymentId_);
}
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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest)) {
return super.equals(obj);
}
com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest other = (com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest) obj;
if (!getOpenitemmanagementId()
.equals(other.getOpenitemmanagementId())) return false;
if (!getRepaymentId()
.equals(other.getRepaymentId())) return false;
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();
hash = (37 * hash) + OPENITEMMANAGEMENTID_FIELD_NUMBER;
hash = (53 * hash) + getOpenitemmanagementId().hashCode();
hash = (37 * hash) + REPAYMENTID_FIELD_NUMBER;
hash = (53 * hash) + getRepaymentId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest 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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest 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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest 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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest 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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.RetrieveRepaymentRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.RetrieveRepaymentRequest)
com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_RetrieveRepaymentRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_RetrieveRepaymentRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest.class, com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest.Builder.class);
}
// Construct using com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest.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();
openitemmanagementId_ = "";
repaymentId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_RetrieveRepaymentRequest_descriptor;
}
@java.lang.Override
public com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest getDefaultInstanceForType() {
return com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest.getDefaultInstance();
}
@java.lang.Override
public com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest build() {
com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest buildPartial() {
com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest result = new com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest(this);
result.openitemmanagementId_ = openitemmanagementId_;
result.repaymentId_ = repaymentId_;
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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest) {
return mergeFrom((com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest other) {
if (other == com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest.getDefaultInstance()) return this;
if (!other.getOpenitemmanagementId().isEmpty()) {
openitemmanagementId_ = other.openitemmanagementId_;
onChanged();
}
if (!other.getRepaymentId().isEmpty()) {
repaymentId_ = other.repaymentId_;
onChanged();
}
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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object openitemmanagementId_ = "";
/**
* string openitemmanagementId = 1;
* @return The openitemmanagementId.
*/
public java.lang.String getOpenitemmanagementId() {
java.lang.Object ref = openitemmanagementId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
openitemmanagementId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string openitemmanagementId = 1;
* @return The bytes for openitemmanagementId.
*/
public com.google.protobuf.ByteString
getOpenitemmanagementIdBytes() {
java.lang.Object ref = openitemmanagementId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
openitemmanagementId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string openitemmanagementId = 1;
* @param value The openitemmanagementId to set.
* @return This builder for chaining.
*/
public Builder setOpenitemmanagementId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
openitemmanagementId_ = value;
onChanged();
return this;
}
/**
* string openitemmanagementId = 1;
* @return This builder for chaining.
*/
public Builder clearOpenitemmanagementId() {
openitemmanagementId_ = getDefaultInstance().getOpenitemmanagementId();
onChanged();
return this;
}
/**
* string openitemmanagementId = 1;
* @param value The bytes for openitemmanagementId to set.
* @return This builder for chaining.
*/
public Builder setOpenitemmanagementIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
openitemmanagementId_ = value;
onChanged();
return this;
}
private java.lang.Object repaymentId_ = "";
/**
* string repaymentId = 2;
* @return The repaymentId.
*/
public java.lang.String getRepaymentId() {
java.lang.Object ref = repaymentId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
repaymentId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string repaymentId = 2;
* @return The bytes for repaymentId.
*/
public com.google.protobuf.ByteString
getRepaymentIdBytes() {
java.lang.Object ref = repaymentId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
repaymentId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string repaymentId = 2;
* @param value The repaymentId to set.
* @return This builder for chaining.
*/
public Builder setRepaymentId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
repaymentId_ = value;
onChanged();
return this;
}
/**
* string repaymentId = 2;
* @return This builder for chaining.
*/
public Builder clearRepaymentId() {
repaymentId_ = getDefaultInstance().getRepaymentId();
onChanged();
return this;
}
/**
* string repaymentId = 2;
* @param value The bytes for repaymentId to set.
* @return This builder for chaining.
*/
public Builder setRepaymentIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
repaymentId_ = value;
onChanged();
return this;
}
@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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.RetrieveRepaymentRequest)
}
// @@protoc_insertion_point(class_scope:com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.RetrieveRepaymentRequest)
private static final com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest();
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RetrieveRepaymentRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RetrieveRepaymentRequest(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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UpdateRepaymentRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.UpdateRepaymentRequest)
com.google.protobuf.MessageOrBuilder {
/**
* string openitemmanagementId = 1;
* @return The openitemmanagementId.
*/
java.lang.String getOpenitemmanagementId();
/**
* string openitemmanagementId = 1;
* @return The bytes for openitemmanagementId.
*/
com.google.protobuf.ByteString
getOpenitemmanagementIdBytes();
/**
* string repaymentId = 2;
* @return The repaymentId.
*/
java.lang.String getRepaymentId();
/**
* string repaymentId = 2;
* @return The bytes for repaymentId.
*/
com.google.protobuf.ByteString
getRepaymentIdBytes();
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
* @return Whether the repayment field is set.
*/
boolean hasRepayment();
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
* @return The repayment.
*/
com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment getRepayment();
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
*/
com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.RepaymentOrBuilder getRepaymentOrBuilder();
}
/**
* Protobuf type {@code com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.UpdateRepaymentRequest}
*/
public static final class UpdateRepaymentRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.UpdateRepaymentRequest)
UpdateRepaymentRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use UpdateRepaymentRequest.newBuilder() to construct.
private UpdateRepaymentRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private UpdateRepaymentRequest() {
openitemmanagementId_ = "";
repaymentId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UpdateRepaymentRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private UpdateRepaymentRequest(
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();
openitemmanagementId_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
repaymentId_ = s;
break;
}
case 26: {
com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment.Builder subBuilder = null;
if (repayment_ != null) {
subBuilder = repayment_.toBuilder();
}
repayment_ = input.readMessage(com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(repayment_);
repayment_ = subBuilder.buildPartial();
}
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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_UpdateRepaymentRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_UpdateRepaymentRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest.class, com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest.Builder.class);
}
public static final int OPENITEMMANAGEMENTID_FIELD_NUMBER = 1;
private volatile java.lang.Object openitemmanagementId_;
/**
* string openitemmanagementId = 1;
* @return The openitemmanagementId.
*/
@java.lang.Override
public java.lang.String getOpenitemmanagementId() {
java.lang.Object ref = openitemmanagementId_;
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();
openitemmanagementId_ = s;
return s;
}
}
/**
* string openitemmanagementId = 1;
* @return The bytes for openitemmanagementId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOpenitemmanagementIdBytes() {
java.lang.Object ref = openitemmanagementId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
openitemmanagementId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REPAYMENTID_FIELD_NUMBER = 2;
private volatile java.lang.Object repaymentId_;
/**
* string repaymentId = 2;
* @return The repaymentId.
*/
@java.lang.Override
public java.lang.String getRepaymentId() {
java.lang.Object ref = repaymentId_;
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();
repaymentId_ = s;
return s;
}
}
/**
* string repaymentId = 2;
* @return The bytes for repaymentId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRepaymentIdBytes() {
java.lang.Object ref = repaymentId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
repaymentId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REPAYMENT_FIELD_NUMBER = 3;
private com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment repayment_;
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
* @return Whether the repayment field is set.
*/
@java.lang.Override
public boolean hasRepayment() {
return repayment_ != null;
}
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
* @return The repayment.
*/
@java.lang.Override
public com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment getRepayment() {
return repayment_ == null ? com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment.getDefaultInstance() : repayment_;
}
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
*/
@java.lang.Override
public com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.RepaymentOrBuilder getRepaymentOrBuilder() {
return getRepayment();
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(openitemmanagementId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, openitemmanagementId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(repaymentId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, repaymentId_);
}
if (repayment_ != null) {
output.writeMessage(3, getRepayment());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(openitemmanagementId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, openitemmanagementId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(repaymentId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, repaymentId_);
}
if (repayment_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getRepayment());
}
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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest)) {
return super.equals(obj);
}
com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest other = (com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest) obj;
if (!getOpenitemmanagementId()
.equals(other.getOpenitemmanagementId())) return false;
if (!getRepaymentId()
.equals(other.getRepaymentId())) return false;
if (hasRepayment() != other.hasRepayment()) return false;
if (hasRepayment()) {
if (!getRepayment()
.equals(other.getRepayment())) return false;
}
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();
hash = (37 * hash) + OPENITEMMANAGEMENTID_FIELD_NUMBER;
hash = (53 * hash) + getOpenitemmanagementId().hashCode();
hash = (37 * hash) + REPAYMENTID_FIELD_NUMBER;
hash = (53 * hash) + getRepaymentId().hashCode();
if (hasRepayment()) {
hash = (37 * hash) + REPAYMENT_FIELD_NUMBER;
hash = (53 * hash) + getRepayment().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest 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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest 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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest 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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest 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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.UpdateRepaymentRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.UpdateRepaymentRequest)
com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_UpdateRepaymentRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_UpdateRepaymentRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest.class, com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest.Builder.class);
}
// Construct using com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest.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();
openitemmanagementId_ = "";
repaymentId_ = "";
if (repaymentBuilder_ == null) {
repayment_ = null;
} else {
repayment_ = null;
repaymentBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_UpdateRepaymentRequest_descriptor;
}
@java.lang.Override
public com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest getDefaultInstanceForType() {
return com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest.getDefaultInstance();
}
@java.lang.Override
public com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest build() {
com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest buildPartial() {
com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest result = new com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest(this);
result.openitemmanagementId_ = openitemmanagementId_;
result.repaymentId_ = repaymentId_;
if (repaymentBuilder_ == null) {
result.repayment_ = repayment_;
} else {
result.repayment_ = repaymentBuilder_.build();
}
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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest) {
return mergeFrom((com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest other) {
if (other == com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest.getDefaultInstance()) return this;
if (!other.getOpenitemmanagementId().isEmpty()) {
openitemmanagementId_ = other.openitemmanagementId_;
onChanged();
}
if (!other.getRepaymentId().isEmpty()) {
repaymentId_ = other.repaymentId_;
onChanged();
}
if (other.hasRepayment()) {
mergeRepayment(other.getRepayment());
}
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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object openitemmanagementId_ = "";
/**
* string openitemmanagementId = 1;
* @return The openitemmanagementId.
*/
public java.lang.String getOpenitemmanagementId() {
java.lang.Object ref = openitemmanagementId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
openitemmanagementId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string openitemmanagementId = 1;
* @return The bytes for openitemmanagementId.
*/
public com.google.protobuf.ByteString
getOpenitemmanagementIdBytes() {
java.lang.Object ref = openitemmanagementId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
openitemmanagementId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string openitemmanagementId = 1;
* @param value The openitemmanagementId to set.
* @return This builder for chaining.
*/
public Builder setOpenitemmanagementId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
openitemmanagementId_ = value;
onChanged();
return this;
}
/**
* string openitemmanagementId = 1;
* @return This builder for chaining.
*/
public Builder clearOpenitemmanagementId() {
openitemmanagementId_ = getDefaultInstance().getOpenitemmanagementId();
onChanged();
return this;
}
/**
* string openitemmanagementId = 1;
* @param value The bytes for openitemmanagementId to set.
* @return This builder for chaining.
*/
public Builder setOpenitemmanagementIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
openitemmanagementId_ = value;
onChanged();
return this;
}
private java.lang.Object repaymentId_ = "";
/**
* string repaymentId = 2;
* @return The repaymentId.
*/
public java.lang.String getRepaymentId() {
java.lang.Object ref = repaymentId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
repaymentId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string repaymentId = 2;
* @return The bytes for repaymentId.
*/
public com.google.protobuf.ByteString
getRepaymentIdBytes() {
java.lang.Object ref = repaymentId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
repaymentId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string repaymentId = 2;
* @param value The repaymentId to set.
* @return This builder for chaining.
*/
public Builder setRepaymentId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
repaymentId_ = value;
onChanged();
return this;
}
/**
* string repaymentId = 2;
* @return This builder for chaining.
*/
public Builder clearRepaymentId() {
repaymentId_ = getDefaultInstance().getRepaymentId();
onChanged();
return this;
}
/**
* string repaymentId = 2;
* @param value The bytes for repaymentId to set.
* @return This builder for chaining.
*/
public Builder setRepaymentIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
repaymentId_ = value;
onChanged();
return this;
}
private com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment repayment_;
private com.google.protobuf.SingleFieldBuilderV3<
com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment, com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment.Builder, com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.RepaymentOrBuilder> repaymentBuilder_;
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
* @return Whether the repayment field is set.
*/
public boolean hasRepayment() {
return repaymentBuilder_ != null || repayment_ != null;
}
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
* @return The repayment.
*/
public com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment getRepayment() {
if (repaymentBuilder_ == null) {
return repayment_ == null ? com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment.getDefaultInstance() : repayment_;
} else {
return repaymentBuilder_.getMessage();
}
}
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
*/
public Builder setRepayment(com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment value) {
if (repaymentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
repayment_ = value;
onChanged();
} else {
repaymentBuilder_.setMessage(value);
}
return this;
}
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
*/
public Builder setRepayment(
com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment.Builder builderForValue) {
if (repaymentBuilder_ == null) {
repayment_ = builderForValue.build();
onChanged();
} else {
repaymentBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
*/
public Builder mergeRepayment(com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment value) {
if (repaymentBuilder_ == null) {
if (repayment_ != null) {
repayment_ =
com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment.newBuilder(repayment_).mergeFrom(value).buildPartial();
} else {
repayment_ = value;
}
onChanged();
} else {
repaymentBuilder_.mergeFrom(value);
}
return this;
}
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
*/
public Builder clearRepayment() {
if (repaymentBuilder_ == null) {
repayment_ = null;
onChanged();
} else {
repayment_ = null;
repaymentBuilder_ = null;
}
return this;
}
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
*/
public com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment.Builder getRepaymentBuilder() {
onChanged();
return getRepaymentFieldBuilder().getBuilder();
}
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
*/
public com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.RepaymentOrBuilder getRepaymentOrBuilder() {
if (repaymentBuilder_ != null) {
return repaymentBuilder_.getMessageOrBuilder();
} else {
return repayment_ == null ?
com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment.getDefaultInstance() : repayment_;
}
}
/**
* .com.redhat.mercury.openitemmanagement.v10.Repayment repayment = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment, com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment.Builder, com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.RepaymentOrBuilder>
getRepaymentFieldBuilder() {
if (repaymentBuilder_ == null) {
repaymentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment, com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment.Builder, com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.RepaymentOrBuilder>(
getRepayment(),
getParentForChildren(),
isClean());
repayment_ = null;
}
return repaymentBuilder_;
}
@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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.UpdateRepaymentRequest)
}
// @@protoc_insertion_point(class_scope:com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.UpdateRepaymentRequest)
private static final com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest();
}
public static com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public UpdateRepaymentRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new UpdateRepaymentRequest(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.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_ExecuteRepaymentRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_ExecuteRepaymentRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_InitiateRepaymentRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_InitiateRepaymentRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_RetrieveRepaymentRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_RetrieveRepaymentRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_UpdateRepaymentRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_UpdateRepaymentRequest_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\"v10/api/bq_repayment_service.proto\022@co" +
"m.redhat.mercury.openitemmanagement.v10." +
"api.bqrepaymentservice\032\033google/protobuf/" +
"empty.proto\032\032v10/model/http_error.proto\032" +
"+v10/model/initiate_repayment_response.p" +
"roto\032#v10/model/open_item_procedure.prot" +
"o\032\031v10/model/repayment.proto\032+v10/model/" +
"retrieve_repayment_response.proto\"\225\001\n\027Ex" +
"ecuteRepaymentRequest\022\034\n\024openitemmanagem" +
"entId\030\001 \001(\t\022\023\n\013repaymentId\030\002 \001(\t\022G\n\trepa" +
"yment\030\003 \001(\01324.com.redhat.mercury.openite" +
"mmanagement.v10.Repayment\"\221\001\n\030InitiateRe" +
"paymentRequest\022\034\n\024openitemmanagementId\030\001" +
" \001(\t\022W\n\021openItemProcedure\030\002 \001(\0132<.com.re" +
"dhat.mercury.openitemmanagement.v10.Open" +
"ItemProcedure\"M\n\030RetrieveRepaymentReques" +
"t\022\034\n\024openitemmanagementId\030\001 \001(\t\022\023\n\013repay" +
"mentId\030\002 \001(\t\"\224\001\n\026UpdateRepaymentRequest\022" +
"\034\n\024openitemmanagementId\030\001 \001(\t\022\023\n\013repayme" +
"ntId\030\002 \001(\t\022G\n\trepayment\030\003 \001(\01324.com.redh" +
"at.mercury.openitemmanagement.v10.Repaym" +
"ent2\316\005\n\022BQRepaymentService\022\243\001\n\020ExecuteRe" +
"payment\022Y.com.redhat.mercury.openitemman" +
"agement.v10.api.bqrepaymentservice.Execu" +
"teRepaymentRequest\0324.com.redhat.mercury." +
"openitemmanagement.v10.Repayment\022\265\001\n\021Ini" +
"tiateRepayment\022Z.com.redhat.mercury.open" +
"itemmanagement.v10.api.bqrepaymentservic" +
"e.InitiateRepaymentRequest\032D.com.redhat." +
"mercury.openitemmanagement.v10.InitiateR" +
"epaymentResponse\022\265\001\n\021RetrieveRepayment\022Z" +
".com.redhat.mercury.openitemmanagement.v" +
"10.api.bqrepaymentservice.RetrieveRepaym" +
"entRequest\032D.com.redhat.mercury.openitem" +
"management.v10.RetrieveRepaymentResponse" +
"\022\241\001\n\017UpdateRepayment\022X.com.redhat.mercur" +
"y.openitemmanagement.v10.api.bqrepayment" +
"service.UpdateRepaymentRequest\0324.com.red" +
"hat.mercury.openitemmanagement.v10.Repay" +
"mentP\001P\002P\003P\004P\005b\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.EmptyProto.getDescriptor(),
com.redhat.mercury.openitemmanagement.v10.HttpError.getDescriptor(),
com.redhat.mercury.openitemmanagement.v10.InitiateRepaymentResponseOuterClass.getDescriptor(),
com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.getDescriptor(),
com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.getDescriptor(),
com.redhat.mercury.openitemmanagement.v10.RetrieveRepaymentResponseOuterClass.getDescriptor(),
});
internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_ExecuteRepaymentRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_ExecuteRepaymentRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_ExecuteRepaymentRequest_descriptor,
new java.lang.String[] { "OpenitemmanagementId", "RepaymentId", "Repayment", });
internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_InitiateRepaymentRequest_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_InitiateRepaymentRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_InitiateRepaymentRequest_descriptor,
new java.lang.String[] { "OpenitemmanagementId", "OpenItemProcedure", });
internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_RetrieveRepaymentRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_RetrieveRepaymentRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_RetrieveRepaymentRequest_descriptor,
new java.lang.String[] { "OpenitemmanagementId", "RepaymentId", });
internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_UpdateRepaymentRequest_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_UpdateRepaymentRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_com_redhat_mercury_openitemmanagement_v10_api_bqrepaymentservice_UpdateRepaymentRequest_descriptor,
new java.lang.String[] { "OpenitemmanagementId", "RepaymentId", "Repayment", });
com.google.protobuf.EmptyProto.getDescriptor();
com.redhat.mercury.openitemmanagement.v10.HttpError.getDescriptor();
com.redhat.mercury.openitemmanagement.v10.InitiateRepaymentResponseOuterClass.getDescriptor();
com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.getDescriptor();
com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.getDescriptor();
com.redhat.mercury.openitemmanagement.v10.RetrieveRepaymentResponseOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy