|
@@ -6,32 +6,43 @@ package com.ywt.gapi.drug;
|
|
|
/**
|
|
|
* Protobuf type {@code com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse}
|
|
|
*/
|
|
|
-public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
+public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
com.google.protobuf.GeneratedMessageV3 implements
|
|
|
// @@protoc_insertion_point(message_implements:com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse)
|
|
|
SaveHisOpenApiPrescriptionResponseOrBuilder {
|
|
|
+private static final long serialVersionUID = 0L;
|
|
|
// Use SaveHisOpenApiPrescriptionResponse.newBuilder() to construct.
|
|
|
private SaveHisOpenApiPrescriptionResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
|
super(builder);
|
|
|
}
|
|
|
private SaveHisOpenApiPrescriptionResponse() {
|
|
|
- code_ = 0;
|
|
|
info_ = "";
|
|
|
bizNo_ = "";
|
|
|
data_ = "";
|
|
|
}
|
|
|
|
|
|
- @java.lang.Override
|
|
|
+ @Override
|
|
|
+ @SuppressWarnings({"unused"})
|
|
|
+ protected Object newInstance(
|
|
|
+ UnusedPrivateParameter unused) {
|
|
|
+ return new SaveHisOpenApiPrescriptionResponse();
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
public final com.google.protobuf.UnknownFieldSet
|
|
|
getUnknownFields() {
|
|
|
- return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
|
|
|
+ return this.unknownFields;
|
|
|
}
|
|
|
private SaveHisOpenApiPrescriptionResponse(
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
this();
|
|
|
- int mutable_bitField0_ = 0;
|
|
|
+ if (extensionRegistry == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
|
+ com.google.protobuf.UnknownFieldSet.newBuilder();
|
|
|
try {
|
|
|
boolean done = false;
|
|
|
while (!done) {
|
|
@@ -40,35 +51,36 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
case 0:
|
|
|
done = true;
|
|
|
break;
|
|
|
- default: {
|
|
|
- if (!input.skipField(tag)) {
|
|
|
- done = true;
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
case 8: {
|
|
|
|
|
|
code_ = input.readInt32();
|
|
|
break;
|
|
|
}
|
|
|
case 18: {
|
|
|
- java.lang.String s = input.readStringRequireUtf8();
|
|
|
+ String s = input.readStringRequireUtf8();
|
|
|
|
|
|
info_ = s;
|
|
|
break;
|
|
|
}
|
|
|
case 26: {
|
|
|
- java.lang.String s = input.readStringRequireUtf8();
|
|
|
+ String s = input.readStringRequireUtf8();
|
|
|
|
|
|
bizNo_ = s;
|
|
|
break;
|
|
|
}
|
|
|
case 34: {
|
|
|
- java.lang.String s = input.readStringRequireUtf8();
|
|
|
+ String s = input.readStringRequireUtf8();
|
|
|
|
|
|
data_ = s;
|
|
|
break;
|
|
|
}
|
|
|
+ default: {
|
|
|
+ if (!parseUnknownField(
|
|
|
+ input, unknownFields, extensionRegistry, tag)) {
|
|
|
+ done = true;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
@@ -77,57 +89,65 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
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.ywt.gapi.drug.Drug.internal_static_com_ywt_gapi_drug_SaveHisOpenApiPrescriptionResponse_descriptor;
|
|
|
+ return DrugProto.internal_static_com_ywt_gapi_drug_SaveHisOpenApiPrescriptionResponse_descriptor;
|
|
|
}
|
|
|
|
|
|
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
|
+ @Override
|
|
|
+ protected FieldAccessorTable
|
|
|
internalGetFieldAccessorTable() {
|
|
|
- return com.ywt.gapi.drug.Drug.internal_static_com_ywt_gapi_drug_SaveHisOpenApiPrescriptionResponse_fieldAccessorTable
|
|
|
+ return DrugProto.internal_static_com_ywt_gapi_drug_SaveHisOpenApiPrescriptionResponse_fieldAccessorTable
|
|
|
.ensureFieldAccessorsInitialized(
|
|
|
- com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse.class, com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse.Builder.class);
|
|
|
+ SaveHisOpenApiPrescriptionResponse.class, Builder.class);
|
|
|
}
|
|
|
|
|
|
public static final int CODE_FIELD_NUMBER = 1;
|
|
|
private int code_;
|
|
|
/**
|
|
|
* <code>int32 code = 1;</code>
|
|
|
+ * @return The code.
|
|
|
*/
|
|
|
+ @Override
|
|
|
public int getCode() {
|
|
|
return code_;
|
|
|
}
|
|
|
|
|
|
public static final int INFO_FIELD_NUMBER = 2;
|
|
|
- private volatile java.lang.Object info_;
|
|
|
+ private volatile Object info_;
|
|
|
/**
|
|
|
* <code>string info = 2;</code>
|
|
|
+ * @return The info.
|
|
|
*/
|
|
|
- public java.lang.String getInfo() {
|
|
|
- java.lang.Object ref = info_;
|
|
|
- if (ref instanceof java.lang.String) {
|
|
|
- return (java.lang.String) ref;
|
|
|
+ @Override
|
|
|
+ public String getInfo() {
|
|
|
+ Object ref = info_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ return (String) ref;
|
|
|
} else {
|
|
|
com.google.protobuf.ByteString bs =
|
|
|
(com.google.protobuf.ByteString) ref;
|
|
|
- java.lang.String s = bs.toStringUtf8();
|
|
|
+ String s = bs.toStringUtf8();
|
|
|
info_ = s;
|
|
|
return s;
|
|
|
}
|
|
|
}
|
|
|
/**
|
|
|
* <code>string info = 2;</code>
|
|
|
+ * @return The bytes for info.
|
|
|
*/
|
|
|
+ @Override
|
|
|
public com.google.protobuf.ByteString
|
|
|
getInfoBytes() {
|
|
|
- java.lang.Object ref = info_;
|
|
|
- if (ref instanceof java.lang.String) {
|
|
|
+ Object ref = info_;
|
|
|
+ if (ref instanceof String) {
|
|
|
com.google.protobuf.ByteString b =
|
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
- (java.lang.String) ref);
|
|
|
+ (String) ref);
|
|
|
info_ = b;
|
|
|
return b;
|
|
|
} else {
|
|
@@ -136,32 +156,36 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
}
|
|
|
|
|
|
public static final int BIZNO_FIELD_NUMBER = 3;
|
|
|
- private volatile java.lang.Object bizNo_;
|
|
|
+ private volatile Object bizNo_;
|
|
|
/**
|
|
|
* <code>string bizNo = 3;</code>
|
|
|
+ * @return The bizNo.
|
|
|
*/
|
|
|
- public java.lang.String getBizNo() {
|
|
|
- java.lang.Object ref = bizNo_;
|
|
|
- if (ref instanceof java.lang.String) {
|
|
|
- return (java.lang.String) ref;
|
|
|
+ @Override
|
|
|
+ public String getBizNo() {
|
|
|
+ Object ref = bizNo_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ return (String) ref;
|
|
|
} else {
|
|
|
com.google.protobuf.ByteString bs =
|
|
|
(com.google.protobuf.ByteString) ref;
|
|
|
- java.lang.String s = bs.toStringUtf8();
|
|
|
+ String s = bs.toStringUtf8();
|
|
|
bizNo_ = s;
|
|
|
return s;
|
|
|
}
|
|
|
}
|
|
|
/**
|
|
|
* <code>string bizNo = 3;</code>
|
|
|
+ * @return The bytes for bizNo.
|
|
|
*/
|
|
|
+ @Override
|
|
|
public com.google.protobuf.ByteString
|
|
|
getBizNoBytes() {
|
|
|
- java.lang.Object ref = bizNo_;
|
|
|
- if (ref instanceof java.lang.String) {
|
|
|
+ Object ref = bizNo_;
|
|
|
+ if (ref instanceof String) {
|
|
|
com.google.protobuf.ByteString b =
|
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
- (java.lang.String) ref);
|
|
|
+ (String) ref);
|
|
|
bizNo_ = b;
|
|
|
return b;
|
|
|
} else {
|
|
@@ -170,32 +194,36 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
}
|
|
|
|
|
|
public static final int DATA_FIELD_NUMBER = 4;
|
|
|
- private volatile java.lang.Object data_;
|
|
|
+ private volatile Object data_;
|
|
|
/**
|
|
|
* <code>string data = 4;</code>
|
|
|
+ * @return The data.
|
|
|
*/
|
|
|
- public java.lang.String getData() {
|
|
|
- java.lang.Object ref = data_;
|
|
|
- if (ref instanceof java.lang.String) {
|
|
|
- return (java.lang.String) ref;
|
|
|
+ @Override
|
|
|
+ public String getData() {
|
|
|
+ Object ref = data_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ return (String) ref;
|
|
|
} else {
|
|
|
com.google.protobuf.ByteString bs =
|
|
|
(com.google.protobuf.ByteString) ref;
|
|
|
- java.lang.String s = bs.toStringUtf8();
|
|
|
+ String s = bs.toStringUtf8();
|
|
|
data_ = s;
|
|
|
return s;
|
|
|
}
|
|
|
}
|
|
|
/**
|
|
|
* <code>string data = 4;</code>
|
|
|
+ * @return The bytes for data.
|
|
|
*/
|
|
|
+ @Override
|
|
|
public com.google.protobuf.ByteString
|
|
|
getDataBytes() {
|
|
|
- java.lang.Object ref = data_;
|
|
|
- if (ref instanceof java.lang.String) {
|
|
|
+ Object ref = data_;
|
|
|
+ if (ref instanceof String) {
|
|
|
com.google.protobuf.ByteString b =
|
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
- (java.lang.String) ref);
|
|
|
+ (String) ref);
|
|
|
data_ = b;
|
|
|
return b;
|
|
|
} else {
|
|
@@ -204,6 +232,7 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
}
|
|
|
|
|
|
private byte memoizedIsInitialized = -1;
|
|
|
+ @Override
|
|
|
public final boolean isInitialized() {
|
|
|
byte isInitialized = memoizedIsInitialized;
|
|
|
if (isInitialized == 1) return true;
|
|
@@ -213,22 +242,25 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
throws java.io.IOException {
|
|
|
if (code_ != 0) {
|
|
|
output.writeInt32(1, code_);
|
|
|
}
|
|
|
- if (!getInfoBytes().isEmpty()) {
|
|
|
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(info_)) {
|
|
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, info_);
|
|
|
}
|
|
|
- if (!getBizNoBytes().isEmpty()) {
|
|
|
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bizNo_)) {
|
|
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, bizNo_);
|
|
|
}
|
|
|
- if (!getDataBytes().isEmpty()) {
|
|
|
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(data_)) {
|
|
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, data_);
|
|
|
}
|
|
|
+ unknownFields.writeTo(output);
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
public int getSerializedSize() {
|
|
|
int size = memoizedSize;
|
|
|
if (size != -1) return size;
|
|
@@ -238,43 +270,43 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
.computeInt32Size(1, code_);
|
|
|
}
|
|
|
- if (!getInfoBytes().isEmpty()) {
|
|
|
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(info_)) {
|
|
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, info_);
|
|
|
}
|
|
|
- if (!getBizNoBytes().isEmpty()) {
|
|
|
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bizNo_)) {
|
|
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, bizNo_);
|
|
|
}
|
|
|
- if (!getDataBytes().isEmpty()) {
|
|
|
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(data_)) {
|
|
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, data_);
|
|
|
}
|
|
|
+ size += unknownFields.getSerializedSize();
|
|
|
memoizedSize = size;
|
|
|
return size;
|
|
|
}
|
|
|
|
|
|
- private static final long serialVersionUID = 0L;
|
|
|
- @java.lang.Override
|
|
|
- public boolean equals(final java.lang.Object obj) {
|
|
|
+ @Override
|
|
|
+ public boolean equals(final Object obj) {
|
|
|
if (obj == this) {
|
|
|
return true;
|
|
|
}
|
|
|
- if (!(obj instanceof com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse)) {
|
|
|
+ if (!(obj instanceof SaveHisOpenApiPrescriptionResponse)) {
|
|
|
return super.equals(obj);
|
|
|
}
|
|
|
- com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse other = (com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse) obj;
|
|
|
-
|
|
|
- boolean result = true;
|
|
|
- result = result && (getCode()
|
|
|
- == other.getCode());
|
|
|
- result = result && getInfo()
|
|
|
- .equals(other.getInfo());
|
|
|
- result = result && getBizNo()
|
|
|
- .equals(other.getBizNo());
|
|
|
- result = result && getData()
|
|
|
- .equals(other.getData());
|
|
|
- return result;
|
|
|
+ SaveHisOpenApiPrescriptionResponse other = (SaveHisOpenApiPrescriptionResponse) obj;
|
|
|
+
|
|
|
+ if (getCode()
|
|
|
+ != other.getCode()) return false;
|
|
|
+ if (!getInfo()
|
|
|
+ .equals(other.getInfo())) return false;
|
|
|
+ if (!getBizNo()
|
|
|
+ .equals(other.getBizNo())) return false;
|
|
|
+ if (!getData()
|
|
|
+ .equals(other.getData())) return false;
|
|
|
+ if (!unknownFields.equals(other.unknownFields)) return false;
|
|
|
+ return true;
|
|
|
}
|
|
|
|
|
|
- @java.lang.Override
|
|
|
+ @Override
|
|
|
public int hashCode() {
|
|
|
if (memoizedHashCode != 0) {
|
|
|
return memoizedHashCode;
|
|
@@ -294,69 +326,69 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
return hash;
|
|
|
}
|
|
|
|
|
|
- public static com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse parseFrom(
|
|
|
+ public static SaveHisOpenApiPrescriptionResponse parseFrom(
|
|
|
java.nio.ByteBuffer data)
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
return PARSER.parseFrom(data);
|
|
|
}
|
|
|
- public static com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse parseFrom(
|
|
|
+ public static SaveHisOpenApiPrescriptionResponse parseFrom(
|
|
|
java.nio.ByteBuffer data,
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
|
}
|
|
|
- public static com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse parseFrom(
|
|
|
+ public static SaveHisOpenApiPrescriptionResponse parseFrom(
|
|
|
com.google.protobuf.ByteString data)
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
return PARSER.parseFrom(data);
|
|
|
}
|
|
|
- public static com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse parseFrom(
|
|
|
+ public static SaveHisOpenApiPrescriptionResponse parseFrom(
|
|
|
com.google.protobuf.ByteString data,
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
|
}
|
|
|
- public static com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse parseFrom(byte[] data)
|
|
|
+ public static SaveHisOpenApiPrescriptionResponse parseFrom(byte[] data)
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
return PARSER.parseFrom(data);
|
|
|
}
|
|
|
- public static com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse parseFrom(
|
|
|
+ public static SaveHisOpenApiPrescriptionResponse parseFrom(
|
|
|
byte[] data,
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
|
}
|
|
|
- public static com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse parseFrom(java.io.InputStream input)
|
|
|
+ public static SaveHisOpenApiPrescriptionResponse parseFrom(java.io.InputStream input)
|
|
|
throws java.io.IOException {
|
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
|
.parseWithIOException(PARSER, input);
|
|
|
}
|
|
|
- public static com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse parseFrom(
|
|
|
+ public static SaveHisOpenApiPrescriptionResponse 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.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse parseDelimitedFrom(java.io.InputStream input)
|
|
|
+ public static SaveHisOpenApiPrescriptionResponse parseDelimitedFrom(java.io.InputStream input)
|
|
|
throws java.io.IOException {
|
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
|
.parseDelimitedWithIOException(PARSER, input);
|
|
|
}
|
|
|
- public static com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse parseDelimitedFrom(
|
|
|
+ public static SaveHisOpenApiPrescriptionResponse 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.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse parseFrom(
|
|
|
+ public static SaveHisOpenApiPrescriptionResponse parseFrom(
|
|
|
com.google.protobuf.CodedInputStream input)
|
|
|
throws java.io.IOException {
|
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
|
.parseWithIOException(PARSER, input);
|
|
|
}
|
|
|
- public static com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse parseFrom(
|
|
|
+ public static SaveHisOpenApiPrescriptionResponse parseFrom(
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
throws java.io.IOException {
|
|
@@ -364,21 +396,23 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
public Builder newBuilderForType() { return newBuilder(); }
|
|
|
public static Builder newBuilder() {
|
|
|
return DEFAULT_INSTANCE.toBuilder();
|
|
|
}
|
|
|
- public static Builder newBuilder(com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse prototype) {
|
|
|
+ public static Builder newBuilder(SaveHisOpenApiPrescriptionResponse prototype) {
|
|
|
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|
|
}
|
|
|
+ @Override
|
|
|
public Builder toBuilder() {
|
|
|
return this == DEFAULT_INSTANCE
|
|
|
? new Builder() : new Builder().mergeFrom(this);
|
|
|
}
|
|
|
|
|
|
- @java.lang.Override
|
|
|
+ @Override
|
|
|
protected Builder newBuilderForType(
|
|
|
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
|
+ BuilderParent parent) {
|
|
|
Builder builder = new Builder(parent);
|
|
|
return builder;
|
|
|
}
|
|
@@ -388,17 +422,18 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
public static final class Builder extends
|
|
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
|
// @@protoc_insertion_point(builder_implements:com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse)
|
|
|
- com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponseOrBuilder {
|
|
|
+ SaveHisOpenApiPrescriptionResponseOrBuilder {
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
getDescriptor() {
|
|
|
- return com.ywt.gapi.drug.Drug.internal_static_com_ywt_gapi_drug_SaveHisOpenApiPrescriptionResponse_descriptor;
|
|
|
+ return DrugProto.internal_static_com_ywt_gapi_drug_SaveHisOpenApiPrescriptionResponse_descriptor;
|
|
|
}
|
|
|
|
|
|
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
|
+ @Override
|
|
|
+ protected FieldAccessorTable
|
|
|
internalGetFieldAccessorTable() {
|
|
|
- return com.ywt.gapi.drug.Drug.internal_static_com_ywt_gapi_drug_SaveHisOpenApiPrescriptionResponse_fieldAccessorTable
|
|
|
+ return DrugProto.internal_static_com_ywt_gapi_drug_SaveHisOpenApiPrescriptionResponse_fieldAccessorTable
|
|
|
.ensureFieldAccessorsInitialized(
|
|
|
- com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse.class, com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse.Builder.class);
|
|
|
+ SaveHisOpenApiPrescriptionResponse.class, Builder.class);
|
|
|
}
|
|
|
|
|
|
// Construct using com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse.newBuilder()
|
|
@@ -407,7 +442,7 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
}
|
|
|
|
|
|
private Builder(
|
|
|
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
|
+ BuilderParent parent) {
|
|
|
super(parent);
|
|
|
maybeForceBuilderInitialization();
|
|
|
}
|
|
@@ -416,6 +451,7 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
.alwaysUseFieldBuilders) {
|
|
|
}
|
|
|
}
|
|
|
+ @Override
|
|
|
public Builder clear() {
|
|
|
super.clear();
|
|
|
code_ = 0;
|
|
@@ -429,25 +465,29 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
|
getDescriptorForType() {
|
|
|
- return com.ywt.gapi.drug.Drug.internal_static_com_ywt_gapi_drug_SaveHisOpenApiPrescriptionResponse_descriptor;
|
|
|
+ return DrugProto.internal_static_com_ywt_gapi_drug_SaveHisOpenApiPrescriptionResponse_descriptor;
|
|
|
}
|
|
|
|
|
|
- public com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse getDefaultInstanceForType() {
|
|
|
- return com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse.getDefaultInstance();
|
|
|
+ @Override
|
|
|
+ public SaveHisOpenApiPrescriptionResponse getDefaultInstanceForType() {
|
|
|
+ return SaveHisOpenApiPrescriptionResponse.getDefaultInstance();
|
|
|
}
|
|
|
|
|
|
- public com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse build() {
|
|
|
- com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse result = buildPartial();
|
|
|
+ @Override
|
|
|
+ public SaveHisOpenApiPrescriptionResponse build() {
|
|
|
+ SaveHisOpenApiPrescriptionResponse result = buildPartial();
|
|
|
if (!result.isInitialized()) {
|
|
|
throw newUninitializedMessageException(result);
|
|
|
}
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
- public com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse buildPartial() {
|
|
|
- com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse result = new com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse(this);
|
|
|
+ @Override
|
|
|
+ public SaveHisOpenApiPrescriptionResponse buildPartial() {
|
|
|
+ SaveHisOpenApiPrescriptionResponse result = new SaveHisOpenApiPrescriptionResponse(this);
|
|
|
result.code_ = code_;
|
|
|
result.info_ = info_;
|
|
|
result.bizNo_ = bizNo_;
|
|
@@ -456,43 +496,50 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
public Builder clone() {
|
|
|
- return (Builder) super.clone();
|
|
|
+ return super.clone();
|
|
|
}
|
|
|
+ @Override
|
|
|
public Builder setField(
|
|
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
|
Object value) {
|
|
|
- return (Builder) super.setField(field, value);
|
|
|
+ return super.setField(field, value);
|
|
|
}
|
|
|
+ @Override
|
|
|
public Builder clearField(
|
|
|
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
|
|
- return (Builder) super.clearField(field);
|
|
|
+ return super.clearField(field);
|
|
|
}
|
|
|
+ @Override
|
|
|
public Builder clearOneof(
|
|
|
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
|
|
- return (Builder) super.clearOneof(oneof);
|
|
|
+ return super.clearOneof(oneof);
|
|
|
}
|
|
|
+ @Override
|
|
|
public Builder setRepeatedField(
|
|
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
|
int index, Object value) {
|
|
|
- return (Builder) super.setRepeatedField(field, index, value);
|
|
|
+ return super.setRepeatedField(field, index, value);
|
|
|
}
|
|
|
+ @Override
|
|
|
public Builder addRepeatedField(
|
|
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
|
Object value) {
|
|
|
- return (Builder) super.addRepeatedField(field, value);
|
|
|
+ return super.addRepeatedField(field, value);
|
|
|
}
|
|
|
+ @Override
|
|
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
- if (other instanceof com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse) {
|
|
|
- return mergeFrom((com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse)other);
|
|
|
+ if (other instanceof SaveHisOpenApiPrescriptionResponse) {
|
|
|
+ return mergeFrom((SaveHisOpenApiPrescriptionResponse)other);
|
|
|
} else {
|
|
|
super.mergeFrom(other);
|
|
|
return this;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- public Builder mergeFrom(com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse other) {
|
|
|
- if (other == com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse.getDefaultInstance()) return this;
|
|
|
+ public Builder mergeFrom(SaveHisOpenApiPrescriptionResponse other) {
|
|
|
+ if (other == SaveHisOpenApiPrescriptionResponse.getDefaultInstance()) return this;
|
|
|
if (other.getCode() != 0) {
|
|
|
setCode(other.getCode());
|
|
|
}
|
|
@@ -508,23 +555,26 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
data_ = other.data_;
|
|
|
onChanged();
|
|
|
}
|
|
|
+ this.mergeUnknownFields(other.unknownFields);
|
|
|
onChanged();
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
public final boolean isInitialized() {
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
public Builder mergeFrom(
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
throws java.io.IOException {
|
|
|
- com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse parsedMessage = null;
|
|
|
+ SaveHisOpenApiPrescriptionResponse parsedMessage = null;
|
|
|
try {
|
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
|
- parsedMessage = (com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse) e.getUnfinishedMessage();
|
|
|
+ parsedMessage = (SaveHisOpenApiPrescriptionResponse) e.getUnfinishedMessage();
|
|
|
throw e.unwrapIOException();
|
|
|
} finally {
|
|
|
if (parsedMessage != null) {
|
|
@@ -537,12 +587,16 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
private int code_ ;
|
|
|
/**
|
|
|
* <code>int32 code = 1;</code>
|
|
|
+ * @return The code.
|
|
|
*/
|
|
|
+ @Override
|
|
|
public int getCode() {
|
|
|
return code_;
|
|
|
}
|
|
|
/**
|
|
|
* <code>int32 code = 1;</code>
|
|
|
+ * @param value The code to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
*/
|
|
|
public Builder setCode(int value) {
|
|
|
|
|
@@ -552,6 +606,7 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
}
|
|
|
/**
|
|
|
* <code>int32 code = 1;</code>
|
|
|
+ * @return This builder for chaining.
|
|
|
*/
|
|
|
public Builder clearCode() {
|
|
|
|
|
@@ -560,32 +615,34 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
- private java.lang.Object info_ = "";
|
|
|
+ private Object info_ = "";
|
|
|
/**
|
|
|
* <code>string info = 2;</code>
|
|
|
+ * @return The info.
|
|
|
*/
|
|
|
- public java.lang.String getInfo() {
|
|
|
- java.lang.Object ref = info_;
|
|
|
- if (!(ref instanceof java.lang.String)) {
|
|
|
+ public String getInfo() {
|
|
|
+ Object ref = info_;
|
|
|
+ if (!(ref instanceof String)) {
|
|
|
com.google.protobuf.ByteString bs =
|
|
|
(com.google.protobuf.ByteString) ref;
|
|
|
- java.lang.String s = bs.toStringUtf8();
|
|
|
+ String s = bs.toStringUtf8();
|
|
|
info_ = s;
|
|
|
return s;
|
|
|
} else {
|
|
|
- return (java.lang.String) ref;
|
|
|
+ return (String) ref;
|
|
|
}
|
|
|
}
|
|
|
/**
|
|
|
* <code>string info = 2;</code>
|
|
|
+ * @return The bytes for info.
|
|
|
*/
|
|
|
public com.google.protobuf.ByteString
|
|
|
getInfoBytes() {
|
|
|
- java.lang.Object ref = info_;
|
|
|
+ Object ref = info_;
|
|
|
if (ref instanceof String) {
|
|
|
com.google.protobuf.ByteString b =
|
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
- (java.lang.String) ref);
|
|
|
+ (String) ref);
|
|
|
info_ = b;
|
|
|
return b;
|
|
|
} else {
|
|
@@ -594,9 +651,11 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
}
|
|
|
/**
|
|
|
* <code>string info = 2;</code>
|
|
|
+ * @param value The info to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
*/
|
|
|
public Builder setInfo(
|
|
|
- java.lang.String value) {
|
|
|
+ String value) {
|
|
|
if (value == null) {
|
|
|
throw new NullPointerException();
|
|
|
}
|
|
@@ -607,6 +666,7 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
}
|
|
|
/**
|
|
|
* <code>string info = 2;</code>
|
|
|
+ * @return This builder for chaining.
|
|
|
*/
|
|
|
public Builder clearInfo() {
|
|
|
|
|
@@ -616,6 +676,8 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
}
|
|
|
/**
|
|
|
* <code>string info = 2;</code>
|
|
|
+ * @param value The bytes for info to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
*/
|
|
|
public Builder setInfoBytes(
|
|
|
com.google.protobuf.ByteString value) {
|
|
@@ -629,32 +691,34 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
- private java.lang.Object bizNo_ = "";
|
|
|
+ private Object bizNo_ = "";
|
|
|
/**
|
|
|
* <code>string bizNo = 3;</code>
|
|
|
+ * @return The bizNo.
|
|
|
*/
|
|
|
- public java.lang.String getBizNo() {
|
|
|
- java.lang.Object ref = bizNo_;
|
|
|
- if (!(ref instanceof java.lang.String)) {
|
|
|
+ public String getBizNo() {
|
|
|
+ Object ref = bizNo_;
|
|
|
+ if (!(ref instanceof String)) {
|
|
|
com.google.protobuf.ByteString bs =
|
|
|
(com.google.protobuf.ByteString) ref;
|
|
|
- java.lang.String s = bs.toStringUtf8();
|
|
|
+ String s = bs.toStringUtf8();
|
|
|
bizNo_ = s;
|
|
|
return s;
|
|
|
} else {
|
|
|
- return (java.lang.String) ref;
|
|
|
+ return (String) ref;
|
|
|
}
|
|
|
}
|
|
|
/**
|
|
|
* <code>string bizNo = 3;</code>
|
|
|
+ * @return The bytes for bizNo.
|
|
|
*/
|
|
|
public com.google.protobuf.ByteString
|
|
|
getBizNoBytes() {
|
|
|
- java.lang.Object ref = bizNo_;
|
|
|
+ Object ref = bizNo_;
|
|
|
if (ref instanceof String) {
|
|
|
com.google.protobuf.ByteString b =
|
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
- (java.lang.String) ref);
|
|
|
+ (String) ref);
|
|
|
bizNo_ = b;
|
|
|
return b;
|
|
|
} else {
|
|
@@ -663,9 +727,11 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
}
|
|
|
/**
|
|
|
* <code>string bizNo = 3;</code>
|
|
|
+ * @param value The bizNo to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
*/
|
|
|
public Builder setBizNo(
|
|
|
- java.lang.String value) {
|
|
|
+ String value) {
|
|
|
if (value == null) {
|
|
|
throw new NullPointerException();
|
|
|
}
|
|
@@ -676,6 +742,7 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
}
|
|
|
/**
|
|
|
* <code>string bizNo = 3;</code>
|
|
|
+ * @return This builder for chaining.
|
|
|
*/
|
|
|
public Builder clearBizNo() {
|
|
|
|
|
@@ -685,6 +752,8 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
}
|
|
|
/**
|
|
|
* <code>string bizNo = 3;</code>
|
|
|
+ * @param value The bytes for bizNo to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
*/
|
|
|
public Builder setBizNoBytes(
|
|
|
com.google.protobuf.ByteString value) {
|
|
@@ -698,32 +767,34 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
- private java.lang.Object data_ = "";
|
|
|
+ private Object data_ = "";
|
|
|
/**
|
|
|
* <code>string data = 4;</code>
|
|
|
+ * @return The data.
|
|
|
*/
|
|
|
- public java.lang.String getData() {
|
|
|
- java.lang.Object ref = data_;
|
|
|
- if (!(ref instanceof java.lang.String)) {
|
|
|
+ public String getData() {
|
|
|
+ Object ref = data_;
|
|
|
+ if (!(ref instanceof String)) {
|
|
|
com.google.protobuf.ByteString bs =
|
|
|
(com.google.protobuf.ByteString) ref;
|
|
|
- java.lang.String s = bs.toStringUtf8();
|
|
|
+ String s = bs.toStringUtf8();
|
|
|
data_ = s;
|
|
|
return s;
|
|
|
} else {
|
|
|
- return (java.lang.String) ref;
|
|
|
+ return (String) ref;
|
|
|
}
|
|
|
}
|
|
|
/**
|
|
|
* <code>string data = 4;</code>
|
|
|
+ * @return The bytes for data.
|
|
|
*/
|
|
|
public com.google.protobuf.ByteString
|
|
|
getDataBytes() {
|
|
|
- java.lang.Object ref = data_;
|
|
|
+ Object ref = data_;
|
|
|
if (ref instanceof String) {
|
|
|
com.google.protobuf.ByteString b =
|
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
- (java.lang.String) ref);
|
|
|
+ (String) ref);
|
|
|
data_ = b;
|
|
|
return b;
|
|
|
} else {
|
|
@@ -732,9 +803,11 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
}
|
|
|
/**
|
|
|
* <code>string data = 4;</code>
|
|
|
+ * @param value The data to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
*/
|
|
|
public Builder setData(
|
|
|
- java.lang.String value) {
|
|
|
+ String value) {
|
|
|
if (value == null) {
|
|
|
throw new NullPointerException();
|
|
|
}
|
|
@@ -745,6 +818,7 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
}
|
|
|
/**
|
|
|
* <code>string data = 4;</code>
|
|
|
+ * @return This builder for chaining.
|
|
|
*/
|
|
|
public Builder clearData() {
|
|
|
|
|
@@ -754,6 +828,8 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
}
|
|
|
/**
|
|
|
* <code>string data = 4;</code>
|
|
|
+ * @param value The bytes for data to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
*/
|
|
|
public Builder setDataBytes(
|
|
|
com.google.protobuf.ByteString value) {
|
|
@@ -766,14 +842,16 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
onChanged();
|
|
|
return this;
|
|
|
}
|
|
|
+ @Override
|
|
|
public final Builder setUnknownFields(
|
|
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
|
- return this;
|
|
|
+ return super.setUnknownFields(unknownFields);
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
public final Builder mergeUnknownFields(
|
|
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
|
- return this;
|
|
|
+ return super.mergeUnknownFields(unknownFields);
|
|
|
}
|
|
|
|
|
|
|
|
@@ -781,22 +859,23 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
}
|
|
|
|
|
|
// @@protoc_insertion_point(class_scope:com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse)
|
|
|
- private static final com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse DEFAULT_INSTANCE;
|
|
|
+ private static final SaveHisOpenApiPrescriptionResponse DEFAULT_INSTANCE;
|
|
|
static {
|
|
|
- DEFAULT_INSTANCE = new com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse();
|
|
|
+ DEFAULT_INSTANCE = new SaveHisOpenApiPrescriptionResponse();
|
|
|
}
|
|
|
|
|
|
- public static com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse getDefaultInstance() {
|
|
|
+ public static SaveHisOpenApiPrescriptionResponse getDefaultInstance() {
|
|
|
return DEFAULT_INSTANCE;
|
|
|
}
|
|
|
|
|
|
private static final com.google.protobuf.Parser<SaveHisOpenApiPrescriptionResponse>
|
|
|
PARSER = new com.google.protobuf.AbstractParser<SaveHisOpenApiPrescriptionResponse>() {
|
|
|
+ @Override
|
|
|
public SaveHisOpenApiPrescriptionResponse parsePartialFrom(
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
- return new SaveHisOpenApiPrescriptionResponse(input, extensionRegistry);
|
|
|
+ return new SaveHisOpenApiPrescriptionResponse(input, extensionRegistry);
|
|
|
}
|
|
|
};
|
|
|
|
|
@@ -804,12 +883,13 @@ public final class SaveHisOpenApiPrescriptionResponse extends
|
|
|
return PARSER;
|
|
|
}
|
|
|
|
|
|
- @java.lang.Override
|
|
|
+ @Override
|
|
|
public com.google.protobuf.Parser<SaveHisOpenApiPrescriptionResponse> getParserForType() {
|
|
|
return PARSER;
|
|
|
}
|
|
|
|
|
|
- public com.ywt.gapi.drug.SaveHisOpenApiPrescriptionResponse getDefaultInstanceForType() {
|
|
|
+ @Override
|
|
|
+ public SaveHisOpenApiPrescriptionResponse getDefaultInstanceForType() {
|
|
|
return DEFAULT_INSTANCE;
|
|
|
}
|
|
|
|