|
@@ -12611,26 +12611,67 @@ public final class Api {
|
|
*用户id
|
|
*用户id
|
|
* </pre>
|
|
* </pre>
|
|
*
|
|
*
|
|
- * <code>optional int64 id = 1;</code>
|
|
|
|
|
|
+ * <code>repeated int64 id = 1;</code>
|
|
*/
|
|
*/
|
|
- long getId();
|
|
|
|
|
|
+ java.util.List<java.lang.Long> getIdList();
|
|
|
|
+ /**
|
|
|
|
+ * <pre>
|
|
|
|
+ *用户id
|
|
|
|
+ * </pre>
|
|
|
|
+ *
|
|
|
|
+ * <code>repeated int64 id = 1;</code>
|
|
|
|
+ */
|
|
|
|
+ int getIdCount();
|
|
|
|
+ /**
|
|
|
|
+ * <pre>
|
|
|
|
+ *用户id
|
|
|
|
+ * </pre>
|
|
|
|
+ *
|
|
|
|
+ * <code>repeated int64 id = 1;</code>
|
|
|
|
+ */
|
|
|
|
+ long getId(int index);
|
|
|
|
|
|
/**
|
|
/**
|
|
* <pre>
|
|
* <pre>
|
|
*用户角色
|
|
*用户角色
|
|
* </pre>
|
|
* </pre>
|
|
*
|
|
*
|
|
- * <code>optional .smsc.Role role = 2;</code>
|
|
|
|
|
|
+ * <code>repeated .smsc.Role role = 2;</code>
|
|
*/
|
|
*/
|
|
- int getRoleValue();
|
|
|
|
|
|
+ java.util.List<smsc.Api.Role> getRoleList();
|
|
/**
|
|
/**
|
|
* <pre>
|
|
* <pre>
|
|
*用户角色
|
|
*用户角色
|
|
* </pre>
|
|
* </pre>
|
|
*
|
|
*
|
|
- * <code>optional .smsc.Role role = 2;</code>
|
|
|
|
|
|
+ * <code>repeated .smsc.Role role = 2;</code>
|
|
*/
|
|
*/
|
|
- smsc.Api.Role getRole();
|
|
|
|
|
|
+ int getRoleCount();
|
|
|
|
+ /**
|
|
|
|
+ * <pre>
|
|
|
|
+ *用户角色
|
|
|
|
+ * </pre>
|
|
|
|
+ *
|
|
|
|
+ * <code>repeated .smsc.Role role = 2;</code>
|
|
|
|
+ */
|
|
|
|
+ smsc.Api.Role getRole(int index);
|
|
|
|
+ /**
|
|
|
|
+ * <pre>
|
|
|
|
+ *用户角色
|
|
|
|
+ * </pre>
|
|
|
|
+ *
|
|
|
|
+ * <code>repeated .smsc.Role role = 2;</code>
|
|
|
|
+ */
|
|
|
|
+ java.util.List<java.lang.Integer>
|
|
|
|
+ getRoleValueList();
|
|
|
|
+ /**
|
|
|
|
+ * <pre>
|
|
|
|
+ *用户角色
|
|
|
|
+ * </pre>
|
|
|
|
+ *
|
|
|
|
+ * <code>repeated .smsc.Role role = 2;</code>
|
|
|
|
+ */
|
|
|
|
+ int getRoleValue(int index);
|
|
}
|
|
}
|
|
/**
|
|
/**
|
|
* Protobuf type {@code smsc.RequestDeleteAccount}
|
|
* Protobuf type {@code smsc.RequestDeleteAccount}
|
|
@@ -12644,8 +12685,8 @@ public final class Api {
|
|
super(builder);
|
|
super(builder);
|
|
}
|
|
}
|
|
private RequestDeleteAccount() {
|
|
private RequestDeleteAccount() {
|
|
- id_ = 0L;
|
|
|
|
- role_ = 0;
|
|
|
|
|
|
+ id_ = java.util.Collections.emptyList();
|
|
|
|
+ role_ = java.util.Collections.emptyList();
|
|
}
|
|
}
|
|
|
|
|
|
@java.lang.Override
|
|
@java.lang.Override
|
|
@@ -12674,14 +12715,47 @@ public final class Api {
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
case 8: {
|
|
case 8: {
|
|
-
|
|
|
|
- id_ = input.readInt64();
|
|
|
|
|
|
+ if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
+ id_ = new java.util.ArrayList<java.lang.Long>();
|
|
|
|
+ mutable_bitField0_ |= 0x00000001;
|
|
|
|
+ }
|
|
|
|
+ id_.add(input.readInt64());
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ case 10: {
|
|
|
|
+ int length = input.readRawVarint32();
|
|
|
|
+ int limit = input.pushLimit(length);
|
|
|
|
+ if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) {
|
|
|
|
+ id_ = new java.util.ArrayList<java.lang.Long>();
|
|
|
|
+ mutable_bitField0_ |= 0x00000001;
|
|
|
|
+ }
|
|
|
|
+ while (input.getBytesUntilLimit() > 0) {
|
|
|
|
+ id_.add(input.readInt64());
|
|
|
|
+ }
|
|
|
|
+ input.popLimit(limit);
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
case 16: {
|
|
case 16: {
|
|
int rawValue = input.readEnum();
|
|
int rawValue = input.readEnum();
|
|
-
|
|
|
|
- role_ = rawValue;
|
|
|
|
|
|
+ if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
+ role_ = new java.util.ArrayList<java.lang.Integer>();
|
|
|
|
+ mutable_bitField0_ |= 0x00000002;
|
|
|
|
+ }
|
|
|
|
+ role_.add(rawValue);
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ case 18: {
|
|
|
|
+ int length = input.readRawVarint32();
|
|
|
|
+ int oldLimit = input.pushLimit(length);
|
|
|
|
+ while(input.getBytesUntilLimit() > 0) {
|
|
|
|
+ int rawValue = input.readEnum();
|
|
|
|
+ if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
+ role_ = new java.util.ArrayList<java.lang.Integer>();
|
|
|
|
+ mutable_bitField0_ |= 0x00000002;
|
|
|
|
+ }
|
|
|
|
+ role_.add(rawValue);
|
|
|
|
+ }
|
|
|
|
+ input.popLimit(oldLimit);
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -12692,6 +12766,12 @@ public final class Api {
|
|
throw new com.google.protobuf.InvalidProtocolBufferException(
|
|
throw new com.google.protobuf.InvalidProtocolBufferException(
|
|
e).setUnfinishedMessage(this);
|
|
e).setUnfinishedMessage(this);
|
|
} finally {
|
|
} finally {
|
|
|
|
+ if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
+ id_ = java.util.Collections.unmodifiableList(id_);
|
|
|
|
+ }
|
|
|
|
+ if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
+ role_ = java.util.Collections.unmodifiableList(role_);
|
|
|
|
+ }
|
|
makeExtensionsImmutable();
|
|
makeExtensionsImmutable();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -12708,28 +12788,91 @@ public final class Api {
|
|
}
|
|
}
|
|
|
|
|
|
public static final int ID_FIELD_NUMBER = 1;
|
|
public static final int ID_FIELD_NUMBER = 1;
|
|
- private long id_;
|
|
|
|
|
|
+ private java.util.List<java.lang.Long> id_;
|
|
/**
|
|
/**
|
|
* <pre>
|
|
* <pre>
|
|
*用户id
|
|
*用户id
|
|
* </pre>
|
|
* </pre>
|
|
*
|
|
*
|
|
- * <code>optional int64 id = 1;</code>
|
|
|
|
|
|
+ * <code>repeated int64 id = 1;</code>
|
|
*/
|
|
*/
|
|
- public long getId() {
|
|
|
|
|
|
+ public java.util.List<java.lang.Long>
|
|
|
|
+ getIdList() {
|
|
return id_;
|
|
return id_;
|
|
}
|
|
}
|
|
|
|
+ /**
|
|
|
|
+ * <pre>
|
|
|
|
+ *用户id
|
|
|
|
+ * </pre>
|
|
|
|
+ *
|
|
|
|
+ * <code>repeated int64 id = 1;</code>
|
|
|
|
+ */
|
|
|
|
+ public int getIdCount() {
|
|
|
|
+ return id_.size();
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * <pre>
|
|
|
|
+ *用户id
|
|
|
|
+ * </pre>
|
|
|
|
+ *
|
|
|
|
+ * <code>repeated int64 id = 1;</code>
|
|
|
|
+ */
|
|
|
|
+ public long getId(int index) {
|
|
|
|
+ return id_.get(index);
|
|
|
|
+ }
|
|
|
|
+ private int idMemoizedSerializedSize = -1;
|
|
|
|
|
|
public static final int ROLE_FIELD_NUMBER = 2;
|
|
public static final int ROLE_FIELD_NUMBER = 2;
|
|
- private int role_;
|
|
|
|
|
|
+ private java.util.List<java.lang.Integer> role_;
|
|
|
|
+ private static final com.google.protobuf.Internal.ListAdapter.Converter<
|
|
|
|
+ java.lang.Integer, smsc.Api.Role> role_converter_ =
|
|
|
|
+ new com.google.protobuf.Internal.ListAdapter.Converter<
|
|
|
|
+ java.lang.Integer, smsc.Api.Role>() {
|
|
|
|
+ public smsc.Api.Role convert(java.lang.Integer from) {
|
|
|
|
+ smsc.Api.Role result = smsc.Api.Role.valueOf(from);
|
|
|
|
+ return result == null ? smsc.Api.Role.UNRECOGNIZED : result;
|
|
|
|
+ }
|
|
|
|
+ };
|
|
/**
|
|
/**
|
|
* <pre>
|
|
* <pre>
|
|
*用户角色
|
|
*用户角色
|
|
* </pre>
|
|
* </pre>
|
|
*
|
|
*
|
|
- * <code>optional .smsc.Role role = 2;</code>
|
|
|
|
|
|
+ * <code>repeated .smsc.Role role = 2;</code>
|
|
*/
|
|
*/
|
|
- public int getRoleValue() {
|
|
|
|
|
|
+ public java.util.List<smsc.Api.Role> getRoleList() {
|
|
|
|
+ return new com.google.protobuf.Internal.ListAdapter<
|
|
|
|
+ java.lang.Integer, smsc.Api.Role>(role_, role_converter_);
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * <pre>
|
|
|
|
+ *用户角色
|
|
|
|
+ * </pre>
|
|
|
|
+ *
|
|
|
|
+ * <code>repeated .smsc.Role role = 2;</code>
|
|
|
|
+ */
|
|
|
|
+ public int getRoleCount() {
|
|
|
|
+ return role_.size();
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * <pre>
|
|
|
|
+ *用户角色
|
|
|
|
+ * </pre>
|
|
|
|
+ *
|
|
|
|
+ * <code>repeated .smsc.Role role = 2;</code>
|
|
|
|
+ */
|
|
|
|
+ public smsc.Api.Role getRole(int index) {
|
|
|
|
+ return role_converter_.convert(role_.get(index));
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * <pre>
|
|
|
|
+ *用户角色
|
|
|
|
+ * </pre>
|
|
|
|
+ *
|
|
|
|
+ * <code>repeated .smsc.Role role = 2;</code>
|
|
|
|
+ */
|
|
|
|
+ public java.util.List<java.lang.Integer>
|
|
|
|
+ getRoleValueList() {
|
|
return role_;
|
|
return role_;
|
|
}
|
|
}
|
|
/**
|
|
/**
|
|
@@ -12737,12 +12880,12 @@ public final class Api {
|
|
*用户角色
|
|
*用户角色
|
|
* </pre>
|
|
* </pre>
|
|
*
|
|
*
|
|
- * <code>optional .smsc.Role role = 2;</code>
|
|
|
|
|
|
+ * <code>repeated .smsc.Role role = 2;</code>
|
|
*/
|
|
*/
|
|
- public smsc.Api.Role getRole() {
|
|
|
|
- smsc.Api.Role result = smsc.Api.Role.valueOf(role_);
|
|
|
|
- return result == null ? smsc.Api.Role.UNRECOGNIZED : result;
|
|
|
|
|
|
+ public int getRoleValue(int index) {
|
|
|
|
+ return role_.get(index);
|
|
}
|
|
}
|
|
|
|
+ private int roleMemoizedSerializedSize;
|
|
|
|
|
|
private byte memoizedIsInitialized = -1;
|
|
private byte memoizedIsInitialized = -1;
|
|
public final boolean isInitialized() {
|
|
public final boolean isInitialized() {
|
|
@@ -12756,11 +12899,20 @@ public final class Api {
|
|
|
|
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
throws java.io.IOException {
|
|
throws java.io.IOException {
|
|
- if (id_ != 0L) {
|
|
|
|
- output.writeInt64(1, id_);
|
|
|
|
|
|
+ getSerializedSize();
|
|
|
|
+ if (getIdList().size() > 0) {
|
|
|
|
+ output.writeUInt32NoTag(10);
|
|
|
|
+ output.writeUInt32NoTag(idMemoizedSerializedSize);
|
|
}
|
|
}
|
|
- if (role_ != smsc.Api.Role.RUndefined.getNumber()) {
|
|
|
|
- output.writeEnum(2, role_);
|
|
|
|
|
|
+ for (int i = 0; i < id_.size(); i++) {
|
|
|
|
+ output.writeInt64NoTag(id_.get(i));
|
|
|
|
+ }
|
|
|
|
+ if (getRoleList().size() > 0) {
|
|
|
|
+ output.writeUInt32NoTag(18);
|
|
|
|
+ output.writeUInt32NoTag(roleMemoizedSerializedSize);
|
|
|
|
+ }
|
|
|
|
+ for (int i = 0; i < role_.size(); i++) {
|
|
|
|
+ output.writeEnumNoTag(role_.get(i));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -12769,13 +12921,31 @@ public final class Api {
|
|
if (size != -1) return size;
|
|
if (size != -1) return size;
|
|
|
|
|
|
size = 0;
|
|
size = 0;
|
|
- if (id_ != 0L) {
|
|
|
|
- size += com.google.protobuf.CodedOutputStream
|
|
|
|
- .computeInt64Size(1, id_);
|
|
|
|
|
|
+ {
|
|
|
|
+ int dataSize = 0;
|
|
|
|
+ for (int i = 0; i < id_.size(); i++) {
|
|
|
|
+ dataSize += com.google.protobuf.CodedOutputStream
|
|
|
|
+ .computeInt64SizeNoTag(id_.get(i));
|
|
|
|
+ }
|
|
|
|
+ size += dataSize;
|
|
|
|
+ if (!getIdList().isEmpty()) {
|
|
|
|
+ size += 1;
|
|
|
|
+ size += com.google.protobuf.CodedOutputStream
|
|
|
|
+ .computeInt32SizeNoTag(dataSize);
|
|
|
|
+ }
|
|
|
|
+ idMemoizedSerializedSize = dataSize;
|
|
}
|
|
}
|
|
- if (role_ != smsc.Api.Role.RUndefined.getNumber()) {
|
|
|
|
- size += com.google.protobuf.CodedOutputStream
|
|
|
|
- .computeEnumSize(2, role_);
|
|
|
|
|
|
+ {
|
|
|
|
+ int dataSize = 0;
|
|
|
|
+ for (int i = 0; i < role_.size(); i++) {
|
|
|
|
+ dataSize += com.google.protobuf.CodedOutputStream
|
|
|
|
+ .computeEnumSizeNoTag(role_.get(i));
|
|
|
|
+ }
|
|
|
|
+ size += dataSize;
|
|
|
|
+ if (!getRoleList().isEmpty()) { size += 1;
|
|
|
|
+ size += com.google.protobuf.CodedOutputStream
|
|
|
|
+ .computeUInt32SizeNoTag(dataSize);
|
|
|
|
+ }roleMemoizedSerializedSize = dataSize;
|
|
}
|
|
}
|
|
memoizedSize = size;
|
|
memoizedSize = size;
|
|
return size;
|
|
return size;
|
|
@@ -12793,9 +12963,9 @@ public final class Api {
|
|
smsc.Api.RequestDeleteAccount other = (smsc.Api.RequestDeleteAccount) obj;
|
|
smsc.Api.RequestDeleteAccount other = (smsc.Api.RequestDeleteAccount) obj;
|
|
|
|
|
|
boolean result = true;
|
|
boolean result = true;
|
|
- result = result && (getId()
|
|
|
|
- == other.getId());
|
|
|
|
- result = result && role_ == other.role_;
|
|
|
|
|
|
+ result = result && getIdList()
|
|
|
|
+ .equals(other.getIdList());
|
|
|
|
+ result = result && role_.equals(other.role_);
|
|
return result;
|
|
return result;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -12806,11 +12976,14 @@ public final class Api {
|
|
}
|
|
}
|
|
int hash = 41;
|
|
int hash = 41;
|
|
hash = (19 * hash) + getDescriptorForType().hashCode();
|
|
hash = (19 * hash) + getDescriptorForType().hashCode();
|
|
- hash = (37 * hash) + ID_FIELD_NUMBER;
|
|
|
|
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
|
|
|
- getId());
|
|
|
|
- hash = (37 * hash) + ROLE_FIELD_NUMBER;
|
|
|
|
- hash = (53 * hash) + role_;
|
|
|
|
|
|
+ if (getIdCount() > 0) {
|
|
|
|
+ hash = (37 * hash) + ID_FIELD_NUMBER;
|
|
|
|
+ hash = (53 * hash) + getIdList().hashCode();
|
|
|
|
+ }
|
|
|
|
+ if (getRoleCount() > 0) {
|
|
|
|
+ hash = (37 * hash) + ROLE_FIELD_NUMBER;
|
|
|
|
+ hash = (53 * hash) + role_.hashCode();
|
|
|
|
+ }
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
memoizedHashCode = hash;
|
|
memoizedHashCode = hash;
|
|
return hash;
|
|
return hash;
|
|
@@ -12929,10 +13102,10 @@ public final class Api {
|
|
}
|
|
}
|
|
public Builder clear() {
|
|
public Builder clear() {
|
|
super.clear();
|
|
super.clear();
|
|
- id_ = 0L;
|
|
|
|
-
|
|
|
|
- role_ = 0;
|
|
|
|
-
|
|
|
|
|
|
+ id_ = java.util.Collections.emptyList();
|
|
|
|
+ bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
|
+ role_ = java.util.Collections.emptyList();
|
|
|
|
+ bitField0_ = (bitField0_ & ~0x00000002);
|
|
return this;
|
|
return this;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -12955,7 +13128,16 @@ public final class Api {
|
|
|
|
|
|
public smsc.Api.RequestDeleteAccount buildPartial() {
|
|
public smsc.Api.RequestDeleteAccount buildPartial() {
|
|
smsc.Api.RequestDeleteAccount result = new smsc.Api.RequestDeleteAccount(this);
|
|
smsc.Api.RequestDeleteAccount result = new smsc.Api.RequestDeleteAccount(this);
|
|
|
|
+ int from_bitField0_ = bitField0_;
|
|
|
|
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
+ id_ = java.util.Collections.unmodifiableList(id_);
|
|
|
|
+ bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
|
+ }
|
|
result.id_ = id_;
|
|
result.id_ = id_;
|
|
|
|
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
+ role_ = java.util.Collections.unmodifiableList(role_);
|
|
|
|
+ bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
|
+ }
|
|
result.role_ = role_;
|
|
result.role_ = role_;
|
|
onBuilt();
|
|
onBuilt();
|
|
return result;
|
|
return result;
|
|
@@ -12998,11 +13180,25 @@ public final class Api {
|
|
|
|
|
|
public Builder mergeFrom(smsc.Api.RequestDeleteAccount other) {
|
|
public Builder mergeFrom(smsc.Api.RequestDeleteAccount other) {
|
|
if (other == smsc.Api.RequestDeleteAccount.getDefaultInstance()) return this;
|
|
if (other == smsc.Api.RequestDeleteAccount.getDefaultInstance()) return this;
|
|
- if (other.getId() != 0L) {
|
|
|
|
- setId(other.getId());
|
|
|
|
|
|
+ if (!other.id_.isEmpty()) {
|
|
|
|
+ if (id_.isEmpty()) {
|
|
|
|
+ id_ = other.id_;
|
|
|
|
+ bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
|
+ } else {
|
|
|
|
+ ensureIdIsMutable();
|
|
|
|
+ id_.addAll(other.id_);
|
|
|
|
+ }
|
|
|
|
+ onChanged();
|
|
}
|
|
}
|
|
- if (other.role_ != 0) {
|
|
|
|
- setRoleValue(other.getRoleValue());
|
|
|
|
|
|
+ if (!other.role_.isEmpty()) {
|
|
|
|
+ if (role_.isEmpty()) {
|
|
|
|
+ role_ = other.role_;
|
|
|
|
+ bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
|
+ } else {
|
|
|
|
+ ensureRoleIsMutable();
|
|
|
|
+ role_.addAll(other.role_);
|
|
|
|
+ }
|
|
|
|
+ onChanged();
|
|
}
|
|
}
|
|
onChanged();
|
|
onChanged();
|
|
return this;
|
|
return this;
|
|
@@ -13029,28 +13225,57 @@ public final class Api {
|
|
}
|
|
}
|
|
return this;
|
|
return this;
|
|
}
|
|
}
|
|
|
|
+ private int bitField0_;
|
|
|
|
|
|
- private long id_ ;
|
|
|
|
|
|
+ private java.util.List<java.lang.Long> id_ = java.util.Collections.emptyList();
|
|
|
|
+ private void ensureIdIsMutable() {
|
|
|
|
+ if (!((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
+ id_ = new java.util.ArrayList<java.lang.Long>(id_);
|
|
|
|
+ bitField0_ |= 0x00000001;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
/**
|
|
/**
|
|
* <pre>
|
|
* <pre>
|
|
*用户id
|
|
*用户id
|
|
* </pre>
|
|
* </pre>
|
|
*
|
|
*
|
|
- * <code>optional int64 id = 1;</code>
|
|
|
|
|
|
+ * <code>repeated int64 id = 1;</code>
|
|
*/
|
|
*/
|
|
- public long getId() {
|
|
|
|
- return id_;
|
|
|
|
|
|
+ public java.util.List<java.lang.Long>
|
|
|
|
+ getIdList() {
|
|
|
|
+ return java.util.Collections.unmodifiableList(id_);
|
|
}
|
|
}
|
|
/**
|
|
/**
|
|
* <pre>
|
|
* <pre>
|
|
*用户id
|
|
*用户id
|
|
* </pre>
|
|
* </pre>
|
|
*
|
|
*
|
|
- * <code>optional int64 id = 1;</code>
|
|
|
|
|
|
+ * <code>repeated int64 id = 1;</code>
|
|
*/
|
|
*/
|
|
- public Builder setId(long value) {
|
|
|
|
-
|
|
|
|
- id_ = value;
|
|
|
|
|
|
+ public int getIdCount() {
|
|
|
|
+ return id_.size();
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * <pre>
|
|
|
|
+ *用户id
|
|
|
|
+ * </pre>
|
|
|
|
+ *
|
|
|
|
+ * <code>repeated int64 id = 1;</code>
|
|
|
|
+ */
|
|
|
|
+ public long getId(int index) {
|
|
|
|
+ return id_.get(index);
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * <pre>
|
|
|
|
+ *用户id
|
|
|
|
+ * </pre>
|
|
|
|
+ *
|
|
|
|
+ * <code>repeated int64 id = 1;</code>
|
|
|
|
+ */
|
|
|
|
+ public Builder setId(
|
|
|
|
+ int index, long value) {
|
|
|
|
+ ensureIdIsMutable();
|
|
|
|
+ id_.set(index, value);
|
|
onChanged();
|
|
onChanged();
|
|
return this;
|
|
return this;
|
|
}
|
|
}
|
|
@@ -13059,62 +13284,128 @@ public final class Api {
|
|
*用户id
|
|
*用户id
|
|
* </pre>
|
|
* </pre>
|
|
*
|
|
*
|
|
- * <code>optional int64 id = 1;</code>
|
|
|
|
|
|
+ * <code>repeated int64 id = 1;</code>
|
|
|
|
+ */
|
|
|
|
+ public Builder addId(long value) {
|
|
|
|
+ ensureIdIsMutable();
|
|
|
|
+ id_.add(value);
|
|
|
|
+ onChanged();
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * <pre>
|
|
|
|
+ *用户id
|
|
|
|
+ * </pre>
|
|
|
|
+ *
|
|
|
|
+ * <code>repeated int64 id = 1;</code>
|
|
|
|
+ */
|
|
|
|
+ public Builder addAllId(
|
|
|
|
+ java.lang.Iterable<? extends java.lang.Long> values) {
|
|
|
|
+ ensureIdIsMutable();
|
|
|
|
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
|
|
|
+ values, id_);
|
|
|
|
+ onChanged();
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * <pre>
|
|
|
|
+ *用户id
|
|
|
|
+ * </pre>
|
|
|
|
+ *
|
|
|
|
+ * <code>repeated int64 id = 1;</code>
|
|
*/
|
|
*/
|
|
public Builder clearId() {
|
|
public Builder clearId() {
|
|
-
|
|
|
|
- id_ = 0L;
|
|
|
|
|
|
+ id_ = java.util.Collections.emptyList();
|
|
|
|
+ bitField0_ = (bitField0_ & ~0x00000001);
|
|
onChanged();
|
|
onChanged();
|
|
return this;
|
|
return this;
|
|
}
|
|
}
|
|
|
|
|
|
- private int role_ = 0;
|
|
|
|
|
|
+ private java.util.List<java.lang.Integer> role_ =
|
|
|
|
+ java.util.Collections.emptyList();
|
|
|
|
+ private void ensureRoleIsMutable() {
|
|
|
|
+ if (!((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
+ role_ = new java.util.ArrayList<java.lang.Integer>(role_);
|
|
|
|
+ bitField0_ |= 0x00000002;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
/**
|
|
/**
|
|
* <pre>
|
|
* <pre>
|
|
*用户角色
|
|
*用户角色
|
|
* </pre>
|
|
* </pre>
|
|
*
|
|
*
|
|
- * <code>optional .smsc.Role role = 2;</code>
|
|
|
|
|
|
+ * <code>repeated .smsc.Role role = 2;</code>
|
|
*/
|
|
*/
|
|
- public int getRoleValue() {
|
|
|
|
- return role_;
|
|
|
|
|
|
+ public java.util.List<smsc.Api.Role> getRoleList() {
|
|
|
|
+ return new com.google.protobuf.Internal.ListAdapter<
|
|
|
|
+ java.lang.Integer, smsc.Api.Role>(role_, role_converter_);
|
|
}
|
|
}
|
|
/**
|
|
/**
|
|
* <pre>
|
|
* <pre>
|
|
*用户角色
|
|
*用户角色
|
|
* </pre>
|
|
* </pre>
|
|
*
|
|
*
|
|
- * <code>optional .smsc.Role role = 2;</code>
|
|
|
|
|
|
+ * <code>repeated .smsc.Role role = 2;</code>
|
|
*/
|
|
*/
|
|
- public Builder setRoleValue(int value) {
|
|
|
|
- role_ = value;
|
|
|
|
- onChanged();
|
|
|
|
- return this;
|
|
|
|
|
|
+ public int getRoleCount() {
|
|
|
|
+ return role_.size();
|
|
}
|
|
}
|
|
/**
|
|
/**
|
|
* <pre>
|
|
* <pre>
|
|
*用户角色
|
|
*用户角色
|
|
* </pre>
|
|
* </pre>
|
|
*
|
|
*
|
|
- * <code>optional .smsc.Role role = 2;</code>
|
|
|
|
|
|
+ * <code>repeated .smsc.Role role = 2;</code>
|
|
*/
|
|
*/
|
|
- public smsc.Api.Role getRole() {
|
|
|
|
- smsc.Api.Role result = smsc.Api.Role.valueOf(role_);
|
|
|
|
- return result == null ? smsc.Api.Role.UNRECOGNIZED : result;
|
|
|
|
|
|
+ public smsc.Api.Role getRole(int index) {
|
|
|
|
+ return role_converter_.convert(role_.get(index));
|
|
}
|
|
}
|
|
/**
|
|
/**
|
|
* <pre>
|
|
* <pre>
|
|
*用户角色
|
|
*用户角色
|
|
* </pre>
|
|
* </pre>
|
|
*
|
|
*
|
|
- * <code>optional .smsc.Role role = 2;</code>
|
|
|
|
|
|
+ * <code>repeated .smsc.Role role = 2;</code>
|
|
*/
|
|
*/
|
|
- public Builder setRole(smsc.Api.Role value) {
|
|
|
|
|
|
+ public Builder setRole(
|
|
|
|
+ int index, smsc.Api.Role value) {
|
|
if (value == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
throw new NullPointerException();
|
|
}
|
|
}
|
|
-
|
|
|
|
- role_ = value.getNumber();
|
|
|
|
|
|
+ ensureRoleIsMutable();
|
|
|
|
+ role_.set(index, value.getNumber());
|
|
|
|
+ onChanged();
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * <pre>
|
|
|
|
+ *用户角色
|
|
|
|
+ * </pre>
|
|
|
|
+ *
|
|
|
|
+ * <code>repeated .smsc.Role role = 2;</code>
|
|
|
|
+ */
|
|
|
|
+ public Builder addRole(smsc.Api.Role value) {
|
|
|
|
+ if (value == null) {
|
|
|
|
+ throw new NullPointerException();
|
|
|
|
+ }
|
|
|
|
+ ensureRoleIsMutable();
|
|
|
|
+ role_.add(value.getNumber());
|
|
|
|
+ onChanged();
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * <pre>
|
|
|
|
+ *用户角色
|
|
|
|
+ * </pre>
|
|
|
|
+ *
|
|
|
|
+ * <code>repeated .smsc.Role role = 2;</code>
|
|
|
|
+ */
|
|
|
|
+ public Builder addAllRole(
|
|
|
|
+ java.lang.Iterable<? extends smsc.Api.Role> values) {
|
|
|
|
+ ensureRoleIsMutable();
|
|
|
|
+ for (smsc.Api.Role value : values) {
|
|
|
|
+ role_.add(value.getNumber());
|
|
|
|
+ }
|
|
onChanged();
|
|
onChanged();
|
|
return this;
|
|
return this;
|
|
}
|
|
}
|
|
@@ -13123,11 +13414,75 @@ public final class Api {
|
|
*用户角色
|
|
*用户角色
|
|
* </pre>
|
|
* </pre>
|
|
*
|
|
*
|
|
- * <code>optional .smsc.Role role = 2;</code>
|
|
|
|
|
|
+ * <code>repeated .smsc.Role role = 2;</code>
|
|
*/
|
|
*/
|
|
public Builder clearRole() {
|
|
public Builder clearRole() {
|
|
-
|
|
|
|
- role_ = 0;
|
|
|
|
|
|
+ role_ = java.util.Collections.emptyList();
|
|
|
|
+ bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
|
+ onChanged();
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * <pre>
|
|
|
|
+ *用户角色
|
|
|
|
+ * </pre>
|
|
|
|
+ *
|
|
|
|
+ * <code>repeated .smsc.Role role = 2;</code>
|
|
|
|
+ */
|
|
|
|
+ public java.util.List<java.lang.Integer>
|
|
|
|
+ getRoleValueList() {
|
|
|
|
+ return java.util.Collections.unmodifiableList(role_);
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * <pre>
|
|
|
|
+ *用户角色
|
|
|
|
+ * </pre>
|
|
|
|
+ *
|
|
|
|
+ * <code>repeated .smsc.Role role = 2;</code>
|
|
|
|
+ */
|
|
|
|
+ public int getRoleValue(int index) {
|
|
|
|
+ return role_.get(index);
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * <pre>
|
|
|
|
+ *用户角色
|
|
|
|
+ * </pre>
|
|
|
|
+ *
|
|
|
|
+ * <code>repeated .smsc.Role role = 2;</code>
|
|
|
|
+ */
|
|
|
|
+ public Builder setRoleValue(
|
|
|
|
+ int index, int value) {
|
|
|
|
+ ensureRoleIsMutable();
|
|
|
|
+ role_.set(index, value);
|
|
|
|
+ onChanged();
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * <pre>
|
|
|
|
+ *用户角色
|
|
|
|
+ * </pre>
|
|
|
|
+ *
|
|
|
|
+ * <code>repeated .smsc.Role role = 2;</code>
|
|
|
|
+ */
|
|
|
|
+ public Builder addRoleValue(int value) {
|
|
|
|
+ ensureRoleIsMutable();
|
|
|
|
+ role_.add(value);
|
|
|
|
+ onChanged();
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * <pre>
|
|
|
|
+ *用户角色
|
|
|
|
+ * </pre>
|
|
|
|
+ *
|
|
|
|
+ * <code>repeated .smsc.Role role = 2;</code>
|
|
|
|
+ */
|
|
|
|
+ public Builder addAllRoleValue(
|
|
|
|
+ java.lang.Iterable<java.lang.Integer> values) {
|
|
|
|
+ ensureRoleIsMutable();
|
|
|
|
+ for (int value : values) {
|
|
|
|
+ role_.add(value);
|
|
|
|
+ }
|
|
onChanged();
|
|
onChanged();
|
|
return this;
|
|
return this;
|
|
}
|
|
}
|
|
@@ -13198,9 +13553,25 @@ public final class Api {
|
|
*供应商id
|
|
*供应商id
|
|
* </pre>
|
|
* </pre>
|
|
*
|
|
*
|
|
- * <code>optional int64 supplierId = 2;</code>
|
|
|
|
|
|
+ * <code>repeated int64 supplierId = 2;</code>
|
|
|
|
+ */
|
|
|
|
+ java.util.List<java.lang.Long> getSupplierIdList();
|
|
|
|
+ /**
|
|
|
|
+ * <pre>
|
|
|
|
+ *供应商id
|
|
|
|
+ * </pre>
|
|
|
|
+ *
|
|
|
|
+ * <code>repeated int64 supplierId = 2;</code>
|
|
*/
|
|
*/
|
|
- long getSupplierId();
|
|
|
|
|
|
+ int getSupplierIdCount();
|
|
|
|
+ /**
|
|
|
|
+ * <pre>
|
|
|
|
+ *供应商id
|
|
|
|
+ * </pre>
|
|
|
|
+ *
|
|
|
|
+ * <code>repeated int64 supplierId = 2;</code>
|
|
|
|
+ */
|
|
|
|
+ long getSupplierId(int index);
|
|
|
|
|
|
/**
|
|
/**
|
|
* <pre>
|
|
* <pre>
|
|
@@ -13232,7 +13603,7 @@ public final class Api {
|
|
}
|
|
}
|
|
private RequestSetSupplier() {
|
|
private RequestSetSupplier() {
|
|
plannerId_ = 0L;
|
|
plannerId_ = 0L;
|
|
- supplierId_ = 0L;
|
|
|
|
|
|
+ supplierId_ = java.util.Collections.emptyList();
|
|
op_ = 0;
|
|
op_ = 0;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -13267,8 +13638,24 @@ public final class Api {
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
case 16: {
|
|
case 16: {
|
|
-
|
|
|
|
- supplierId_ = input.readInt64();
|
|
|
|
|
|
+ if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
+ supplierId_ = new java.util.ArrayList<java.lang.Long>();
|
|
|
|
+ mutable_bitField0_ |= 0x00000002;
|
|
|
|
+ }
|
|
|
|
+ supplierId_.add(input.readInt64());
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ case 18: {
|
|
|
|
+ int length = input.readRawVarint32();
|
|
|
|
+ int limit = input.pushLimit(length);
|
|
|
|
+ if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) && input.getBytesUntilLimit() > 0) {
|
|
|
|
+ supplierId_ = new java.util.ArrayList<java.lang.Long>();
|
|
|
|
+ mutable_bitField0_ |= 0x00000002;
|
|
|
|
+ }
|
|
|
|
+ while (input.getBytesUntilLimit() > 0) {
|
|
|
|
+ supplierId_.add(input.readInt64());
|
|
|
|
+ }
|
|
|
|
+ input.popLimit(limit);
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
case 24: {
|
|
case 24: {
|
|
@@ -13285,6 +13672,9 @@ public final class Api {
|
|
throw new com.google.protobuf.InvalidProtocolBufferException(
|
|
throw new com.google.protobuf.InvalidProtocolBufferException(
|
|
e).setUnfinishedMessage(this);
|
|
e).setUnfinishedMessage(this);
|
|
} finally {
|
|
} finally {
|
|
|
|
+ if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
+ supplierId_ = java.util.Collections.unmodifiableList(supplierId_);
|
|
|
|
+ }
|
|
makeExtensionsImmutable();
|
|
makeExtensionsImmutable();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -13300,6 +13690,7 @@ public final class Api {
|
|
smsc.Api.RequestSetSupplier.class, smsc.Api.RequestSetSupplier.Builder.class);
|
|
smsc.Api.RequestSetSupplier.class, smsc.Api.RequestSetSupplier.Builder.class);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ private int bitField0_;
|
|
public static final int PLANNERID_FIELD_NUMBER = 1;
|
|
public static final int PLANNERID_FIELD_NUMBER = 1;
|
|
private long plannerId_;
|
|
private long plannerId_;
|
|
/**
|
|
/**
|
|
@@ -13314,17 +13705,39 @@ public final class Api {
|
|
}
|
|
}
|
|
|
|
|
|
public static final int SUPPLIERID_FIELD_NUMBER = 2;
|
|
public static final int SUPPLIERID_FIELD_NUMBER = 2;
|
|
- private long supplierId_;
|
|
|
|
|
|
+ private java.util.List<java.lang.Long> supplierId_;
|
|
/**
|
|
/**
|
|
* <pre>
|
|
* <pre>
|
|
*供应商id
|
|
*供应商id
|
|
* </pre>
|
|
* </pre>
|
|
*
|
|
*
|
|
- * <code>optional int64 supplierId = 2;</code>
|
|
|
|
|
|
+ * <code>repeated int64 supplierId = 2;</code>
|
|
*/
|
|
*/
|
|
- public long getSupplierId() {
|
|
|
|
|
|
+ public java.util.List<java.lang.Long>
|
|
|
|
+ getSupplierIdList() {
|
|
return supplierId_;
|
|
return supplierId_;
|
|
}
|
|
}
|
|
|
|
+ /**
|
|
|
|
+ * <pre>
|
|
|
|
+ *供应商id
|
|
|
|
+ * </pre>
|
|
|
|
+ *
|
|
|
|
+ * <code>repeated int64 supplierId = 2;</code>
|
|
|
|
+ */
|
|
|
|
+ public int getSupplierIdCount() {
|
|
|
|
+ return supplierId_.size();
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * <pre>
|
|
|
|
+ *供应商id
|
|
|
|
+ * </pre>
|
|
|
|
+ *
|
|
|
|
+ * <code>repeated int64 supplierId = 2;</code>
|
|
|
|
+ */
|
|
|
|
+ public long getSupplierId(int index) {
|
|
|
|
+ return supplierId_.get(index);
|
|
|
|
+ }
|
|
|
|
+ private int supplierIdMemoizedSerializedSize = -1;
|
|
|
|
|
|
public static final int OP_FIELD_NUMBER = 3;
|
|
public static final int OP_FIELD_NUMBER = 3;
|
|
private int op_;
|
|
private int op_;
|
|
@@ -13362,11 +13775,16 @@ public final class Api {
|
|
|
|
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
throws java.io.IOException {
|
|
throws java.io.IOException {
|
|
|
|
+ getSerializedSize();
|
|
if (plannerId_ != 0L) {
|
|
if (plannerId_ != 0L) {
|
|
output.writeInt64(1, plannerId_);
|
|
output.writeInt64(1, plannerId_);
|
|
}
|
|
}
|
|
- if (supplierId_ != 0L) {
|
|
|
|
- output.writeInt64(2, supplierId_);
|
|
|
|
|
|
+ if (getSupplierIdList().size() > 0) {
|
|
|
|
+ output.writeUInt32NoTag(18);
|
|
|
|
+ output.writeUInt32NoTag(supplierIdMemoizedSerializedSize);
|
|
|
|
+ }
|
|
|
|
+ for (int i = 0; i < supplierId_.size(); i++) {
|
|
|
|
+ output.writeInt64NoTag(supplierId_.get(i));
|
|
}
|
|
}
|
|
if (op_ != smsc.Api.Operate.OUndefined.getNumber()) {
|
|
if (op_ != smsc.Api.Operate.OUndefined.getNumber()) {
|
|
output.writeEnum(3, op_);
|
|
output.writeEnum(3, op_);
|
|
@@ -13382,9 +13800,19 @@ public final class Api {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeInt64Size(1, plannerId_);
|
|
.computeInt64Size(1, plannerId_);
|
|
}
|
|
}
|
|
- if (supplierId_ != 0L) {
|
|
|
|
- size += com.google.protobuf.CodedOutputStream
|
|
|
|
- .computeInt64Size(2, supplierId_);
|
|
|
|
|
|
+ {
|
|
|
|
+ int dataSize = 0;
|
|
|
|
+ for (int i = 0; i < supplierId_.size(); i++) {
|
|
|
|
+ dataSize += com.google.protobuf.CodedOutputStream
|
|
|
|
+ .computeInt64SizeNoTag(supplierId_.get(i));
|
|
|
|
+ }
|
|
|
|
+ size += dataSize;
|
|
|
|
+ if (!getSupplierIdList().isEmpty()) {
|
|
|
|
+ size += 1;
|
|
|
|
+ size += com.google.protobuf.CodedOutputStream
|
|
|
|
+ .computeInt32SizeNoTag(dataSize);
|
|
|
|
+ }
|
|
|
|
+ supplierIdMemoizedSerializedSize = dataSize;
|
|
}
|
|
}
|
|
if (op_ != smsc.Api.Operate.OUndefined.getNumber()) {
|
|
if (op_ != smsc.Api.Operate.OUndefined.getNumber()) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
size += com.google.protobuf.CodedOutputStream
|
|
@@ -13408,8 +13836,8 @@ public final class Api {
|
|
boolean result = true;
|
|
boolean result = true;
|
|
result = result && (getPlannerId()
|
|
result = result && (getPlannerId()
|
|
== other.getPlannerId());
|
|
== other.getPlannerId());
|
|
- result = result && (getSupplierId()
|
|
|
|
- == other.getSupplierId());
|
|
|
|
|
|
+ result = result && getSupplierIdList()
|
|
|
|
+ .equals(other.getSupplierIdList());
|
|
result = result && op_ == other.op_;
|
|
result = result && op_ == other.op_;
|
|
return result;
|
|
return result;
|
|
}
|
|
}
|
|
@@ -13424,9 +13852,10 @@ public final class Api {
|
|
hash = (37 * hash) + PLANNERID_FIELD_NUMBER;
|
|
hash = (37 * hash) + PLANNERID_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
|
getPlannerId());
|
|
getPlannerId());
|
|
- hash = (37 * hash) + SUPPLIERID_FIELD_NUMBER;
|
|
|
|
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
|
|
|
- getSupplierId());
|
|
|
|
|
|
+ if (getSupplierIdCount() > 0) {
|
|
|
|
+ hash = (37 * hash) + SUPPLIERID_FIELD_NUMBER;
|
|
|
|
+ hash = (53 * hash) + getSupplierIdList().hashCode();
|
|
|
|
+ }
|
|
hash = (37 * hash) + OP_FIELD_NUMBER;
|
|
hash = (37 * hash) + OP_FIELD_NUMBER;
|
|
hash = (53 * hash) + op_;
|
|
hash = (53 * hash) + op_;
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
@@ -13549,8 +13978,8 @@ public final class Api {
|
|
super.clear();
|
|
super.clear();
|
|
plannerId_ = 0L;
|
|
plannerId_ = 0L;
|
|
|
|
|
|
- supplierId_ = 0L;
|
|
|
|
-
|
|
|
|
|
|
+ supplierId_ = java.util.Collections.emptyList();
|
|
|
|
+ bitField0_ = (bitField0_ & ~0x00000002);
|
|
op_ = 0;
|
|
op_ = 0;
|
|
|
|
|
|
return this;
|
|
return this;
|
|
@@ -13575,9 +14004,16 @@ public final class Api {
|
|
|
|
|
|
public smsc.Api.RequestSetSupplier buildPartial() {
|
|
public smsc.Api.RequestSetSupplier buildPartial() {
|
|
smsc.Api.RequestSetSupplier result = new smsc.Api.RequestSetSupplier(this);
|
|
smsc.Api.RequestSetSupplier result = new smsc.Api.RequestSetSupplier(this);
|
|
|
|
+ int from_bitField0_ = bitField0_;
|
|
|
|
+ int to_bitField0_ = 0;
|
|
result.plannerId_ = plannerId_;
|
|
result.plannerId_ = plannerId_;
|
|
|
|
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
+ supplierId_ = java.util.Collections.unmodifiableList(supplierId_);
|
|
|
|
+ bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
|
+ }
|
|
result.supplierId_ = supplierId_;
|
|
result.supplierId_ = supplierId_;
|
|
result.op_ = op_;
|
|
result.op_ = op_;
|
|
|
|
+ result.bitField0_ = to_bitField0_;
|
|
onBuilt();
|
|
onBuilt();
|
|
return result;
|
|
return result;
|
|
}
|
|
}
|
|
@@ -13622,8 +14058,15 @@ public final class Api {
|
|
if (other.getPlannerId() != 0L) {
|
|
if (other.getPlannerId() != 0L) {
|
|
setPlannerId(other.getPlannerId());
|
|
setPlannerId(other.getPlannerId());
|
|
}
|
|
}
|
|
- if (other.getSupplierId() != 0L) {
|
|
|
|
- setSupplierId(other.getSupplierId());
|
|
|
|
|
|
+ if (!other.supplierId_.isEmpty()) {
|
|
|
|
+ if (supplierId_.isEmpty()) {
|
|
|
|
+ supplierId_ = other.supplierId_;
|
|
|
|
+ bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
|
+ } else {
|
|
|
|
+ ensureSupplierIdIsMutable();
|
|
|
|
+ supplierId_.addAll(other.supplierId_);
|
|
|
|
+ }
|
|
|
|
+ onChanged();
|
|
}
|
|
}
|
|
if (other.op_ != 0) {
|
|
if (other.op_ != 0) {
|
|
setOpValue(other.getOpValue());
|
|
setOpValue(other.getOpValue());
|
|
@@ -13653,6 +14096,7 @@ public final class Api {
|
|
}
|
|
}
|
|
return this;
|
|
return this;
|
|
}
|
|
}
|
|
|
|
+ private int bitField0_;
|
|
|
|
|
|
private long plannerId_ ;
|
|
private long plannerId_ ;
|
|
/**
|
|
/**
|
|
@@ -13692,27 +14136,68 @@ public final class Api {
|
|
return this;
|
|
return this;
|
|
}
|
|
}
|
|
|
|
|
|
- private long supplierId_ ;
|
|
|
|
|
|
+ private java.util.List<java.lang.Long> supplierId_ = java.util.Collections.emptyList();
|
|
|
|
+ private void ensureSupplierIdIsMutable() {
|
|
|
|
+ if (!((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
+ supplierId_ = new java.util.ArrayList<java.lang.Long>(supplierId_);
|
|
|
|
+ bitField0_ |= 0x00000002;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
/**
|
|
/**
|
|
* <pre>
|
|
* <pre>
|
|
*供应商id
|
|
*供应商id
|
|
* </pre>
|
|
* </pre>
|
|
*
|
|
*
|
|
- * <code>optional int64 supplierId = 2;</code>
|
|
|
|
|
|
+ * <code>repeated int64 supplierId = 2;</code>
|
|
*/
|
|
*/
|
|
- public long getSupplierId() {
|
|
|
|
- return supplierId_;
|
|
|
|
|
|
+ public java.util.List<java.lang.Long>
|
|
|
|
+ getSupplierIdList() {
|
|
|
|
+ return java.util.Collections.unmodifiableList(supplierId_);
|
|
}
|
|
}
|
|
/**
|
|
/**
|
|
* <pre>
|
|
* <pre>
|
|
*供应商id
|
|
*供应商id
|
|
* </pre>
|
|
* </pre>
|
|
*
|
|
*
|
|
- * <code>optional int64 supplierId = 2;</code>
|
|
|
|
|
|
+ * <code>repeated int64 supplierId = 2;</code>
|
|
*/
|
|
*/
|
|
- public Builder setSupplierId(long value) {
|
|
|
|
-
|
|
|
|
- supplierId_ = value;
|
|
|
|
|
|
+ public int getSupplierIdCount() {
|
|
|
|
+ return supplierId_.size();
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * <pre>
|
|
|
|
+ *供应商id
|
|
|
|
+ * </pre>
|
|
|
|
+ *
|
|
|
|
+ * <code>repeated int64 supplierId = 2;</code>
|
|
|
|
+ */
|
|
|
|
+ public long getSupplierId(int index) {
|
|
|
|
+ return supplierId_.get(index);
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * <pre>
|
|
|
|
+ *供应商id
|
|
|
|
+ * </pre>
|
|
|
|
+ *
|
|
|
|
+ * <code>repeated int64 supplierId = 2;</code>
|
|
|
|
+ */
|
|
|
|
+ public Builder setSupplierId(
|
|
|
|
+ int index, long value) {
|
|
|
|
+ ensureSupplierIdIsMutable();
|
|
|
|
+ supplierId_.set(index, value);
|
|
|
|
+ onChanged();
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * <pre>
|
|
|
|
+ *供应商id
|
|
|
|
+ * </pre>
|
|
|
|
+ *
|
|
|
|
+ * <code>repeated int64 supplierId = 2;</code>
|
|
|
|
+ */
|
|
|
|
+ public Builder addSupplierId(long value) {
|
|
|
|
+ ensureSupplierIdIsMutable();
|
|
|
|
+ supplierId_.add(value);
|
|
onChanged();
|
|
onChanged();
|
|
return this;
|
|
return this;
|
|
}
|
|
}
|
|
@@ -13721,11 +14206,26 @@ public final class Api {
|
|
*供应商id
|
|
*供应商id
|
|
* </pre>
|
|
* </pre>
|
|
*
|
|
*
|
|
- * <code>optional int64 supplierId = 2;</code>
|
|
|
|
|
|
+ * <code>repeated int64 supplierId = 2;</code>
|
|
|
|
+ */
|
|
|
|
+ public Builder addAllSupplierId(
|
|
|
|
+ java.lang.Iterable<? extends java.lang.Long> values) {
|
|
|
|
+ ensureSupplierIdIsMutable();
|
|
|
|
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
|
|
|
+ values, supplierId_);
|
|
|
|
+ onChanged();
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * <pre>
|
|
|
|
+ *供应商id
|
|
|
|
+ * </pre>
|
|
|
|
+ *
|
|
|
|
+ * <code>repeated int64 supplierId = 2;</code>
|
|
*/
|
|
*/
|
|
public Builder clearSupplierId() {
|
|
public Builder clearSupplierId() {
|
|
-
|
|
|
|
- supplierId_ = 0L;
|
|
|
|
|
|
+ supplierId_ = java.util.Collections.emptyList();
|
|
|
|
+ bitField0_ = (bitField0_ & ~0x00000002);
|
|
onChanged();
|
|
onChanged();
|
|
return this;
|
|
return this;
|
|
}
|
|
}
|
|
@@ -31428,9 +31928,17 @@ public final class Api {
|
|
com.google.protobuf.MessageOrBuilder {
|
|
com.google.protobuf.MessageOrBuilder {
|
|
|
|
|
|
/**
|
|
/**
|
|
- * <code>optional int64 id = 1;</code>
|
|
|
|
|
|
+ * <code>repeated int64 id = 1;</code>
|
|
*/
|
|
*/
|
|
- long getId();
|
|
|
|
|
|
+ java.util.List<java.lang.Long> getIdList();
|
|
|
|
+ /**
|
|
|
|
+ * <code>repeated int64 id = 1;</code>
|
|
|
|
+ */
|
|
|
|
+ int getIdCount();
|
|
|
|
+ /**
|
|
|
|
+ * <code>repeated int64 id = 1;</code>
|
|
|
|
+ */
|
|
|
|
+ long getId(int index);
|
|
}
|
|
}
|
|
/**
|
|
/**
|
|
* Protobuf type {@code smsc.EventDeleteAccount}
|
|
* Protobuf type {@code smsc.EventDeleteAccount}
|
|
@@ -31444,7 +31952,7 @@ public final class Api {
|
|
super(builder);
|
|
super(builder);
|
|
}
|
|
}
|
|
private EventDeleteAccount() {
|
|
private EventDeleteAccount() {
|
|
- id_ = 0L;
|
|
|
|
|
|
+ id_ = java.util.Collections.emptyList();
|
|
}
|
|
}
|
|
|
|
|
|
@java.lang.Override
|
|
@java.lang.Override
|
|
@@ -31473,8 +31981,24 @@ public final class Api {
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
case 8: {
|
|
case 8: {
|
|
-
|
|
|
|
- id_ = input.readInt64();
|
|
|
|
|
|
+ if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
+ id_ = new java.util.ArrayList<java.lang.Long>();
|
|
|
|
+ mutable_bitField0_ |= 0x00000001;
|
|
|
|
+ }
|
|
|
|
+ id_.add(input.readInt64());
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ case 10: {
|
|
|
|
+ int length = input.readRawVarint32();
|
|
|
|
+ int limit = input.pushLimit(length);
|
|
|
|
+ if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) {
|
|
|
|
+ id_ = new java.util.ArrayList<java.lang.Long>();
|
|
|
|
+ mutable_bitField0_ |= 0x00000001;
|
|
|
|
+ }
|
|
|
|
+ while (input.getBytesUntilLimit() > 0) {
|
|
|
|
+ id_.add(input.readInt64());
|
|
|
|
+ }
|
|
|
|
+ input.popLimit(limit);
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -31485,6 +32009,9 @@ public final class Api {
|
|
throw new com.google.protobuf.InvalidProtocolBufferException(
|
|
throw new com.google.protobuf.InvalidProtocolBufferException(
|
|
e).setUnfinishedMessage(this);
|
|
e).setUnfinishedMessage(this);
|
|
} finally {
|
|
} finally {
|
|
|
|
+ if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
+ id_ = java.util.Collections.unmodifiableList(id_);
|
|
|
|
+ }
|
|
makeExtensionsImmutable();
|
|
makeExtensionsImmutable();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -31501,13 +32028,27 @@ public final class Api {
|
|
}
|
|
}
|
|
|
|
|
|
public static final int ID_FIELD_NUMBER = 1;
|
|
public static final int ID_FIELD_NUMBER = 1;
|
|
- private long id_;
|
|
|
|
|
|
+ private java.util.List<java.lang.Long> id_;
|
|
/**
|
|
/**
|
|
- * <code>optional int64 id = 1;</code>
|
|
|
|
|
|
+ * <code>repeated int64 id = 1;</code>
|
|
*/
|
|
*/
|
|
- public long getId() {
|
|
|
|
|
|
+ public java.util.List<java.lang.Long>
|
|
|
|
+ getIdList() {
|
|
return id_;
|
|
return id_;
|
|
}
|
|
}
|
|
|
|
+ /**
|
|
|
|
+ * <code>repeated int64 id = 1;</code>
|
|
|
|
+ */
|
|
|
|
+ public int getIdCount() {
|
|
|
|
+ return id_.size();
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * <code>repeated int64 id = 1;</code>
|
|
|
|
+ */
|
|
|
|
+ public long getId(int index) {
|
|
|
|
+ return id_.get(index);
|
|
|
|
+ }
|
|
|
|
+ private int idMemoizedSerializedSize = -1;
|
|
|
|
|
|
private byte memoizedIsInitialized = -1;
|
|
private byte memoizedIsInitialized = -1;
|
|
public final boolean isInitialized() {
|
|
public final boolean isInitialized() {
|
|
@@ -31521,8 +32062,13 @@ public final class Api {
|
|
|
|
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
throws java.io.IOException {
|
|
throws java.io.IOException {
|
|
- if (id_ != 0L) {
|
|
|
|
- output.writeInt64(1, id_);
|
|
|
|
|
|
+ getSerializedSize();
|
|
|
|
+ if (getIdList().size() > 0) {
|
|
|
|
+ output.writeUInt32NoTag(10);
|
|
|
|
+ output.writeUInt32NoTag(idMemoizedSerializedSize);
|
|
|
|
+ }
|
|
|
|
+ for (int i = 0; i < id_.size(); i++) {
|
|
|
|
+ output.writeInt64NoTag(id_.get(i));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -31531,9 +32077,19 @@ public final class Api {
|
|
if (size != -1) return size;
|
|
if (size != -1) return size;
|
|
|
|
|
|
size = 0;
|
|
size = 0;
|
|
- if (id_ != 0L) {
|
|
|
|
- size += com.google.protobuf.CodedOutputStream
|
|
|
|
- .computeInt64Size(1, id_);
|
|
|
|
|
|
+ {
|
|
|
|
+ int dataSize = 0;
|
|
|
|
+ for (int i = 0; i < id_.size(); i++) {
|
|
|
|
+ dataSize += com.google.protobuf.CodedOutputStream
|
|
|
|
+ .computeInt64SizeNoTag(id_.get(i));
|
|
|
|
+ }
|
|
|
|
+ size += dataSize;
|
|
|
|
+ if (!getIdList().isEmpty()) {
|
|
|
|
+ size += 1;
|
|
|
|
+ size += com.google.protobuf.CodedOutputStream
|
|
|
|
+ .computeInt32SizeNoTag(dataSize);
|
|
|
|
+ }
|
|
|
|
+ idMemoizedSerializedSize = dataSize;
|
|
}
|
|
}
|
|
memoizedSize = size;
|
|
memoizedSize = size;
|
|
return size;
|
|
return size;
|
|
@@ -31551,8 +32107,8 @@ public final class Api {
|
|
smsc.Api.EventDeleteAccount other = (smsc.Api.EventDeleteAccount) obj;
|
|
smsc.Api.EventDeleteAccount other = (smsc.Api.EventDeleteAccount) obj;
|
|
|
|
|
|
boolean result = true;
|
|
boolean result = true;
|
|
- result = result && (getId()
|
|
|
|
- == other.getId());
|
|
|
|
|
|
+ result = result && getIdList()
|
|
|
|
+ .equals(other.getIdList());
|
|
return result;
|
|
return result;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -31563,9 +32119,10 @@ public final class Api {
|
|
}
|
|
}
|
|
int hash = 41;
|
|
int hash = 41;
|
|
hash = (19 * hash) + getDescriptorForType().hashCode();
|
|
hash = (19 * hash) + getDescriptorForType().hashCode();
|
|
- hash = (37 * hash) + ID_FIELD_NUMBER;
|
|
|
|
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
|
|
|
- getId());
|
|
|
|
|
|
+ if (getIdCount() > 0) {
|
|
|
|
+ hash = (37 * hash) + ID_FIELD_NUMBER;
|
|
|
|
+ hash = (53 * hash) + getIdList().hashCode();
|
|
|
|
+ }
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
memoizedHashCode = hash;
|
|
memoizedHashCode = hash;
|
|
return hash;
|
|
return hash;
|
|
@@ -31684,8 +32241,8 @@ public final class Api {
|
|
}
|
|
}
|
|
public Builder clear() {
|
|
public Builder clear() {
|
|
super.clear();
|
|
super.clear();
|
|
- id_ = 0L;
|
|
|
|
-
|
|
|
|
|
|
+ id_ = java.util.Collections.emptyList();
|
|
|
|
+ bitField0_ = (bitField0_ & ~0x00000001);
|
|
return this;
|
|
return this;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -31708,6 +32265,11 @@ public final class Api {
|
|
|
|
|
|
public smsc.Api.EventDeleteAccount buildPartial() {
|
|
public smsc.Api.EventDeleteAccount buildPartial() {
|
|
smsc.Api.EventDeleteAccount result = new smsc.Api.EventDeleteAccount(this);
|
|
smsc.Api.EventDeleteAccount result = new smsc.Api.EventDeleteAccount(this);
|
|
|
|
+ int from_bitField0_ = bitField0_;
|
|
|
|
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
+ id_ = java.util.Collections.unmodifiableList(id_);
|
|
|
|
+ bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
|
+ }
|
|
result.id_ = id_;
|
|
result.id_ = id_;
|
|
onBuilt();
|
|
onBuilt();
|
|
return result;
|
|
return result;
|
|
@@ -31750,8 +32312,15 @@ public final class Api {
|
|
|
|
|
|
public Builder mergeFrom(smsc.Api.EventDeleteAccount other) {
|
|
public Builder mergeFrom(smsc.Api.EventDeleteAccount other) {
|
|
if (other == smsc.Api.EventDeleteAccount.getDefaultInstance()) return this;
|
|
if (other == smsc.Api.EventDeleteAccount.getDefaultInstance()) return this;
|
|
- if (other.getId() != 0L) {
|
|
|
|
- setId(other.getId());
|
|
|
|
|
|
+ if (!other.id_.isEmpty()) {
|
|
|
|
+ if (id_.isEmpty()) {
|
|
|
|
+ id_ = other.id_;
|
|
|
|
+ bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
|
+ } else {
|
|
|
|
+ ensureIdIsMutable();
|
|
|
|
+ id_.addAll(other.id_);
|
|
|
|
+ }
|
|
|
|
+ onChanged();
|
|
}
|
|
}
|
|
onChanged();
|
|
onChanged();
|
|
return this;
|
|
return this;
|
|
@@ -31778,29 +32347,70 @@ public final class Api {
|
|
}
|
|
}
|
|
return this;
|
|
return this;
|
|
}
|
|
}
|
|
|
|
+ private int bitField0_;
|
|
|
|
|
|
- private long id_ ;
|
|
|
|
|
|
+ private java.util.List<java.lang.Long> id_ = java.util.Collections.emptyList();
|
|
|
|
+ private void ensureIdIsMutable() {
|
|
|
|
+ if (!((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
+ id_ = new java.util.ArrayList<java.lang.Long>(id_);
|
|
|
|
+ bitField0_ |= 0x00000001;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
/**
|
|
/**
|
|
- * <code>optional int64 id = 1;</code>
|
|
|
|
|
|
+ * <code>repeated int64 id = 1;</code>
|
|
*/
|
|
*/
|
|
- public long getId() {
|
|
|
|
- return id_;
|
|
|
|
|
|
+ public java.util.List<java.lang.Long>
|
|
|
|
+ getIdList() {
|
|
|
|
+ return java.util.Collections.unmodifiableList(id_);
|
|
}
|
|
}
|
|
/**
|
|
/**
|
|
- * <code>optional int64 id = 1;</code>
|
|
|
|
|
|
+ * <code>repeated int64 id = 1;</code>
|
|
*/
|
|
*/
|
|
- public Builder setId(long value) {
|
|
|
|
-
|
|
|
|
- id_ = value;
|
|
|
|
|
|
+ public int getIdCount() {
|
|
|
|
+ return id_.size();
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * <code>repeated int64 id = 1;</code>
|
|
|
|
+ */
|
|
|
|
+ public long getId(int index) {
|
|
|
|
+ return id_.get(index);
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * <code>repeated int64 id = 1;</code>
|
|
|
|
+ */
|
|
|
|
+ public Builder setId(
|
|
|
|
+ int index, long value) {
|
|
|
|
+ ensureIdIsMutable();
|
|
|
|
+ id_.set(index, value);
|
|
onChanged();
|
|
onChanged();
|
|
return this;
|
|
return this;
|
|
}
|
|
}
|
|
/**
|
|
/**
|
|
- * <code>optional int64 id = 1;</code>
|
|
|
|
|
|
+ * <code>repeated int64 id = 1;</code>
|
|
|
|
+ */
|
|
|
|
+ public Builder addId(long value) {
|
|
|
|
+ ensureIdIsMutable();
|
|
|
|
+ id_.add(value);
|
|
|
|
+ onChanged();
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * <code>repeated int64 id = 1;</code>
|
|
|
|
+ */
|
|
|
|
+ public Builder addAllId(
|
|
|
|
+ java.lang.Iterable<? extends java.lang.Long> values) {
|
|
|
|
+ ensureIdIsMutable();
|
|
|
|
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
|
|
|
+ values, id_);
|
|
|
|
+ onChanged();
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * <code>repeated int64 id = 1;</code>
|
|
*/
|
|
*/
|
|
public Builder clearId() {
|
|
public Builder clearId() {
|
|
-
|
|
|
|
- id_ = 0L;
|
|
|
|
|
|
+ id_ = java.util.Collections.emptyList();
|
|
|
|
+ bitField0_ = (bitField0_ & ~0x00000001);
|
|
onChanged();
|
|
onChanged();
|
|
return this;
|
|
return this;
|
|
}
|
|
}
|
|
@@ -34618,9 +35228,9 @@ public final class Api {
|
|
"le\"i\n\022RequestEditAccount\022\n\n\002id\030\001 \001(\003\022\016\n\006" +
|
|
"le\"i\n\022RequestEditAccount\022\n\n\002id\030\001 \001(\003\022\016\n\006" +
|
|
"pubkey\030\002 \001(\014\022\017\n\007account\030\003 \001(\t\022\014\n\004name\030\004 " +
|
|
"pubkey\030\002 \001(\014\022\017\n\007account\030\003 \001(\t\022\014\n\004name\030\004 " +
|
|
"\001(\t\022\030\n\004role\030\005 \001(\0162\n.smsc.Role\"<\n\024Request" +
|
|
"\001(\t\022\030\n\004role\030\005 \001(\0162\n.smsc.Role\"<\n\024Request" +
|
|
- "DeleteAccount\022\n\n\002id\030\001 \001(\003\022\030\n\004role\030\002 \001(\0162" +
|
|
|
|
|
|
+ "DeleteAccount\022\n\n\002id\030\001 \003(\003\022\030\n\004role\030\002 \003(\0162" +
|
|
"\n.smsc.Role\"V\n\022RequestSetSupplier\022\021\n\tpla" +
|
|
"\n.smsc.Role\"V\n\022RequestSetSupplier\022\021\n\tpla" +
|
|
- "nnerId\030\001 \001(\003\022\022\n\nsupplierId\030\002 \001(\003\022\031\n\002op\030\003" +
|
|
|
|
|
|
+ "nnerId\030\001 \001(\003\022\022\n\nsupplierId\030\002 \003(\003\022\031\n\002op\030\003" +
|
|
" \001(\0162\r.smsc.Operate\"}\n\022RequestCreateOrde",
|
|
" \001(\0162\r.smsc.Operate\"}\n\022RequestCreateOrde",
|
|
"r\022\017\n\007orderId\030\001 \001(\t\022\020\n\010supplier\030\002 \001(\003\022\016\n\006" +
|
|
"r\022\017\n\007orderId\030\001 \001(\t\022\020\n\010supplier\030\002 \001(\003\022\016\n\006" +
|
|
"partId\030\003 \001(\t\022\r\n\005boxId\030\004 \001(\t\022\017\n\007partNum\030\005" +
|
|
"partId\030\003 \001(\t\022\r\n\005boxId\030\004 \001(\t\022\017\n\007partNum\030\005" +
|
|
@@ -34677,7 +35287,7 @@ public final class Api {
|
|
"\n\rEventSetAdmin\022\016\n\006pubkey\030\001 \001(\014\" \n\022Event" +
|
|
"\n\rEventSetAdmin\022\016\n\006pubkey\030\001 \001(\014\" \n\022Event" +
|
|
"CreateAccount\022\n\n\002id\030\001 \001(\003\"%\n\020EventEditAc" +
|
|
"CreateAccount\022\n\n\002id\030\001 \001(\003\"%\n\020EventEditAc" +
|
|
"count\022\021\n\tnewPubkey\030\001 \001(\014\" \n\022EventDeleteA" +
|
|
"count\022\021\n\tnewPubkey\030\001 \001(\014\" \n\022EventDeleteA" +
|
|
- "ccount\022\n\n\002id\030\001 \001(\003\"-\n\020EventSetSupplier\022\031" +
|
|
|
|
|
|
+ "ccount\022\n\n\002id\030\001 \003(\003\"-\n\020EventSetSupplier\022\031" +
|
|
"\n\002op\030\001 \001(\0162\r.smsc.Operate\"\036\n\020EventCreate" +
|
|
"\n\002op\030\001 \001(\0162\r.smsc.Operate\"\036\n\020EventCreate" +
|
|
"Order\022\n\n\002id\030\001 \001(\t\" \n\rEventDelivery\022\017\n\007ca" +
|
|
"Order\022\n\n\002id\030\001 \001(\t\" \n\rEventDelivery\022\017\n\007ca" +
|
|
"rrier\030\001 \001(\003\"\033\n\nEventCarry\022\r\n\005carId\030\001 \001(\t" +
|
|
"rrier\030\001 \001(\003\"\033\n\nEventCarry\022\r\n\005carId\030\001 \001(\t" +
|