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.
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/rpc/status.proto
package com.aliyun.openservices.ons.shaded.com.google.rpc;
/**
*
*
*
* The `Status` type defines a logical error model that is suitable for
* different programming environments, including REST APIs and RPC APIs. It is
* used by [gRPC](https://github.com/grpc). Each `Status` message contains
* three pieces of data: error code, error message, and error details.
* You can find out more about this error model and how to work with it in the
* [API Design Guide](https://cloud.google.com/apis/design/errors).
*
*
* Protobuf type {@code google.rpc.Status}
*/
public final class Status extends com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.rpc.Status)
StatusOrBuilder {
private static final long serialVersionUID = 0L;
// Use Status.newBuilder() to construct.
private Status(com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Status() {
message_ = "";
details_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new Status();
}
@java.lang.Override
public final com.aliyun.openservices.ons.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private Status(
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();
}
int mutable_bitField0_ = 0;
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 8:
{
code_ = input.readInt32();
break;
}
case 18:
{
java.lang.String s = input.readStringRequireUtf8();
message_ = s;
break;
}
case 26:
{
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
details_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
details_.add(input.readMessage(com.aliyun.openservices.ons.shaded.com.google.protobuf.Any.parser(), extensionRegistry));
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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
details_ = java.util.Collections.unmodifiableList(details_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.aliyun.openservices.ons.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.aliyun.openservices.ons.shaded.com.google.rpc.StatusProto.internal_static_google_rpc_Status_descriptor;
}
@java.lang.Override
protected com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.aliyun.openservices.ons.shaded.com.google.rpc.StatusProto.internal_static_google_rpc_Status_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.aliyun.openservices.ons.shaded.com.google.rpc.Status.class, com.aliyun.openservices.ons.shaded.com.google.rpc.Status.Builder.class);
}
public static final int CODE_FIELD_NUMBER = 1;
private int code_;
/**
*
*
*
* The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
*
*
* int32 code = 1;
*
* @return The code.
*/
@java.lang.Override
public int getCode() {
return code_;
}
public static final int MESSAGE_FIELD_NUMBER = 2;
private volatile java.lang.Object message_;
/**
*
*
*
* A developer-facing error message, which should be in English. Any
* user-facing error message should be localized and sent in the
* [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
*
* A developer-facing error message, which should be in English. Any
* user-facing error message should be localized and sent in the
* [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
*
*
* string message = 2;
*
* @return The bytes for message.
*/
@java.lang.Override
public com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof java.lang.String) {
com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString b =
com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int DETAILS_FIELD_NUMBER = 3;
private java.util.List details_;
/**
*
*
*
* A list of messages that carry the error details. There is a common set of
* message types for APIs to use.
*
* A list of messages that carry the error details. There is a common set of
* message types for APIs to use.
*
*
* repeated .google.protobuf.Any details = 3;
*/
@java.lang.Override
public com.aliyun.openservices.ons.shaded.com.google.protobuf.AnyOrBuilder getDetailsOrBuilder(int index) {
return details_.get(index);
}
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 (code_ != 0) {
output.writeInt32(1, code_);
}
if (!getMessageBytes().isEmpty()) {
com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_);
}
for (int i = 0; i < details_.size(); i++) {
output.writeMessage(3, details_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (code_ != 0) {
size += com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedOutputStream.computeInt32Size(1, code_);
}
if (!getMessageBytes().isEmpty()) {
size += com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_);
}
for (int i = 0; i < details_.size(); i++) {
size += com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedOutputStream.computeMessageSize(3, details_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.aliyun.openservices.ons.shaded.com.google.rpc.Status)) {
return super.equals(obj);
}
com.aliyun.openservices.ons.shaded.com.google.rpc.Status other = (com.aliyun.openservices.ons.shaded.com.google.rpc.Status) obj;
if (getCode() != other.getCode()) return false;
if (!getMessage().equals(other.getMessage())) return false;
if (!getDetailsList().equals(other.getDetailsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + CODE_FIELD_NUMBER;
hash = (53 * hash) + getCode();
hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getMessage().hashCode();
if (getDetailsCount() > 0) {
hash = (37 * hash) + DETAILS_FIELD_NUMBER;
hash = (53 * hash) + getDetailsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.aliyun.openservices.ons.shaded.com.google.rpc.Status parseFrom(java.nio.ByteBuffer data)
throws com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.aliyun.openservices.ons.shaded.com.google.rpc.Status 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 com.aliyun.openservices.ons.shaded.com.google.rpc.Status 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 com.aliyun.openservices.ons.shaded.com.google.rpc.Status 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 com.aliyun.openservices.ons.shaded.com.google.rpc.Status parseFrom(byte[] data)
throws com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.aliyun.openservices.ons.shaded.com.google.rpc.Status 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 com.aliyun.openservices.ons.shaded.com.google.rpc.Status parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static com.aliyun.openservices.ons.shaded.com.google.rpc.Status 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 com.aliyun.openservices.ons.shaded.com.google.rpc.Status parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static com.aliyun.openservices.ons.shaded.com.google.rpc.Status 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 com.aliyun.openservices.ons.shaded.com.google.rpc.Status 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 com.aliyun.openservices.ons.shaded.com.google.rpc.Status 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(com.aliyun.openservices.ons.shaded.com.google.rpc.Status 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;
}
/**
*
*
*
* The `Status` type defines a logical error model that is suitable for
* different programming environments, including REST APIs and RPC APIs. It is
* used by [gRPC](https://github.com/grpc). Each `Status` message contains
* three pieces of data: error code, error message, and error details.
* You can find out more about this error model and how to work with it in the
* [API Design Guide](https://cloud.google.com/apis/design/errors).
*
*
* Protobuf type {@code google.rpc.Status}
*/
public static final class Builder extends com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.Builder
implements
// @@protoc_insertion_point(builder_implements:google.rpc.Status)
com.aliyun.openservices.ons.shaded.com.google.rpc.StatusOrBuilder {
public static final com.aliyun.openservices.ons.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.aliyun.openservices.ons.shaded.com.google.rpc.StatusProto.internal_static_google_rpc_Status_descriptor;
}
@java.lang.Override
protected com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.aliyun.openservices.ons.shaded.com.google.rpc.StatusProto.internal_static_google_rpc_Status_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.aliyun.openservices.ons.shaded.com.google.rpc.Status.class, com.aliyun.openservices.ons.shaded.com.google.rpc.Status.Builder.class);
}
// Construct using com.aliyun.openservices.ons.shaded.com.google.rpc.Status.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) {
getDetailsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
code_ = 0;
message_ = "";
if (detailsBuilder_ == null) {
details_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
detailsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.aliyun.openservices.ons.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return com.aliyun.openservices.ons.shaded.com.google.rpc.StatusProto.internal_static_google_rpc_Status_descriptor;
}
@java.lang.Override
public com.aliyun.openservices.ons.shaded.com.google.rpc.Status getDefaultInstanceForType() {
return com.aliyun.openservices.ons.shaded.com.google.rpc.Status.getDefaultInstance();
}
@java.lang.Override
public com.aliyun.openservices.ons.shaded.com.google.rpc.Status build() {
com.aliyun.openservices.ons.shaded.com.google.rpc.Status result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.aliyun.openservices.ons.shaded.com.google.rpc.Status buildPartial() {
com.aliyun.openservices.ons.shaded.com.google.rpc.Status result = new com.aliyun.openservices.ons.shaded.com.google.rpc.Status(this);
int from_bitField0_ = bitField0_;
result.code_ = code_;
result.message_ = message_;
if (detailsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
details_ = java.util.Collections.unmodifiableList(details_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.details_ = details_;
} else {
result.details_ = detailsBuilder_.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 com.aliyun.openservices.ons.shaded.com.google.rpc.Status) {
return mergeFrom((com.aliyun.openservices.ons.shaded.com.google.rpc.Status) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.aliyun.openservices.ons.shaded.com.google.rpc.Status other) {
if (other == com.aliyun.openservices.ons.shaded.com.google.rpc.Status.getDefaultInstance()) return this;
if (other.getCode() != 0) {
setCode(other.getCode());
}
if (!other.getMessage().isEmpty()) {
message_ = other.message_;
onChanged();
}
if (detailsBuilder_ == null) {
if (!other.details_.isEmpty()) {
if (details_.isEmpty()) {
details_ = other.details_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureDetailsIsMutable();
details_.addAll(other.details_);
}
onChanged();
}
} else {
if (!other.details_.isEmpty()) {
if (detailsBuilder_.isEmpty()) {
detailsBuilder_.dispose();
detailsBuilder_ = null;
details_ = other.details_;
bitField0_ = (bitField0_ & ~0x00000001);
detailsBuilder_ =
com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getDetailsFieldBuilder()
: null;
} else {
detailsBuilder_.addAllMessages(other.details_);
}
}
}
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 {
com.aliyun.openservices.ons.shaded.com.google.rpc.Status parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.aliyun.openservices.ons.shaded.com.google.rpc.Status) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int code_;
/**
*
*
*
* The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
*
*
* int32 code = 1;
*
* @return The code.
*/
@java.lang.Override
public int getCode() {
return code_;
}
/**
*
*
*
* The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
*
*
* int32 code = 1;
*
* @param value The code to set.
* @return This builder for chaining.
*/
public Builder setCode(int value) {
code_ = value;
onChanged();
return this;
}
/**
*
*
*
* The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
*
* A developer-facing error message, which should be in English. Any
* user-facing error message should be localized and sent in the
* [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
*
* A developer-facing error message, which should be in English. Any
* user-facing error message should be localized and sent in the
* [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
*
*
* string message = 2;
*
* @return The bytes for message.
*/
public com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof String) {
com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString b =
com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
*
*
*
* A developer-facing error message, which should be in English. Any
* user-facing error message should be localized and sent in the
* [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
*
*
* string message = 2;
*
* @param value The message to set.
* @return This builder for chaining.
*/
public Builder setMessage(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
message_ = value;
onChanged();
return this;
}
/**
*
*
*
* A developer-facing error message, which should be in English. Any
* user-facing error message should be localized and sent in the
* [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
*
*
* string message = 2;
*
* @return This builder for chaining.
*/
public Builder clearMessage() {
message_ = getDefaultInstance().getMessage();
onChanged();
return this;
}
/**
*
*
*
* A developer-facing error message, which should be in English. Any
* user-facing error message should be localized and sent in the
* [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
*
*
* string message = 2;
*
* @param value The bytes for message to set.
* @return This builder for chaining.
*/
public Builder setMessageBytes(com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
message_ = value;
onChanged();
return this;
}
private java.util.List details_ = java.util.Collections.emptyList();
private void ensureDetailsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
details_ = new java.util.ArrayList(details_);
bitField0_ |= 0x00000001;
}
}
private com.aliyun.openservices.ons.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
com.aliyun.openservices.ons.shaded.com.google.protobuf.Any,
com.aliyun.openservices.ons.shaded.com.google.protobuf.Any.Builder,
com.aliyun.openservices.ons.shaded.com.google.protobuf.AnyOrBuilder>
detailsBuilder_;
/**
*
*
*
* A list of messages that carry the error details. There is a common set of
* message types for APIs to use.
*