mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 15:44:26 +08:00
Add new protocol definitions
This commit is contained in:
+140
-140
@@ -19,43 +19,43 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>.UgcType ugc_type = 7;</code>
|
||||
* @return The enum numeric value on the wire for ugcType.
|
||||
*/
|
||||
int getUgcTypeValue();
|
||||
/**
|
||||
* <code>.UgcType ugc_type = 7;</code>
|
||||
* @return The ugcType.
|
||||
*/
|
||||
emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType getUgcType();
|
||||
|
||||
/**
|
||||
* <code>int32 retcode = 15;</code>
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
int getRetcode();
|
||||
|
||||
/**
|
||||
* <code>repeated uint64 update_ugc_guid_list = 4;</code>
|
||||
* <code>repeated uint64 update_ugc_guid_list = 1;</code>
|
||||
* @return A list containing the updateUgcGuidList.
|
||||
*/
|
||||
java.util.List<java.lang.Long> getUpdateUgcGuidListList();
|
||||
/**
|
||||
* <code>repeated uint64 update_ugc_guid_list = 4;</code>
|
||||
* <code>repeated uint64 update_ugc_guid_list = 1;</code>
|
||||
* @return The count of updateUgcGuidList.
|
||||
*/
|
||||
int getUpdateUgcGuidListCount();
|
||||
/**
|
||||
* <code>repeated uint64 update_ugc_guid_list = 4;</code>
|
||||
* <code>repeated uint64 update_ugc_guid_list = 1;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The updateUgcGuidList at the given index.
|
||||
*/
|
||||
long getUpdateUgcGuidList(int index);
|
||||
|
||||
/**
|
||||
* <code>.UgcType ugc_type = 9;</code>
|
||||
* @return The enum numeric value on the wire for ugcType.
|
||||
*/
|
||||
int getUgcTypeValue();
|
||||
/**
|
||||
* <code>.UgcType ugc_type = 9;</code>
|
||||
* @return The ugcType.
|
||||
*/
|
||||
emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType getUgcType();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 6348
|
||||
* Obf: MODKKPEFAKF
|
||||
* CmdId: 28411
|
||||
* Obf: KFNCPOECGHK
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code CheckUgcUpdateRsp}
|
||||
@@ -70,8 +70,8 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
super(builder);
|
||||
}
|
||||
private CheckUgcUpdateRsp() {
|
||||
ugcType_ = 0;
|
||||
updateUgcGuidList_ = emptyLongList();
|
||||
ugcType_ = 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@@ -105,7 +105,7 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 32: {
|
||||
case 8: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
updateUgcGuidList_ = newLongList();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
@@ -113,7 +113,7 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
updateUgcGuidList_.addLong(input.readUInt64());
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
case 10: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
@@ -126,17 +126,17 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
case 48: {
|
||||
|
||||
retcode_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
int rawValue = input.readEnum();
|
||||
|
||||
ugcType_ = rawValue;
|
||||
break;
|
||||
}
|
||||
case 120: {
|
||||
|
||||
retcode_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -172,29 +172,10 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp.class, emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp.Builder.class);
|
||||
}
|
||||
|
||||
public static final int UGC_TYPE_FIELD_NUMBER = 7;
|
||||
private int ugcType_;
|
||||
/**
|
||||
* <code>.UgcType ugc_type = 7;</code>
|
||||
* @return The enum numeric value on the wire for ugcType.
|
||||
*/
|
||||
@java.lang.Override public int getUgcTypeValue() {
|
||||
return ugcType_;
|
||||
}
|
||||
/**
|
||||
* <code>.UgcType ugc_type = 7;</code>
|
||||
* @return The ugcType.
|
||||
*/
|
||||
@java.lang.Override public emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType getUgcType() {
|
||||
@SuppressWarnings("deprecation")
|
||||
emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType result = emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.valueOf(ugcType_);
|
||||
return result == null ? emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.UNRECOGNIZED : result;
|
||||
}
|
||||
|
||||
public static final int RETCODE_FIELD_NUMBER = 15;
|
||||
public static final int RETCODE_FIELD_NUMBER = 6;
|
||||
private int retcode_;
|
||||
/**
|
||||
* <code>int32 retcode = 15;</code>
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -202,10 +183,10 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
return retcode_;
|
||||
}
|
||||
|
||||
public static final int UPDATE_UGC_GUID_LIST_FIELD_NUMBER = 4;
|
||||
public static final int UPDATE_UGC_GUID_LIST_FIELD_NUMBER = 1;
|
||||
private com.google.protobuf.Internal.LongList updateUgcGuidList_;
|
||||
/**
|
||||
* <code>repeated uint64 update_ugc_guid_list = 4;</code>
|
||||
* <code>repeated uint64 update_ugc_guid_list = 1;</code>
|
||||
* @return A list containing the updateUgcGuidList.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -214,14 +195,14 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
return updateUgcGuidList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 update_ugc_guid_list = 4;</code>
|
||||
* <code>repeated uint64 update_ugc_guid_list = 1;</code>
|
||||
* @return The count of updateUgcGuidList.
|
||||
*/
|
||||
public int getUpdateUgcGuidListCount() {
|
||||
return updateUgcGuidList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 update_ugc_guid_list = 4;</code>
|
||||
* <code>repeated uint64 update_ugc_guid_list = 1;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The updateUgcGuidList at the given index.
|
||||
*/
|
||||
@@ -230,6 +211,25 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
}
|
||||
private int updateUgcGuidListMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int UGC_TYPE_FIELD_NUMBER = 9;
|
||||
private int ugcType_;
|
||||
/**
|
||||
* <code>.UgcType ugc_type = 9;</code>
|
||||
* @return The enum numeric value on the wire for ugcType.
|
||||
*/
|
||||
@java.lang.Override public int getUgcTypeValue() {
|
||||
return ugcType_;
|
||||
}
|
||||
/**
|
||||
* <code>.UgcType ugc_type = 9;</code>
|
||||
* @return The ugcType.
|
||||
*/
|
||||
@java.lang.Override public emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType getUgcType() {
|
||||
@SuppressWarnings("deprecation")
|
||||
emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType result = emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.valueOf(ugcType_);
|
||||
return result == null ? emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.UNRECOGNIZED : result;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -246,17 +246,17 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (getUpdateUgcGuidListList().size() > 0) {
|
||||
output.writeUInt32NoTag(34);
|
||||
output.writeUInt32NoTag(10);
|
||||
output.writeUInt32NoTag(updateUgcGuidListMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < updateUgcGuidList_.size(); i++) {
|
||||
output.writeUInt64NoTag(updateUgcGuidList_.getLong(i));
|
||||
}
|
||||
if (ugcType_ != emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.UGC_TYPE_NONE.getNumber()) {
|
||||
output.writeEnum(7, ugcType_);
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
output.writeInt32(15, retcode_);
|
||||
output.writeInt32(6, retcode_);
|
||||
}
|
||||
if (ugcType_ != emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.UGC_TYPE_NONE.getNumber()) {
|
||||
output.writeEnum(9, ugcType_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -281,13 +281,13 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
}
|
||||
updateUgcGuidListMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
if (ugcType_ != emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.UGC_TYPE_NONE.getNumber()) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeEnumSize(7, ugcType_);
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(15, retcode_);
|
||||
.computeInt32Size(6, retcode_);
|
||||
}
|
||||
if (ugcType_ != emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.UGC_TYPE_NONE.getNumber()) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeEnumSize(9, ugcType_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -304,11 +304,11 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
}
|
||||
emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp other = (emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp) obj;
|
||||
|
||||
if (ugcType_ != other.ugcType_) return false;
|
||||
if (getRetcode()
|
||||
!= other.getRetcode()) return false;
|
||||
if (!getUpdateUgcGuidListList()
|
||||
.equals(other.getUpdateUgcGuidListList())) return false;
|
||||
if (ugcType_ != other.ugcType_) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -320,14 +320,14 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + UGC_TYPE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + ugcType_;
|
||||
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRetcode();
|
||||
if (getUpdateUgcGuidListCount() > 0) {
|
||||
hash = (37 * hash) + UPDATE_UGC_GUID_LIST_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getUpdateUgcGuidListList().hashCode();
|
||||
}
|
||||
hash = (37 * hash) + UGC_TYPE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + ugcType_;
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -425,8 +425,8 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 6348
|
||||
* Obf: MODKKPEFAKF
|
||||
* CmdId: 28411
|
||||
* Obf: KFNCPOECGHK
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code CheckUgcUpdateRsp}
|
||||
@@ -466,12 +466,12 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
ugcType_ = 0;
|
||||
|
||||
retcode_ = 0;
|
||||
|
||||
updateUgcGuidList_ = emptyLongList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
ugcType_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -499,13 +499,13 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
public emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp buildPartial() {
|
||||
emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp result = new emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp(this);
|
||||
int from_bitField0_ = bitField0_;
|
||||
result.ugcType_ = ugcType_;
|
||||
result.retcode_ = retcode_;
|
||||
if (((bitField0_ & 0x00000001) != 0)) {
|
||||
updateUgcGuidList_.makeImmutable();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
}
|
||||
result.updateUgcGuidList_ = updateUgcGuidList_;
|
||||
result.ugcType_ = ugcType_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -554,9 +554,6 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp other) {
|
||||
if (other == emu.grasscutter.net.proto.CheckUgcUpdateRspOuterClass.CheckUgcUpdateRsp.getDefaultInstance()) return this;
|
||||
if (other.ugcType_ != 0) {
|
||||
setUgcTypeValue(other.getUgcTypeValue());
|
||||
}
|
||||
if (other.getRetcode() != 0) {
|
||||
setRetcode(other.getRetcode());
|
||||
}
|
||||
@@ -570,6 +567,9 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
if (other.ugcType_ != 0) {
|
||||
setUgcTypeValue(other.getUgcTypeValue());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -600,63 +600,9 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private int ugcType_ = 0;
|
||||
/**
|
||||
* <code>.UgcType ugc_type = 7;</code>
|
||||
* @return The enum numeric value on the wire for ugcType.
|
||||
*/
|
||||
@java.lang.Override public int getUgcTypeValue() {
|
||||
return ugcType_;
|
||||
}
|
||||
/**
|
||||
* <code>.UgcType ugc_type = 7;</code>
|
||||
* @param value The enum numeric value on the wire for ugcType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setUgcTypeValue(int value) {
|
||||
|
||||
ugcType_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.UgcType ugc_type = 7;</code>
|
||||
* @return The ugcType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType getUgcType() {
|
||||
@SuppressWarnings("deprecation")
|
||||
emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType result = emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.valueOf(ugcType_);
|
||||
return result == null ? emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.UNRECOGNIZED : result;
|
||||
}
|
||||
/**
|
||||
* <code>.UgcType ugc_type = 7;</code>
|
||||
* @param value The ugcType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setUgcType(emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
|
||||
ugcType_ = value.getNumber();
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.UgcType ugc_type = 7;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearUgcType() {
|
||||
|
||||
ugcType_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int retcode_ ;
|
||||
/**
|
||||
* <code>int32 retcode = 15;</code>
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -664,7 +610,7 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
return retcode_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 15;</code>
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* @param value The retcode to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -675,7 +621,7 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 15;</code>
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRetcode() {
|
||||
@@ -693,7 +639,7 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 update_ugc_guid_list = 4;</code>
|
||||
* <code>repeated uint64 update_ugc_guid_list = 1;</code>
|
||||
* @return A list containing the updateUgcGuidList.
|
||||
*/
|
||||
public java.util.List<java.lang.Long>
|
||||
@@ -702,14 +648,14 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
java.util.Collections.unmodifiableList(updateUgcGuidList_) : updateUgcGuidList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 update_ugc_guid_list = 4;</code>
|
||||
* <code>repeated uint64 update_ugc_guid_list = 1;</code>
|
||||
* @return The count of updateUgcGuidList.
|
||||
*/
|
||||
public int getUpdateUgcGuidListCount() {
|
||||
return updateUgcGuidList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 update_ugc_guid_list = 4;</code>
|
||||
* <code>repeated uint64 update_ugc_guid_list = 1;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The updateUgcGuidList at the given index.
|
||||
*/
|
||||
@@ -717,7 +663,7 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
return updateUgcGuidList_.getLong(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 update_ugc_guid_list = 4;</code>
|
||||
* <code>repeated uint64 update_ugc_guid_list = 1;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The updateUgcGuidList to set.
|
||||
* @return This builder for chaining.
|
||||
@@ -730,7 +676,7 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 update_ugc_guid_list = 4;</code>
|
||||
* <code>repeated uint64 update_ugc_guid_list = 1;</code>
|
||||
* @param value The updateUgcGuidList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -741,7 +687,7 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 update_ugc_guid_list = 4;</code>
|
||||
* <code>repeated uint64 update_ugc_guid_list = 1;</code>
|
||||
* @param values The updateUgcGuidList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -754,7 +700,7 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 update_ugc_guid_list = 4;</code>
|
||||
* <code>repeated uint64 update_ugc_guid_list = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearUpdateUgcGuidList() {
|
||||
@@ -763,6 +709,60 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int ugcType_ = 0;
|
||||
/**
|
||||
* <code>.UgcType ugc_type = 9;</code>
|
||||
* @return The enum numeric value on the wire for ugcType.
|
||||
*/
|
||||
@java.lang.Override public int getUgcTypeValue() {
|
||||
return ugcType_;
|
||||
}
|
||||
/**
|
||||
* <code>.UgcType ugc_type = 9;</code>
|
||||
* @param value The enum numeric value on the wire for ugcType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setUgcTypeValue(int value) {
|
||||
|
||||
ugcType_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.UgcType ugc_type = 9;</code>
|
||||
* @return The ugcType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType getUgcType() {
|
||||
@SuppressWarnings("deprecation")
|
||||
emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType result = emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.valueOf(ugcType_);
|
||||
return result == null ? emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.UNRECOGNIZED : result;
|
||||
}
|
||||
/**
|
||||
* <code>.UgcType ugc_type = 9;</code>
|
||||
* @param value The ugcType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setUgcType(emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
|
||||
ugcType_ = value.getNumber();
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.UgcType ugc_type = 9;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearUgcType() {
|
||||
|
||||
ugcType_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -831,9 +831,9 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\027CheckUgcUpdateRsp.proto\032\rUgcType.proto" +
|
||||
"\"^\n\021CheckUgcUpdateRsp\022\032\n\010ugc_type\030\007 \001(\0162" +
|
||||
"\010.UgcType\022\017\n\007retcode\030\017 \001(\005\022\034\n\024update_ugc" +
|
||||
"_guid_list\030\004 \003(\004B\033\n\031emu.grasscutter.net." +
|
||||
"\"^\n\021CheckUgcUpdateRsp\022\017\n\007retcode\030\006 \001(\005\022\034" +
|
||||
"\n\024update_ugc_guid_list\030\001 \003(\004\022\032\n\010ugc_type" +
|
||||
"\030\t \001(\0162\010.UgcTypeB\033\n\031emu.grasscutter.net." +
|
||||
"protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
@@ -846,7 +846,7 @@ public final class CheckUgcUpdateRspOuterClass {
|
||||
internal_static_CheckUgcUpdateRsp_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_CheckUgcUpdateRsp_descriptor,
|
||||
new java.lang.String[] { "UgcType", "Retcode", "UpdateUgcGuidList", });
|
||||
new java.lang.String[] { "Retcode", "UpdateUgcGuidList", "UgcType", });
|
||||
emu.grasscutter.net.proto.UgcTypeOuterClass.getDescriptor();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user