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.
apache.rocketmq.v1.ResponseCommon Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: apache/rocketmq/v1/service.proto
package apache.rocketmq.v1;
/**
* Protobuf type {@code apache.rocketmq.v1.ResponseCommon}
*/
public final class ResponseCommon extends
com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:apache.rocketmq.v1.ResponseCommon)
ResponseCommonOrBuilder {
private static final long serialVersionUID = 0L;
// Use ResponseCommon.newBuilder() to construct.
private ResponseCommon(com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ResponseCommon() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ResponseCommon();
}
@java.lang.Override
public final com.aliyun.openservices.ons.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ResponseCommon(
com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedInputStream input,
com.aliyun.openservices.ons.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.aliyun.openservices.ons.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.aliyun.openservices.ons.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.aliyun.openservices.ons.shaded.com.google.rpc.Status.Builder subBuilder = null;
if (status_ != null) {
subBuilder = status_.toBuilder();
}
status_ = input.readMessage(com.aliyun.openservices.ons.shaded.com.google.rpc.Status.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(status_);
status_ = subBuilder.buildPartial();
}
break;
}
case 18: {
com.aliyun.openservices.ons.shaded.com.google.rpc.RequestInfo.Builder subBuilder = null;
if (requestInfo_ != null) {
subBuilder = requestInfo_.toBuilder();
}
requestInfo_ = input.readMessage(com.aliyun.openservices.ons.shaded.com.google.rpc.RequestInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(requestInfo_);
requestInfo_ = subBuilder.buildPartial();
}
break;
}
case 26: {
com.aliyun.openservices.ons.shaded.com.google.rpc.Help.Builder subBuilder = null;
if (help_ != null) {
subBuilder = help_.toBuilder();
}
help_ = input.readMessage(com.aliyun.openservices.ons.shaded.com.google.rpc.Help.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(help_);
help_ = subBuilder.buildPartial();
}
break;
}
case 34: {
com.aliyun.openservices.ons.shaded.com.google.rpc.RetryInfo.Builder subBuilder = null;
if (retryInfo_ != null) {
subBuilder = retryInfo_.toBuilder();
}
retryInfo_ = input.readMessage(com.aliyun.openservices.ons.shaded.com.google.rpc.RetryInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(retryInfo_);
retryInfo_ = subBuilder.buildPartial();
}
break;
}
case 42: {
com.aliyun.openservices.ons.shaded.com.google.rpc.DebugInfo.Builder subBuilder = null;
if (debugInfo_ != null) {
subBuilder = debugInfo_.toBuilder();
}
debugInfo_ = input.readMessage(com.aliyun.openservices.ons.shaded.com.google.rpc.DebugInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(debugInfo_);
debugInfo_ = subBuilder.buildPartial();
}
break;
}
case 50: {
com.aliyun.openservices.ons.shaded.com.google.rpc.ErrorInfo.Builder subBuilder = null;
if (errorInfo_ != null) {
subBuilder = errorInfo_.toBuilder();
}
errorInfo_ = input.readMessage(com.aliyun.openservices.ons.shaded.com.google.rpc.ErrorInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(errorInfo_);
errorInfo_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.aliyun.openservices.ons.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return apache.rocketmq.v1.MQService.internal_static_apache_rocketmq_v1_ResponseCommon_descriptor;
}
@java.lang.Override
protected com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return apache.rocketmq.v1.MQService.internal_static_apache_rocketmq_v1_ResponseCommon_fieldAccessorTable
.ensureFieldAccessorsInitialized(
apache.rocketmq.v1.ResponseCommon.class, apache.rocketmq.v1.ResponseCommon.Builder.class);
}
public static final int STATUS_FIELD_NUMBER = 1;
private com.aliyun.openservices.ons.shaded.com.google.rpc.Status status_;
/**
* .google.rpc.Status status = 1;
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return status_ != null;
}
/**
* .google.rpc.Status status = 1;
* @return The status.
*/
@java.lang.Override
public com.aliyun.openservices.ons.shaded.com.google.rpc.Status getStatus() {
return status_ == null ? com.aliyun.openservices.ons.shaded.com.google.rpc.Status.getDefaultInstance() : status_;
}
/**
* .google.rpc.Status status = 1;
*/
@java.lang.Override
public com.aliyun.openservices.ons.shaded.com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
return getStatus();
}
public static final int REQUEST_INFO_FIELD_NUMBER = 2;
private com.aliyun.openservices.ons.shaded.com.google.rpc.RequestInfo requestInfo_;
/**
* .google.rpc.RequestInfo request_info = 2;
* @return Whether the requestInfo field is set.
*/
@java.lang.Override
public boolean hasRequestInfo() {
return requestInfo_ != null;
}
/**
* .google.rpc.RequestInfo request_info = 2;
* @return The requestInfo.
*/
@java.lang.Override
public com.aliyun.openservices.ons.shaded.com.google.rpc.RequestInfo getRequestInfo() {
return requestInfo_ == null ? com.aliyun.openservices.ons.shaded.com.google.rpc.RequestInfo.getDefaultInstance() : requestInfo_;
}
/**
* .google.rpc.RequestInfo request_info = 2;
*/
@java.lang.Override
public com.aliyun.openservices.ons.shaded.com.google.rpc.RequestInfoOrBuilder getRequestInfoOrBuilder() {
return getRequestInfo();
}
public static final int HELP_FIELD_NUMBER = 3;
private com.aliyun.openservices.ons.shaded.com.google.rpc.Help help_;
/**
* .google.rpc.Help help = 3;
* @return Whether the help field is set.
*/
@java.lang.Override
public boolean hasHelp() {
return help_ != null;
}
/**
* .google.rpc.Help help = 3;
* @return The help.
*/
@java.lang.Override
public com.aliyun.openservices.ons.shaded.com.google.rpc.Help getHelp() {
return help_ == null ? com.aliyun.openservices.ons.shaded.com.google.rpc.Help.getDefaultInstance() : help_;
}
/**
* .google.rpc.Help help = 3;
*/
@java.lang.Override
public com.aliyun.openservices.ons.shaded.com.google.rpc.HelpOrBuilder getHelpOrBuilder() {
return getHelp();
}
public static final int RETRY_INFO_FIELD_NUMBER = 4;
private com.aliyun.openservices.ons.shaded.com.google.rpc.RetryInfo retryInfo_;
/**
* .google.rpc.RetryInfo retry_info = 4;
* @return Whether the retryInfo field is set.
*/
@java.lang.Override
public boolean hasRetryInfo() {
return retryInfo_ != null;
}
/**
* .google.rpc.RetryInfo retry_info = 4;
* @return The retryInfo.
*/
@java.lang.Override
public com.aliyun.openservices.ons.shaded.com.google.rpc.RetryInfo getRetryInfo() {
return retryInfo_ == null ? com.aliyun.openservices.ons.shaded.com.google.rpc.RetryInfo.getDefaultInstance() : retryInfo_;
}
/**
* .google.rpc.RetryInfo retry_info = 4;
*/
@java.lang.Override
public com.aliyun.openservices.ons.shaded.com.google.rpc.RetryInfoOrBuilder getRetryInfoOrBuilder() {
return getRetryInfo();
}
public static final int DEBUG_INFO_FIELD_NUMBER = 5;
private com.aliyun.openservices.ons.shaded.com.google.rpc.DebugInfo debugInfo_;
/**
* .google.rpc.DebugInfo debug_info = 5;
* @return Whether the debugInfo field is set.
*/
@java.lang.Override
public boolean hasDebugInfo() {
return debugInfo_ != null;
}
/**
* .google.rpc.DebugInfo debug_info = 5;
* @return The debugInfo.
*/
@java.lang.Override
public com.aliyun.openservices.ons.shaded.com.google.rpc.DebugInfo getDebugInfo() {
return debugInfo_ == null ? com.aliyun.openservices.ons.shaded.com.google.rpc.DebugInfo.getDefaultInstance() : debugInfo_;
}
/**
* .google.rpc.DebugInfo debug_info = 5;
*/
@java.lang.Override
public com.aliyun.openservices.ons.shaded.com.google.rpc.DebugInfoOrBuilder getDebugInfoOrBuilder() {
return getDebugInfo();
}
public static final int ERROR_INFO_FIELD_NUMBER = 6;
private com.aliyun.openservices.ons.shaded.com.google.rpc.ErrorInfo errorInfo_;
/**
* .google.rpc.ErrorInfo error_info = 6;
* @return Whether the errorInfo field is set.
*/
@java.lang.Override
public boolean hasErrorInfo() {
return errorInfo_ != null;
}
/**
* .google.rpc.ErrorInfo error_info = 6;
* @return The errorInfo.
*/
@java.lang.Override
public com.aliyun.openservices.ons.shaded.com.google.rpc.ErrorInfo getErrorInfo() {
return errorInfo_ == null ? com.aliyun.openservices.ons.shaded.com.google.rpc.ErrorInfo.getDefaultInstance() : errorInfo_;
}
/**
* .google.rpc.ErrorInfo error_info = 6;
*/
@java.lang.Override
public com.aliyun.openservices.ons.shaded.com.google.rpc.ErrorInfoOrBuilder getErrorInfoOrBuilder() {
return getErrorInfo();
}
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.aliyun.openservices.ons.shaded.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (status_ != null) {
output.writeMessage(1, getStatus());
}
if (requestInfo_ != null) {
output.writeMessage(2, getRequestInfo());
}
if (help_ != null) {
output.writeMessage(3, getHelp());
}
if (retryInfo_ != null) {
output.writeMessage(4, getRetryInfo());
}
if (debugInfo_ != null) {
output.writeMessage(5, getDebugInfo());
}
if (errorInfo_ != null) {
output.writeMessage(6, getErrorInfo());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (status_ != null) {
size += com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
if (requestInfo_ != null) {
size += com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getRequestInfo());
}
if (help_ != null) {
size += com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getHelp());
}
if (retryInfo_ != null) {
size += com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getRetryInfo());
}
if (debugInfo_ != null) {
size += com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getDebugInfo());
}
if (errorInfo_ != null) {
size += com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getErrorInfo());
}
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 apache.rocketmq.v1.ResponseCommon)) {
return super.equals(obj);
}
apache.rocketmq.v1.ResponseCommon other = (apache.rocketmq.v1.ResponseCommon) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (hasRequestInfo() != other.hasRequestInfo()) return false;
if (hasRequestInfo()) {
if (!getRequestInfo()
.equals(other.getRequestInfo())) return false;
}
if (hasHelp() != other.hasHelp()) return false;
if (hasHelp()) {
if (!getHelp()
.equals(other.getHelp())) return false;
}
if (hasRetryInfo() != other.hasRetryInfo()) return false;
if (hasRetryInfo()) {
if (!getRetryInfo()
.equals(other.getRetryInfo())) return false;
}
if (hasDebugInfo() != other.hasDebugInfo()) return false;
if (hasDebugInfo()) {
if (!getDebugInfo()
.equals(other.getDebugInfo())) return false;
}
if (hasErrorInfo() != other.hasErrorInfo()) return false;
if (hasErrorInfo()) {
if (!getErrorInfo()
.equals(other.getErrorInfo())) 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();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (hasRequestInfo()) {
hash = (37 * hash) + REQUEST_INFO_FIELD_NUMBER;
hash = (53 * hash) + getRequestInfo().hashCode();
}
if (hasHelp()) {
hash = (37 * hash) + HELP_FIELD_NUMBER;
hash = (53 * hash) + getHelp().hashCode();
}
if (hasRetryInfo()) {
hash = (37 * hash) + RETRY_INFO_FIELD_NUMBER;
hash = (53 * hash) + getRetryInfo().hashCode();
}
if (hasDebugInfo()) {
hash = (37 * hash) + DEBUG_INFO_FIELD_NUMBER;
hash = (53 * hash) + getDebugInfo().hashCode();
}
if (hasErrorInfo()) {
hash = (37 * hash) + ERROR_INFO_FIELD_NUMBER;
hash = (53 * hash) + getErrorInfo().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static apache.rocketmq.v1.ResponseCommon parseFrom(
java.nio.ByteBuffer data)
throws com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static apache.rocketmq.v1.ResponseCommon parseFrom(
java.nio.ByteBuffer data,
com.aliyun.openservices.ons.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static apache.rocketmq.v1.ResponseCommon parseFrom(
com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString data)
throws com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static apache.rocketmq.v1.ResponseCommon parseFrom(
com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString data,
com.aliyun.openservices.ons.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static apache.rocketmq.v1.ResponseCommon parseFrom(byte[] data)
throws com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static apache.rocketmq.v1.ResponseCommon parseFrom(
byte[] data,
com.aliyun.openservices.ons.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static apache.rocketmq.v1.ResponseCommon parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static apache.rocketmq.v1.ResponseCommon parseFrom(
java.io.InputStream input,
com.aliyun.openservices.ons.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static apache.rocketmq.v1.ResponseCommon parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static apache.rocketmq.v1.ResponseCommon parseDelimitedFrom(
java.io.InputStream input,
com.aliyun.openservices.ons.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static apache.rocketmq.v1.ResponseCommon parseFrom(
com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static apache.rocketmq.v1.ResponseCommon parseFrom(
com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedInputStream input,
com.aliyun.openservices.ons.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.aliyun.openservices.ons.shaded.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(apache.rocketmq.v1.ResponseCommon 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.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code apache.rocketmq.v1.ResponseCommon}
*/
public static final class Builder extends
com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:apache.rocketmq.v1.ResponseCommon)
apache.rocketmq.v1.ResponseCommonOrBuilder {
public static final com.aliyun.openservices.ons.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return apache.rocketmq.v1.MQService.internal_static_apache_rocketmq_v1_ResponseCommon_descriptor;
}
@java.lang.Override
protected com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return apache.rocketmq.v1.MQService.internal_static_apache_rocketmq_v1_ResponseCommon_fieldAccessorTable
.ensureFieldAccessorsInitialized(
apache.rocketmq.v1.ResponseCommon.class, apache.rocketmq.v1.ResponseCommon.Builder.class);
}
// Construct using apache.rocketmq.v1.ResponseCommon.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (statusBuilder_ == null) {
status_ = null;
} else {
status_ = null;
statusBuilder_ = null;
}
if (requestInfoBuilder_ == null) {
requestInfo_ = null;
} else {
requestInfo_ = null;
requestInfoBuilder_ = null;
}
if (helpBuilder_ == null) {
help_ = null;
} else {
help_ = null;
helpBuilder_ = null;
}
if (retryInfoBuilder_ == null) {
retryInfo_ = null;
} else {
retryInfo_ = null;
retryInfoBuilder_ = null;
}
if (debugInfoBuilder_ == null) {
debugInfo_ = null;
} else {
debugInfo_ = null;
debugInfoBuilder_ = null;
}
if (errorInfoBuilder_ == null) {
errorInfo_ = null;
} else {
errorInfo_ = null;
errorInfoBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.aliyun.openservices.ons.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return apache.rocketmq.v1.MQService.internal_static_apache_rocketmq_v1_ResponseCommon_descriptor;
}
@java.lang.Override
public apache.rocketmq.v1.ResponseCommon getDefaultInstanceForType() {
return apache.rocketmq.v1.ResponseCommon.getDefaultInstance();
}
@java.lang.Override
public apache.rocketmq.v1.ResponseCommon build() {
apache.rocketmq.v1.ResponseCommon result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public apache.rocketmq.v1.ResponseCommon buildPartial() {
apache.rocketmq.v1.ResponseCommon result = new apache.rocketmq.v1.ResponseCommon(this);
if (statusBuilder_ == null) {
result.status_ = status_;
} else {
result.status_ = statusBuilder_.build();
}
if (requestInfoBuilder_ == null) {
result.requestInfo_ = requestInfo_;
} else {
result.requestInfo_ = requestInfoBuilder_.build();
}
if (helpBuilder_ == null) {
result.help_ = help_;
} else {
result.help_ = helpBuilder_.build();
}
if (retryInfoBuilder_ == null) {
result.retryInfo_ = retryInfo_;
} else {
result.retryInfo_ = retryInfoBuilder_.build();
}
if (debugInfoBuilder_ == null) {
result.debugInfo_ = debugInfo_;
} else {
result.debugInfo_ = debugInfoBuilder_.build();
}
if (errorInfoBuilder_ == null) {
result.errorInfo_ = errorInfo_;
} else {
result.errorInfo_ = errorInfoBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.aliyun.openservices.ons.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.aliyun.openservices.ons.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.aliyun.openservices.ons.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.aliyun.openservices.ons.shaded.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.aliyun.openservices.ons.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.aliyun.openservices.ons.shaded.com.google.protobuf.Message other) {
if (other instanceof apache.rocketmq.v1.ResponseCommon) {
return mergeFrom((apache.rocketmq.v1.ResponseCommon)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(apache.rocketmq.v1.ResponseCommon other) {
if (other == apache.rocketmq.v1.ResponseCommon.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (other.hasRequestInfo()) {
mergeRequestInfo(other.getRequestInfo());
}
if (other.hasHelp()) {
mergeHelp(other.getHelp());
}
if (other.hasRetryInfo()) {
mergeRetryInfo(other.getRetryInfo());
}
if (other.hasDebugInfo()) {
mergeDebugInfo(other.getDebugInfo());
}
if (other.hasErrorInfo()) {
mergeErrorInfo(other.getErrorInfo());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedInputStream input,
com.aliyun.openservices.ons.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
apache.rocketmq.v1.ResponseCommon parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (apache.rocketmq.v1.ResponseCommon) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.aliyun.openservices.ons.shaded.com.google.rpc.Status status_;
private com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3<
com.aliyun.openservices.ons.shaded.com.google.rpc.Status, com.aliyun.openservices.ons.shaded.com.google.rpc.Status.Builder, com.aliyun.openservices.ons.shaded.com.google.rpc.StatusOrBuilder> statusBuilder_;
/**
* .google.rpc.Status status = 1;
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return statusBuilder_ != null || status_ != null;
}
/**
* .google.rpc.Status status = 1;
* @return The status.
*/
public com.aliyun.openservices.ons.shaded.com.google.rpc.Status getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? com.aliyun.openservices.ons.shaded.com.google.rpc.Status.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* .google.rpc.Status status = 1;
*/
public Builder setStatus(com.aliyun.openservices.ons.shaded.com.google.rpc.Status value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
onChanged();
} else {
statusBuilder_.setMessage(value);
}
return this;
}
/**
* .google.rpc.Status status = 1;
*/
public Builder setStatus(
com.aliyun.openservices.ons.shaded.com.google.rpc.Status.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
onChanged();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.rpc.Status status = 1;
*/
public Builder mergeStatus(com.aliyun.openservices.ons.shaded.com.google.rpc.Status value) {
if (statusBuilder_ == null) {
if (status_ != null) {
status_ =
com.aliyun.openservices.ons.shaded.com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial();
} else {
status_ = value;
}
onChanged();
} else {
statusBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.rpc.Status status = 1;
*/
public Builder clearStatus() {
if (statusBuilder_ == null) {
status_ = null;
onChanged();
} else {
status_ = null;
statusBuilder_ = null;
}
return this;
}
/**
* .google.rpc.Status status = 1;
*/
public com.aliyun.openservices.ons.shaded.com.google.rpc.Status.Builder getStatusBuilder() {
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* .google.rpc.Status status = 1;
*/
public com.aliyun.openservices.ons.shaded.com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
com.aliyun.openservices.ons.shaded.com.google.rpc.Status.getDefaultInstance() : status_;
}
}
/**
* .google.rpc.Status status = 1;
*/
private com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3<
com.aliyun.openservices.ons.shaded.com.google.rpc.Status, com.aliyun.openservices.ons.shaded.com.google.rpc.Status.Builder, com.aliyun.openservices.ons.shaded.com.google.rpc.StatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3<
com.aliyun.openservices.ons.shaded.com.google.rpc.Status, com.aliyun.openservices.ons.shaded.com.google.rpc.Status.Builder, com.aliyun.openservices.ons.shaded.com.google.rpc.StatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private com.aliyun.openservices.ons.shaded.com.google.rpc.RequestInfo requestInfo_;
private com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3<
com.aliyun.openservices.ons.shaded.com.google.rpc.RequestInfo, com.aliyun.openservices.ons.shaded.com.google.rpc.RequestInfo.Builder, com.aliyun.openservices.ons.shaded.com.google.rpc.RequestInfoOrBuilder> requestInfoBuilder_;
/**
* .google.rpc.RequestInfo request_info = 2;
* @return Whether the requestInfo field is set.
*/
public boolean hasRequestInfo() {
return requestInfoBuilder_ != null || requestInfo_ != null;
}
/**
* .google.rpc.RequestInfo request_info = 2;
* @return The requestInfo.
*/
public com.aliyun.openservices.ons.shaded.com.google.rpc.RequestInfo getRequestInfo() {
if (requestInfoBuilder_ == null) {
return requestInfo_ == null ? com.aliyun.openservices.ons.shaded.com.google.rpc.RequestInfo.getDefaultInstance() : requestInfo_;
} else {
return requestInfoBuilder_.getMessage();
}
}
/**
* .google.rpc.RequestInfo request_info = 2;
*/
public Builder setRequestInfo(com.aliyun.openservices.ons.shaded.com.google.rpc.RequestInfo value) {
if (requestInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
requestInfo_ = value;
onChanged();
} else {
requestInfoBuilder_.setMessage(value);
}
return this;
}
/**
* .google.rpc.RequestInfo request_info = 2;
*/
public Builder setRequestInfo(
com.aliyun.openservices.ons.shaded.com.google.rpc.RequestInfo.Builder builderForValue) {
if (requestInfoBuilder_ == null) {
requestInfo_ = builderForValue.build();
onChanged();
} else {
requestInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.rpc.RequestInfo request_info = 2;
*/
public Builder mergeRequestInfo(com.aliyun.openservices.ons.shaded.com.google.rpc.RequestInfo value) {
if (requestInfoBuilder_ == null) {
if (requestInfo_ != null) {
requestInfo_ =
com.aliyun.openservices.ons.shaded.com.google.rpc.RequestInfo.newBuilder(requestInfo_).mergeFrom(value).buildPartial();
} else {
requestInfo_ = value;
}
onChanged();
} else {
requestInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.rpc.RequestInfo request_info = 2;
*/
public Builder clearRequestInfo() {
if (requestInfoBuilder_ == null) {
requestInfo_ = null;
onChanged();
} else {
requestInfo_ = null;
requestInfoBuilder_ = null;
}
return this;
}
/**
* .google.rpc.RequestInfo request_info = 2;
*/
public com.aliyun.openservices.ons.shaded.com.google.rpc.RequestInfo.Builder getRequestInfoBuilder() {
onChanged();
return getRequestInfoFieldBuilder().getBuilder();
}
/**
* .google.rpc.RequestInfo request_info = 2;
*/
public com.aliyun.openservices.ons.shaded.com.google.rpc.RequestInfoOrBuilder getRequestInfoOrBuilder() {
if (requestInfoBuilder_ != null) {
return requestInfoBuilder_.getMessageOrBuilder();
} else {
return requestInfo_ == null ?
com.aliyun.openservices.ons.shaded.com.google.rpc.RequestInfo.getDefaultInstance() : requestInfo_;
}
}
/**
* .google.rpc.RequestInfo request_info = 2;
*/
private com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3<
com.aliyun.openservices.ons.shaded.com.google.rpc.RequestInfo, com.aliyun.openservices.ons.shaded.com.google.rpc.RequestInfo.Builder, com.aliyun.openservices.ons.shaded.com.google.rpc.RequestInfoOrBuilder>
getRequestInfoFieldBuilder() {
if (requestInfoBuilder_ == null) {
requestInfoBuilder_ = new com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3<
com.aliyun.openservices.ons.shaded.com.google.rpc.RequestInfo, com.aliyun.openservices.ons.shaded.com.google.rpc.RequestInfo.Builder, com.aliyun.openservices.ons.shaded.com.google.rpc.RequestInfoOrBuilder>(
getRequestInfo(),
getParentForChildren(),
isClean());
requestInfo_ = null;
}
return requestInfoBuilder_;
}
private com.aliyun.openservices.ons.shaded.com.google.rpc.Help help_;
private com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3<
com.aliyun.openservices.ons.shaded.com.google.rpc.Help, com.aliyun.openservices.ons.shaded.com.google.rpc.Help.Builder, com.aliyun.openservices.ons.shaded.com.google.rpc.HelpOrBuilder> helpBuilder_;
/**
* .google.rpc.Help help = 3;
* @return Whether the help field is set.
*/
public boolean hasHelp() {
return helpBuilder_ != null || help_ != null;
}
/**
* .google.rpc.Help help = 3;
* @return The help.
*/
public com.aliyun.openservices.ons.shaded.com.google.rpc.Help getHelp() {
if (helpBuilder_ == null) {
return help_ == null ? com.aliyun.openservices.ons.shaded.com.google.rpc.Help.getDefaultInstance() : help_;
} else {
return helpBuilder_.getMessage();
}
}
/**
* .google.rpc.Help help = 3;
*/
public Builder setHelp(com.aliyun.openservices.ons.shaded.com.google.rpc.Help value) {
if (helpBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
help_ = value;
onChanged();
} else {
helpBuilder_.setMessage(value);
}
return this;
}
/**
* .google.rpc.Help help = 3;
*/
public Builder setHelp(
com.aliyun.openservices.ons.shaded.com.google.rpc.Help.Builder builderForValue) {
if (helpBuilder_ == null) {
help_ = builderForValue.build();
onChanged();
} else {
helpBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.rpc.Help help = 3;
*/
public Builder mergeHelp(com.aliyun.openservices.ons.shaded.com.google.rpc.Help value) {
if (helpBuilder_ == null) {
if (help_ != null) {
help_ =
com.aliyun.openservices.ons.shaded.com.google.rpc.Help.newBuilder(help_).mergeFrom(value).buildPartial();
} else {
help_ = value;
}
onChanged();
} else {
helpBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.rpc.Help help = 3;
*/
public Builder clearHelp() {
if (helpBuilder_ == null) {
help_ = null;
onChanged();
} else {
help_ = null;
helpBuilder_ = null;
}
return this;
}
/**
* .google.rpc.Help help = 3;
*/
public com.aliyun.openservices.ons.shaded.com.google.rpc.Help.Builder getHelpBuilder() {
onChanged();
return getHelpFieldBuilder().getBuilder();
}
/**
* .google.rpc.Help help = 3;
*/
public com.aliyun.openservices.ons.shaded.com.google.rpc.HelpOrBuilder getHelpOrBuilder() {
if (helpBuilder_ != null) {
return helpBuilder_.getMessageOrBuilder();
} else {
return help_ == null ?
com.aliyun.openservices.ons.shaded.com.google.rpc.Help.getDefaultInstance() : help_;
}
}
/**
* .google.rpc.Help help = 3;
*/
private com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3<
com.aliyun.openservices.ons.shaded.com.google.rpc.Help, com.aliyun.openservices.ons.shaded.com.google.rpc.Help.Builder, com.aliyun.openservices.ons.shaded.com.google.rpc.HelpOrBuilder>
getHelpFieldBuilder() {
if (helpBuilder_ == null) {
helpBuilder_ = new com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3<
com.aliyun.openservices.ons.shaded.com.google.rpc.Help, com.aliyun.openservices.ons.shaded.com.google.rpc.Help.Builder, com.aliyun.openservices.ons.shaded.com.google.rpc.HelpOrBuilder>(
getHelp(),
getParentForChildren(),
isClean());
help_ = null;
}
return helpBuilder_;
}
private com.aliyun.openservices.ons.shaded.com.google.rpc.RetryInfo retryInfo_;
private com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3<
com.aliyun.openservices.ons.shaded.com.google.rpc.RetryInfo, com.aliyun.openservices.ons.shaded.com.google.rpc.RetryInfo.Builder, com.aliyun.openservices.ons.shaded.com.google.rpc.RetryInfoOrBuilder> retryInfoBuilder_;
/**
* .google.rpc.RetryInfo retry_info = 4;
* @return Whether the retryInfo field is set.
*/
public boolean hasRetryInfo() {
return retryInfoBuilder_ != null || retryInfo_ != null;
}
/**
* .google.rpc.RetryInfo retry_info = 4;
* @return The retryInfo.
*/
public com.aliyun.openservices.ons.shaded.com.google.rpc.RetryInfo getRetryInfo() {
if (retryInfoBuilder_ == null) {
return retryInfo_ == null ? com.aliyun.openservices.ons.shaded.com.google.rpc.RetryInfo.getDefaultInstance() : retryInfo_;
} else {
return retryInfoBuilder_.getMessage();
}
}
/**
* .google.rpc.RetryInfo retry_info = 4;
*/
public Builder setRetryInfo(com.aliyun.openservices.ons.shaded.com.google.rpc.RetryInfo value) {
if (retryInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
retryInfo_ = value;
onChanged();
} else {
retryInfoBuilder_.setMessage(value);
}
return this;
}
/**
* .google.rpc.RetryInfo retry_info = 4;
*/
public Builder setRetryInfo(
com.aliyun.openservices.ons.shaded.com.google.rpc.RetryInfo.Builder builderForValue) {
if (retryInfoBuilder_ == null) {
retryInfo_ = builderForValue.build();
onChanged();
} else {
retryInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.rpc.RetryInfo retry_info = 4;
*/
public Builder mergeRetryInfo(com.aliyun.openservices.ons.shaded.com.google.rpc.RetryInfo value) {
if (retryInfoBuilder_ == null) {
if (retryInfo_ != null) {
retryInfo_ =
com.aliyun.openservices.ons.shaded.com.google.rpc.RetryInfo.newBuilder(retryInfo_).mergeFrom(value).buildPartial();
} else {
retryInfo_ = value;
}
onChanged();
} else {
retryInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.rpc.RetryInfo retry_info = 4;
*/
public Builder clearRetryInfo() {
if (retryInfoBuilder_ == null) {
retryInfo_ = null;
onChanged();
} else {
retryInfo_ = null;
retryInfoBuilder_ = null;
}
return this;
}
/**
* .google.rpc.RetryInfo retry_info = 4;
*/
public com.aliyun.openservices.ons.shaded.com.google.rpc.RetryInfo.Builder getRetryInfoBuilder() {
onChanged();
return getRetryInfoFieldBuilder().getBuilder();
}
/**
* .google.rpc.RetryInfo retry_info = 4;
*/
public com.aliyun.openservices.ons.shaded.com.google.rpc.RetryInfoOrBuilder getRetryInfoOrBuilder() {
if (retryInfoBuilder_ != null) {
return retryInfoBuilder_.getMessageOrBuilder();
} else {
return retryInfo_ == null ?
com.aliyun.openservices.ons.shaded.com.google.rpc.RetryInfo.getDefaultInstance() : retryInfo_;
}
}
/**
* .google.rpc.RetryInfo retry_info = 4;
*/
private com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3<
com.aliyun.openservices.ons.shaded.com.google.rpc.RetryInfo, com.aliyun.openservices.ons.shaded.com.google.rpc.RetryInfo.Builder, com.aliyun.openservices.ons.shaded.com.google.rpc.RetryInfoOrBuilder>
getRetryInfoFieldBuilder() {
if (retryInfoBuilder_ == null) {
retryInfoBuilder_ = new com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3<
com.aliyun.openservices.ons.shaded.com.google.rpc.RetryInfo, com.aliyun.openservices.ons.shaded.com.google.rpc.RetryInfo.Builder, com.aliyun.openservices.ons.shaded.com.google.rpc.RetryInfoOrBuilder>(
getRetryInfo(),
getParentForChildren(),
isClean());
retryInfo_ = null;
}
return retryInfoBuilder_;
}
private com.aliyun.openservices.ons.shaded.com.google.rpc.DebugInfo debugInfo_;
private com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3<
com.aliyun.openservices.ons.shaded.com.google.rpc.DebugInfo, com.aliyun.openservices.ons.shaded.com.google.rpc.DebugInfo.Builder, com.aliyun.openservices.ons.shaded.com.google.rpc.DebugInfoOrBuilder> debugInfoBuilder_;
/**
* .google.rpc.DebugInfo debug_info = 5;
* @return Whether the debugInfo field is set.
*/
public boolean hasDebugInfo() {
return debugInfoBuilder_ != null || debugInfo_ != null;
}
/**
* .google.rpc.DebugInfo debug_info = 5;
* @return The debugInfo.
*/
public com.aliyun.openservices.ons.shaded.com.google.rpc.DebugInfo getDebugInfo() {
if (debugInfoBuilder_ == null) {
return debugInfo_ == null ? com.aliyun.openservices.ons.shaded.com.google.rpc.DebugInfo.getDefaultInstance() : debugInfo_;
} else {
return debugInfoBuilder_.getMessage();
}
}
/**
* .google.rpc.DebugInfo debug_info = 5;
*/
public Builder setDebugInfo(com.aliyun.openservices.ons.shaded.com.google.rpc.DebugInfo value) {
if (debugInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
debugInfo_ = value;
onChanged();
} else {
debugInfoBuilder_.setMessage(value);
}
return this;
}
/**
* .google.rpc.DebugInfo debug_info = 5;
*/
public Builder setDebugInfo(
com.aliyun.openservices.ons.shaded.com.google.rpc.DebugInfo.Builder builderForValue) {
if (debugInfoBuilder_ == null) {
debugInfo_ = builderForValue.build();
onChanged();
} else {
debugInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.rpc.DebugInfo debug_info = 5;
*/
public Builder mergeDebugInfo(com.aliyun.openservices.ons.shaded.com.google.rpc.DebugInfo value) {
if (debugInfoBuilder_ == null) {
if (debugInfo_ != null) {
debugInfo_ =
com.aliyun.openservices.ons.shaded.com.google.rpc.DebugInfo.newBuilder(debugInfo_).mergeFrom(value).buildPartial();
} else {
debugInfo_ = value;
}
onChanged();
} else {
debugInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.rpc.DebugInfo debug_info = 5;
*/
public Builder clearDebugInfo() {
if (debugInfoBuilder_ == null) {
debugInfo_ = null;
onChanged();
} else {
debugInfo_ = null;
debugInfoBuilder_ = null;
}
return this;
}
/**
* .google.rpc.DebugInfo debug_info = 5;
*/
public com.aliyun.openservices.ons.shaded.com.google.rpc.DebugInfo.Builder getDebugInfoBuilder() {
onChanged();
return getDebugInfoFieldBuilder().getBuilder();
}
/**
* .google.rpc.DebugInfo debug_info = 5;
*/
public com.aliyun.openservices.ons.shaded.com.google.rpc.DebugInfoOrBuilder getDebugInfoOrBuilder() {
if (debugInfoBuilder_ != null) {
return debugInfoBuilder_.getMessageOrBuilder();
} else {
return debugInfo_ == null ?
com.aliyun.openservices.ons.shaded.com.google.rpc.DebugInfo.getDefaultInstance() : debugInfo_;
}
}
/**
* .google.rpc.DebugInfo debug_info = 5;
*/
private com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3<
com.aliyun.openservices.ons.shaded.com.google.rpc.DebugInfo, com.aliyun.openservices.ons.shaded.com.google.rpc.DebugInfo.Builder, com.aliyun.openservices.ons.shaded.com.google.rpc.DebugInfoOrBuilder>
getDebugInfoFieldBuilder() {
if (debugInfoBuilder_ == null) {
debugInfoBuilder_ = new com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3<
com.aliyun.openservices.ons.shaded.com.google.rpc.DebugInfo, com.aliyun.openservices.ons.shaded.com.google.rpc.DebugInfo.Builder, com.aliyun.openservices.ons.shaded.com.google.rpc.DebugInfoOrBuilder>(
getDebugInfo(),
getParentForChildren(),
isClean());
debugInfo_ = null;
}
return debugInfoBuilder_;
}
private com.aliyun.openservices.ons.shaded.com.google.rpc.ErrorInfo errorInfo_;
private com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3<
com.aliyun.openservices.ons.shaded.com.google.rpc.ErrorInfo, com.aliyun.openservices.ons.shaded.com.google.rpc.ErrorInfo.Builder, com.aliyun.openservices.ons.shaded.com.google.rpc.ErrorInfoOrBuilder> errorInfoBuilder_;
/**
* .google.rpc.ErrorInfo error_info = 6;
* @return Whether the errorInfo field is set.
*/
public boolean hasErrorInfo() {
return errorInfoBuilder_ != null || errorInfo_ != null;
}
/**
* .google.rpc.ErrorInfo error_info = 6;
* @return The errorInfo.
*/
public com.aliyun.openservices.ons.shaded.com.google.rpc.ErrorInfo getErrorInfo() {
if (errorInfoBuilder_ == null) {
return errorInfo_ == null ? com.aliyun.openservices.ons.shaded.com.google.rpc.ErrorInfo.getDefaultInstance() : errorInfo_;
} else {
return errorInfoBuilder_.getMessage();
}
}
/**
* .google.rpc.ErrorInfo error_info = 6;
*/
public Builder setErrorInfo(com.aliyun.openservices.ons.shaded.com.google.rpc.ErrorInfo value) {
if (errorInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
errorInfo_ = value;
onChanged();
} else {
errorInfoBuilder_.setMessage(value);
}
return this;
}
/**
* .google.rpc.ErrorInfo error_info = 6;
*/
public Builder setErrorInfo(
com.aliyun.openservices.ons.shaded.com.google.rpc.ErrorInfo.Builder builderForValue) {
if (errorInfoBuilder_ == null) {
errorInfo_ = builderForValue.build();
onChanged();
} else {
errorInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.rpc.ErrorInfo error_info = 6;
*/
public Builder mergeErrorInfo(com.aliyun.openservices.ons.shaded.com.google.rpc.ErrorInfo value) {
if (errorInfoBuilder_ == null) {
if (errorInfo_ != null) {
errorInfo_ =
com.aliyun.openservices.ons.shaded.com.google.rpc.ErrorInfo.newBuilder(errorInfo_).mergeFrom(value).buildPartial();
} else {
errorInfo_ = value;
}
onChanged();
} else {
errorInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.rpc.ErrorInfo error_info = 6;
*/
public Builder clearErrorInfo() {
if (errorInfoBuilder_ == null) {
errorInfo_ = null;
onChanged();
} else {
errorInfo_ = null;
errorInfoBuilder_ = null;
}
return this;
}
/**
* .google.rpc.ErrorInfo error_info = 6;
*/
public com.aliyun.openservices.ons.shaded.com.google.rpc.ErrorInfo.Builder getErrorInfoBuilder() {
onChanged();
return getErrorInfoFieldBuilder().getBuilder();
}
/**
* .google.rpc.ErrorInfo error_info = 6;
*/
public com.aliyun.openservices.ons.shaded.com.google.rpc.ErrorInfoOrBuilder getErrorInfoOrBuilder() {
if (errorInfoBuilder_ != null) {
return errorInfoBuilder_.getMessageOrBuilder();
} else {
return errorInfo_ == null ?
com.aliyun.openservices.ons.shaded.com.google.rpc.ErrorInfo.getDefaultInstance() : errorInfo_;
}
}
/**
* .google.rpc.ErrorInfo error_info = 6;
*/
private com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3<
com.aliyun.openservices.ons.shaded.com.google.rpc.ErrorInfo, com.aliyun.openservices.ons.shaded.com.google.rpc.ErrorInfo.Builder, com.aliyun.openservices.ons.shaded.com.google.rpc.ErrorInfoOrBuilder>
getErrorInfoFieldBuilder() {
if (errorInfoBuilder_ == null) {
errorInfoBuilder_ = new com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3<
com.aliyun.openservices.ons.shaded.com.google.rpc.ErrorInfo, com.aliyun.openservices.ons.shaded.com.google.rpc.ErrorInfo.Builder, com.aliyun.openservices.ons.shaded.com.google.rpc.ErrorInfoOrBuilder>(
getErrorInfo(),
getParentForChildren(),
isClean());
errorInfo_ = null;
}
return errorInfoBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.aliyun.openservices.ons.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.aliyun.openservices.ons.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:apache.rocketmq.v1.ResponseCommon)
}
// @@protoc_insertion_point(class_scope:apache.rocketmq.v1.ResponseCommon)
private static final apache.rocketmq.v1.ResponseCommon DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new apache.rocketmq.v1.ResponseCommon();
}
public static apache.rocketmq.v1.ResponseCommon getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.aliyun.openservices.ons.shaded.com.google.protobuf.Parser
PARSER = new com.aliyun.openservices.ons.shaded.com.google.protobuf.AbstractParser() {
@java.lang.Override
public ResponseCommon parsePartialFrom(
com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedInputStream input,
com.aliyun.openservices.ons.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new ResponseCommon(input, extensionRegistry);
}
};
public static com.aliyun.openservices.ons.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.aliyun.openservices.ons.shaded.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public apache.rocketmq.v1.ResponseCommon getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}