Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
net.wicp.tams.common.grpc.connector.Out Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Connector.proto
package net.wicp.tams.common.grpc.connector;
/**
* Protobuf type {@code connector.Out}
*/
public final class Out extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:connector.Out)
OutOrBuilder {
private static final long serialVersionUID = 0L;
// Use Out.newBuilder() to construct.
private Out(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Out() {
errorValue_ = 0;
errorCode_ = "";
errorDesc_ = "";
errMsg_ = "";
http_ = "";
output_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Out(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
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;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
net.wicp.tams.common.grpc.connector.RespInfo.Builder subBuilder = null;
if (respInfo_ != null) {
subBuilder = respInfo_.toBuilder();
}
respInfo_ = input.readMessage(net.wicp.tams.common.grpc.connector.RespInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(respInfo_);
respInfo_ = subBuilder.buildPartial();
}
break;
}
case 16: {
errorValue_ = input.readInt32();
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
errorCode_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
errorDesc_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
errMsg_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
http_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
output_ = s;
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 net.wicp.tams.common.grpc.connector.ConnectorProto.internal_static_connector_Out_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return net.wicp.tams.common.grpc.connector.ConnectorProto.internal_static_connector_Out_fieldAccessorTable
.ensureFieldAccessorsInitialized(
net.wicp.tams.common.grpc.connector.Out.class, net.wicp.tams.common.grpc.connector.Out.Builder.class);
}
public static final int RESPINFO_FIELD_NUMBER = 1;
private net.wicp.tams.common.grpc.connector.RespInfo respInfo_;
/**
* .connector.RespInfo respInfo = 1;
*/
public boolean hasRespInfo() {
return respInfo_ != null;
}
/**
* .connector.RespInfo respInfo = 1;
*/
public net.wicp.tams.common.grpc.connector.RespInfo getRespInfo() {
return respInfo_ == null ? net.wicp.tams.common.grpc.connector.RespInfo.getDefaultInstance() : respInfo_;
}
/**
* .connector.RespInfo respInfo = 1;
*/
public net.wicp.tams.common.grpc.connector.RespInfoOrBuilder getRespInfoOrBuilder() {
return getRespInfo();
}
public static final int ERRORVALUE_FIELD_NUMBER = 2;
private int errorValue_;
/**
* int32 errorValue = 2;
*/
public int getErrorValue() {
return errorValue_;
}
public static final int ERRORCODE_FIELD_NUMBER = 3;
private volatile java.lang.Object errorCode_;
/**
* string errorCode = 3;
*/
public java.lang.String getErrorCode() {
java.lang.Object ref = errorCode_;
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();
errorCode_ = s;
return s;
}
}
/**
* string errorCode = 3;
*/
public com.google.protobuf.ByteString
getErrorCodeBytes() {
java.lang.Object ref = errorCode_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorCode_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ERRORDESC_FIELD_NUMBER = 4;
private volatile java.lang.Object errorDesc_;
/**
* string errorDesc = 4;
*/
public java.lang.String getErrorDesc() {
java.lang.Object ref = errorDesc_;
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();
errorDesc_ = s;
return s;
}
}
/**
* string errorDesc = 4;
*/
public com.google.protobuf.ByteString
getErrorDescBytes() {
java.lang.Object ref = errorDesc_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorDesc_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ERRMSG_FIELD_NUMBER = 5;
private volatile java.lang.Object errMsg_;
/**
* string errMsg = 5;
*/
public java.lang.String getErrMsg() {
java.lang.Object ref = errMsg_;
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();
errMsg_ = s;
return s;
}
}
/**
* string errMsg = 5;
*/
public com.google.protobuf.ByteString
getErrMsgBytes() {
java.lang.Object ref = errMsg_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errMsg_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HTTP_FIELD_NUMBER = 6;
private volatile java.lang.Object http_;
/**
* string http = 6;
*/
public java.lang.String getHttp() {
java.lang.Object ref = http_;
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();
http_ = s;
return s;
}
}
/**
* string http = 6;
*/
public com.google.protobuf.ByteString
getHttpBytes() {
java.lang.Object ref = http_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
http_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int OUTPUT_FIELD_NUMBER = 7;
private volatile java.lang.Object output_;
/**
* string output = 7;
*/
public java.lang.String getOutput() {
java.lang.Object ref = output_;
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();
output_ = s;
return s;
}
}
/**
* string output = 7;
*/
public com.google.protobuf.ByteString
getOutputBytes() {
java.lang.Object ref = output_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
output_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (respInfo_ != null) {
output.writeMessage(1, getRespInfo());
}
if (errorValue_ != 0) {
output.writeInt32(2, errorValue_);
}
if (!getErrorCodeBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, errorCode_);
}
if (!getErrorDescBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, errorDesc_);
}
if (!getErrMsgBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, errMsg_);
}
if (!getHttpBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, http_);
}
if (!getOutputBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, output_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (respInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getRespInfo());
}
if (errorValue_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, errorValue_);
}
if (!getErrorCodeBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, errorCode_);
}
if (!getErrorDescBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, errorDesc_);
}
if (!getErrMsgBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, errMsg_);
}
if (!getHttpBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, http_);
}
if (!getOutputBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, output_);
}
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 net.wicp.tams.common.grpc.connector.Out)) {
return super.equals(obj);
}
net.wicp.tams.common.grpc.connector.Out other = (net.wicp.tams.common.grpc.connector.Out) obj;
boolean result = true;
result = result && (hasRespInfo() == other.hasRespInfo());
if (hasRespInfo()) {
result = result && getRespInfo()
.equals(other.getRespInfo());
}
result = result && (getErrorValue()
== other.getErrorValue());
result = result && getErrorCode()
.equals(other.getErrorCode());
result = result && getErrorDesc()
.equals(other.getErrorDesc());
result = result && getErrMsg()
.equals(other.getErrMsg());
result = result && getHttp()
.equals(other.getHttp());
result = result && getOutput()
.equals(other.getOutput());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasRespInfo()) {
hash = (37 * hash) + RESPINFO_FIELD_NUMBER;
hash = (53 * hash) + getRespInfo().hashCode();
}
hash = (37 * hash) + ERRORVALUE_FIELD_NUMBER;
hash = (53 * hash) + getErrorValue();
hash = (37 * hash) + ERRORCODE_FIELD_NUMBER;
hash = (53 * hash) + getErrorCode().hashCode();
hash = (37 * hash) + ERRORDESC_FIELD_NUMBER;
hash = (53 * hash) + getErrorDesc().hashCode();
hash = (37 * hash) + ERRMSG_FIELD_NUMBER;
hash = (53 * hash) + getErrMsg().hashCode();
hash = (37 * hash) + HTTP_FIELD_NUMBER;
hash = (53 * hash) + getHttp().hashCode();
hash = (37 * hash) + OUTPUT_FIELD_NUMBER;
hash = (53 * hash) + getOutput().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static net.wicp.tams.common.grpc.connector.Out parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static net.wicp.tams.common.grpc.connector.Out parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static net.wicp.tams.common.grpc.connector.Out parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static net.wicp.tams.common.grpc.connector.Out parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static net.wicp.tams.common.grpc.connector.Out parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static net.wicp.tams.common.grpc.connector.Out parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static net.wicp.tams.common.grpc.connector.Out parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static net.wicp.tams.common.grpc.connector.Out 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 net.wicp.tams.common.grpc.connector.Out parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static net.wicp.tams.common.grpc.connector.Out 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 net.wicp.tams.common.grpc.connector.Out parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static net.wicp.tams.common.grpc.connector.Out parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(net.wicp.tams.common.grpc.connector.Out prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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 connector.Out}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:connector.Out)
net.wicp.tams.common.grpc.connector.OutOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return net.wicp.tams.common.grpc.connector.ConnectorProto.internal_static_connector_Out_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return net.wicp.tams.common.grpc.connector.ConnectorProto.internal_static_connector_Out_fieldAccessorTable
.ensureFieldAccessorsInitialized(
net.wicp.tams.common.grpc.connector.Out.class, net.wicp.tams.common.grpc.connector.Out.Builder.class);
}
// Construct using net.wicp.tams.common.grpc.connector.Out.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
if (respInfoBuilder_ == null) {
respInfo_ = null;
} else {
respInfo_ = null;
respInfoBuilder_ = null;
}
errorValue_ = 0;
errorCode_ = "";
errorDesc_ = "";
errMsg_ = "";
http_ = "";
output_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return net.wicp.tams.common.grpc.connector.ConnectorProto.internal_static_connector_Out_descriptor;
}
public net.wicp.tams.common.grpc.connector.Out getDefaultInstanceForType() {
return net.wicp.tams.common.grpc.connector.Out.getDefaultInstance();
}
public net.wicp.tams.common.grpc.connector.Out build() {
net.wicp.tams.common.grpc.connector.Out result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public net.wicp.tams.common.grpc.connector.Out buildPartial() {
net.wicp.tams.common.grpc.connector.Out result = new net.wicp.tams.common.grpc.connector.Out(this);
if (respInfoBuilder_ == null) {
result.respInfo_ = respInfo_;
} else {
result.respInfo_ = respInfoBuilder_.build();
}
result.errorValue_ = errorValue_;
result.errorCode_ = errorCode_;
result.errorDesc_ = errorDesc_;
result.errMsg_ = errMsg_;
result.http_ = http_;
result.output_ = output_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof net.wicp.tams.common.grpc.connector.Out) {
return mergeFrom((net.wicp.tams.common.grpc.connector.Out)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(net.wicp.tams.common.grpc.connector.Out other) {
if (other == net.wicp.tams.common.grpc.connector.Out.getDefaultInstance()) return this;
if (other.hasRespInfo()) {
mergeRespInfo(other.getRespInfo());
}
if (other.getErrorValue() != 0) {
setErrorValue(other.getErrorValue());
}
if (!other.getErrorCode().isEmpty()) {
errorCode_ = other.errorCode_;
onChanged();
}
if (!other.getErrorDesc().isEmpty()) {
errorDesc_ = other.errorDesc_;
onChanged();
}
if (!other.getErrMsg().isEmpty()) {
errMsg_ = other.errMsg_;
onChanged();
}
if (!other.getHttp().isEmpty()) {
http_ = other.http_;
onChanged();
}
if (!other.getOutput().isEmpty()) {
output_ = other.output_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
net.wicp.tams.common.grpc.connector.Out parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (net.wicp.tams.common.grpc.connector.Out) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private net.wicp.tams.common.grpc.connector.RespInfo respInfo_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
net.wicp.tams.common.grpc.connector.RespInfo, net.wicp.tams.common.grpc.connector.RespInfo.Builder, net.wicp.tams.common.grpc.connector.RespInfoOrBuilder> respInfoBuilder_;
/**
* .connector.RespInfo respInfo = 1;
*/
public boolean hasRespInfo() {
return respInfoBuilder_ != null || respInfo_ != null;
}
/**
* .connector.RespInfo respInfo = 1;
*/
public net.wicp.tams.common.grpc.connector.RespInfo getRespInfo() {
if (respInfoBuilder_ == null) {
return respInfo_ == null ? net.wicp.tams.common.grpc.connector.RespInfo.getDefaultInstance() : respInfo_;
} else {
return respInfoBuilder_.getMessage();
}
}
/**
* .connector.RespInfo respInfo = 1;
*/
public Builder setRespInfo(net.wicp.tams.common.grpc.connector.RespInfo value) {
if (respInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
respInfo_ = value;
onChanged();
} else {
respInfoBuilder_.setMessage(value);
}
return this;
}
/**
* .connector.RespInfo respInfo = 1;
*/
public Builder setRespInfo(
net.wicp.tams.common.grpc.connector.RespInfo.Builder builderForValue) {
if (respInfoBuilder_ == null) {
respInfo_ = builderForValue.build();
onChanged();
} else {
respInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .connector.RespInfo respInfo = 1;
*/
public Builder mergeRespInfo(net.wicp.tams.common.grpc.connector.RespInfo value) {
if (respInfoBuilder_ == null) {
if (respInfo_ != null) {
respInfo_ =
net.wicp.tams.common.grpc.connector.RespInfo.newBuilder(respInfo_).mergeFrom(value).buildPartial();
} else {
respInfo_ = value;
}
onChanged();
} else {
respInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
* .connector.RespInfo respInfo = 1;
*/
public Builder clearRespInfo() {
if (respInfoBuilder_ == null) {
respInfo_ = null;
onChanged();
} else {
respInfo_ = null;
respInfoBuilder_ = null;
}
return this;
}
/**
* .connector.RespInfo respInfo = 1;
*/
public net.wicp.tams.common.grpc.connector.RespInfo.Builder getRespInfoBuilder() {
onChanged();
return getRespInfoFieldBuilder().getBuilder();
}
/**
* .connector.RespInfo respInfo = 1;
*/
public net.wicp.tams.common.grpc.connector.RespInfoOrBuilder getRespInfoOrBuilder() {
if (respInfoBuilder_ != null) {
return respInfoBuilder_.getMessageOrBuilder();
} else {
return respInfo_ == null ?
net.wicp.tams.common.grpc.connector.RespInfo.getDefaultInstance() : respInfo_;
}
}
/**
* .connector.RespInfo respInfo = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
net.wicp.tams.common.grpc.connector.RespInfo, net.wicp.tams.common.grpc.connector.RespInfo.Builder, net.wicp.tams.common.grpc.connector.RespInfoOrBuilder>
getRespInfoFieldBuilder() {
if (respInfoBuilder_ == null) {
respInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
net.wicp.tams.common.grpc.connector.RespInfo, net.wicp.tams.common.grpc.connector.RespInfo.Builder, net.wicp.tams.common.grpc.connector.RespInfoOrBuilder>(
getRespInfo(),
getParentForChildren(),
isClean());
respInfo_ = null;
}
return respInfoBuilder_;
}
private int errorValue_ ;
/**
* int32 errorValue = 2;
*/
public int getErrorValue() {
return errorValue_;
}
/**
* int32 errorValue = 2;
*/
public Builder setErrorValue(int value) {
errorValue_ = value;
onChanged();
return this;
}
/**
* int32 errorValue = 2;
*/
public Builder clearErrorValue() {
errorValue_ = 0;
onChanged();
return this;
}
private java.lang.Object errorCode_ = "";
/**
* string errorCode = 3;
*/
public java.lang.String getErrorCode() {
java.lang.Object ref = errorCode_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
errorCode_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string errorCode = 3;
*/
public com.google.protobuf.ByteString
getErrorCodeBytes() {
java.lang.Object ref = errorCode_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorCode_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string errorCode = 3;
*/
public Builder setErrorCode(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
errorCode_ = value;
onChanged();
return this;
}
/**
* string errorCode = 3;
*/
public Builder clearErrorCode() {
errorCode_ = getDefaultInstance().getErrorCode();
onChanged();
return this;
}
/**
* string errorCode = 3;
*/
public Builder setErrorCodeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
errorCode_ = value;
onChanged();
return this;
}
private java.lang.Object errorDesc_ = "";
/**
* string errorDesc = 4;
*/
public java.lang.String getErrorDesc() {
java.lang.Object ref = errorDesc_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
errorDesc_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string errorDesc = 4;
*/
public com.google.protobuf.ByteString
getErrorDescBytes() {
java.lang.Object ref = errorDesc_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorDesc_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string errorDesc = 4;
*/
public Builder setErrorDesc(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
errorDesc_ = value;
onChanged();
return this;
}
/**
* string errorDesc = 4;
*/
public Builder clearErrorDesc() {
errorDesc_ = getDefaultInstance().getErrorDesc();
onChanged();
return this;
}
/**
* string errorDesc = 4;
*/
public Builder setErrorDescBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
errorDesc_ = value;
onChanged();
return this;
}
private java.lang.Object errMsg_ = "";
/**
* string errMsg = 5;
*/
public java.lang.String getErrMsg() {
java.lang.Object ref = errMsg_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
errMsg_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string errMsg = 5;
*/
public com.google.protobuf.ByteString
getErrMsgBytes() {
java.lang.Object ref = errMsg_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errMsg_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string errMsg = 5;
*/
public Builder setErrMsg(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
errMsg_ = value;
onChanged();
return this;
}
/**
* string errMsg = 5;
*/
public Builder clearErrMsg() {
errMsg_ = getDefaultInstance().getErrMsg();
onChanged();
return this;
}
/**
* string errMsg = 5;
*/
public Builder setErrMsgBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
errMsg_ = value;
onChanged();
return this;
}
private java.lang.Object http_ = "";
/**
* string http = 6;
*/
public java.lang.String getHttp() {
java.lang.Object ref = http_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
http_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string http = 6;
*/
public com.google.protobuf.ByteString
getHttpBytes() {
java.lang.Object ref = http_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
http_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string http = 6;
*/
public Builder setHttp(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
http_ = value;
onChanged();
return this;
}
/**
* string http = 6;
*/
public Builder clearHttp() {
http_ = getDefaultInstance().getHttp();
onChanged();
return this;
}
/**
* string http = 6;
*/
public Builder setHttpBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
http_ = value;
onChanged();
return this;
}
private java.lang.Object output_ = "";
/**
* string output = 7;
*/
public java.lang.String getOutput() {
java.lang.Object ref = output_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
output_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string output = 7;
*/
public com.google.protobuf.ByteString
getOutputBytes() {
java.lang.Object ref = output_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
output_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string output = 7;
*/
public Builder setOutput(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
output_ = value;
onChanged();
return this;
}
/**
* string output = 7;
*/
public Builder clearOutput() {
output_ = getDefaultInstance().getOutput();
onChanged();
return this;
}
/**
* string output = 7;
*/
public Builder setOutputBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
output_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:connector.Out)
}
// @@protoc_insertion_point(class_scope:connector.Out)
private static final net.wicp.tams.common.grpc.connector.Out DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new net.wicp.tams.common.grpc.connector.Out();
}
public static net.wicp.tams.common.grpc.connector.Out getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Out parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Out(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public net.wicp.tams.common.grpc.connector.Out getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}